pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/rspamd



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Oct 11 16:31:28 UTC 2026

Modified Files:
        pkgsrc/mail/rspamd: Makefile PLIST distinfo

Log Message:
rspamd: update to 4.2.2.

4.2.2: 10 Oct 2026

  ** Incompatible changes **
  * [Fix] mime: Exclude the CRLF preceding a boundary delimiter from parts (message and non-base64 part digests change for multipart messages)

  ** Features **
  * [Feature] crypto: Detect wallet addresses for Bitcoin and forks, Litecoin, Dogecoin, Tron, XRP, Zcash, Cardano, Cosmos, Stellar, TON, Ethereum and Monero, replacing bitcoin.lua with one 
independent symbol per currency
  * [Feature] lua_crypto_addresses: Add a bounded wallet address scanner that catches split addresses, plus add_from_string for text recovered from attachments
  * [Feature] lua_selectors: Add the crypto_addresses() extractor
  * [Feature] metadata_exporter: Add custom variables and selector expansion for mail_from, mail_to, helo, channel, stream_key and the email template
  * [Feature] metadata_exporter: Build multipart email alerts from email_parts, grouping plain and html parts into multipart/alternative
  * [Feature] metadata_exporter: Encode non-ASCII headers in email alerts automatically
  * [Feature] metadata_exporter: Validate rules against a schema, so configtest fails on invalid rules
  * [Feature] lua_smtp: Negotiate EHLO and 8BITMIME with a HELO fallback, and downgrade 8-bit messages to 7-bit when 8BITMIME is not advertised
  * [Feature] str_util: Add RFC 5322 folding for unstructured headers (util.fold_header_unstructured)
  * [Feature] lua_text: Add the smtp newline normalization mode

  ** Bug fixes **
  * [CritFix] lua_util: Fix a heap overflow in lower_utf8 (U+023A and U+023E grow when lowercased)
  * [Fix] http: Guard connection-finished checks around keepalive reset (crash on a late error handler when the peer closes the connection)
  * [Fix] html: Do not inherit box sizes into table elements (HIDDEN_TEXT and MANY_INVISIBLE_PARTS on tables pasted from Google Sheets)
  * [Fix] html: Terminate the visible link text after normalisation (stale trailing bytes broke phishing checks)
  * [Fix] url: Accept invisible characters in hostnames and flag them instead of truncating the URL
  * [Fix] utf8: Strip U+FEFF in unicode normalisation
  * [Fix] url_suspect: Anchor obfuscated URL extraction to the matched URL and make URL_OBFUSCATED_TEXT one-shot (plain-sight domains were reported as obfuscated)
  * [Fix] crypto: Gate LEAKED_PASSWORD_SCAM only on checksum-verified addresses and drop "wallet" as a scam signal
  * [Fix] mime_headers: Emit valid RFC 2047 encoded-words and keep addresses intact in structured mode
  * [Fix] lua_smtp: Dot-stuff DATA (a bare '.' line truncated messages), turn bare CR into CRLF, accept a bare reply code and read multi-line greetings
  * [Fix] lua_util: Retry deferred DNS for HTTP upstreams (gpt, aws_s3, http maps and dkim vault were stuck after a failed startup lookup)
  * [Fix] lua_util: Let callback_from_string compile whole-chunk callbacks
  * [Fix] lua_task: Fix get_symbol() with a table of names when the symbols are present
  * [Fix] lua_parsers: Keep boundary and charset as strings in parse_content_type
  * [Fix] known_senders: Expire senders after max_ttl in zset mode
  * [Fix] replies, known_senders: Honour reply_sender_privacy
  * [Fix] milter_headers: Apply header skipping to x-spamd-bar and fix the x-virus fail branch
  * [Fix] fuzzy_check: Parse top-level html_ignore_domains
  * [Fix] metadata_exporter: Always emit an integer redis_stream MAXLEN
  * [Fix] cfg_transform: Do not warn about scored custom actions
  * [Fix] rspamadm: Fix epoch labels in fuzzy_stat


To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 pkgsrc/mail/rspamd/Makefile
cvs rdiff -u -r1.45 -r1.46 pkgsrc/mail/rspamd/PLIST
cvs rdiff -u -r1.81 -r1.82 pkgsrc/mail/rspamd/distinfo

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

Modified files:

Index: pkgsrc/mail/rspamd/Makefile
diff -u pkgsrc/mail/rspamd/Makefile:1.144 pkgsrc/mail/rspamd/Makefile:1.145
--- pkgsrc/mail/rspamd/Makefile:1.144   Sun Oct  4 15:56:09 2026
+++ pkgsrc/mail/rspamd/Makefile Sun Oct 11 16:31:28 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.144 2026/10/04 15:56:09 wiz Exp $
+# $NetBSD: Makefile,v 1.145 2026/10/11 16:31:28 wiz Exp $
 #
 # When updating this, run 'make cfgfiles'.
 
