diff options
author | sergei <sergei@FreeBSD.org> | 2004-10-20 14:40:22 +0000 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2004-10-20 14:40:22 +0000 |
commit | 57c111ba81b46a8a5d8eb5b1e80eb0aca9c1cb23 (patch) | |
tree | 9e9b312bb72b1e23aff8377d33e0f7df3f76111d /mail/mailscanner | |
parent | 452484b2c43553f1de30ce64a94a2533530e2d54 (diff) | |
download | FreeBSD-ports-57c111ba81b46a8a5d8eb5b1e80eb0aca9c1cb23.zip FreeBSD-ports-57c111ba81b46a8a5d8eb5b1e80eb0aca9c1cb23.tar.gz |
- Fix the script for updating AntiVir signatures:
it failed to fetch the newest virus definitions
PR: ports/72908
Submitted by: Jan-Peter Koopmann (maintainer)
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 2360050..2eba1e2 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 0000000..f0df809 --- /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"}; + |