Created attachment 272508 [details] mail/rspamd upgrade to 4.1.1 This update brings mail/rspamd to version 4.1.1 and introduces structural improvements to its regular expression scanning backends, optimized specifically for the FreeBSD ecosystem: 1. Introduction of Vectorscan (Portable Alternative): Intel's Hyperscan is historically bound to x86_64 architectures and has deprecated upstream components. This patch introduces devel/vectorscan as a modern, actively maintained, and highly portable alternative that delivers excellent performance under FreeBSD. 2. Architecture-Specific Scaling: To ensure seamless deployments across diverse hardware topologies, the regex engine options are dynamically adjusted based on the target architecture: - 64-bit x86 (amd64): Users can choose between HYPERSCAN and VECTORSCAN via a SINGLE/RADIO group (defaulting to VECTORSCAN for better modern support). - 64-bit non-x86 (aarch64, powerpc64, powerpc64le): HYPERSCAN is automatically stripped as it is incompatible. VECTORSCAN is promoted to a standalone option to ensure native, high-performance regex acceleration on modern ARM and POWER hardware. - 32-bit & legacy platforms (i386, armv7, powerpc): High-performance JIT-based engines are cleanly disabled to prevent build and runtime failures, falling back to Rspamd's standard fallback routines. 3. General Port Health: - Fully cleaned up the Lua/LuaJIT options framework logic to allow pristine, mutually exclusive toggling between standard Lua and lang/luajit-openresty without QA testing complaints. - Included the post-upgrade pkg-message reminder to flush older cached hyperscan `.unser` alignment files from /var/db/rspamd, preventing post-upgrade crashes. The patch applies cleanly against the current ports tree, passes portlint/portclippy with zero structural errors, and builds successfully through all stage-qa phases.