freebsd-ports/mail/mailscanner/files/patch-lib:clamav-wrapper
Pav Lucistnik fcb2cbc166 - Update to 4.42.9
PR:		ports/81755
Submitted by:	Jan-Peter Koopmann <j.koopmann@seceidos.de> (maintainer)
2005-06-01 16:34:12 +00:00

41 lines
1.6 KiB
Text

--- ../MailScanner-install-4.42.9.orig/lib/clamav-wrapper Wed Jun 1 11:24:25 2005
+++ lib/clamav-wrapper Wed Jun 1 11:31:57 2005
@@ -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,23 @@
# 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 --unarj"
#ExtraScanOptions="$ExtraScanOptions --unarj=/path/to/unarj"
# Uncomment ONE of the following lines if you have unace installed
-#ExtraScanOptions="$ExtraScanOptions --unace"
+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 --zoo"
#ExtraScanOptions="$ExtraScanOptions --zoo=/path/to/unzoo"
# Uncomment next line if you need to disable Clam's DoS protection