Created attachment 275622 [details] patch Follow-up to 8f3058ca4f8 ("mail/rspamd: Add vectorscan support", PR 296532). Both the HYPERSCAN and VECTORSCAN options pass -DENABLE_HYPERSCAN=ON to CMake, and conf/worker-hs_helper.{conf,inc} are installed whenever ENABLE_HYPERSCAN is on (cmake/InstallRspamdFiles.cmake). The packing list, however, gates those entries on %%HYPERSCAN%% only: - With VECTORSCAN enabled (the new default on amd64, aarch64 and powerpc64le) the two files are staged but commented out of the manifest: check-orphans/check-plist fail and the files are missing from the package. - On architectures where the HYPERSCAN option is not defined (aarch64, powerpc64le, i386, armv7, powerpc, powerpc64) %%HYPERSCAN%% is never defined in PLIST_SUB, so the literal leaks into the packing list. The PLIST_SUB block dropped by 8f3058ca4f8 was what defined that variable on non-amd64. Gate the entries on either scanner backend via a new HS_HELPER PLIST_SUB variable and bump PORTREVISION.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=58d392be23a82497ed8a697309d21e53fe2e638f commit 58d392be23a82497ed8a697309d21e53fe2e638f Author: Vsevolod Stakhov <vsevolod@FreeBSD.org> AuthorDate: 2026-10-12 11:36:09 +0000 Commit: Vsevolod Stakhov <vsevolod@FreeBSD.org> CommitDate: 2026-10-12 11:36:09 +0000 mail/rspamd: Package hs_helper configs with VECTORSCAN Follow-up to 8f3058ca4f8 ("mail/rspamd: Add vectorscan support", PR 296532). Both the HYPERSCAN and VECTORSCAN options pass -DENABLE_HYPERSCAN=ON to CMake, and conf/worker-hs_helper.{conf,inc} are installed whenever ENABLE_HYPERSCAN is on (cmake/InstallRspamdFiles.cmake). The packing list, however, gates those entries on %%HYPERSCAN%% only: - With VECTORSCAN enabled (the new default on amd64, aarch64 and powerpc64le) the two files are staged but commented out of the manifest: check-orphans/check-plist fail and the files are missing from the package. - On architectures where the HYPERSCAN option is not defined (aarch64, powerpc64le, i386, armv7, powerpc, powerpc64) %%HYPERSCAN%% is never defined in PLIST_SUB, so the literal leaks into the packing list. The PLIST_SUB block dropped by 8f3058ca4f8 was what defined that variable on non-amd64. Gate the entries on either scanner backend via a new HS_HELPER PLIST_SUB variable and bump PORTREVISION. PR: 299329 Submitted by: Alexander Moisseev <moiseev@mezonplus.ru> Fixes: 8f3058ca4f84d07d7144473296e5065728c76361 mail/rspamd/Makefile | 12 +++++++++++- mail/rspamd/pkg-plist | 4 ++-- 2 files changed, 13 insertions(+), 3 deletions(-)