2007-09-04 21:43:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.44 2007/09/04 19:43:15 jlam Exp $
|
2000-06-05 14:01:24 +02:00
|
|
|
|
2007-07-16 22:18:58 +02:00
|
|
|
DISTNAME= vlp4510e
|
|
|
|
PKGNAME= uvscan-5.10
|
2007-09-04 21:43:15 +02:00
|
|
|
PKGREVISION= 2
|
2000-06-05 14:01:24 +02:00
|
|
|
CATEGORIES= security
|
2007-07-16 22:18:58 +02:00
|
|
|
MASTER_SITES= http://download.nai.com/products/evaluation/virusscan/english/cmdline/linux/v5.10/
|
2000-06-05 14:01:24 +02:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-10-14 09:59:09 +02:00
|
|
|
HOMEPAGE= http://www.mcafee.com/us/enterprise/products/anti_virus/file_servers_desktops/virusscan_command_line_scanner_windows_unix.html
|
2003-07-21 19:20:17 +02:00
|
|
|
COMMENT= Evaluation version of a DOS/Windows file virus scanner
|
2000-06-05 14:01:24 +02:00
|
|
|
|
2002-08-07 07:42:12 +02:00
|
|
|
CONFLICTS= uvscan-dat-[0-9]*
|
|
|
|
|
2005-07-19 16:23:48 +02:00
|
|
|
LICENSE= uvscan-license
|
2006-04-22 11:22:05 +02:00
|
|
|
RESTRICTED= restrictive 30 day evaluation license
|
2000-07-20 15:30:59 +02:00
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
2000-06-05 14:01:24 +02:00
|
|
|
|
2007-07-29 07:18:36 +02:00
|
|
|
EMUL_PLATFORMS= linux-i386
|
|
|
|
EMUL_MODULES.linux= compat
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
BUILD_DIRS= # empty
|
|
|
|
|
2001-08-16 07:09:21 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/uvscan
|
2006-01-15 23:27:27 +01:00
|
|
|
EGDATDIR= ${PREFIX}/share/examples/uvscan
|
2001-08-16 07:09:21 +02:00
|
|
|
UVSCANDIR= ${PREFIX}/libexec/uvscan
|
2004-07-30 00:19:57 +02:00
|
|
|
DATFILES= clean.dat internet.dat names.dat scan.dat pkgdesc.ini
|
2002-08-07 07:42:12 +02:00
|
|
|
|
|
|
|
FILES_SUBST+= UVSCANDIR=${UVSCANDIR:Q}
|
|
|
|
FILES_SUBST+= DATFILES=${DATFILES:Q}
|
|
|
|
|
2006-01-15 23:27:27 +01:00
|
|
|
CONF_FILES= ${EGDATDIR}/clean.dat ${UVSCANDIR}/clean.dat
|
|
|
|
CONF_FILES+= ${EGDATDIR}/names.dat ${UVSCANDIR}/names.dat
|
|
|
|
CONF_FILES+= ${EGDATDIR}/scan.dat ${UVSCANDIR}/scan.dat
|
|
|
|
REQD_DIRS= ${UVSCANDIR}
|
2000-08-25 02:20:21 +02:00
|
|
|
|
2006-11-12 03:22:44 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 sbin
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2006-01-06 17:44:04 +01:00
|
|
|
USE_TOOLS+= gtar:run
|
|
|
|
|
|
|
|
SUBST_CLASSES+= paths
|
2007-07-29 07:18:36 +02:00
|
|
|
SUBST_FILES.paths= update_dat.sh uvscan.sh
|
|
|
|
SUBST_VARS.paths= AWK BASENAME CP DATFILES ECHO GTAR MKDIR MV \
|
2007-09-04 21:43:15 +02:00
|
|
|
PREFIX RM SED UVSCANDIR
|
2006-01-06 17:44:04 +01:00
|
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
|
|
|
|
post-extract:
|
2007-07-29 07:18:36 +02:00
|
|
|
${CP} ${FILESDIR}/update_dat.sh ${WRKSRC}/update_dat.sh
|
|
|
|
${CP} ${FILESDIR}/uvscan.sh ${WRKSRC}/uvscan.sh
|
2000-06-05 14:01:24 +02:00
|
|
|
|
|
|
|
do-install:
|
2007-07-29 07:18:36 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/update_dat.sh ${PREFIX}/sbin/update_dat
|
2006-11-12 03:22:44 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/uvscan.1 ${PREFIX}/${PKGMANDIR}/man1
|
Update security/uvscan to 4.16.0 (using the 4160 engine). Changes from
version 4.14.0 are:
- Support for ACE (WinACE) Archiver
- Support for additional packers: PKLITE32, ELiTeWrap, Joiner, PEBundle,
PEBundle Write-To-Disk, and tElock.
- Support for newer versions of packers: Petite, ASPack, UPX, NeoLite,
and PECompact.
- Support for BZIP compression format
- Support for additional LHA compression formats, LH6 and LH7
- Support for zcompress compression format
- Support for PDF 5.0 files
- Improved scanning for MIME formats
- Support for Unicode and Unicode big-endian saved scripts
- Support for Compiled Help files
- Support for Microsoft Exchange internal data-transfer format
- Support for Internet Message Connector (IMC) Archive format.
- Support for uncompressed VBA in Visio files
- Improved heuristic analysis for 32-bit Windows applications
- Support for compressed RTF and HTML in Microsoft Outlook messages
- Support for Script Component Type Libraries
- Improved performance when scanning Windows 32 applications
2001-12-13 07:53:16 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/uvscan ${UVSCANDIR}
|
2007-07-29 07:18:36 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/uvscan.sh ${PREFIX}/bin/uvscan
|
Update security/uvscan to 4.16.0 (using the 4160 engine). Changes from
version 4.14.0 are:
- Support for ACE (WinACE) Archiver
- Support for additional packers: PKLITE32, ELiTeWrap, Joiner, PEBundle,
PEBundle Write-To-Disk, and tElock.
- Support for newer versions of packers: Petite, ASPack, UPX, NeoLite,
and PECompact.
- Support for BZIP compression format
- Support for additional LHA compression formats, LH6 and LH7
- Support for zcompress compression format
- Support for PDF 5.0 files
- Improved scanning for MIME formats
- Support for Unicode and Unicode big-endian saved scripts
- Support for Compiled Help files
- Support for Microsoft Exchange internal data-transfer format
- Support for Internet Message Connector (IMC) Archive format.
- Support for uncompressed VBA in Visio files
- Improved heuristic analysis for 32-bit Windows applications
- Support for compressed RTF and HTML in Microsoft Outlook messages
- Support for Script Component Type Libraries
- Improved performance when scanning Windows 32 applications
2001-12-13 07:53:16 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/liblnxfv.so.4 ${UVSCANDIR}
|
|
|
|
${LN} -s liblnxfv.so.4 ${UVSCANDIR}/liblnxfv.so
|
|
|
|
for file in license.dat messages.dat; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${file} ${UVSCANDIR}; \
|
2001-08-16 07:09:21 +02:00
|
|
|
done
|
2006-01-15 23:27:27 +01:00
|
|
|
${INSTALL_DATA_DIR} ${EGDATDIR}
|
2002-08-07 07:42:12 +02:00
|
|
|
for file in ${DATFILES}; do \
|
|
|
|
if [ -f ${WRKSRC}/$${file} ]; then \
|
2006-01-15 23:27:27 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${file} ${EGDATDIR}; \
|
2002-08-07 07:42:12 +02:00
|
|
|
fi; \
|
|
|
|
done
|
2001-08-16 07:09:21 +02:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
2007-07-16 22:18:58 +02:00
|
|
|
for file in contact.txt e5100upg.pdf license.txt ; do \
|
2001-08-16 07:09:21 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${file} ${DOCDIR}; \
|
|
|
|
done
|
2000-06-05 14:01:24 +02:00
|
|
|
|
2003-03-26 05:05:37 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|