Apparently McAfee stopped shipping the file_id.diz file in the tar balls on October 27. I made the following change to make it work with the current file set. Fix: # 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 (I don't have the exact line numbers, as I have other local changes, so this is submitted as a general idea). How-To-Repeat: run update_dat twice, see that it still downloads the file even when it's current.
Responsible Changed From-To: freebsd-ports-bugs->jeh Over to maintainer
State Changed From-To: open->closed Commited, thanks.
jeh 2006-11-03 14:25:24 UTC FreeBSD ports repository Modified files: security/vscan Makefile security/vscan/files update_dat Log: Fix update_dat so it won't repeatedly fetch the same DAT file PR: 105114 Revision Changes Path 1.41 +1 -0 ports/security/vscan/Makefile 1.2 +2 -2 ports/security/vscan/files/update_dat _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"