aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mailscanner/files/patch-lib-clamav-wrapper
blob: 834da1acea738362a9e6833261f42162e53b58e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- ../MailScanner-install-4.58.9.orig/lib/clamav-wrapper   Fri Mar 30 11:55:30 2007
+++ lib/clamav-wrapper  Fri Mar 30 11:55:54 2007
@@ -51,6 +51,9 @@
 
 # You may want to check this script for bash-isms
 
+PATH=$PATH:/usr/local/bin
+export PATH
+
 TempDir="/tmp/clamav.$$"
 ClamUser="clamav"
 ClamGroup="clamav"
@@ -98,23 +101,19 @@
 # LESS COMMON unpackers, which probably aren't installed by default
 # (hence disabled)
 # Uncomment ONE of the following lines if you have unrar installed
-#ExtraScanOptions="$ExtraScanOptions --unrar"  
+ExtraScanOptions="$ExtraScanOptions --unrar"  
 #ExtraScanOptions="$ExtraScanOptions --unrar=/path/to/unrar" 
 
 # Uncomment ONE of the following lines if you have unarj installed
-#ExtraScanOptions="$ExtraScanOptions --unarj"  
+ExtraScanOptions="$ExtraScanOptions --arj"  
 #ExtraScanOptions="$ExtraScanOptions --unarj=/path/to/unarj" 
 
-# Uncomment ONE of the following lines if you have unace installed
-#ExtraScanOptions="$ExtraScanOptions --unace"  
-#ExtraScanOptions="$ExtraScanOptions --unace=/path/to/unace" 
-
 # Uncomment ONE of the following lines if you have lha installed
-#ExtraScanOptions="$ExtraScanOptions --lha"  
+ExtraScanOptions="$ExtraScanOptions --lha"  
 #ExtraScanOptions="$ExtraScanOptions --lha=/path/to/lha" 
 
 # Uncomment ONE of the following lines if you have zoo installed
-#ExtraScanOptions="$ExtraScanOptions --zoo"  
+ExtraScanOptions="$ExtraScanOptions --unzoo"  
 #ExtraScanOptions="$ExtraScanOptions --zoo=/path/to/unzoo" 
 
 # Now increase the allowed expansion size of zip files