Date: Mon, 29 Jun 2026 05:08:33 +0000 From: Kevin Bowling <kbowling@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6f63ac1c510c - main - news/inn: Update to 2.7.4 Message-ID: <6a41fdd1.3cacd.1b2d41e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f63ac1c510cdda245defc03c2b1ef10f525eee9 commit 6f63ac1c510cdda245defc03c2b1ef10f525eee9 Author: Kevin Bowling <kbowling@FreeBSD.org> AuthorDate: 2026-06-29 05:03:26 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2026-06-29 05:07:59 +0000 news/inn: Update to 2.7.4 Changes in 2.7.4 (2026-06-22) * The speed of expireover has been greatly improved by the implementation of a Bloom filter (a probabilistic data structure used to efficiently test whether an element is a member of a set, without any false negative). Instead of checking every article in the overview database against the history file to detect orphaned entries, expireover now sequentially reads the history file at startup to build a Bloom filter, and makes its checks in that optimized data structure. On large news spools of billions of articles, expireover could take several weeks to complete; it now runs in a few minutes! This feature is activated by default and controlled by the new expirebloomfp parameter in inn.conf. Many thanks to Kevin Bowling for this improvement. * The speed of expire has also been drastically improved for large news spools thanks to the recording of every cancellation alongside the existing storage and overview deletions, so that expire can just drop matching history entries without doing per-article retrieval system calls, thus saving a good amount of time at billion-article scale. This feature contributed by Kevin Bowling is not enabled by default. See the documentation of expiretombstone in inn.conf for more details, as well as nnrpdcheckart which also makes use of the cancel tombstone log file. * Added four new parameters to ovsqlite.conf for the ovsqlite overview method: mmapsize to have SQLite read data via mmap instead of copying into its own page cache, readercachesize to set the SQLite in-memory page cache size for each nnrpd reader process, walmode to enable SQLite's Write-Ahead Logging journal mode and improve read performance when multiple nnrpd processes access the overview database simultaneously, and walcheckpointthreshold to parameterize when to perform checkpoints. See the ovsqlite(5) manual page for more details. Thanks to Kevin Bowling for all these enhancements! * When laxmid is set in the syntaxchecks parameter in inn.conf, Message-IDs without any "@" character are now accepted by innd. * Fixed very infrequent errors of memory mapping when updating the active file or using the tradindexed overview method, as well as when updating the history file with nfswriter set to true. Thanks to Chris Knipe for the bug report and to Richard Kettlewell for the patch. * Fixed the rotation of the perl-nocem.log file generated when syslog is not available or the -l flag used with perl-nocem: the contents of this log file was mistakenly appended to news.notice by scanlogs. * Fixed makehistory so that malformed input does not insert a bogus overview entry. Thanks to Kevin Bowling for the patch. * Following upstream rename from blacklist to blocklist, the --with-blacklist configure flag is renamed --with-blocklist for blocklistd support in FreeBSD 15 and NetBSD 10. For backward compatibility, both blacklist and blocklist libraries will be searched by the new --with-blocklist flag. Thanks to Jose Luis Duran for the information. * Added support for the ALPN TLS extension in nnrpd. Thanks to Roman Donchenko for this feature. * In consequence of the changes in the libinn(3) and libinnstorage(3) interfaces for the Bloom filter and overview improvements, both of these libraries have their SONAME bump in this release. * Various other minor bug fixes and documentation improvements. --- news/inn/Makefile | 22 +++++----------------- news/inn/distinfo | 6 +++--- news/inn/pkg-plist | 2 ++ 3 files changed, 10 insertions(+), 20 deletions(-) diff --git a/news/inn/Makefile b/news/inn/Makefile index ac29df62f43e..ba3245cbcc22 100644 --- a/news/inn/Makefile +++ b/news/inn/Makefile @@ -1,6 +1,6 @@ PORTNAME?= inn -PORTVERSION?= 2.7.3 -PORTREVISION?= 3 +PORTVERSION?= 2.7.4 +PORTREVISION?= 0 CATEGORIES= news MASTER_SITES= ISC MASTER_SITE_SUBDIR?= ${PORTNAME} @@ -48,9 +48,9 @@ CONFLICTS?= inn-current SUB_FILES= pkg-install SUB_LIST+= EGDIR="${EXAMPLESDIR:C,^${PREFIX},\\$\\${PREFIX},}" -INNLIB_LONG?= 9.0.2 -LIBVER_LONG?= 3.0.9 -LIBSTORAGEVER_LONG?= 3.1.3 +INNLIB_LONG?= 9.1.0 +LIBVER_LONG?= 3.0.10 +LIBSTORAGEVER_LONG?= 5.0.0 CONFIG_FILES+= actsync.cfg actsync.ign buffindexed.conf control.ctl \ control.ctl.local cycbuff.conf distrib.pats distributions \ @@ -103,11 +103,7 @@ BERKELEYDB_CONFIGURE_ON= --with-bdb-include=${BDB_INCLUDE_DIR} \ --with-bdb-lib=${LOCALBASE}/lib \ --with-bdb=${LOCALBASE} -.if ${BRANCH:U} == 2.8 BLOCKLISTD_CONFIGURE_WITH= blocklist -.else -BLOCKLISTD_CONFIGURE_WITH= blacklist -.endif CANLOCK_LIB_DEPENDS= libcanlock.so:news/libcanlock CANLOCK_CONFIGURE_ON= --with-canlock=${LOCALBASE} @@ -168,14 +164,6 @@ post-patch: .if ${PORT_OPTIONS:MBERKELEYDB} @${REINPLACE_CMD} -e 's!-ldb!-ldb-${BDB_VER}!' ${WRKSRC}/configure .endif -.if ${BRANCH:U} == 2.7 -. if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500000 - @${FIND} ${WRKSRC} -type f -exec ${SED} -i '' \ - -e 's/BLACKLIST/BLOCKLIST/g' \ - -e 's/Blacklist/Blocklist/g' \ - -e 's/blacklist/blocklist/g' {} + -. endif -.endif pre-install: @${MKDIR} ${STAGEDIR}${INN_DBDIR} \ diff --git a/news/inn/distinfo b/news/inn/distinfo index 4d21be5d57f4..ba107a44381f 100644 --- a/news/inn/distinfo +++ b/news/inn/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1748422615 -SHA256 (inn-2.7.3.tar.gz) = 8032c2baca74bf1fa153cd0c0fac0dac7c11d4e8499332d4ccbec1d6f6729358 -SIZE (inn-2.7.3.tar.gz) = 2832795 +TIMESTAMP = 1782708207 +SHA256 (inn-2.7.4.tar.gz) = 80fc7e801e1996cb17bb430d104dd9c5b29aa571fd4b29a9c821b4fadb051d3b +SIZE (inn-2.7.4.tar.gz) = 2895892 diff --git a/news/inn/pkg-plist b/news/inn/pkg-plist index c08382a90d97..25f1ab2c9385 100644 --- a/news/inn/pkg-plist +++ b/news/inn/pkg-plist @@ -124,6 +124,7 @@ doc/hook-perl doc/hook-python doc/sample-control http/innreport.css +include/inn/bloom.h include/inn/buffer.h include/inn/concat.h include/inn/confparse.h @@ -159,6 +160,7 @@ include/inn/sequence.h include/inn/storage.h include/inn/system.h include/inn/timer.h +include/inn/tombstone.h include/inn/tst.h include/inn/utility.h include/inn/vector.hhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a41fdd1.3cacd.1b2d41e>
