Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Apr 2007 09:09:28 -0700
From:      Larry Rosenman <ler@lerctr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/111417: [PATCH] security/vscan: Update update_dat for >5000 datfile version
Message-ID:  <E1HawQq-000OCq-5h@p4266.the-bus-stops-here.org>
Resent-Message-ID: <200704091640.l39Ge4tq045345@freefall.freebsd.org>

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

>Number:         111417
>Category:       ports
>Synopsis:       [PATCH] security/vscan: Update update_dat for >5000 datfile version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 09 16:40:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Larry Rosenman
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
LERCTR Consulting
>Environment:
System: FreeBSD p4266.the-bus-stops-here.org 6.2-STABLE FreeBSD 6.2-STABLE #6: Tue Mar 20 18:24:37 PDT 2007
>Description:
[DESCRIBE CHANGES]

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- vscan-5.10e_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/vscan/Makefile /usr/home/ler/ports/security/vscan/Makefile
--- /usr/ports/security/vscan/Makefile	Sun Dec  3 19:12:37 2006
+++ /usr/home/ler/ports/security/vscan/Makefile	Mon Apr  9 09:08:22 2007
@@ -5,9 +5,9 @@
 # $FreeBSD: ports/security/vscan/Makefile,v 1.43 2006/11/30 23:44:02 kris Exp $
 #
 
 PORTNAME=	uvscan
 PORTVERSION=	5.10e
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	http://download.nai.com/products/evaluation/virusscan/english/cmdline/bsd/v5.10/
 DISTNAME=	vbsd510e
@@ -28,7 +28,8 @@
 LDCONFIG=	/sbin/ldconfig -32
 .else
 UVSCAN_LIB32=
-INSTALLS_SHLIB=	YES
+USE_LDCONFIG=	YES
+
 .endif
 
 .if defined(WITHOUT_COMPAT3)
diff -ruN --exclude=CVS /usr/ports/security/vscan/files/update_dat /usr/home/ler/ports/security/vscan/files/update_dat
--- /usr/ports/security/vscan/files/update_dat	Sun Dec  3 19:12:37 2006
+++ /usr/home/ler/ports/security/vscan/files/update_dat	Mon Apr  9 09:04:58 2007
@@ -7,12 +7,12 @@
 # Force a low default and then get the current version's value
 cur_AVVER="1"
 if [ -f pkgdesc.ini ]; then
-	cur_AVVER=`grep Version pkgdesc.ini | cut -f2 -d= |sed -e 's/^(\(4[0-9]+\)).*$/\1/'`
+	cur_AVVER=`grep Version pkgdesc.ini | cut -f2 -d= |sed -e 's/^(\([45][0-9]+\)).*$/\1/'`
 fi
 
 # Find what the website has for the current version
 fetch -q http://download.nai.com/products/datfiles/4.x/nai/update.ini || exit 1
-AVVER="`grep DATVersion update.ini | head -1 | cut -f2 -d= | sed -e 's/^\(4[0-9]*\).$/\1/'`"
+AVVER="`grep DATVersion update.ini | head -1 | cut -f2 -d= | sed -e 's/^\([45][0-9]*\).$/\1/'`"
 rm -f update.ini
 
 # Check to make sure the requested version is "newer" then the current
--- vscan-5.10e_2.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?E1HawQq-000OCq-5h>