From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 20 06:20:16 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 247DA16A4CE for ; Wed, 20 Oct 2004 06:20:16 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0922F43D4C for ; Wed, 20 Oct 2004 06:20:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9K6KF3F016446 for ; Wed, 20 Oct 2004 06:20:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9K6KFRM016445; Wed, 20 Oct 2004 06:20:15 GMT (envelope-from gnats) Resent-Date: Wed, 20 Oct 2004 06:20:15 GMT Resent-Message-Id: <200410200620.i9K6KFRM016445@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan-Peter Koopmann Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0C3616A4CE for ; Wed, 20 Oct 2004 06:15:07 +0000 (GMT) Received: from mail.seceidos.de (mail.seceidos.de [213.157.28.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC75443D46 for ; Wed, 20 Oct 2004 06:15:06 +0000 (GMT) root=freebsd-gnats-submit=freebsd.org=7d45f6c3b4adf33f63274392d7377e7a5e58050b@seceidos.de) Message-Id: <200410200614.i9K6ExHQ071843@services.intern.seceidos.de> Date: Wed, 20 Oct 2004 08:14:59 +0200 (CEST) From: Jan-Peter Koopmann To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/72908: [MAINTAINER] mail/MailScanner: fixed AntiVir update script X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2004 06:20:16 -0000 >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: