summaryrefslogtreecommitdiff
path: root/mail/mailscanner-devel/files/patch-lib-clamav-wrapper
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-05-30 06:50:20 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-05-30 06:50:20 +0000
commit4232c9734048f1b4a54a21f006e244e76d82edf7 (patch)
tree0b97cda962dae16deeee362ea4f95945e0df96fa /mail/mailscanner-devel/files/patch-lib-clamav-wrapper
parent- Update to 0.9.11.2 (diff)
- Update to 4.60.5
PR: 113089 Submitted by: Jan-Peter Koopmann <j.koopmann@seceidos.de> (maintainer)
Notes
Notes: svn path=/head/; revision=192380
Diffstat (limited to 'mail/mailscanner-devel/files/patch-lib-clamav-wrapper')
-rw-r--r--mail/mailscanner-devel/files/patch-lib-clamav-wrapper40
1 files changed, 40 insertions, 0 deletions
diff --git a/mail/mailscanner-devel/files/patch-lib-clamav-wrapper b/mail/mailscanner-devel/files/patch-lib-clamav-wrapper
new file mode 100644
index 000000000000..834da1acea73
--- /dev/null
+++ b/mail/mailscanner-devel/files/patch-lib-clamav-wrapper
@@ -0,0 +1,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