Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2004 08:14:59 +0200 (CEST)
From:      Jan-Peter Koopmann <j.koopmann@seceidos.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72908: [MAINTAINER] mail/MailScanner: fixed AntiVir update script
Message-ID:  <200410200614.i9K6ExHQ071843@services.intern.seceidos.de>
Resent-Message-ID: <200410200620.i9K6KFRM016445@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410200614.i9K6ExHQ071843>