diff options
author | Sergei Kolobov <sergei@FreeBSD.org> | 2004-10-20 14:40:22 +0000 |
---|---|---|
committer | Sergei Kolobov <sergei@FreeBSD.org> | 2004-10-20 14:40:22 +0000 |
commit | 6ba37e0e4f06e5b2a46f9ff36d8e78f4f9ff7000 (patch) | |
tree | 581be37c7b156d6d3c5e729991fcfdc7f0d07ab1 /mail/mailscanner | |
parent | e612f4217f523550bc1dd3dd553a0410ad295028 (diff) |
Notes
Diffstat (limited to 'mail/mailscanner')
-rw-r--r-- | mail/mailscanner/Makefile | 1 | ||||
-rw-r--r-- | mail/mailscanner/files/patch-lib:antivir-autoupdate | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/mail/mailscanner/Makefile b/mail/mailscanner/Makefile index 23600506b2d4..2eba1e250642 100644 --- a/mail/mailscanner/Makefile +++ b/mail/mailscanner/Makefile @@ -7,6 +7,7 @@ PORTNAME= MailScanner PORTVERSION= 4.34.8 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/ DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL} diff --git a/mail/mailscanner/files/patch-lib:antivir-autoupdate b/mail/mailscanner/files/patch-lib:antivir-autoupdate new file mode 100644 index 000000000000..f0df80948bd9 --- /dev/null +++ b/mail/mailscanner/files/patch-lib:antivir-autoupdate @@ -0,0 +1,21 @@ +--- ../MailScanner-install-4.34.8.orig/lib/antivir-autoupdate Wed Oct 20 08:09:38 2004 ++++ lib/antivir-autoupdate Wed Oct 20 08:10:10 2004 +@@ -9,7 +9,8 @@ + + $PackageDir = shift || "/usr/lib/AntiVir"; + +-$AntiVirUpdateCommand = "$PackageDir/antivir --update"; ++$AntiVirCommand = "$PackageDir/antivir"; ++$AntiVirUpdateCommand = "$AntiVirCommand --update"; + + $LockFile = "/tmp/AntiVirBusy.lock"; + +@@ -24,7 +25,7 @@ + BailOut("Installation dir \"$PackageDir\" does not exist!") + unless $PackageDir ne "" && -d $PackageDir; + +-if (-x $AntiVirUpdateCommand) { ++if (-x $AntiVirCommand) { + # Timeout prevention + $SIG{ALRM} = sub { die "timeout"}; + |