app-antivirus/clamav-unofficial-sigs: new revision with a cron job.
authorMichael Orlitzky <mjo@gentoo.org>
Wed, 6 Nov 2019 15:10:57 +0000 (10:10 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Wed, 6 Nov 2019 15:56:54 +0000 (10:56 -0500)
commit2637f7bdf5ca4b984e24294ff39ceedb5cfbea58
tree3bb6325b8f38e417d5515580fbda6eb1a3d01dde
parent2a088ac147a487758447135af7ec29af0b3c49b9
app-antivirus/clamav-unofficial-sigs: new revision with a cron job.

This update script needs to run as a restricted user, with bash as its
shell, and with a real home directory to prevent cron errors in the
logs. The best way to do that seems to be to install a custom job
into /etc/cron.d that sets the HOME and SHELL variables.

This new revision provides a cron job that works as documentation, and
adds a new USE=cron flag to install it. The default is NOT to install
it because /etc/cron.d is not 100% standard, and the update script
needs to be configured before it will work.

Closes: https://bugs.gentoo.org/694054
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r1.ebuild [moved from app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1.ebuild with 80% similarity]
app-antivirus/clamav-unofficial-sigs/files/clamav-unofficial-sigs.crond [new file with mode: 0644]
app-antivirus/clamav-unofficial-sigs/metadata.xml