[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6637-gdc2effe

aCaB acab at clamav.net
Mon Feb 14 16:54:35 UTC 2011


The following commit has been merged in the debian/unstable branch:
commit dc2effedc1707a76591c2479c14d07abeab78a12
Author: aCaB <acab at clamav.net>
Date:   Mon Feb 14 17:54:17 2011 +0100

    add new clamav-milter option (LogClean)

diff --git a/debian/clamav-milter.postinst.in b/debian/clamav-milter.postinst.in
index 0183740..89f8ae6 100644
--- a/debian/clamav-milter.postinst.in
+++ b/debian/clamav-milter.postinst.in
@@ -90,6 +90,8 @@ case "$1" in
     logverbose="$RET"
     db_metaget clamav-milter/LogInfected value || true
     loginfected="$RET"
+    db_metaget clamav-milter/LogClean value || true
+    logclean="$RET"
     db_metaget clamav-milter/MaxFileSize value || true
     maxfilesize="`echo $RET | sed -e s/M//g`"
     MaxFSize="${maxfilesize}M"
@@ -125,6 +127,7 @@ case "$1" in
     [ -z "$LogFacility" ] && logfacility="LOG_LOCAL6"
     [ -z "$LogVerbose" ] && logverbose="false"
     [ -z "$LogInfected" ] && loginfected="Off"
+    [ -z "$LogClean" ] && logclean="Off"
     [ -z "$MaxFileSize" ] && MaxFSize="25M"
     [ -z "$LogFile" ] && [ -z "$logfile" ] && is_false "$logsyslog" && logfile=/var/log/clamav/clamav-milter.log
 
@@ -156,6 +159,7 @@ LogSyslog $logsyslog
 LogFacility $logfacility
 LogVerbose $logverbose
 LogInfected $loginfected
+LogClean $logclean
 MaxFileSize $MaxFSize
 EOF
     if [ -n "$SkipAuthenticated" ]; then

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list