diff options
-rw-r--r-- | security/uvscan-dat/Makefile | 2 | ||||
-rw-r--r-- | security/uvscan-dat/distinfo | 2 | ||||
-rw-r--r-- | security/uvscan-dat/files/update_dat | 4 |
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 |