pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/news/inn



Module Name:    pkgsrc
Committed By:   hauke
Date:           Thu Oct  2 16:23:51 UTC 2025

Modified Files:
        pkgsrc/news/inn: Makefile PLIST distinfo
        pkgsrc/news/inn/patches: patch-ad patch-ak
Removed Files:
        pkgsrc/news/inn: MESSAGE

Log Message:
news/inn: Update to v2.7.3

Remove obsolete MESSAGE file.

>From upstream's changelog:

INN 2.7.3 Latest

2025-05-09

New Features

    actsyncd now supports fetching a remote active file from a web
    site, using the HTTP or HTTPS protocols. Two new keywords, path
    and protocol, permit parameterizing that in the actsync.cfg
    configuration file. See the actsync(8) manual page and the updated
    actsync.cfg sample file for more details.

    If you are currently using actsyncd to synchronize your active
    file with the one of an FTP server, please check that FTP access
    is still working and the remote active file is up to date. You are
    otherwise encouraged to update your actsync.cfg configuration file
    to use an HTTPS access. Just adding protocol=https may be
    enough. The rationale behind that is the fact that FTP servers are
    considered less secure nowadays; FTP access to ftp.isc.org is
    doomed to be shut down one day in favour of HTTPS. The updated
    actsyncd and simpleftp programs shipped with INN go along with the
    upcoming change.

    simpleftp, only used by actsyncd, now supports fetching files from
    web servers, using the HTTP(S) protocol. It now also correctly
    parses a port number following a hostname (separated by a colon),
    and establishes FTP sessions in passive mode as this mode works
    better behind firewalls and NAT configurations.

    Added bzip2 support to actsyncd to uncompress downloaded active files.

Bug Fixes

    The check for a fully qualified domain name for the local host at
    startup still produces a warning in the logs but is no longer
    fatal. The installation of INN was otherwise failing under some
    circumstances like when creating a Docker image. Additionally, the
    INN_HOSTNAME environment variable, if set and fully qualified, is
    now taken by INN as the hostname.

    Fixed syntax warnings in the default filter_innd.py Python hook so
    that innd no longer logs errors with Python 3.12 and
    greater. Thanks to Roberto Corrado for the patch.

    Several improvements have been made to readership statistics
    reported by innreport: IPv6 addresses are now correctly recognized
    and reported as unresolved instead of unknown, statistics by
    domain are at a better granularity, totals are correctly computed,
    and only the top 100 entries are displayed by default instead of a
    possibly very long exhaustive list.

    Fixed the computation of idle time in the nnrpd timers gathered by
    innreport, and the display of non-printable characters in the
    section about unrecognized NNRP commands. The wording and the case
    of the section titles are also more homogenized.

    Fixed the handling of empty Message-IDs in perl-nocem. Instead of
    dying, it now just discards these invalid entries.

    Spelling fixes in documentation. Thanks to Christian Clauss for
    the run of codespell.

Other Changes

    An up-to-date moderators file is provided with this release. It
    basically removes the records of defunct hierarchies. You may want
    to manually update your configuration with the new file.

    Improved Perl code readability and quality by enforcing the most
    interesting and useful Perl::Critic policies. A new make
    code-check command has been added to run the checks against the
    source code.

    Move the manual pages of delayer, shlock and sm to section 8 (system administration commands) instead of section 1 (user commands).

    Update from GNU Libtool 2.4.7 to 2.5.4.

INN 2.7.2

2024-06-22

