[Midnightbsd-cvs] [MidnightBSD/mports] c78007: mail/rspamd: update to 4.1.0 (#701)
Lucas Holt
noreply at github.com
Fri Aug 7 19:34:27 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: c78007803249ebcb00aa272260511a82284a2d92
https://github.com/MidnightBSD/mports/commit/c78007803249ebcb00aa272260511a82284a2d92
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-08-07 (Fri, 07 Aug 2026)
Changed paths:
M mail/rspamd/Makefile
M mail/rspamd/distinfo
M mail/rspamd/pkg-plist
Log Message:
-----------
mail/rspamd: update to 4.1.0 (#701)
Update `mail/rspamd` from 4.0.1 to 4.1.0.
## Changes
- `PORTVERSION` 4.0.1 → 4.1.0, dropped `PORTREVISION= 0`.
- Added `PLIST_SUB+= HYPERSCAN="@comment "` under `.if
${OPTIONS_DEFINE:NHYPERSCAN}` (via `bsd.mport.options.mk`) so
`%%HYPERSCAN%%` resolves on architectures without hyperscan. Mirrors
FreeBSD c6b24b28a177.
- pkg-plist: 12 additions —
`lua.local.d/{maps,regexps,selectors}/example.lua.example` plus their
`@dir` entries, the hyperscan-gated `worker-hs_helper.{conf,inc}`,
`lua_extras.lua`, `lua_feedback_parsers.lua`,
`lua_scanners/expurgate.lua`, `rspamadm/memstat.lua`.
## No dependency or patch changes
FreeBSD's 4.1.0 commit (2feabcfbd8cb) touched only `Makefile` and
`distinfo`, and the Makefile hunk was the version line alone.
`files/patch-contrib_xxhash_xxhash.h` is byte-identical to FreeBSD's and
applies cleanly with no fuzz.
## Verification
`makesum`, `patch`, `build`, `fake`, `package` all succeeded →
`rspamd-4.1.0.mport`. distinfo matches FreeBSD's byte-for-byte.
The plist was cross-checked against a `bmake makeplist` gen-plist, and
`work/.PLIST.mktmp` confirms `@comment etc/rspamd/worker-hs_helper.conf`
— i.e. the substitution works rather than leaving a literal token.
`PLIST_SUB` verified on three branches: amd64 default →
`HYPERSCAN="@comment "`, `WITH=HYPERSCAN` → `HYPERSCAN=""`, `ARCH=i386`
→ `HYPERSCAN="@comment "`. Gating those two files is correct per
`cmake/InstallRspamdFiles.cmake:24`, which removes them when hyperscan
is off.
LICENSE unchanged (Apache 2.0).
**Not validated:** built on amd64 only. The i386 path was checked at the
make-variable level, not compiled.
## Adjacent, not fixed
`post-install` runs `${RM}
${FAKE_DESTDIR}/${ETCDIR}/rspamd.systemd.conf`, which doubles the
staging prefix and is therefore a silent no-op. Harmless today (upstream
doesn't stage those files) but will bite if that changes. Pre-existing,
left for a separate change.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Summary by Sourcery
Update the rspamd port to 4.1.0 and adjust packaging metadata for
optional Hyperscan support and new installed files.
Enhancements:
- Extend the pkg-plist to cover new example Lua configs, Lua helper
scripts, Hyperscan-gated worker configuration files, and additional
admin utilities introduced in rspamd 4.1.0.
Build:
- Bump PORTVERSION of mail/rspamd from 4.0.1 to 4.1.0 and remove
explicit PORTREVISION.
- Include bsd.mport.options.mk and define a PLIST_SUB HYPERSCAN
substitution so plist tokens resolve correctly when Hyperscan is
unavailable.
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list