2006-03-14 02:14:26 +01:00
|
|
|
# $NetBSD: Makefile,v 1.36 2006/03/14 01:14:33 jlam Exp $
|
2000-06-05 14:01:24 +02:00
|
|
|
|
2006-01-15 23:27:27 +01:00
|
|
|
DISTNAME= vlnx440e
|
|
|
|
PKGNAME= uvscan-4.40
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2000-06-05 14:01:24 +02:00
|
|
|
CATEGORIES= security
|
2006-01-15 23:27:27 +01:00
|
|
|
MASTER_SITES= http://download.nai.com/products/evaluation/virusscan/english/cmdline/linux/v4.40/
|
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
|
2005-07-19 16:23:48 +02:00
|
|
|
HOMEPAGE= http://www.mcafeesecurity.com/us/products/mcafee/antivirus/desktop/vs_commandline.htm
|
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-12-12 15:43:23 +01:00
|
|
|
.include "../../emulators/suse_linux/Makefile.application"
|
|
|
|
|
|
|
|
.if !defined(USE_NATIVE_LINUX)
|
2002-04-04 14:29:46 +02:00
|
|
|
DEPENDS+= suse_compat>=6.1:../../emulators/${SUSE_DIR_PREFIX}_compat
|
2005-12-12 15:43:23 +01:00
|
|
|
.endif
|
2000-06-05 14:01:24 +02:00
|
|
|
|
2005-12-12 15:43:23 +01:00
|
|
|
ONLY_FOR_PLATFORM= *-*-i386
|
2001-08-16 07:09:21 +02:00
|
|
|
CHECK_SHLIBS= NO
|
2000-06-05 14:01:24 +02:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2006-01-06 17:44:04 +01:00
|
|
|
NO_BUILD= yes
|
2006-01-15 23:27:27 +01:00
|
|
|
NO_CONFIGURE= yes
|
2005-07-19 16:23:48 +02:00
|
|
|
LICENSE= uvscan-license
|
2000-06-05 14:01:24 +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
|
|
|
|
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
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin man/man1 sbin
|
|
|
|
|
2006-01-06 17:44:04 +01:00
|
|
|
USE_TOOLS+= gtar:run
|
|
|
|
|
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_FILES.paths= ${WRKDIR}/update_dat
|
|
|
|
SUBST_SED.paths+= -e 's,@UVSCANDIR@,${UVSCANDIR},g'
|
|
|
|
SUBST_SED.paths+= -e 's,@DATFILES@,${DATFILES},g'
|
|
|
|
SUBST_SED.paths+= -e 's,@AWK@,${AWK},g' -e 's,@CP@,${CP},g'
|
|
|
|
SUBST_SED.paths+= -e 's,@BASENAME@,${BASENAME},g'
|
|
|
|
SUBST_SED.paths+= -e 's,@ECHO@,${ECHO},g' -e 's,@GREP@,${GREP},g'
|
|
|
|
SUBST_SED.paths+= -e 's,@GTAR@,${GTAR},g' -e 's,@MKDIR@,${MKDIR},g'
|
|
|
|
SUBST_SED.paths+= -e 's,@MV@,${MV},g' -e 's,@RM@,${RM},g'
|
|
|
|
SUBST_SED.paths+= -e 's,@SED@,${SED},g'
|
|
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${CP} ${FILESDIR}/update_dat.sh ${WRKDIR}/update_dat
|
2000-06-05 14:01:24 +02:00
|
|
|
|
|
|
|
do-install:
|
2002-08-07 07:42:12 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/update_dat ${PREFIX}/sbin
|
2001-03-20 09:51:12 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/uvscan.1 ${PREFIX}/man/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}
|
2002-08-07 07:42:12 +02:00
|
|
|
${RM} -f ${PREFIX}/bin/uvscan
|
|
|
|
${LN} -sf ../${UVSCANDIR:S/${PREFIX}\///}/uvscan ${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}
|
|
|
|
${RM} -f ${UVSCANDIR}/liblnxfv.so
|
|
|
|
${LN} -s liblnxfv.so.4 ${UVSCANDIR}/liblnxfv.so
|
2005-12-03 21:18:52 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/emul/linux/usr/local/lib
|
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
|
|
|
for file in liblnxfv.so.4 liblnxfv.so; do \
|
|
|
|
${RM} -f ${PREFIX}/emul/linux/usr/local/lib/$${file}; \
|
|
|
|
${LN} -s ${UVSCANDIR}/$${file} \
|
|
|
|
${PREFIX}/emul/linux/usr/local/lib; \
|
2001-08-16 07:09:21 +02:00
|
|
|
done
|
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
|
|
|
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}
|
2006-01-15 23:27:27 +01:00
|
|
|
for file in contact.txt e4400upg.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"
|