mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
* Update to 4201
* Update update_dat to support their slightly changed format
This commit is contained in:
parent
a47a306c72
commit
68fc467fd6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58520
@ -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}
|
||||
|
@ -1 +1 @@
|
||||
MD5 (dat-4200.tar) = 91e530cabb35f56c1d6b9739be505b11
|
||||
MD5 (dat-4201.tar) = 72849b1d20f034472c87579aea086f30
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user