X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fclamav;h=311c6e8e5ce0e3506db06ee87ebf51937f4d28b1;hb=c891c3ca47bb7b71dbf57261d2a81911d832bf7b;hp=d97016327f6cb3b8997767cc440c71d87968fb02;hpb=56e6ade2828debbb8210ffba1faa2193cb78d05c;p=hvlinux.git diff --git a/stage5/pkg/clamav b/stage5/pkg/clamav index d970163..311c6e8 100644 --- a/stage5/pkg/clamav +++ b/stage5/pkg/clamav @@ -2,14 +2,13 @@ hvconfig_pre() { - groupadd -f clamav - hv_useradd -g clamav -s /bin/false -c Clam-AntiVirus clamav + groupadd --system -f clamav + hv_useradd --system -g clamav -s /bin/false -c Clam-AntiVirus clamav # Is this really necessary? export SENDMAIL="/usr/sbin/sendmail" - CONFIGURE_OPTS="\ - ${CONFIGURE_OPTS} \ + CONFIGURE_OPTS+=" \ --with-dbdir=/srv/clamav \ --enable-milter" } @@ -21,7 +20,7 @@ hvconfig_post() hvbuild_post() { - install -m644 ${SCRDIR}/misc/freshclam /etc/fcron/fcron.d + install -v -m644 ${SCRDIR}/misc/freshclam /etc/fcron/fcron.d touch /var/log/clamd.log chmod 600 /var/log/clamd.log