when building clamav port /etc/make.conf some settings no longer apply For example the following entries in make.conf are ignored CLAMAVUSER=vscan CLAMAVGROUP=vscan Thus: perms for /var/db/clamav do not adhere to for example "DatabaseOwner vscan" in /usr/local/etc/freshclam.conf perms for /var/run/clamav do not adhere to for example "User vscan" in /usr/local/etc/clamd.conf
Created attachment 229799 [details] Restore user/group override The attached patch restores the user/group override, variables names change from CLAMAVUSER to _CLAMAVUSER and CLAMAVGROUP to _CLAMAVGROUP in /etc/make.conf
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e9d6c3d3d059e4e44b2613f054f288efbf32cc26 commit e9d6c3d3d059e4e44b2613f054f288efbf32cc26 Author: Oclair <jason@aventia.pw> AuthorDate: 2021-12-14 01:07:54 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-12-14 01:21:45 +0000 security/clamav: Make the value of user/group overridable with make.conf PR: 259987 security/clamav/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Committed. Thanks!