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

Stephen Gran steve at lobefin.net
Wed Apr 15 20:47:24 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 6b86a1b4aef079e2d4b6e8f93684f48eec958279
Author: Stephen Gran <steve at lobefin.net>
Date:   Tue Apr 14 19:27:04 2009 +0100

    Handle new config parameter CommandReadTimeout
    Signed-off-by: Stephen Gran <steve at lobefin.net>

diff --git a/debian/clamav-base.postinst.in b/debian/clamav-base.postinst.in
index 41397d2..2803322 100644
--- a/debian/clamav-base.postinst.in
+++ b/debian/clamav-base.postinst.in
@@ -225,6 +225,7 @@ case "$1" in
     [ -z "$ScanPartialMessages" ] && ScanPartialMessages=false
     [ -z "$HeuristicScanPrecedence" ] && HeuristicScanPrecedence=false
     [ -z "$StructuredDataDetection" ] && StructuredDataDetection=false
+    [ -z "$CommandReadTimeout" ] && CommandReadTimeout=5
 
     if [ -n "$TemporaryDirectory" ]; then
 	cat >> $DEBCONFFILE << EOF
@@ -277,6 +278,7 @@ DetectPUA $DetectPUA
 ScanPartialMessages $ScanPartialMessages
 HeuristicScanPrecedence $HeuristicScanPrecedence
 StructuredDataDetection $StructuredDataDetection
+CommandReadTimeout $CommandReadTimeout
 EOF
 
     if is_true "$StructuredDataDetection"; then

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list