mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
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
This commit is contained in:
parent
c740a5bf22
commit
ab731d04ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32215
@ -106,6 +106,8 @@
|
||||
SUBDIR += trinokiller
|
||||
SUBDIR += tripwire
|
||||
SUBDIR += tripwire-131
|
||||
SUBDUR += uvscan
|
||||
SUBDIR += uvscan-dat
|
||||
SUBDIR += vscan
|
||||
SUBDIR += whisker
|
||||
SUBDIR += xinetd
|
||||
|
37
security/uvscan-dat/Makefile
Normal file
37
security/uvscan-dat/Makefile
Normal file
@ -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>
|
1
security/uvscan-dat/distinfo
Normal file
1
security/uvscan-dat/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (dat-4093.tar) = 8fdb00c6ffc7a69d4fa64171dd23be0f
|
18
security/uvscan-dat/files/update_dat
Normal file
18
security/uvscan-dat/files/update_dat
Normal file
@ -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
|
1
security/uvscan-dat/pkg-comment
Normal file
1
security/uvscan-dat/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
AntiVirus DAT file for uvscan
|
4
security/uvscan-dat/pkg-descr
Normal file
4
security/uvscan-dat/pkg-descr
Normal file
@ -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
|
11
security/uvscan-dat/pkg-plist
Normal file
11
security/uvscan-dat/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user