CVS commit: pkgsrc/mail/rspamd

"Thomas Klausner" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	wiz
Date:		Sun Aug 16 13:17:03 UTC 2026

Modified Files:
	pkgsrc/mail/rspamd: Makefile cfgfiles.mk distinfo

Log Message:
rspamd: update to 4.1.5.

4.1.5: 14 Aug 2026

  ** Incompatible changes **
  * [Rework] gpt: Return only a boolean from the condition callback (request content generation moved into gpt_check)
  * [Conf] Ship explicit allow_file_and_shm_inputs = true defaults for the normal, controller and proxy workers (the default becomes false in the next major release)

  ** Features **
  * [Feature] fuzzy: Share sender facts (SPF, DKIM, DMARC, PTR state, recipient bucket, TLS) with storages over encrypted rules
  * [Feature] mime: Decode PDF simple font text via the font's /Encoding (Annex D base encodings and /Differences overrides)
  * [Feature] mime: Parse PDF /ToUnicode CMaps and decode composite (Type0) fonts
  * [Feature] elastic: Structured fuzzy match results and message size in the schema

  ** Bug fixes **
  * [CritFix] protocol: Gate File/Path/Shm message sources behind allow_file_and_shm_inputs (any TCP client could have arbitrary files parsed)
  * [Fix] controller: Rate limit authentication failures per source (max_auth_failures)
  * [Fix] fuzzy: Per-key forbidden_ids replaces the default set instead of adding to it
  * [Fix] fuzzy: Apply the per-key ACL to delayed v1 replies
  * [Fix] fuzzy: Skip unknown wire extension types instead of rejecting the whole command
  * [Fix] fuzzy: Do not share extensions for authenticated senders, own networks or plain text rules
  * [Fix] neural: Bound static_embed word extraction with max_words and drop the quadratic subject prepend
  * [Fix] neural: Fuse over the provider slot range, so one missing provider does not discard the rest
  * [Fix] symcache: Stamp slow-rule start under the same condition it is measured (phantom slow-rule warnings)
  * [Fix] hfilter: Compare HELO addresses against the connecting IP, ignoring transient lookup failures
  * [Fix] html: Treat a schemeless email href as mailto, not http userinfo (spurious URL_USER_PASSWORD)
  * [Fix] lua_url: Do not drop flagless URLs when all flags are included
  * [Fix] lua_mime: Unwind every boundary level when returning from nested parts in all rewriters
  * [Fix] lua_content/pdf: Keep TJ positioning gaps out of the character code stream
  * [Fix] lua_content/pdf: Keep inline /Resources dictionaries, so page fonts are visible
  * [Fix] lua_content/pdf: Drop the font-blind ligature substitution
  * [Fix] mime: Store CMap codes with their byte width to avoid collisions
  * [Fix] mime: Refuse a CMap that inherits from another instead of returning partial text
  * [Fix] mime: Keep computed text parts raw and resolve CED charset names through the alias table
  * [Fix] mime: Restrict the EUC-TW misnomer aliases to CED output
  * [Fix] hyperscan: Make the cache usable with a Redis backend (replica reads, null replies, maps read after fork)
  * [Fix] hyperscan: Do not fetch a database that is already installed
  * [Fix] arc: Score ARC_ALLOW_TRUSTED at most once
  * [Fix] history: Clear all rows on reset in both the legacy ring buffer and the Redis backend
  * [Fix] WebUI: Search symbol option values
  * [Fix] lua: Fix logger format string and argument mismatches


To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.139 pkgsrc/mail/rspamd/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/mail/rspamd/cfgfiles.mk
cvs rdiff -u -r1.78 -r1.79 pkgsrc/mail/rspamd/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 5.1 KB)
Modified files:

Index: pkgsrc/mail/rspamd/Makefile
diff -u pkgsrc/mail/rspamd/Makefile:1.138 pkgsrc/mail/rspamd/Makefile:1.139
--- pkgsrc/mail/rspamd/Makefile:1.138	Thu Jul 30 15:40:28 2026
+++ pkgsrc/mail/rspamd/Makefile	Sun Aug 16 13:17:03 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.138 2026/07/30 15:40:28 taca Exp $
+# $NetBSD: Makefile,v 1.139 2026/08/16 13:17:03 wiz Exp $
 #
 # When updating this, run 'make cfgfiles'.
 
-DISTNAME=	rspamd-4.1.4
+DISTNAME=	rspamd-4.1.5
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_GITHUB:=rspamd/}
 
@@ -111,8 +111,8 @@ post-extract:
 post-install:
 	${MV} ${DESTDIR}${PKG_SYSCONFDIR} ${DESTDIR}${PREFIX}/share/examples/rspamd
 
-# as of 4.1.1
-# 1058 tests 1054 passed 2586 assertions 0 failed 0 errors 4 unassertive 0 pending
+# as of 4.1.5
+# 1191 tests 1187 passed 3110 assertions 0 failed 0 errors 4 unassertive 0 pending
 
 TEST_ENV+=	LD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/src:${WRKSRC}/${CMAKE_BUILD_DIR}/contrib/replxx:${WRKSRC}/${CMAKE_BUILD_DIR}/contrib/aho-corasick:${WRKSRC}/${CMAKE_BUILD_DIR}/contrib/libev:${WRKSRC}/${CMAKE_BUILD_DIR}/contrib/kann
 

