aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-09-03 07:35:10 +0800
committerkris <kris@FreeBSD.org>2000-09-03 07:35:10 +0800
commitc0ddc6c8d2d2bf60b537066d876028b68ae53030 (patch)
treebd4f60bdbc6f0447840d08cdbb04c84cd5a32673 /security
parentfef803a0072515b2ca3e9e9014437e88662e931f (diff)
downloadfreebsd-ports-gnome-c0ddc6c8d2d2bf60b537066d876028b68ae53030.tar.gz
freebsd-ports-gnome-c0ddc6c8d2d2bf60b537066d876028b68ae53030.tar.zst
freebsd-ports-gnome-c0ddc6c8d2d2bf60b537066d876028b68ae53030.zip
This is a freebsd-native version of the McAfee virus scanner, for scanning
DOS/Windows files for viruses. This is trial software which may only be used for 30 days without purchasing a retail version. It includes a useful script (update_dat) for automatically downloading the latest .dat files should the port become out of date. Obtained from: NetBSD
Diffstat (limited to 'security')
-rw-r--r--security/Makefile2
-rw-r--r--security/uvscan-dat/Makefile37
-rw-r--r--security/uvscan-dat/distinfo1
-rw-r--r--security/uvscan-dat/files/update_dat18
-rw-r--r--security/uvscan-dat/pkg-comment1
-rw-r--r--security/uvscan-dat/pkg-descr4
-rw-r--r--security/uvscan-dat/pkg-plist11
7 files changed, 74 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 1618f99a796c..75db267e8aa7 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -106,6 +106,8 @@
SUBDIR += trinokiller
SUBDIR += tripwire
SUBDIR += tripwire-131
+ SUBDUR += uvscan
+ SUBDIR += uvscan-dat
SUBDIR += vscan
SUBDIR += whisker
SUBDIR += xinetd
diff --git a/security/uvscan-dat/Makefile b/security/uvscan-dat/Makefile
new file mode 100644
index 000000000000..76fa2df72fa3
--- /dev/null
+++ b/security/uvscan-dat/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: uvscan_dat
+# Date created: 01 Sep 2000
+# Whom: Kris Kennaway <kris@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= uvscan_dat
+PORTVERSION= 4093
+CATEGORIES= security
+MASTER_SITES= http://download.nai.com/products/datfiles/4.x/nai/
+DISTNAME= dat-${PORTVERSION}
+EXTRACT_SUFX= .tar
+
+MAINTAINER= kris@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 readme.txt packing.lst
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/uvscan
+.endfor
+ ${INSTALL_SCRIPT} ${WRKDIR}/update_dat ${PREFIX}/sbin
+
+.include <bsd.port.mk>
diff --git a/security/uvscan-dat/distinfo b/security/uvscan-dat/distinfo
new file mode 100644
index 000000000000..e8b8c27ac838
--- /dev/null
+++ b/security/uvscan-dat/distinfo
@@ -0,0 +1 @@
+MD5 (dat-4093.tar) = 8fdb00c6ffc7a69d4fa64171dd23be0f
diff --git a/security/uvscan-dat/files/update_dat b/security/uvscan-dat/files/update_dat
new file mode 100644
index 000000000000..214f5f6e8227
--- /dev/null
+++ b/security/uvscan-dat/files/update_dat
@@ -0,0 +1,18 @@
+#!/bin/sh
+cd @PREFIX@/libexec/uvscan/
+ftp http://download.nai.com/products/datfiles/4.x/nai/readme.txt >/dev/null
+AVVER=`head -1 readme.txt | cut -d' ' -f11`
+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
diff --git a/security/uvscan-dat/pkg-comment b/security/uvscan-dat/pkg-comment
new file mode 100644
index 000000000000..d978ee93d64b
--- /dev/null
+++ b/security/uvscan-dat/pkg-comment
@@ -0,0 +1 @@
+AntiVirus DAT file for uvscan
diff --git a/security/uvscan-dat/pkg-descr b/security/uvscan-dat/pkg-descr
new file mode 100644
index 000000000000..3d7203d2879f
--- /dev/null
+++ b/security/uvscan-dat/pkg-descr
@@ -0,0 +1,4 @@
+This package contains the AntiVirus DAT files required for
+commercial and evaluation versions of uvscan.
+
+WWW: http://www.nai.com/asp_set/download/dats/mcafee_4x.asp
diff --git a/security/uvscan-dat/pkg-plist b/security/uvscan-dat/pkg-plist
new file mode 100644
index 000000000000..df9d85b5f15a
--- /dev/null
+++ b/security/uvscan-dat/pkg-plist
@@ -0,0 +1,11 @@
+@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/readme.txt
+share/doc/uvscan/packing.lst
+@dirrm libexec/uvscan
+@dirrm share/doc/uvscan