1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

- Fix the script for updating AntiVir signatures:

it failed to fetch the newest virus definitions

PR:		ports/72908
Submitted by:	Jan-Peter Koopmann (maintainer)
This commit is contained in:
Sergei Kolobov 2004-10-20 14:40:22 +00:00
parent e612f4217f
commit 6ba37e0e4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119853
2 changed files with 22 additions and 0 deletions

View File

@ -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}

View File

@ -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"};