Upgrade to libxml2-2.9.2
[hvlinux.git] / stage5 / pkg / clamav
index d970163..311c6e8 100644 (file)
@@ -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