New Features

    Added two new options in storage.conf, contributed by Christoph
    Biedl:

        a filtered option to store articles which have been rejected
        by a Perl or Python filter for innd into a separate storage
        class, when dontrejectfiltered is set to true in inn.conf;

        a path option to store articles by the contents of the Path
        header field, notably to isolate the storage of spammy sites
        from other sites.

    The delayer program, which previously was in the contrib
    directory, is now installed by default. It notably permits
    generating a delayed feed, for instance to give cancel control
    articles and NoCeM messages time to arrive, and therefore actually
    cancel articles before they are locally stored. Thanks to
    Christoph Biedl for the documentation, testing, and addition of
    several useful flags to delayer.

    Added the INN::ovsqlite_client Perl module to access an ovsqlite
    overview database through ovsqlite-server from a Perl script. This
    module provides search, add, remove and expire functions for
    information stored in an ovsqlite database (newsgroups and
    overview data associated to articles in these newsgroups). Many
    thanks to Bo Lindbergh for it, as well as for two samples in the
    contrib directory (ovsqlite-dump and ovsqlite-undump) showing how
    to use the module.

    Added several new options to better parameterize perl-nocem. The
    location of its configuration file, the keyring to use, and the
    full gpg and gpgv commands to run can now be modified by flags
    passed to the program. Unprocessed NoCeM notices will also show up
    in daily Usenet reports generated by innreport. Log verbosity can
    be controlled, cancelled articles can be backed up into files, and
    perl-nocem can write logs to a separate perl-nocem.log file. Local
    rules to fine-tune within a NoCeM notice which articles get
    cancelled can also be applied. See its manual page for more
    information about the use of these options.

    innreport now supports high-precision timestamps like
    2023-07-29T04:15:01.889064+02:00 that syslog can be parameterized
    to use; daily Usenet reports otherwise indicated all these logs as
    unknown entries because a format like Jul 29 04:15:01 was
    expected.

    innreport now alphabetically sorts lines which have the same rank
    instead of displaying them in random order.

    scanspool now detects empty files in a tradspool news spool and
    directories with an all-digit component (which may conflict with a
    possible file with the same name), correctly parses continuation
    lines in header fields, and can automatically remove articles
    reported to have a problem (when run with the new -r flag).

    Added a new ovflushcount parameter in inn.conf, defaulting to 50,
    to parameterize the number of articles received between flushing
    their overview data to disk, when using the buffindexed overview
    storage method. (In previous releases, that number was ten times
    the value of icdsynccount, but a dedicated parameter is better.)

INN 2.7.2

2024-06-22

New Features

    Added two new options in storage.conf, contributed by Christoph
    Biedl:

        a filtered option to store articles which have been rejected
        by a Perl or Python filter for innd into a separate storage
        class, when dontrejectfiltered is set to true in inn.conf;

        a path option to store articles by the contents of the Path
        header field, notably to isolate the storage of spammy sites
        from other sites.

    The delayer program, which previously was in the contrib
    directory, is now installed by default. It notably permits
    generating a delayed feed, for instance to give cancel control
    articles and NoCeM messages time to arrive, and therefore actually
    cancel articles before they are locally stored. Thanks to
    Christoph Biedl for the documentation, testing, and addition of
    several useful flags to delayer.

    Added the INN::ovsqlite_client Perl module to access an ovsqlite
    overview database through ovsqlite-server from a Perl script. This
    module provides search, add, remove and expire functions for
    information stored in an ovsqlite database (newsgroups and
    overview data associated to articles in these newsgroups). Many
    thanks to Bo Lindbergh for it, as well as for two samples in the
    contrib directory (ovsqlite-dump and ovsqlite-undump) showing how
    to use the module.

    Added several new options to better parameterize perl-nocem. The
    location of its configuration file, the keyring to use, and the
    full gpg and gpgv commands to run can now be modified by flags
    passed to the program. Unprocessed NoCeM notices will also show up
    in daily Usenet reports generated by innreport. Log verbosity can
    be controlled, cancelled articles can be backed up into files, and
    perl-nocem can write logs to a separate perl-nocem.log file. Local
    rules to fine-tune within a NoCeM notice which articles get
    cancelled can also be applied. See its manual page for more
    information about the use of these options.

    innreport now supports high-precision timestamps like
    2023-07-29T04:15:01.889064+02:00 that syslog can be parameterized
    to use; daily Usenet reports otherwise indicated all these logs as
    unknown entries because a format like Jul 29 04:15:01 was
    expected.

    innreport now alphabetically sorts lines which have the same rank
    instead of displaying them in random order.

    scanspool now detects empty files in a tradspool news spool and
    directories with an all-digit component (which may conflict with a
    possible file with the same name), correctly parses continuation
    lines in header fields, and can automatically remove articles
    reported to have a problem (when run with the new -r flag).

    Added a new ovflushcount parameter in inn.conf, defaulting to 50,
    to parameterize the number of articles received between flushing
    their overview data to disk, when using the buffindexed overview
    storage method. (In previous releases, that number was ten times
    the value of icdsynccount, but a dedicated parameter is better.)

