diff options
author | Andrej Kacian <ticho@gentoo.org> | 2004-11-20 15:53:30 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2004-11-20 15:53:30 +0000 |
commit | 2c5b5519351aba6a410cab45adb80a5e6e6cd34b (patch) | |
tree | 76cd3080cc084e1202090064752e20c350205d07 /app-antivirus/bitdefender-console | |
parent | Version bump (diff) | |
download | historical-2c5b5519351aba6a410cab45adb80a5e6e6cd34b.tar.gz historical-2c5b5519351aba6a410cab45adb80a5e6e6cd34b.tar.bz2 historical-2c5b5519351aba6a410cab45adb80a5e6e6cd34b.zip |
Using mrness' ebuild. See #62759.
Diffstat (limited to 'app-antivirus/bitdefender-console')
4 files changed, 59 insertions, 28 deletions
diff --git a/app-antivirus/bitdefender-console/ChangeLog b/app-antivirus/bitdefender-console/ChangeLog index 7950768b9602..ac32a20d489f 100644 --- a/app-antivirus/bitdefender-console/ChangeLog +++ b/app-antivirus/bitdefender-console/ChangeLog @@ -1,10 +1,11 @@ # ChangeLog for app-antivirus/bitdefender-console # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/ChangeLog,v 1.1 2004/11/20 15:41:44 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/ChangeLog,v 1.2 2004/11/20 15:53:30 ticho Exp $ *bitdefender-console-7.0.1 (20 Nov 2004) 20 Nov 2004; Andrej Kacian <ticho@gentoo.org> +metadata.xml, +bitdefender-console-7.0.1.ebuild: - Initial import. + Initial import. Ebuild submitted by Alin Nastac <mrness@gentoo.org>. Closes + #62759. diff --git a/app-antivirus/bitdefender-console/Manifest b/app-antivirus/bitdefender-console/Manifest index 092a0f03ef9c..2d43d83b01e6 100644 --- a/app-antivirus/bitdefender-console/Manifest +++ b/app-antivirus/bitdefender-console/Manifest @@ -1,14 +1,14 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 86ab118598ee1e986500b8b86271476d ChangeLog 399 +MD5 ec4f42ec8361787daf9d770f5e423adf ChangeLog 469 MD5 b799e6d40bbe29a415e5c3f80faca25a metadata.xml 376 -MD5 685de2c2bb035e6ba32cc5df2a2042db bitdefender-console-7.0.1.ebuild 1024 -MD5 7e4e23bd1430f971f5401f48594c69ea files/digest-bitdefender-console-7.0.1 104 +MD5 9052bdde853df8c59c69af0fe7994c65 bitdefender-console-7.0.1.ebuild 1499 +MD5 3956e0264dc3f7ec9cddc5cd82cdbb90 files/digest-bitdefender-console-7.0.1 104 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFBn2Xd10xuJSrg3/sRArnEAJ95ikYD4wVsEYa/5QTQc4KlTUwqBwCfRzOa -taeREUkbfEh5gRBlc3A8Edk= -=NCMX +iD8DBQFBn2ie10xuJSrg3/sRAg/UAJ44DcUCARPXmdeBesnSDgMbatSIPQCggAmU ++1lRuzwNnikQyiSBWxQzEfk= +=d5zI -----END PGP SIGNATURE----- diff --git a/app-antivirus/bitdefender-console/bitdefender-console-7.0.1.ebuild b/app-antivirus/bitdefender-console/bitdefender-console-7.0.1.ebuild index 857e56d8c801..beb3837c9133 100644 --- a/app-antivirus/bitdefender-console/bitdefender-console-7.0.1.ebuild +++ b/app-antivirus/bitdefender-console/bitdefender-console-7.0.1.ebuild @@ -1,35 +1,65 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/bitdefender-console-7.0.1.ebuild,v 1.1 2004/11/20 15:41:44 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/bitdefender-console-7.0.1.ebuild,v 1.2 2004/11/20 15:53:30 ticho Exp $ -inherit rpm +IUSE="" -DESCRIPTION="Complete virus defense solution designed for easy virus prevention on Linux systems." -HOMEPAGE="http://www.bitdefender.com/bd/site/products.php?p_id=16" -SRC_URI="ftp://ftp.bitdefender.com/pub/linux/free/bitdefender-console/en/BitDefender-Console-Antivirus-${PV}-3.linux-gcc3x.i586.rpm" +MY_P=BitDefender-Console-Antivirus-${PV}-3.linux-gcc3x.i586.run +S=${WORKDIR}/i386 + +DESCRIPTION="BitDefender console antivirus" +HOMEPAGE="http://www.bitdefender.com/" +SRC_URI="ftp://ftp.bitdefender.com/pub/linux/free/bitdefender-console/en/${MY_P}" + +DEPEND="app-arch/tar + app-arch/gzip" +RDEPEND="virtual/libc" +PROVIDE="virtual/antivirus" -LICENSE="as-is" SLOT="0" +LICENSE="as-is" KEYWORDS="~x86" -IUSE="" -DEPEND="app-arch/rpm2targz" - -src_unpack() { - rpm_src_unpack ${DISTDIR}/${A} || die "Could not unpack RPM package" +src_unpack () { + #Extract the tgz achive contained in MY_P + SKIP=`sed -n '/^\x1F/q;p' < ${DISTDIR}/${MY_P} | wc -c` + dd if=${DISTDIR}/${MY_P} ibs=1 skip=$SKIP 2> /dev/null | tar -xz || die "Failed to extract from archive" } -src_install() { - dodir /opt/bdc - cp -Rf ${WORKDIR}/opt/* ${D}/opt +src_install () +{ + cd ${S} + + INSTALLDIR=/opt + QUARDIR=/var/bdc + INIFILE=bdc.ini + + ( + dodir ${QUARDIR} && + dodir ${QUARDIR}/infected && + dodir ${QUARDIR}/suspected + ) || die "Unable to create quarantine directories" - # Create a symlink for bdc executable + cd opt/bdc + echo "InfectedFolder = ${QUARDIR}/infected" >> $INIFILE + echo "SuspectedFolder = ${QUARDIR}/suspected" >> $INIFILE + + insinto /opt/bdc + insopts -m 755 + doins bdc dodir /usr/bin dosym /opt/bdc/bdc /usr/bin/bdc - # Install manpage correctly and remove it from /opt, where it's - # useless - doman ${WORKDIR}/opt/bdc/man/bdc.1 - rm -rf ${D}/opt/bdc/man + insopts -m 644 + doins bdc.ini *.so + insinto /opt/bdc/Plugins + doins Plugins/* + + doman man/* + dodoc doc/* } +pkg_postinst () +{ + einfo You should upgrade virus database by running bdc --update +} diff --git a/app-antivirus/bitdefender-console/files/digest-bitdefender-console-7.0.1 b/app-antivirus/bitdefender-console/files/digest-bitdefender-console-7.0.1 index 20badcff10a1..3f0a38ce97ac 100644 --- a/app-antivirus/bitdefender-console/files/digest-bitdefender-console-7.0.1 +++ b/app-antivirus/bitdefender-console/files/digest-bitdefender-console-7.0.1 @@ -1 +1 @@ -MD5 92051c18b5d571d7bd9078af3c78f6f0 BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.rpm 2351326 +MD5 ff101d6c1cd9388a932117a1c5f52f83 BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.run 2348482 |