Hello community, here is the log from the commit of package inn for openSUSE:Factory checked in at 2020-10-08 13:13:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/inn (Old) and /work/SRC/openSUSE:Factory/.inn.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "inn" Thu Oct 8 13:13:59 2020 rev:39 rq:840054 version:2.6.3 Changes: -------- --- /work/SRC/openSUSE:Factory/inn/inn.changes 2020-06-15 20:29:48.786229351 +0200 +++ /work/SRC/openSUSE:Factory/.inn.new.4249/inn.changes 2020-10-08 13:14:18.487287809 +0200 @@ -1,0 +2,48 @@ +Sun Jun 14 16:11:47 UTC 2020 - Lars Vogdt <l...@linux-schulserver.de> + +- update to inn-2.6.3 + + Fixed the selection of the elliptic curve to use with OpenSSL 1.1.0 or + later; NIST P-256 was enforced instead of using the most secure curve. + + A new inn.conf parameter has been added to fine-tune the cipher suites + to use with TLS 1.3: the *tlsciphers13* now permits configuring them. + A separate cipher suite configuration parameter is needed for TLS 1.3 + because TLS 1.3 cipher suites are not compatible with TLS 1.2, and + vice-versa. In order to avoid issues where legacy TLS 1.2 cipher + suite configuration configured in the *tlsciphers* parameter would + inadvertently disable all TLS 1.3 cipher suites, the inn.conf + configuration has been separated out. + + Fixed a regression since INN 2.6.1 that prevented articles with + internationalized header fields (that is to say encoded in UTF-8) from + being posted. + + Support for Python 3 has been added to INN. Embedded Python filtering + and authentication hooks for innd and nnrpd can now use version 3.3.0 + or later of the Python interpreter. In the 2.x series, version 2.3.0 + or later is still supported. + + When configuring INN with the --with-python flag, the "PYTHON" + environment variable, when set, is used to select the interpreter to + embed. Otherwise, it is searched in standard paths. + + In case you change the Python interpreter to embed, make sure that the + Python scripts you use are written in the expected syntax for that + version of the Python interpreter. Notably, buffer objects have been + replaced with memoryview objects in Python 3, and UTF-8 encoding now + really matters for string literals (Python 3 uses bytes and Unicode + objects). + + INN documentation and samples of Python hooks have been updated to + provide more examples. + + When a Python or Perl filter hook rejects an article, innd now + mentions the reason in response to CHECK and TAKETHIS commands. + Previously, the reason was given only for the IHAVE command. + + nnrpd now properly logs the hostname of clients whose connection + failed owing to an issue during the negotiation of a TLS session or + high load average. +- renamed and refreshed inn-2.6.2.diff to inn-2.6.3.diff +- fix upstream URL +- (build)require openssl-devel and python-devel and build with + --with-python and --with-openssl support +- remove outdated/unknown configure options: + --enable-dual-socket, --enable-ipv6 and --with-etc-dir +- use 'Development/Languages/C and C++' as RPM group for the -devel + package +- require appropriate -devel packages for -devel package installs + +------------------------------------------------------------------- Old: ---- inn-2.6.2.diff inn-2.6.2.tar.gz inn-2.6.2.tar.gz.asc New: ---- inn-2.6.3.diff inn-2.6.3.tar.gz inn-2.6.3.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ inn.spec ++++++ --- /var/tmp/diff_new_pack.gxkm3u/_old 2020-10-08 13:14:19.295288540 +0200 +++ /var/tmp/diff_new_pack.gxkm3u/_new 2020-10-08 13:14:19.299288544 +0200 @@ -19,10 +19,14 @@ Name: inn BuildRequires: bison BuildRequires: gdbm-devel +BuildRequires: openssl-devel BuildRequires: pam-devel BuildRequires: postfix +BuildRequires: python-devel BuildRequires: zlib-devel -URL: http://www.isc.org/software/inn/ +BuildRequires: perl(GD) +BuildRequires: perl(MIME::Parser) +URL: https://www.isc.org/othersoftware/#INN Summary: InterNetNews License: GPL-2.0-or-later AND BSD-4-Clause Group: Productivity/Networking/News/Servers @@ -34,9 +38,11 @@ PreReq: user(news) PreReq: group(news) Requires: perl-MIME-tools +Requires: perl(GD) +Requires: perl(MIME::Parser) %{?systemd_requires} %{?libperl_requires} -Version: 2.6.2 +Version: 2.6.3 Release: 0 %define PatchVersion -%{version} Source: inn%{PatchVersion}.tar.gz @@ -58,7 +64,11 @@ %package devel Requires: %name = %version Summary: InterNetNews development files -Group: Productivity/Networking/News/Servers +Group: Development/Languages/C and C++ +Requires: bison +Requires: gdbm-devel +Requires: pam-devel +Requires: zlib-devel %description devel Rich Salz's InterNetNews news transport system. @@ -82,13 +92,12 @@ %setup -n inn%{PatchVersion} %setup -n inn%{PatchVersion} -D -T -a 1 %setup -n inn%{PatchVersion} -D -T -a 3 -%patch0 +%patch0 -p1 cp -a $RPM_SOURCE_DIR/pubring.pgp . %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects LDFLAGS="-pie" CFLAGS="$RPM_OPT_FLAGS -pipe -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIE -fstack-protector -fcommon" ./configure \ - --enable-dual-socket \ --enable-uucp-rnews \ --enable-setgid-inews \ --prefix=/usr/lib/news \ @@ -96,14 +105,14 @@ --mandir=%{_mandir} \ --disable-shared \ --enable-tagged-hash \ - --enable-ipv6 \ --with-perl \ --with-zlib \ + --with-python \ + --with-openssl \ --with-sendmail=/usr/sbin/sendmail \ --with-news-user=news \ --with-news-group=news \ --with-news-master=news \ - --with-etc-dir=/etc/news \ --with-db-dir=/var/lib/news \ --with-run-dir=/var/run/news \ --with-log-dir=/var/log/news \ @@ -163,8 +172,6 @@ %{installnews} 0555 convertspool %{buildroot}/usr/lib/news/bin %{installnews} 0755 -d %{buildroot}/usr/lib/news/include %{installnews} 0755 -d %{buildroot}/usr/lib/news/include/inn -#%{installnews} 0644 include/clibrary.h %{buildroot}/usr/lib/news/include -#%{installnews} 0644 include/config.h %{buildroot}/usr/lib/news/include # # # @@ -274,12 +281,11 @@ fi %set_permissions /usr/lib/news/bin/innbind /usr/lib/news/bin/inews /usr/lib/news/bin/rnews %service_add_post inn.service +%tmpfiles_create inn.conf %post -n mininews -if [ -x /usr/bin/systemd-tmpfiles ]; then - /usr/bin/systemd-tmpfiles --create inn.conf -fi %set_permissions /usr/lib/news/bin/inews /usr/lib/news/bin/rnews +%tmpfiles_create inn.conf %verifyscript %verify_permissions -e /usr/lib/news/bin/innbind -e /usr/lib/news/bin/inews -e /usr/lib/news/bin/rnews ++++++ inn-2.6.2.diff -> inn-2.6.3.diff ++++++ --- /work/SRC/openSUSE:Factory/inn/inn-2.6.2.diff 2019-01-08 12:25:48.104447986 +0100 +++ /work/SRC/openSUSE:Factory/.inn.new.4249/inn-2.6.3.diff 2020-10-08 13:14:17.931287305 +0200 @@ -1,5 +1,7 @@ ---- ./README.linux.orig 2018-12-14 13:13:31.690888184 +0000 -+++ ./README.linux 2018-12-14 13:13:31.690888184 +0000 +Index: inn-2.6.3/README.linux +=================================================================== +--- /dev/null ++++ inn-2.6.3/README.linux @@ -0,0 +1,95 @@ +Installing a news system: Florian La Roche +========================= @@ -96,8 +98,10 @@ +(recomended if you have lots of articles and little time), use +the "--fresh" option to just create a new history database. + ---- ./backends/ninpaths.c.orig 2018-03-18 20:03:32.000000000 +0000 -+++ ./backends/ninpaths.c 2018-12-14 13:13:31.690888184 +0000 +Index: inn-2.6.3/backends/ninpaths.c +=================================================================== +--- inn-2.6.3.orig/backends/ninpaths.c ++++ inn-2.6.3/backends/ninpaths.c @@ -204,6 +204,7 @@ writedumpfile(const char *n) if (d) { if (writedump(d)<0) @@ -106,8 +110,10 @@ } else { perror("writedumpfile: fopen failed for ninpaths"); } ---- ./convertspool.orig 2018-12-14 13:13:31.690888184 +0000 -+++ ./convertspool 2018-12-14 13:13:31.690888184 +0000 +Index: inn-2.6.3/convertspool +=================================================================== +--- /dev/null ++++ inn-2.6.3/convertspool @@ -0,0 +1,142 @@ +#!/bin/sh +. /usr/lib/news/lib/innshellvars @@ -251,8 +257,10 @@ +cd $PATHSPOOL +rmdir --ignore-fail-on-non-empty oldspool +echo "done." ---- ./crontab.sample.orig 2018-12-14 13:13:31.690888184 +0000 -+++ ./crontab.sample 2018-12-14 13:13:31.690888184 +0000 +Index: inn-2.6.3/crontab.sample +=================================================================== +--- /dev/null ++++ inn-2.6.3/crontab.sample @@ -0,0 +1,38 @@ +# Here are sample entries that could be added to /etc/crontab for +# your INN News-System. @@ -292,15 +300,19 @@ +# generate a uucp transmission statistic +#0 6 10 * * nobody /usr/bin/tua -U + ---- ./distributions.orig 2018-12-14 13:13:31.690888184 +0000 -+++ ./distributions 2018-12-14 13:13:31.690888184 +0000 +Index: inn-2.6.3/distributions +=================================================================== +--- /dev/null ++++ inn-2.6.3/distributions @@ -0,0 +1,4 @@ +world Use no distribution rather than world +na North America +usa United States +local This site only ---- ./history/Makefile.orig 2018-12-14 15:04:19.389096766 +0000 -+++ ./history/Makefile 2018-12-14 15:04:41.273038785 +0000 +Index: inn-2.6.3/history/Makefile +=================================================================== +--- inn-2.6.3.orig/history/Makefile ++++ inn-2.6.3/history/Makefile @@ -51,7 +51,7 @@ $(FIXSCRIPT): @exit 1 @@ -310,8 +322,10 @@ $(LIBSTORAGE) $(LIBINN) $(STORAGE_LIBS) $(LIBS) \ -rpath $(PATHLIB) -version-info $(LTVERSION) ---- ./include/inn/options.h.orig 2018-03-18 20:03:32.000000000 +0000 -+++ ./include/inn/options.h 2018-12-14 13:13:31.690888184 +0000 +Index: inn-2.6.3/include/inn/options.h +=================================================================== +--- inn-2.6.3.orig/include/inn/options.h ++++ inn-2.6.3/include/inn/options.h @@ -41,7 +41,7 @@ #define DEFAULT_TIMEOUT 300 @@ -321,8 +335,10 @@ /* Define if inews should munge the GECOS entry of the passwd file when attempting to determine a poster's real name. Use this if your GECOS ---- ./newsgroups.orig 2018-12-14 13:13:31.690888184 +0000 -+++ ./newsgroups 2018-12-14 13:13:31.690888184 +0000 +Index: inn-2.6.3/newsgroups +=================================================================== +--- /dev/null ++++ inn-2.6.3/newsgroups @@ -0,0 +1,6 @@ +control Various control messages (no posting). +control.cancel Cancel messages (no posting). @@ -330,9 +346,11 @@ +control.newgroup Newsgroup creation control messages (no posting). +control.rmgroup Newsgroup removal control messages (no posting). +junk Unfiled articles (no posting). ---- ./nnrpd/nnrpd.c.orig 2018-03-18 20:03:32.000000000 +0000 -+++ ./nnrpd/nnrpd.c 2018-12-14 13:13:31.690888184 +0000 -@@ -665,6 +665,9 @@ StartConnection(unsigned short port) +Index: inn-2.6.3/nnrpd/nnrpd.c +=================================================================== +--- inn-2.6.3.orig/nnrpd/nnrpd.c ++++ inn-2.6.3/nnrpd/nnrpd.c +@@ -665,6 +665,9 @@ GetClientInfo(unsigned short port) setsockopt(STDIN_FILENO, IPPROTO_TCP, TCP_NODELAY, &nodelay, sizeof(nodelay)); #endif @@ -340,16 +358,20 @@ + setsockopt(STDIN_FILENO, SOL_SOCKET, SO_KEEPALIVE, &keepalive, sizeof(keepalive)); + notice("%s (%s) connect - port %u", Client.host, Client.ip, port); + } - PERMgetinitialaccess(NNRPACCESS); ---- ./profile.orig 2018-12-14 13:13:31.690888184 +0000 -+++ ./profile 2018-12-14 13:13:31.690888184 +0000 +Index: inn-2.6.3/profile +=================================================================== +--- /dev/null ++++ inn-2.6.3/profile @@ -0,0 +1,3 @@ +PATH=/usr/lib/news/bin:/usr/lib/news/bin/control:$PATH +PATH=/usr/lib/news/lib:/usr/sbin:$PATH +export PATH ---- ./samples/cycbuff.conf.orig 2018-03-18 20:03:32.000000000 +0000 -+++ ./samples/cycbuff.conf 2018-12-14 13:13:31.690888184 +0000 +Index: inn-2.6.3/samples/cycbuff.conf +=================================================================== +--- inn-2.6.3.orig/samples/cycbuff.conf ++++ inn-2.6.3/samples/cycbuff.conf @@ -28,9 +28,9 @@ refreshinterval:30 ## ## If you're trying to stay under 2 GB, keep your sizes below 2097152. @@ -363,8 +385,10 @@ ## 2. Meta-cyclic buffers ## Format: ---- ./samples/inn.conf.in.orig 2018-03-18 20:03:32.000000000 +0000 -+++ ./samples/inn.conf.in 2018-12-14 13:13:31.690888184 +0000 +Index: inn-2.6.3/samples/inn.conf.in +=================================================================== +--- inn-2.6.3.orig/samples/inn.conf.in ++++ inn-2.6.3/samples/inn.conf.in @@ -21,7 +21,7 @@ mta: "@SENDMAIL@ organization: "A poorly-installed InterNetNews site" ovmethod: tradindexed @@ -411,7 +435,7 @@ #moderatormailer: nnrpdauthsender: false #nnrpdposthost: -@@ -148,7 +148,7 @@ backofftrigger: 10000 +@@ -149,7 +149,7 @@ backofftrigger: 10000 # Monitoring @@ -420,7 +444,7 @@ innwatchbatchspace: 4000 innwatchlibspace: 25000 innwatchloload: 1000 -@@ -161,11 +161,11 @@ innwatchspoolspace: 25000 +@@ -162,11 +162,11 @@ innwatchspoolspace: 25000 # Logging docnfsstat: false @@ -435,7 +459,7 @@ logipaddr: true logsitename: true logstatus: true -@@ -191,7 +191,7 @@ nicekids: 4 +@@ -192,7 +192,7 @@ nicekids: 4 nicenewnews: 0 nicennrpd: 0 pauseretrytime: 300 @@ -444,8 +468,10 @@ rlimitnofile: -1 # Paths ---- ./samples/moderators.orig 2018-03-18 20:03:32.000000000 +0000 -+++ ./samples/moderators 2018-12-14 13:13:31.690888184 +0000 +Index: inn-2.6.3/samples/moderators +=================================================================== +--- inn-2.6.3.orig/samples/moderators ++++ inn-2.6.3/samples/moderators @@ -22,14 +22,29 @@ ## Public hierarchies with exceptions. @@ -476,8 +502,10 @@ ukr.*:%s...@sita.kiev.ua ## Direct all other public hierarchies to the master moderator database. ---- ./samples/storage.conf.orig 2018-03-18 20:03:32.000000000 +0000 -+++ ./samples/storage.conf 2018-12-14 13:13:31.690888184 +0000 +Index: inn-2.6.3/samples/storage.conf +=================================================================== +--- inn-2.6.3.orig/samples/storage.conf ++++ inn-2.6.3/samples/storage.conf @@ -25,7 +25,7 @@ method tradspool { @@ -487,8 +515,10 @@ } ## Here are some samples for a CNFS configuration. This assumes that you ---- ./scripts/rc.news.in.orig 2018-03-18 20:03:32.000000000 +0000 -+++ ./scripts/rc.news.in 2018-12-14 13:15:00.454652986 +0000 +Index: inn-2.6.3/scripts/rc.news.in +=================================================================== +--- inn-2.6.3.orig/scripts/rc.news.in ++++ inn-2.6.3/scripts/rc.news.in @@ -10,11 +10,11 @@ waitforpid() @@ -524,7 +554,9 @@ ## Pick ${INND} or ${INNDSTART} WHAT=${INND} ---- ./subscriptions.orig 2018-12-14 13:13:31.690888184 +0000 -+++ ./subscriptions 2018-12-14 13:13:31.690888184 +0000 +Index: inn-2.6.3/subscriptions +=================================================================== +--- /dev/null ++++ inn-2.6.3/subscriptions @@ -0,0 +1 @@ +news.announce.newusers ++++++ inn-2.6.2.tar.gz -> inn-2.6.3.tar.gz ++++++ ++++ 13706 lines of diff (skipped)