Bug Fixes

    perl-nocem now correctly parses the identifiers of NoCeM issuers
    with special characters like + in the configuration file.

    Fixed a hang when posting articles if COMPRESS DEFLATE is active
    but TLS is not. Thanks to Enrik Berkhan for the patch for nnrpd.

    innd no longer dies when ctlinnd trace is run on an invalid
    channel.

    INN now properly handles header field names starting with a
    leading dot: innd accurately computes the :bytes metadata item of
    articles with such header field names, and nnrpd correctly
    preserves the leading initial dot at injection time and rightly
    parses such header field names in HDR, XHDR and XPAT commands.

    nnrpd now rejects articles with invalid dot-stuffing (that is to
    say when a dot at the beginning of a line is not doubled) as it is
    a violation of the NNTP protocol. (innd still goes on accepting
    and propagating such articles as they have already been injected
    and propagated.)

    Fixed the computation of the Bytes header field by pullnews (in
    header-only mode with the -B flag).

    Fixed the generation of rnews batches by pullnews (when using the
    -r flag) which had not the expected native LF line termination.

    Fixed inndf on 32-bit architectures with large file support
    (previously, inndf could not count more than 2^32 bytes or inodes
    on these architectures).

    Fixed an issue preventing articles from expiring when using the
    ovsqlite method, in a very rare case. When an article had more
    than 100,000 bytes of overview data (for instance with a Subject
    header field of that length), overview expiration was no longer
    done for newsgroups carrying this article. Such articles, which
    most certainly are spams anyway, are no longer added to the
    ovsqlite database. Thanks for Jesse Rehmer for the bug report.

    Fixed a database lock issue when running ovsqlite-util on a
    running server with the transtimelimit parameter in ovsqlite.conf
    set to a higher value than the default busy timeout of 30 seconds
    of ovsqlite-util. Thanks to Jesse Rehmer for the bug report and Bo
    Lindbergh for the fix.

    Fixed a foreign key issue preventing ovsqlite-util from fixing
    problems found when running with the -F flag.

    innd no longer malfunctions nor throttles when the maximum number
    of file descriptors supported by the system is reached. If needing
    to use more file descriptors than the default system limit, a new
    LARGE_FD_SETSIZE option can be set at build time. See the
    documentation for rlimitnofile in inn.conf for more
    information. Thanks to Jesse Rehmer for the bug report.

Other Change

    Up-to-date control.ctl and nocem.ctl files are provided with this
    release. You may want to manually update your configuration with
    the new information recorded about hierarchies and NoCeM issuers,
    and make sure the relevant PGP keys are installed on your system.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r0 pkgsrc/news/inn/MESSAGE
cvs rdiff -u -r1.153 -r1.154 pkgsrc/news/inn/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/news/inn/PLIST
cvs rdiff -u -r1.41 -r1.42 pkgsrc/news/inn/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/news/inn/patches/patch-ad
cvs rdiff -u -r1.4 -r1.5 pkgsrc/news/inn/patches/patch-ak

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/news/inn/Makefile
diff -u pkgsrc/news/inn/Makefile:1.153 pkgsrc/news/inn/Makefile:1.154
--- pkgsrc/news/inn/Makefile:1.153      Fri Jul  4 08:47:52 2025
+++ pkgsrc/news/inn/Makefile    Thu Oct  2 16:23:51 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.153 2025/07/04 08:47:52 wiz Exp $
+# $NetBSD: Makefile,v 1.154 2025/10/02 16:23:51 hauke Exp $
 
-DISTNAME=              inn-2.7.1
-PKGREVISION=           12
+DISTNAME=              inn-2.7.3
 CATEGORIES=            news
 MASTER_SITES=          ftp://ftp.isc.org/isc/inn/
 MASTER_SITES+=         ftp://ftp.fu-berlin.de/unix/news/inn/
