diff options
author | James E. Housley <jeh@FreeBSD.org> | 2006-05-14 17:39:29 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2006-05-14 17:39:29 +0000 |
commit | 37e49834cf1e9da827842446934bb2fc5170d18e (patch) | |
tree | 8bdaa4991515d5420bba15a42e7b2fb9452dd9bc /security/uvscan-dat | |
parent | 1e5fc41c87c21a0fcda22250bf561527736741c9 (diff) | |
download | ports-37e49834cf1e9da827842446934bb2fc5170d18e.tar.gz ports-37e49834cf1e9da827842446934bb2fc5170d18e.zip |
Notes
Diffstat (limited to 'security/uvscan-dat')
-rw-r--r-- | security/uvscan-dat/Makefile | 40 | ||||
-rw-r--r-- | security/uvscan-dat/distinfo | 3 | ||||
-rw-r--r-- | security/uvscan-dat/files/update_dat | 31 | ||||
-rw-r--r-- | security/uvscan-dat/pkg-descr | 4 | ||||
-rw-r--r-- | security/uvscan-dat/pkg-message | 3 | ||||
-rw-r--r-- | security/uvscan-dat/pkg-plist | 10 |
6 files changed, 0 insertions, 91 deletions
diff --git a/security/uvscan-dat/Makefile b/security/uvscan-dat/Makefile deleted file mode 100644 index 3060f4f82a9a..000000000000 --- a/security/uvscan-dat/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# New ports collection makefile for: uvscan_dat -# Date created: 01 Sep 2000 -# Whom: Kris Kennaway <kris@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= uvscan_dat -PORTVERSION= 4761 -CATEGORIES= security -MASTER_SITES= http://download.nai.com/products/datfiles/4.x/nai/ \ - ftp://ftp.nai.com/pub/datfiles/english/ -DISTNAME= dat-${PORTVERSION} -EXTRACT_SUFX= .tar - -MAINTAINER= jeh@FreeBSD.org -COMMENT= AntiVirus DAT file for uvscan - -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 filename in clean.dat internet.dat names.dat scan.dat - ${INSTALL_DATA} ${WRKSRC}/${filename} ${PREFIX}/libexec/uvscan -.endfor - ${MKDIR} ${PREFIX}/share/doc/uvscan -.for filename in reseller.txt packing.lst - ${INSTALL_DATA} ${WRKSRC}/${filename} ${PREFIX}/share/doc/uvscan -.endfor - ${INSTALL_SCRIPT} ${WRKDIR}/update_dat ${PREFIX}/sbin - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/security/uvscan-dat/distinfo b/security/uvscan-dat/distinfo deleted file mode 100644 index 84124f4ed60f..000000000000 --- a/security/uvscan-dat/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (dat-4761.tar) = 22cde9b7c3ea2285ca4dc860a4cfb403 -SHA256 (dat-4761.tar) = 3e3eb273aff0e13db28089f9564d417544f7c6f5a4f4cac76a4f46f9f45197be -SIZE (dat-4761.tar) = 8785920 diff --git a/security/uvscan-dat/files/update_dat b/security/uvscan-dat/files/update_dat deleted file mode 100644 index 29283944a82e..000000000000 --- a/security/uvscan-dat/files/update_dat +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# -# $Id$ -# -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/'`" -fi - -# Find what the website has for the current version -fetch -q http://download.nai.com/products/datfiles/4.x/nai/update.ini || exit 1 -AVVER="`grep DATVersion update.ini | head -1 | cut -f2 -d= | sed -e 's/^\(4[0-9]*\).$/\1/'`" -rm -f update.ini - -# Check to make sure the requested version is "newer" then the current -if [ "$cur_AVVER" -lt "$AVVER" ]; then - for i in *.tar ; do - [ -f "$i" ] && mv $i $i.old - done - fetch -q http://download.nai.com/products/datfiles/4.x/nai/dat-$AVVER.tar || exit 1 - for i in *.dat ; do - [ -f "$i" ] && cp -p $i $i.bak - done - tar xf dat-$AVVER.tar || exit 1 - rm -f *.old - echo "`date` Successfully updated AntiVirus DAT files to $AVVER" -fi -exit 0 diff --git a/security/uvscan-dat/pkg-descr b/security/uvscan-dat/pkg-descr deleted file mode 100644 index 55540f73cf4f..000000000000 --- a/security/uvscan-dat/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -This package contains the AntiVirus DAT files required for -commercial and evaluation versions of uvscan. - -WWW: http://www.networkassociates.com/us/downloads/evals/ diff --git a/security/uvscan-dat/pkg-message b/security/uvscan-dat/pkg-message deleted file mode 100644 index 65592d117852..000000000000 --- a/security/uvscan-dat/pkg-message +++ /dev/null @@ -1,3 +0,0 @@ -NOTE: The update_dat script is useful for automatically downloading -the latest version of the virus definitions without waiting for the -port to be updated. diff --git a/security/uvscan-dat/pkg-plist b/security/uvscan-dat/pkg-plist deleted file mode 100644 index 1312ba5af847..000000000000 --- a/security/uvscan-dat/pkg-plist +++ /dev/null @@ -1,10 +0,0 @@ -@comment $NetBSD: PLIST,v 1.2 2000/06/27 10:18:07 rh Exp $ -libexec/uvscan/clean.dat -libexec/uvscan/internet.dat -libexec/uvscan/names.dat -libexec/uvscan/scan.dat -sbin/update_dat -share/doc/uvscan/reseller.txt -share/doc/uvscan/packing.lst -@dirrm libexec/uvscan -@dirrm share/doc/uvscan |