diff options
author | jeh <jeh@FreeBSD.org> | 2001-10-04 04:16:33 +0800 |
---|---|---|
committer | jeh <jeh@FreeBSD.org> | 2001-10-04 04:16:33 +0800 |
commit | d3202eb8228598f8e0eb6065aedc92a9850b3720 (patch) | |
tree | c8d64b70bb14f6428ca78da732924a3a71e13dac /security/uvscan-dat | |
parent | ee3da2e5dba3a7acdeefefdd5c3e1dcd054510c1 (diff) | |
download | freebsd-ports-gnome-d3202eb8228598f8e0eb6065aedc92a9850b3720.tar.gz freebsd-ports-gnome-d3202eb8228598f8e0eb6065aedc92a9850b3720.tar.zst freebsd-ports-gnome-d3202eb8228598f8e0eb6065aedc92a9850b3720.zip |
Update to 4164
files/update_dat:
Chase the ever changing version number format
Diffstat (limited to 'security/uvscan-dat')
-rw-r--r-- | security/uvscan-dat/Makefile | 3 | ||||
-rw-r--r-- | security/uvscan-dat/distinfo | 2 | ||||
-rw-r--r-- | security/uvscan-dat/files/update_dat | 6 |
3 files changed, 8 insertions, 3 deletions
diff --git a/security/uvscan-dat/Makefile b/security/uvscan-dat/Makefile index 97edce47d566..b8ec522c972f 100644 --- a/security/uvscan-dat/Makefile +++ b/security/uvscan-dat/Makefile @@ -6,8 +6,7 @@ # PORTNAME= uvscan_dat -PORTVERSION= 4163 -PORTREVISION= 1 +PORTVERSION= 4164 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 ecdacf9d80d4..76eccc4b428c 100644 --- a/security/uvscan-dat/distinfo +++ b/security/uvscan-dat/distinfo @@ -1 +1 @@ -MD5 (dat-4163.tar) = dadebcbede7dbc0bb900199f786ba263 +MD5 (dat-4164.tar) = bee1eec524d6cf7b9b2d09021e1fe1ff diff --git a/security/uvscan-dat/files/update_dat b/security/uvscan-dat/files/update_dat index 00e2194daf37..864d00fbbba5 100644 --- a/security/uvscan-dat/files/update_dat +++ b/security/uvscan-dat/files/update_dat @@ -1,10 +1,16 @@ #!/bin/sh +# +# $Id$ +# cd @PREFIX@/libexec/uvscan/ ftp http://download.nai.com/products/datfiles/4.x/nai/readme.txt >/dev/null AVVER=`head -1 readme.txt | cut -d' ' -f11` if [ "x$AVVER" = "x" ] ; then AVVER=`grep 'DAT [0-9]* Release Date' readme.txt | head -1 | sed -e 's/^.*DAT \([0-9]*\) Release Date.*$/\1/'` fi +if [ "x$AVVER" = "x" ] ; then + AVVER=`head -5 readme.txt | grep ' 4[0-9][0-9][0-9] ' | head -1 | sed -e 's/^.* \([0-9]*\) .*$/\1/'` +fi if [ ! -f dat-$AVVER.tar ]; then for i in *.tar ; do mv $i $i.old |