@@ -15,7 +14,6 @@ CONFLICTS+=           libradius-[0-9]* nntpclnt-[
 
 .include "../../news/inn/Makefile.common"
 
-BUILD_DEFS+=           INN_DATA_DIR
 BUILD_DEFS+=           VARBASE
 
 FILES_SUBST+=          INN_DATA_DIR=${INN_DATA_DIR}
@@ -26,6 +24,9 @@ FILES_SUBST+=         INN_PATHBIN=${PREFIX}/${I
 MESSAGE_SUBST+=                INN_PATHBIN=${INN_PATHBIN:Q}
 
 PLIST_SUBST+=          INN_PATHBIN=${INN_PATHBIN:Q}
+PRINT_PLIST_AWK+=      { gsub(/libexec\/inn\//, "$${INN_PATHBIN}/"); }
+PRINT_PLIST_AWK+=      { gsub(/.+\/auth\/passwd\/auth_krb5$$/, "$${PLIST.kerberos}&"); }
+PRINT_PLIST_AWK+=      { gsub(/^man\/man8\/auth_krb5\.8$$/, "$${PLIST.kerberos}&"); }
 
 PKG_SYSCONFSUBDIR=     inn
 

Index: pkgsrc/news/inn/PLIST
diff -u pkgsrc/news/inn/PLIST:1.29 pkgsrc/news/inn/PLIST:1.30
--- pkgsrc/news/inn/PLIST:1.29  Sun Apr 30 14:58:58 2023
+++ pkgsrc/news/inn/PLIST       Thu Oct  2 16:23:51 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.29 2023/04/30 14:58:58 spz Exp $
+@comment $NetBSD: PLIST,v 1.30 2025/10/02 16:23:51 hauke Exp $
 bin/inews
 bin/rnews
 include/inn/buffer.h
@@ -53,10 +53,12 @@ lib/libinnhist.la
 lib/libinnstorage.la
 lib/perl/INN/Config.pm
 lib/perl/INN/Utils/Shlock.pm
+lib/perl/INN/ovsqlite_client.pm
 ${INN_PATHBIN}/actmerge
 ${INN_PATHBIN}/actsync
 ${INN_PATHBIN}/actsyncd
 ${INN_PATHBIN}/archive
+${PLIST.kerberos}${INN_PATHBIN}/auth/passwd/auth_krb5
 ${INN_PATHBIN}/auth/passwd/ckpasswd
 ${INN_PATHBIN}/auth/passwd/radius
 ${INN_PATHBIN}/auth/resolv/domain
@@ -76,6 +78,7 @@ ${INN_PATHBIN}/controlchan
 ${INN_PATHBIN}/convdate
 ${INN_PATHBIN}/ctlinnd
 ${INN_PATHBIN}/cvtbatch
+${INN_PATHBIN}/delayer
 ${INN_PATHBIN}/docheckgroups
 ${INN_PATHBIN}/expire
 ${INN_PATHBIN}/expireover
@@ -154,12 +157,11 @@ man/man1/nntpget.1
 man/man1/pgpverify.1
 man/man1/pullnews.1
 man/man1/rnews.1
-man/man1/shlock.1
 man/man1/shrinkfile.1
 man/man1/simpleftp.1
-man/man1/sm.1
 man/man3/INN::Config.3pm
 man/man3/INN::Utils::Shlock.3pm
+man/man3/INN::ovsqlite_client.3pm
 man/man3/libinn.3
 man/man3/libinn_clientlib.3
 man/man3/libinn_dbz.3
@@ -216,6 +218,7 @@ man/man8/cnfsstat.8
 man/man8/controlchan.8
 man/man8/ctlinnd.8
 man/man8/cvtbatch.8
+man/man8/delayer.8
 man/man8/docheckgroups.8
 man/man8/domain.8
 man/man8/expire.8
@@ -262,6 +265,8 @@ man/man8/send-ihave.8
 man/man8/send-uucp.8
 man/man8/sendinpaths.8
 man/man8/sendxbatches.8
+man/man8/shlock.8
+man/man8/sm.8
 man/man8/tally.control.8
 man/man8/tdx-util.8
 man/man8/tinyleaf.8
@@ -339,4 +344,3 @@ share/examples/inn/send-uucp.cf
 share/examples/inn/storage.conf
 share/examples/inn/subscriptions
 @pkgdir ${INN_PATHBIN}/filter
-@pkgdir etc/inn

Index: pkgsrc/news/inn/distinfo
diff -u pkgsrc/news/inn/distinfo:1.41 pkgsrc/news/inn/distinfo:1.42
--- pkgsrc/news/inn/distinfo:1.41       Sun Apr 30 14:58:58 2023
+++ pkgsrc/news/inn/distinfo    Thu Oct  2 16:23:51 2025
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.41 2023/04/30 14:58:58 spz Exp $
+$NetBSD: distinfo,v 1.42 2025/10/02 16:23:51 hauke Exp $
 
-BLAKE2s (inn-2.7.1.tar.gz) = 5d45999a8d0b5b44352dfbec34c95ad67f7555f9a6e16bf0409c5fa3130d1774
-SHA512 (inn-2.7.1.tar.gz) = 7d2430e5517bf13dd2acf792e376c18af8054ea4a177e5da0bbcaffbb4b89a80ed6528ed5b11a65559e5bf43f8fe40e5f7672582e9713d7b1312c607ea7e2235
-Size (inn-2.7.1.tar.gz) = 2753330 bytes
+BLAKE2s (inn-2.7.3.tar.gz) = 133ed817516d452f1324c19cad96cc2fcbae54bc53b9f4cd73e837b924b309bc
+SHA512 (inn-2.7.3.tar.gz) = cc36a87d4f8ab9297c8ce56dfb4864aafc6095459fda4ab3198e0870c77e7327364b151c16bf3509cf61e07d9389f25b0da1e016b1fc908436d48bd60ed9b81d
+Size (inn-2.7.3.tar.gz) = 2832795 bytes
 SHA1 (patch-aa) = bf3de8a6aebae1fc8957fad31e46b1c536aa5224
 SHA1 (patch-ab) = 894d7c93485bb86ebf68899968829ce6aa60b7e6
 SHA1 (patch-ac) = 43e2db25f619a2c85d5e715e2044c5b4be31b62c
-SHA1 (patch-ad) = b19fa5553d18cebb4b52e24f2d4085fc40db244c
+SHA1 (patch-ad) = 45e50491b7705eb3f8a5c64acad9747baaf30678
 SHA1 (patch-ag) = 0d1e4883ffefd0e2e7afeba2865e707ff6041a28
 SHA1 (patch-ah) = 22ff361d7a098d1cf09ecb0fc5d3336927238106
-SHA1 (patch-ak) = a2cd9d85881fc704f29de4f319380e89af67ef24
+SHA1 (patch-ak) = a0832c43c124d13046fcaa845a2788e6c8d63dbe
 SHA1 (patch-al) = c28c81e0c88c695cd06738dc7360c95a045afa1d

Index: pkgsrc/news/inn/patches/patch-ad
diff -u pkgsrc/news/inn/patches/patch-ad:1.9 pkgsrc/news/inn/patches/patch-ad:1.10
--- pkgsrc/news/inn/patches/patch-ad:1.9        Sun Apr 30 14:58:58 2023
+++ pkgsrc/news/inn/patches/patch-ad    Thu Oct  2 16:23:51 2025
@@ -1,16 +1,16 @@
-$NetBSD: patch-ad,v 1.9 2023/04/30 14:58:58 spz Exp $
+$NetBSD: patch-ad,v 1.10 2025/10/02 16:23:51 hauke Exp $
 
 raise file descriptors limit to hard limit
 
---- scripts/rc.news.in.orig    2022-07-10 15:00:35.000000000 +0200
-+++ scripts/rc.news.in 2022-09-25 13:15:39.442172637 +0200
-@@ -102,6 +102,9 @@
+--- scripts/rc.news.in.orig    2025-05-09 13:53:41.000000000 +0000
++++ scripts/rc.news.in
+@@ -102,6 +102,9 @@ Xstop)
      ;;
  esac
  
-+## Unlimit
-+ulimit -n `ulimit -H -n`
++## Unlimit 
++ulimit -n `ulimit -H -n` 
 +
- ##  Pick ${INND} or ${INNDSTART}
+ ##  Program to start.
  WHAT=${INND}
  

Index: pkgsrc/news/inn/patches/patch-ak
diff -u pkgsrc/news/inn/patches/patch-ak:1.4 pkgsrc/news/inn/patches/patch-ak:1.5
--- pkgsrc/news/inn/patches/patch-ak:1.4        Sun Apr 30 14:58:58 2023
+++ pkgsrc/news/inn/patches/patch-ak    Thu Oct  2 16:23:51 2025
@@ -1,15 +1,15 @@
-$NetBSD: patch-ak,v 1.4 2023/04/30 14:58:58 spz Exp $
+$NetBSD: patch-ak,v 1.5 2025/10/02 16:23:51 hauke Exp $
 
 fix bin path
 
---- perl/INN/Config.pm.in.orig 2022-07-10 15:00:35.000000000 +0200
-+++ perl/INN/Config.pm.in      2022-09-25 13:17:12.053797734 +0200
-@@ -15,7 +15,7 @@
+--- perl/INN/Config.pm.in.orig 2025-05-09 13:53:41.000000000 +0000
++++ perl/INN/Config.pm.in
+@@ -29,7 +29,7 @@ our $exec_prefix = "@exec_prefix@";
  
  ##  Then, process the variables provided by innconfval.
  my @INNCONFVAR = ();
--my @values = `${exec_prefix}/bin/innconfval -p`;
-+my @values = `@bindir@/innconfval -p`;
+-my @values = qx(${exec_prefix}/bin/innconfval -p);
++my @values = qx(@bindir@/innconfval -p);
  foreach my $line (@values) {
      eval 'our ' . $line;
      if ($line =~ /^(.*?) = /m) {



Home | Main Index | Thread Index | Old Index