Index: pkgsrc/mail/rspamd/cfgfiles.mk
diff -u pkgsrc/mail/rspamd/cfgfiles.mk:1.23 pkgsrc/mail/rspamd/cfgfiles.mk:1.24
--- pkgsrc/mail/rspamd/cfgfiles.mk:1.23	Thu Jul 30 15:40:28 2026
+++ pkgsrc/mail/rspamd/cfgfiles.mk	Sun Aug 16 13:17:03 2026
@@ -1,3 +1,3 @@
-# $NetBSD: cfgfiles.mk,v 1.23 2026/07/30 15:40:28 taca Exp $
+# $NetBSD: cfgfiles.mk,v 1.24 2026/08/16 13:17:03 wiz Exp $
 # Do not edit, regenerate using 'make cfgfiles'
 CFGFILES=	actions.conf common.conf composites.conf groups.conf lang_detection.inc local.d/antivirus.conf.example local.d/module.conf.example logging.inc lua.local.d/maps/example.lua.example lua.local.d/module.lua.example lua.local.d/regexps/example.lua.example lua.local.d/selectors/example.lua.example maps.d/dmarc_whitelist.inc maps.d/exe_clickbait.inc maps.d/maillist.inc maps.d/mid.inc maps.d/mime_types.inc maps.d/redirectors.inc maps.d/spf_dkim_whitelist.inc maps.d/surbl-whitelist.inc maps.d/suspicious_tlds.inc metrics.conf modules.conf modules.d/aliases.conf modules.d/antivirus.conf modules.d/arc.conf modules.d/asn.conf modules.d/aws_s3.conf modules.d/bayes_expiry.conf modules.d/bimi.conf modules.d/chartable.conf modules.d/clickhouse.conf modules.d/contextal.conf modules.d/dcc.conf mod
 ules.d/dkim.conf modules.d/dkim_signing.conf modules.d/dmarc.conf modules.d/elastic.conf modules.d/emails.conf modules.d/external_relay.conf modules.d/external_services.conf modules.d/force_actions.
 conf modules.d/forged_recipients.conf modules.d/fuzzy_check.conf modules.d/gpt.conf modules.d/greylist.conf modules.d/hfilter.conf modules.d/history_redis.conf modules.d/http_headers.conf modules.d/known_senders.conf modules.d/maillist.conf modules.d/metadata_exporter.conf modules.d/metric_exporter.conf modules.d/mid.conf modules.d/milter_headers.conf modules.d/mime_types.conf modules.d/multimap.conf modules.d/mx_check.conf modules.d/neural.conf modules.d/neural_autolearn.conf modules.d/once_received.conf modules.d/p0f.conf modules.d/phishing.conf modules.d/ratelimit.conf modules.d/rbl.conf modules.d/redis.conf modules.d/regexp.conf modules.d/replies.conf modules.d/reputation.conf modules.d/rspamd_update.conf modules.d/spamassassin.conf modules.d/spamtrap.conf modules.d/spf.conf modules.d
 /surbl.conf modules.d/trie.conf modules.d/url_redirector.conf modules.d/url_suspect.conf modules.d/whitelist.conf modules.local.d/module.conf.example options.inc override.d/module.conf.example rspam
 d.conf scores.d/content_group.conf scores.d/fuzzy_group.conf scores.d/headers_group.conf scores.d/hfilter_group.conf scores.d/mime_types_group.conf scores.d/mua_group.conf scores.d/phishing_group.conf scores.d/policies_group.conf scores.d/rbl_group.conf scores.d/statistics_group.conf scores.d/subject_group.conf scores.d/surbl_group.conf scores.d/url_suspect_group.conf scores.d/whitelist_group.conf settings.conf statistic.conf worker-controller.inc worker-fuzzy.inc worker-normal.inc worker-proxy.inc

Index: pkgsrc/mail/rspamd/distinfo
diff -u pkgsrc/mail/rspamd/distinfo:1.78 pkgsrc/mail/rspamd/distinfo:1.79
--- pkgsrc/mail/rspamd/distinfo:1.78	Tue Aug 11 09:32:02 2026
+++ pkgsrc/mail/rspamd/distinfo	Sun Aug 16 13:17:03 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.78 2026/08/11 09:32:02 jperkin Exp $
+$NetBSD: distinfo,v 1.79 2026/08/16 13:17:03 wiz Exp $
 
-BLAKE2s (rspamd-4.1.4.tar.gz) = f40adf3b5a174909ffa434c943c7aab7e6af1f013a7f6b271b744f14deac7728
-SHA512 (rspamd-4.1.4.tar.gz) = 5ebc039fc224f5f401d1a57b1db82c7f3ee7e362ef85f31620b36bd5549744c0678dfd8683acffae2d5d240494a79dd83190d19d02e2f9819a9d64037206d1b9
-Size (rspamd-4.1.4.tar.gz) = 7086679 bytes
+BLAKE2s (rspamd-4.1.5.tar.gz) = 62189d72c54596dc131a775edaeea62966bdc77d452744c43b5c98405f927f99
+SHA512 (rspamd-4.1.5.tar.gz) = 6b6e7375025b0b72afc6260f41c55c39dc510b79df964383e2895685c43c2783881a174b09606632ef209c7d193979147246c6b8575e8329e8735b15aa4d5618
+Size (rspamd-4.1.5.tar.gz) = 7191230 bytes
 SHA1 (patch-CMakeLists.txt) = 25a1264b573d5a1f7ff9a1ac7b8453c5d9cb0a06
 SHA1 (patch-cmake_Toolset.cmake) = fbc4027fedb4261ce913701ebbb32d8395bc7783
 SHA1 (patch-contrib_fpconv_fpconv.c) = b1ec2b07570674458e69020ccbf25f0374d894f6
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.