aboutsummaryrefslogtreecommitdiff
path: root/security/uvscan-dat
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2002-05-04 01:00:21 +0000
committerJames E. Housley <jeh@FreeBSD.org>2002-05-04 01:00:21 +0000
commit68fc467fd6af4262efa004bf61a651bd659fe278 (patch)
treed9c3eb9f5687b5b8af678d0ba30b12aff729822f /security/uvscan-dat
parenta47a306c728f033e2f3a27ba1fc17be4c0bc4060 (diff)
downloadports-68fc467fd6af4262efa004bf61a651bd659fe278.tar.gz
ports-68fc467fd6af4262efa004bf61a651bd659fe278.zip
* Update to 4201
* Update update_dat to support their slightly changed format
Notes
Notes: svn path=/head/; revision=58520
Diffstat (limited to 'security/uvscan-dat')
-rw-r--r--security/uvscan-dat/Makefile2
-rw-r--r--security/uvscan-dat/distinfo2
-rw-r--r--security/uvscan-dat/files/update_dat4
3 files changed, 4 insertions, 4 deletions
diff --git a/security/uvscan-dat/Makefile b/security/uvscan-dat/Makefile
index f9dcebca06ef..22721335c0cf 100644
--- a/security/uvscan-dat/Makefile
+++ b/security/uvscan-dat/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= uvscan_dat
-PORTVERSION= 4200
+PORTVERSION= 4201
CATEGORIES= security
MASTER_SITES= http://download.nai.com/products/datfiles/4.x/nai/
DISTNAME= dat-${PORTVERSION}
diff --git a/security/uvscan-dat/distinfo b/security/uvscan-dat/distinfo
index 4902b673c305..f47c54cf1ee7 100644
--- a/security/uvscan-dat/distinfo
+++ b/security/uvscan-dat/distinfo
@@ -1 +1 @@
-MD5 (dat-4200.tar) = 91e530cabb35f56c1d6b9739be505b11
+MD5 (dat-4201.tar) = 72849b1d20f034472c87579aea086f30
diff --git a/security/uvscan-dat/files/update_dat b/security/uvscan-dat/files/update_dat
index 360e09501089..3ffdd506a5a8 100644
--- a/security/uvscan-dat/files/update_dat
+++ b/security/uvscan-dat/files/update_dat
@@ -2,9 +2,9 @@
#
# $Id$
#
-cd @PREFIX@/libexec/uvscan/
+cd /usr/local/libexec/uvscan/
ftp http://download.nai.com/products/datfiles/4.x/nai/readme.txt >/dev/null
-AVVER=`head -5 readme.txt | grep ' 4[0-9][0-9][0-9] ' | head -1 | sed -e 's/^.* \(4[0-9]*\) .*$/\1/'`
+AVVER=`grep DAT readme.txt | head -5 | grep '[^0-9]4[0-9][0-9][0-9][^0-9]' | head -1 | sed -e 's/^.*[^0-9]\(4[0-9]*\)[^0-9].*$/\1/'`
if [ ! -f dat-$AVVER.tar ]; then
for i in *.tar ; do
mv $i $i.old