diff options
Diffstat (limited to 'security/vscan')
-rw-r--r-- | security/vscan/Makefile | 1 | ||||
-rw-r--r-- | security/vscan/files/update_dat | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/security/vscan/Makefile b/security/vscan/Makefile index 28c10257e778..905ba1f01d2d 100644 --- a/security/vscan/Makefile +++ b/security/vscan/Makefile @@ -7,6 +7,7 @@ PORTNAME= uvscan PORTVERSION= 5.10e +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://download.nai.com/products/evaluation/virusscan/english/cmdline/bsd/v5.10/ DISTNAME= vbsd510e diff --git a/security/vscan/files/update_dat b/security/vscan/files/update_dat index 29283944a82e..81edcf12841c 100644 --- a/security/vscan/files/update_dat +++ b/security/vscan/files/update_dat @@ -6,8 +6,8 @@ cd @PREFIX@/libexec/uvscan/ # Force a low default and then get the current version's value cur_AVVER="1" -if [ -f "file_id.diz" ]; then - cur_AVVER="`tail -1 file_id.diz | sed -e 's/^(\(4[0-9]*\)).*$/\1/'`" +if [ -f pkgdesc.ini ]; then + cur_AVVER=`grep Version pkgdesc.ini | cut -f2 -d= |sed -e 's/^(\(4[0-9]+\)).*$/\1/'` fi # Find what the website has for the current version |