ports/72908: [MAINTAINER] mail/MailScanner: fixed AntiVir update script
Jan-Peter Koopmann
j.koopmann at seceidos.de
Wed Oct 20 06:20:16 UTC 2004
>Number: 72908
>Category: ports
>Synopsis: [MAINTAINER] mail/MailScanner: fixed AntiVir update script
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 20 06:20:15 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Jan-Peter Koopmann
>Release: FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD services.intern.seceidos.de 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Jan 5 10:56:46 CET
>Description:
The script for updating AntiVir signatures was broken. People using AntiVir therefore will never get
the newest virus definitions --> big security risk.
Added file(s):
- files/patch-lib:antivir-autoupdate
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- MailScanner-4.34.8_1.patch begins here ---
diff -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/Makefile /server-root/ports/mail/mailscanner/Makefile
--- /server-root/ports/mail/mailscanner.orig/Makefile Fri Oct 15 17:44:30 2004
+++ /server-root/ports/mail/mailscanner/Makefile Wed Oct 20 08:12:41 2004
@@ -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 -ruN --exclude=CVS /server-root/ports/mail/mailscanner.orig/files/patch-lib:antivir-autoupdate /server-root/ports/mail/mailscanner/files/patch-lib:antivir-autoupdate
--- /server-root/ports/mail/mailscanner.orig/files/patch-lib:antivir-autoupdate Thu Jan 1 01:00:00 1970
+++ /server-root/ports/mail/mailscanner/files/patch-lib:antivir-autoupdate Wed Oct 20 08:10:39 2004
@@ -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"};
+
--- MailScanner-4.34.8_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list