diff options
author | sergei <sergei@FreeBSD.org> | 2004-10-20 22:40:22 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2004-10-20 22:40:22 +0800 |
commit | 57c111ba81b46a8a5d8eb5b1e80eb0aca9c1cb23 (patch) | |
tree | 9e9b312bb72b1e23aff8377d33e0f7df3f76111d /mail/mailscanner/files | |
parent | 452484b2c43553f1de30ce64a94a2533530e2d54 (diff) | |
download | freebsd-ports-gnome-57c111ba81b46a8a5d8eb5b1e80eb0aca9c1cb23.tar.gz freebsd-ports-gnome-57c111ba81b46a8a5d8eb5b1e80eb0aca9c1cb23.tar.zst freebsd-ports-gnome-57c111ba81b46a8a5d8eb5b1e80eb0aca9c1cb23.zip |
- 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/files')
-rw-r--r-- | mail/mailscanner/files/patch-lib:antivir-autoupdate | 21 |
1 files changed, 21 insertions, 0 deletions
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"}; + |