diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-04-18 17:18:41 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-04-18 17:18:41 +0000 |
commit | c1363171c715f77a53282cb5f12de0a3b03ec52e (patch) | |
tree | a69279540aebb490fc31d54d05a1b3e96a33b5b0 /security | |
parent | dc052711a678809581daf363c195946a4af93c10 (diff) | |
download | ports-c1363171c715f77a53282cb5f12de0a3b03ec52e.tar.gz ports-c1363171c715f77a53282cb5f12de0a3b03ec52e.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/vscan/Makefile | 5 | ||||
-rw-r--r-- | security/vscan/files/update_dat | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/security/vscan/Makefile b/security/vscan/Makefile index cefa2e30e81c..e5a3201bfdb6 100644 --- a/security/vscan/Makefile +++ b/security/vscan/Makefile @@ -7,7 +7,7 @@ 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 @@ USE_LDCONFIG32= ${PREFIX}/lib32 LDCONFIG= /sbin/ldconfig -32 .else UVSCAN_LIB32= -INSTALLS_SHLIB= YES +USE_LDCONFIG= YES + .endif .if defined(WITHOUT_COMPAT3) diff --git a/security/vscan/files/update_dat b/security/vscan/files/update_dat index 81edcf12841c..7539ed6e8f8c 100644 --- a/security/vscan/files/update_dat +++ b/security/vscan/files/update_dat @@ -7,12 +7,12 @@ cd @PREFIX@/libexec/uvscan/ # 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 |