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: taca
Date: Sat Nov 28 04:27:52 UTC 2026
Modified Files:
pkgsrc/mail/rspamd: Makefile PLIST distinfo
Removed Files:
pkgsrc/mail/rspamd/patches: patch-test_rspamd__cxx__unit__utils.hxx
Log Message:
mail/rspamd: update to 4.3.1
4.3.1 (2026-11-22)
Incompatible changes
* Dynamic configuration: dynamic scores and actions moved to dynconf. The
legacy dynamic configuration file and Redis hash are imported once, and
the file is renamed afterwards. The dynamic_conf plugin is now a stub for
the dynconf Redis backend. A threshold in override.d wins over a dynamic
one, and a dynamic one wins over local.d
* Time intervals: lua_util parses intervals strictly. "500ms" now means
milliseconds, and "1 d" and "1D" both mean a day. Unknown units and
trailing text are rejected
* URL order: URL hash sets are seeded with a random value per process, so
unsorted task urls come out in a different order in each process
Features
* dynconf: a new framework for runtime overrides of plugin options, with
Redis and file backends. By default the file backend serves actions,
scores and symbols. Scalar options of chartable, dkim and fuzzy_check are
dynamic, and so are the runtime options of 41 Lua plugins. rspamadm
configdump --dynamic and new controller endpoints dump, set, reset and
reload overrides
* Symbol profiling: symcache times selected symbols and groups precisely on
every scan. The timings are read through
rspamd_config:register_profiled_symbols() and task:get_symbols_profile().
The new lua_task_profile library samples per-scan symbol run times, and
the clickhouse plugin stores the samples in new Profile columns (schema
version 13)
* DKIM: beyond max_sigs, up to extra_aligned_sigs (2 by default) signatures
aligned with From are checked. DKIM_SIGS_TRUNCATED is added when
signatures are left unchecked
* RBL: new hash_format = "rbase32" (RFC 4648 base32), and selector_hash =
false for selectors that already return a hash. max_dns_requests caps DNS
requests per message for each rule. When work is dropped, a
<SYMBOL>_LIMIT symbol with a zero score is added
* Version and WebUI: --version, rspamd_version() and the controller stat
reply show the release base and the git distance from it. The WebUI uses
Bootstrap 5.3.9
Bug fixes
* Critical: the RPM package creates the _rspamd user on RHEL again. Fresh
EL8/9/10 installs had no such user
* DKIM, SPF and phishing: one unresolved signature no longer hides every
DKIM result. Before this, an untrusted signature with trusted_only or a
d= label over 63 octets suppressed all DKIM symbols. A key request that
cannot be sent is a temporary error unless the name is invalid. SPF
reports a malformed domain as none, not as a DNS failure, so a spoofed
sender now gets the DMARC reject policy instead of DMARC_DNSFAIL. A link
that displays the DMARC-authenticated From domain scores as
PHISHING_OWN_DOMAIN instead of PHISHING. This does not apply to
shared_domains (freemail) or strict domains
* Randomness: forked workers reseed math.random and the fast PRNG. Before
this, all workers drew the same random sequences. libottery seeds from
getrandom/getentropy first and never from RDRAND alone, and a failed
reinit no longer leaves it usable. After a refill it wipes the bytes it
actually handed out; up to 40 bytes of a returned key used to stay in the
state
* Scanners: clamav treats a reply without a verdict as a failure. A
database reload used to let the message pass as scanned. savapi,
spamassassin, oletools, fprot, avast, razor, pyzor, dcc and sophos no
longer treat error or unrecognised replies as clean
* Lua TCP, SMTP and timers: lua_tcp fixes:
- use-after-free on error callbacks, closing sessions and stale handles
- aborts on empty write handlers, and a callback called by mistake on a
failed connect
- timeouts for sync operations, draining decrypted TLS data, and
starttls failures reported only through the handlers
* lua_smtp calls the completion callback once on an immediate failure.
Callbacks of task:add_timer and ev_base:add_timer run on a callback
thread, and a timer that returns a new interval is re-armed. Before this,
the worker aborted or timers stopped firing
* Lua API and runtime: Lua stack and memory errors are fixed in the task,
config, util, mempool, map, trie, html, upstream and ucl APIs. Stack
errors are also fixed in the Redis learn cache, mime expression atoms,
fuzzy learn, legacy autolearn and classifier conditions. map:foreach now
stops when the callback returns true and returns the count. Trie
callbacks always get the end offset. Every section of the global config
table is imported; three of them used to abort rspamd. Tracebacks keep
the Lua error message with Lua 5.4.3 and later. lua_mime compiles with
Lua 5.5, and lua_shape keeps false as a field default. rspamadm fixes the
lua -P abort, the exit status of a failing Lua command and thread reuse in
.exec
* Maps, parsing and rules: maps keep the expiry of each HTTP backend and
check all backends before a reread. Before this, the first URL of a map
could be fetched every few seconds while the second was never fetched.
Received parsing ignores HELO address literals. In add_text_footer and
multipattern_text_replace, lua_mime keeps the line break before MIME
delimiters that follow verbatim parts. A repeated url merges its flags
into the earlier url object, and urls repeated by an extracted part are
kept. In HTML_TINY_PIXEL_TRACKER, an image source that also appears in
the text no longer counts as image-only, and a zero in any unit counts as
zero
* Statistics, symcache and tools: bayes honours the check_balance and
min_balance autolearn options. symcache reads the slow flag from the
internal flags and decides whether to time an item once, when the item
starts. Before this, callback items were timed on every task and
slow-rule notices were wrong. rbl no longer scores a symbol twice when a
final resolve_ip query merges into a query that already has an answer.
rspamc labels profile times as milliseconds
To generate a diff of this commit:
cvs rdiff -u -r1.150 -r1.151 pkgsrc/mail/rspamd/Makefile
cvs rdiff -u -r1.47 -r1.48 pkgsrc/mail/rspamd/PLIST
cvs rdiff -u -r1.85 -r1.86 pkgsrc/mail/rspamd/distinfo
cvs rdiff -u -r1.1 -r0 \
pkgsrc/mail/rspamd/patches/patch-test_rspamd__cxx__unit__utils.hxx
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.150 pkgsrc/mail/rspamd/Makefile:1.151
--- pkgsrc/mail/rspamd/Makefile:1.150 Mon Nov 16 12:02:10 2026
+++ pkgsrc/mail/rspamd/Makefile Sat Nov 28 04:27:52 2026
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.150 2026/11/16 12:02:10 wiz Exp $
+# $NetBSD: Makefile,v 1.151 2026/11/28 04:27:52 taca Exp $
#
# When updating this, run 'make cfgfiles'.
-DISTNAME= rspamd-4.3.0
-PKGREVISION= 1
+DISTNAME= rspamd-4.3.1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GITHUB:=rspamd/}
Index: pkgsrc/mail/rspamd/PLIST
diff -u pkgsrc/mail/rspamd/PLIST:1.47 pkgsrc/mail/rspamd/PLIST:1.48
--- pkgsrc/mail/rspamd/PLIST:1.47 Sun Nov 15 20:28:31 2026
+++ pkgsrc/mail/rspamd/PLIST Sat Nov 28 04:27:52 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.47 2026/11/15 20:28:31 wiz Exp $
+@comment $NetBSD: PLIST,v 1.48 2026/11/28 04:27:52 taca Exp $
bin/mapstats
bin/rspamadm
bin/rspamadm-${PKGVERSION}
@@ -199,6 +199,11 @@ 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_dynconf.lua
+share/rspamd/lualib/lua_dynconf/file.lua
+share/rspamd/lualib/lua_dynconf/json.lua
+share/rspamd/lualib/lua_dynconf/legacy.lua
+share/rspamd/lualib/lua_dynconf/redis.lua
share/rspamd/lualib/lua_extras.lua
share/rspamd/lualib/lua_feedback_parsers.lua
share/rspamd/lualib/lua_ffi/common.lua
@@ -258,6 +263,7 @@ share/rspamd/lualib/lua_shape/plugin_sch
share/rspamd/lualib/lua_shape/registry.lua
share/rspamd/lualib/lua_smtp.lua
share/rspamd/lualib/lua_stat.lua
+share/rspamd/lualib/lua_task_profile.lua
share/rspamd/lualib/lua_tcp_sync.lua
share/rspamd/lualib/lua_url_filter.lua
share/rspamd/lualib/lua_urls_compose.lua
@@ -378,6 +384,7 @@ share/rspamd/plugins/whitelist.lua
share/rspamd/rules/archives.lua
share/rspamd/rules/bounce.lua
share/rspamd/rules/content.lua
+share/rspamd/rules/controller/dynconf.lua
share/rspamd/rules/controller/fuzzy.lua
share/rspamd/rules/controller/init.lua
share/rspamd/rules/controller/maps.lua
Index: pkgsrc/mail/rspamd/distinfo
diff -u pkgsrc/mail/rspamd/distinfo:1.85 pkgsrc/mail/rspamd/distinfo:1.86
--- pkgsrc/mail/rspamd/distinfo:1.85 Mon Nov 16 11:40:00 2026
+++ pkgsrc/mail/rspamd/distinfo Sat Nov 28 04:27:52 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.85 2026/11/16 11:40:00 wiz Exp $
+$NetBSD: distinfo,v 1.86 2026/11/28 04:27:52 taca Exp $
-BLAKE2s (rspamd-4.3.0.tar.gz) = d58500e962ed14abff841b9c99447877782a06df81a7523b90f5c09306eef980
-SHA512 (rspamd-4.3.0.tar.gz) = 79de0d5da55e69faf832d13f8e0d36439bfab2605b983a5b4dffd226c668c3f5e0927762c2a0c1479e3be126cd47e8b23388b325cd3ed8fddefcfe0718ce4e3a
-Size (rspamd-4.3.0.tar.gz) = 8027659 bytes
+BLAKE2s (rspamd-4.3.1.tar.gz) = 30b67c81dc25b0943232fa798e08efe2a5a9b81b7cd9aed0e085dfd4649f76e0
+SHA512 (rspamd-4.3.1.tar.gz) = c6b4d1f3395d918b5fed50190111b3a985d8d4e35feecfdc730b1ecf79e72a908b76f149d4cdcd7cf4350968522d7dac5e0acc879b9fbfd1126a10a3b2458ed4
+Size (rspamd-4.3.1.tar.gz) = 8209616 bytes
SHA1 (patch-CMakeLists.txt) = 25a1264b573d5a1f7ff9a1ac7b8453c5d9cb0a06
SHA1 (patch-cmake_Toolset.cmake) = fbc4027fedb4261ce913701ebbb32d8395bc7783
SHA1 (patch-contrib_fpconv_fpconv.c) = b1ec2b07570674458e69020ccbf25f0374d894f6
@@ -11,4 +11,3 @@ SHA1 (patch-src_libserver_symcache_symca
SHA1 (patch-src_libstat_backends_redis__backend.cxx) = 4c60287a574066a841c76081cd88512a57f0b27f
SHA1 (patch-src_libutil_fpconv__format.c) = 6c876f570fb45a7a0618e933fb48e03ef77d1c04
SHA1 (patch-src_rspamd.c) = 1903994d5970af57de9c5d522df3dd12576c8418
-SHA1 (patch-test_rspamd__cxx__unit__utils.hxx) = 02bb4fb769ed2122199d35e2322ebbdf422113d4
Home |
Main Index |
Thread Index |
Old Index