Please consider adding onaccess use for clamav. This depends on dazuko (bug #11487), but will allow users to figure out that they need this component as dependency. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 64110 [details, diff] clamav-0.86.2-r1.ebuild.diff Suggested modifications for clamav ebuild.
Now, after there is sys-fs/dazuko, can you please consider the attached modification in order to add onaccess use?
We'll need dazuko keyworded atleast ~arch for all supported arches, or atleast for arches which dazuko actually works on. CCing dazuko maintainer: Wolfram, is there some list of arches dazuko will/will not work on, to narrow the list? Otherwise onaccess support for clamav will have to wait until dazuko receives attention from all relevant arch teams.
Created attachment 79468 [details, diff] clamav-0.88.ebuild.diff Updated ebuild, sets udev permissions for dazuko.
Created attachment 79469 [details] udev-60-dazuko.rules udev rule for dazuko.
Hello, If you don't wish to do this, please close the bug.
I was waiting for Wolfram, but looks like we'll have to do it via USE-flag masking for other architectures.
(In reply to comment #7) > I was waiting for Wolfram, but looks like we'll have to do it via USE-flag > masking for other architectures. Hello, A lot of time passed. Can you please do this via USE-flag masking?
OK, I got clamuko working easily, but it requires /dev/dazuko to be writable by user that runs clamav. How do we handle this in dazuko and/or clamav ebuilds?
Created attachment 104303 [details, diff] clamav-0.88.7.ebuild.diff
Created attachment 104304 [details] udev-60-dazuko.rules
(In reply to comment #9) > OK, I got clamuko working easily, but it requires /dev/dazuko to be writable by > user that runs clamav. How do we handle this in dazuko and/or clamav ebuilds? Attachmens are modified ebuild and udev rule (put in ${FILESDIR}). The udev rule allows clamav to access the device. It is installed if you use the onaccess use flag.
Um, is it OK if we just echo the line to /etc/udev/rules.d/60-dazuko.rules instead of adding yet another file in the tree?
Newly added clamav-0.88.7-r1 has support for dazuko now. At last. Thanks for your time spent on this, Alon.
Thanks! Any reason to remove the postinst messages?
Hi! I see you removed the fbsd keyword because of dazuko... You could have simply mask the onaccess use flag from fbsd...
(In reply to comment #16) > Hi! > I see you removed the fbsd keyword because of dazuko... > You could have simply mask the onaccess use flag from fbsd... > Yes, I plan to ping fbsd team for that, but I didn't get around to do it yet.