New port: BitDefender Console Antivirus 7.0.1

Based on submission via PR:

PR:		ports/75424
Submitted by:	Adrian Pircalabu
Approved by:	nectar (mentor)
This commit is contained in:
Niels Heinen 2005-06-05 13:36:22 +00:00
parent dd8a978938
commit 64101141a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136822
7 changed files with 199 additions and 0 deletions

View File

@ -28,6 +28,7 @@
SUBDIR += barnyard
SUBDIR += base
SUBDIR += bcwipe
SUBDIR += bdc
SUBDIR += beecrypt
SUBDIR += bfbtester
SUBDIR += bjorb

66
security/bdc/Makefile Normal file
View File

@ -0,0 +1,66 @@
# New ports collection makefile for: bdc
# Date created: 4 December 2004
# Whom: Adi Pircalabu <apircalabu@bitdefender.com>
#
# $FreeBSD$
#
PORTNAME= bdc
PORTVERSION= 7.0.1
CATEGORIES= security
MASTER_SITES= ftp://ftp.bitdefender.com/pub/freebsd/${BDREL}/beta/
DISTNAME= ${PORTNAME}-${PORTVERSION}-fbsd${BDREL}
MAINTAINER= apircalabu@bitdefender.com
COMMENT= BitDefender Console Antivirus for FreeBSD
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 490000 || ${OSVERSION} >= 500000 && ${OSVERSION} < 502001
IGNORE= "requires FreeBSD-STABLE \(4.9 or later\), or FreeBSD-CURRENT \(5.2.1 or later\)"
.elif ${OSVERSION} < 500000
BDREL= 4
.else
BDREL= 5
.endif
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
ONLY_FOR_ARCHS= i386
RESTRICTED= "License prohibits redistribution"
do-fetch:
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
@${ECHO} ""
@${ECHO} "You have to fetch ${DISTNAME}${EXTRACT_SUFX} manually after"
@${ECHO} "reading and agreeing to the license at:"
@${ECHO} ""
@${ECHO} "ftp://ftp.bitdefender.com/pub/freebsd/${BDREL}/beta/LICENSE"
@${ECHO} ""
@${ECHO} "A direct link to the distribution file:"
@${ECHO} "ftp://ftp.bitdefender.com/pub/freebsd/${BDREL}/beta/${DISTNAME}${EXTRACT_SUFX}"
@${ECHO} ""
@${ECHO} "Once the file has been downloaded move it to"
@${ECHO} "${DISTDIR} and restart the build."
@${ECHO} ""
@${FALSE}
.endif
do-install:
@cd ${WRKDIR} && ${TAR} -cf - bdc | ${TAR} -xf - -C ${PREFIX}/
@${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/bdc
@${CHMOD} -R a=rX,u+w ${PREFIX}/bdc/
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; \
s|%%PORTNAME%%|${PORTNAME}|g' \
< ${PKGDIR}/pkg-message > ${PKGMESSAGE}
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
< ${FILESDIR}/bdc > ${PREFIX}/bin/bdc
@${CHMOD} +x ${PREFIX}/bin/bdc
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

4
security/bdc/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (bdc-7.0.1-fbsd4.tar.gz) = efe808f78bd4f14dc3052ee525b0912e
SIZE (bdc-7.0.1-fbsd4.tar.gz) = 3300178
MD5 (bdc-7.0.1-fbsd5.tar.gz) = dc771133ca4d326df2dc4ed74687b430
SIZE (bdc-7.0.1-fbsd5.tar.gz) = 3273343

4
security/bdc/files/bdc Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
BDENG_PATH=%%PREFIX%%/bdc/; export BDENG_PATH
exec %%PREFIX%%/bdc/bdc.bin ${@+"$@"}

3
security/bdc/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
BitDefender Console Antivirus
WWW: http://www.bitdefender.com/

16
security/bdc/pkg-message Normal file
View File

@ -0,0 +1,16 @@
Congratulations, BitDefender Console Antivirus for FreeBSD is now installed.
For your reference, the License Agreement is located in:
%%PREFIX%%/%%PORTNAME%%/doc/LICENSE
For more info on BitDefender Console Antivirus, you should check the
documentation located in:
%%PREFIX%%/%%PORTNAME%%/doc
You should also update the virus definitions as soon as possible by running:
%%PORTNAME%% --update
The BitDefender Team,
http://www.bitdefender.com

105
security/bdc/pkg-plist Normal file
View File

@ -0,0 +1,105 @@
bdc/Plugins/ace.xmd
bdc/Plugins/alz.xmd
bdc/Plugins/arc.xmd
bdc/Plugins/arj.xmd
bdc/Plugins/bach.xmd
bdc/Plugins/bzip2.xmd
bdc/Plugins/cab.xmd
bdc/Plugins/ceva_dll.cvd
bdc/Plugins/ceva_vfs.cvd
bdc/Plugins/cevakrnl.cvd
bdc/Plugins/cevakrnl.ivd
bdc/Plugins/cevakrnl.rvd
bdc/Plugins/cevakrnl.xmd
bdc/Plugins/chm.xmd
bdc/Plugins/cpio.xmd
bdc/Plugins/cran.cvd
bdc/Plugins/cran.xmd
bdc/Plugins/dbx.xmd
bdc/Plugins/docfile.xmd
bdc/Plugins/emalware.cvd
bdc/Plugins/emalware.ivd
bdc/Plugins/emalware.xmd
bdc/Plugins/epoc.xmd
bdc/Plugins/gzip.xmd
bdc/Plugins/ha.xmd
bdc/Plugins/hlp.xmd
bdc/Plugins/hpe.cvd
bdc/Plugins/hpe.xmd
bdc/Plugins/hqx.xmd
bdc/Plugins/html.xmd
bdc/Plugins/imp.xmd
bdc/Plugins/inno.xmd
bdc/Plugins/instyler.xmd
bdc/Plugins/iso.xmd
bdc/Plugins/java.cvd
bdc/Plugins/java.xmd
bdc/Plugins/jpeg.xmd
bdc/Plugins/lha.xmd
bdc/Plugins/lnk.xmd
bdc/Plugins/mbox.xmd
bdc/Plugins/mbx.xmd
bdc/Plugins/mdx.xmd
bdc/Plugins/mdx_97.cvd
bdc/Plugins/mdx_97.ivd
bdc/Plugins/mdx_w95.cvd
bdc/Plugins/mdx_x95.cvd
bdc/Plugins/mdx_xf.cvd
bdc/Plugins/mime.xmd
bdc/Plugins/mso.xmd
bdc/Plugins/na.cvd
bdc/Plugins/na.xmd
bdc/Plugins/nelf.cvd
bdc/Plugins/nelf.xmd
bdc/Plugins/nsis.xmd
bdc/Plugins/objd.xmd
bdc/Plugins/pdf.xmd
bdc/Plugins/pst.xmd
bdc/Plugins/rar.xmd
bdc/Plugins/rpm.xmd
bdc/Plugins/rtf.xmd
bdc/Plugins/rup.cvd
bdc/Plugins/rup.xmd
bdc/Plugins/sdx.cvd
bdc/Plugins/sdx.ivd
bdc/Plugins/sdx.xmd
bdc/Plugins/sfx.xmd
bdc/Plugins/swf.xmd
bdc/Plugins/tar.xmd
bdc/Plugins/td0.xmd
bdc/Plugins/thebat.xmd
bdc/Plugins/tnef.xmd
bdc/Plugins/unpack.cvd
bdc/Plugins/unpack.ivd
bdc/Plugins/unpack.xmd
bdc/Plugins/update.txt
bdc/Plugins/uudecode.xmd
bdc/Plugins/ve.cvd
bdc/Plugins/ve.ivd
bdc/Plugins/ve.xmd
bdc/Plugins/vedata.cvd
bdc/Plugins/viza.xmd
bdc/Plugins/wise.xmd
bdc/Plugins/xishield.xmd
bdc/Plugins/z.xmd
bdc/Plugins/zip.xmd
bdc/Plugins/zoo.xmd
bdc/bdc
bdc/bdc.bin
bdc/bdc.ini
bdc/bdcore.so
bdc/bdupd.so
bdc/doc/FAQ
bdc/doc/INSTALL
bdc/doc/KNOWN-ISSUES
bdc/doc/LICENSE
bdc/doc/README
bdc/libfn.so
bdc/man/bdc.1
bdc/plugins.htm
bin/bdc
@dirrm bdc/Plugins
@dirrm bdc/doc
@dirrm bdc/man
@dirrm bdc
@unexec rmdir %D/bdc 2>/dev/null || echo "If you are permanently removing this port, you should do a \"rm -rf %D/bdc\" to remove files installed after doing an update. " | fmt