freebsd-ports/mail/mailscanner-devel/files/patch-lib-clamav-wrapper
Martin Wilke 4232c97340 - Update to 4.60.5
PR:		113089
Submitted by:	Jan-Peter Koopmann <j.koopmann@seceidos.de> (maintainer)
2007-05-30 06:50:20 +00:00

40 lines
1.5 KiB
Text

--- ../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