-DISTNAME=      rspamd-4.2.1
+DISTNAME=      rspamd-4.2.2
 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.2.1, after 'make install'
-# 1315 tests 1311 passed 3979 assertions 0 failed 0 errors 4 unassertive 0 pending
+# as of 4.2.2, after 'make install'
+# 1423 tests 1419 passed 5506 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/PLIST
diff -u pkgsrc/mail/rspamd/PLIST:1.45 pkgsrc/mail/rspamd/PLIST:1.46
--- pkgsrc/mail/rspamd/PLIST:1.45       Sun Oct  4 15:56:09 2026
+++ pkgsrc/mail/rspamd/PLIST    Sun Oct 11 16:31:28 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.45 2026/10/04 15:56:09 wiz Exp $
+@comment $NetBSD: PLIST,v 1.46 2026/10/11 16:31:28 wiz Exp $
 bin/mapstats
 bin/rspamadm
 bin/rspamadm-${PKGVERSION}
@@ -193,6 +193,7 @@ share/rspamd/lualib/lua_content/pptx.lua
 share/rspamd/lualib/lua_content/svg.lua
 share/rspamd/lualib/lua_content/vcard.lua
 share/rspamd/lualib/lua_content/xlsx.lua
+share/rspamd/lualib/lua_crypto_addresses.lua
 share/rspamd/lualib/lua_cta.lua
 share/rspamd/lualib/lua_dkim_tools.lua
 share/rspamd/lualib/lua_extras.lua
@@ -261,6 +262,7 @@ share/rspamd/lualib/lua_util.lua
 share/rspamd/lualib/lua_verdict.lua
 share/rspamd/lualib/lupa.lua
 share/rspamd/lualib/plugins/dmarc.lua
+share/rspamd/lualib/plugins/metadata_exporter.lua
 share/rspamd/lualib/plugins/neural.lua
 share/rspamd/lualib/plugins/neural/providers/fasttext_embed.lua
 share/rspamd/lualib/plugins/neural/providers/llm.lua
@@ -371,7 +373,6 @@ share/rspamd/plugins/url_redirector.lua
 share/rspamd/plugins/url_suspect.lua
 share/rspamd/plugins/whitelist.lua
 share/rspamd/rules/archives.lua
-share/rspamd/rules/bitcoin.lua
 share/rspamd/rules/bounce.lua
 share/rspamd/rules/content.lua
 share/rspamd/rules/controller/fuzzy.lua
@@ -379,6 +380,7 @@ share/rspamd/rules/controller/init.lua
 share/rspamd/rules/controller/maps.lua
 share/rspamd/rules/controller/neural.lua
 share/rspamd/rules/controller/selectors.lua
+share/rspamd/rules/crypto.lua
 share/rspamd/rules/forwarding.lua
 share/rspamd/rules/fuzzy_html_phishing.lua
 share/rspamd/rules/headers_checks.lua

Index: pkgsrc/mail/rspamd/distinfo
diff -u pkgsrc/mail/rspamd/distinfo:1.81 pkgsrc/mail/rspamd/distinfo:1.82
--- pkgsrc/mail/rspamd/distinfo:1.81    Sun Oct  4 15:56:09 2026
+++ pkgsrc/mail/rspamd/distinfo Sun Oct 11 16:31:28 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.81 2026/10/04 15:56:09 wiz Exp $
+$NetBSD: distinfo,v 1.82 2026/10/11 16:31:28 wiz Exp $
 
-BLAKE2s (rspamd-4.2.1.tar.gz) = 026f81da309408eb431313987b22a33323cb2dabf1bd2c125177faf5901ca38b
-SHA512 (rspamd-4.2.1.tar.gz) = 985f0afd4c7d3e71e02daee4c0d14236f582c9787dd1f8fd4a723076139b1ae1e1adea89460394bdb5403375500c9b18c791e84f6f586c19d583e903e43420a3
-Size (rspamd-4.2.1.tar.gz) = 7430978 bytes
+BLAKE2s (rspamd-4.2.2.tar.gz) = b23d1597d5ede3a1d9e506bdd1389d86b075f579aff7ff45116e7dd2e9613f42
+SHA512 (rspamd-4.2.2.tar.gz) = ee6790ba338b11805dd4afc63ad855ce927f7f4a43a39d518164445ac379f513211bb7dc6b8343302bd4862ecda260be51ab4ee4ed0d6427f43c461f412a505d
+Size (rspamd-4.2.2.tar.gz) = 7502836 bytes
 SHA1 (patch-CMakeLists.txt) = 25a1264b573d5a1f7ff9a1ac7b8453c5d9cb0a06
 SHA1 (patch-cmake_Toolset.cmake) = fbc4027fedb4261ce913701ebbb32d8395bc7783
 SHA1 (patch-contrib_fpconv_fpconv.c) = b1ec2b07570674458e69020ccbf25f0374d894f6



Home | Main Index | Thread Index | Old Index