Index: head/security/uvscan-dat/Makefile =================================================================== --- head/security/uvscan-dat/Makefile (revision 58519) +++ head/security/uvscan-dat/Makefile (revision 58520) @@ -1,38 +1,38 @@ # New ports collection makefile for: uvscan_dat # Date created: 01 Sep 2000 # Whom: Kris Kennaway # # $FreeBSD$ # PORTNAME= uvscan_dat -PORTVERSION= 4200 +PORTVERSION= 4201 CATEGORIES= security MASTER_SITES= http://download.nai.com/products/datfiles/4.x/nai/ DISTNAME= dat-${PORTVERSION} EXTRACT_SUFX= .tar MAINTAINER= jeh@FreeBSD.org NO_BUILD= YES NO_WRKSUBDIR= YES RESTRICTED= "Restricted to the license terms set for VirusScan" do-configure: ${SED} -e 's:@PREFIX@:${PREFIX}:g' \ <${FILESDIR}/update_dat >${WRKDIR}/update_dat do-install: ${MKDIR} ${PREFIX}/libexec/uvscan .for file in clean.dat internet.dat names.dat scan.dat ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/libexec/uvscan .endfor ${MKDIR} ${PREFIX}/share/doc/uvscan .for file in reseller.txt packing.lst ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/uvscan .endfor ${INSTALL_SCRIPT} ${WRKDIR}/update_dat ${PREFIX}/sbin @${CAT} ${PKGMESSAGE} .include Property changes on: head/security/uvscan-dat/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.94 \ No newline at end of property +1.95 \ No newline at end of property Index: head/security/uvscan-dat/distinfo =================================================================== --- head/security/uvscan-dat/distinfo (revision 58519) +++ head/security/uvscan-dat/distinfo (revision 58520) @@ -1 +1 @@ -MD5 (dat-4200.tar) = 91e530cabb35f56c1d6b9739be505b11 +MD5 (dat-4201.tar) = 72849b1d20f034472c87579aea086f30 Property changes on: head/security/uvscan-dat/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.92 \ No newline at end of property +1.93 \ No newline at end of property Index: head/security/uvscan-dat/files/update_dat =================================================================== --- head/security/uvscan-dat/files/update_dat (revision 58519) +++ head/security/uvscan-dat/files/update_dat (revision 58520) @@ -1,21 +1,21 @@ #!/bin/sh # # $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 done if ftp http://download.nai.com/products/datfiles/4.x/nai/dat-$AVVER.tar >/dev/null ; then for i in *.dat ; do cp -p $i $i.bak done if tar xf dat-$AVVER.tar ; then rm -f *.old echo `date` Successfully updated AntiVirus DAT files to $AVVER fi fi fi Property changes on: head/security/uvscan-dat/files/update_dat ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property