Portage is a package management system used by Gentoo Linux
# ChangeLog for app-antivirus/bitdefender-console
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/ChangeLog,v 1.21 2008/05/30 06:27:30 phreak Exp $
30 May 2008; Christian Heim
Removing Andrej Kacian (Ticho) from metadata.xml (as per #59986).
29 Apr 2007; Christian Heim
bitdefender-console-7.0.1-r1.ebuild, bitdefender-console-7.1.ebuild:
Migrating to the pax-utils eclass.
08 Apr 2007; Andrej Kacian
bitdefender-console-7.0.1-r1.ebuild, bitdefender-console-7.1.ebuild:
Only install malware definition files conditionally, and issue an elog
warning for user to update the definitions himself - see bug #158219,
comment #5 for details. 7.1 is ready to be unmasked. Also updated SRC_URI
for 7.0.1-r1 (bug #152059).
08 Apr 2007; Andrej Kacian
-bitdefender-console-7.0.1.ebuild:
Removed 7.0.1 ebuild.
23 Jan 2007; Marius Mauch
bitdefender-console-7.0.1.ebuild, bitdefender-console-7.0.1-r1.ebuild,
bitdefender-console-7.1.ebuild:
Replacing einfo with elog
14 Jan 2007;
bitdefender-console-7.0.1-r1.ebuild:
mark -amd64 wrt bug 142995
*bitdefender-console-7.1 (25 Dec 2006)
25 Dec 2006; Andrej Kacian
+bitdefender-console-7.1.ebuild:
Version bump.
26 Oct 2006;
remove emul-linux-x86 use flag
06 Oct 2006; Simon Stelling
bitdefender-console-7.0.1-r1.ebuild:
fixing the DEPEND to use the 32bit libstdc++-v3
14 Dec 2005; Andrej Kacian
bitdefender-console-7.0.1-r1.ebuild:
Make sure libstdc++.so.5 is provided, thanks to Alin Nastac
07 Sep 2005; Herbie Hopkins
bitdefender-console-7.0.1-r1.ebuild:
Correct amd64 depend, bug 105132. Mark stable on amd64.
05 Sep 2005; Andrej Kacian
bitdefender-console-7.0.1-r1.ebuild:
Stable on x86.
*bitdefender-console-7.0.1-r1 (30 May 2005)
30 May 2005; Andrej Kacian
bitdefender-console-7.0.1.ebuild, +bitdefender-console-7.0.1-r1.ebuild:
Added PaX workaround as suggested in bug #83695. Keep dirs
/var/bdc/infected, /var/bdc/suspected.
24 Apr 2005; Stephanie Lockwood-Childs
bitdefender-console-7.0.1.ebuild:
added -* keyword to indicate this is x86 specific (missing keywords can
mean untried on other architectures -- but this is distributed as x86
binaries so we KNOW it won't work except on platforms with x86 instructions
(i.e. x86 and amd64 using 32-bit support)
21 Apr 2005; Simon Stelling
bitdefender-console-7.0.1.ebuild:
stable on amd64
19 Jan 2005; Andrej Kacian
bitdefender-console-7.0.1.ebuild:
Stable on x86.
11 Jan 2005; Jeremy Huddleston
bitdefender-console-7.0.1.ebuild:
emul-linux-x86 update
21 Nov 2004; Simon Stelling
bitdefender-console-7.0.1.ebuild:
added ~amd64
*bitdefender-console-7.0.1 (20 Nov 2004)
20 Nov 2004; Andrej Kacian
+bitdefender-console-7.0.1.ebuild:
Initial import. Ebuild submitted by Alin Nastac
#62759.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
DIST BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.run 2348482 RMD160 3cfe335bfb98cc4e4029252c2266a80b0c0540c2 SHA1 a858add82a491f29bd401de41979d8da08d08d53 SHA256 9043a752fb783dd02341859cd37b0c586e881d76fea19620f47bf230905a6cf9
DIST BitDefender-Console-Antivirus-7.1-3.linux-gcc3x.i386.run 4387368 RMD160 e39354e778ee8e300f3979c85c1d14abf5b1d601 SHA1 25c2b7bde404feb6187c321eeae2c9a7d8a3ebc2 SHA256 c7cb158e95839faddb585875baa08e83d3f91d37e33367a95e0155627d11aefc
EBUILD bitdefender-console-7.0.1-r1.ebuild 1867 RMD160 2434cdbeb4bcbdd5b976a285aa40f1d96a071c6a SHA1 4e477000ef5c742c991a605007bcfd872386424a SHA256 6b40a64b018d0aad11dd3e2a679c8d03776a969cfac3244585c5b0ff80210cda
EBUILD bitdefender-console-7.1.ebuild 2261 RMD160 c9b483d6912a0a84a8e334c3cdcd0b0b0697a7a2 SHA1 c26412438ffc9c70d642a20e0da36a8c91c78ac8 SHA256 63b7c4fe2549aaa476f3af5eb2b6b57f6f140727bbcdf0ccaa8286a46b3e493c
MISC ChangeLog 3434 RMD160 7bbf51ddc8c0cbb80872da8d223ab59c5bcabb86 SHA1 94b13920f2c61b4c40d468f792d723119aecb4a9 SHA256 fff019212a609cc96b257c5cc4a3b8596895585c32a786cb496b23bfd18c847a
MISC metadata.xml 301 RMD160 63c007f8bf9f891bdfee31e07dabb108642f53a0 SHA1 55a3c57736b29941c8a6a6ea18dbf657a02aebb9 SHA256 2339b9927249f5c6aa7029a0fce1ab6ad5b84c4ec21c10ffe4405a82d2bc79d3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkg/nlcACgkQyuNVb5qfaOY9BACgxIMZ6mydBtyvTTRcXgTvDF/P
BRAAoJsjYAWJS+is2I2KOXyrYMgKN1fY
=aF+Z
-----END PGP SIGNATURE-----
# Copyright 1999-2007 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-r1.ebuild,v 1.9 2007/04/29 17:25:54 phreak Exp $
inherit pax-utils
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="http://download.bitdefender.com/unices/old/linux/free/bitdefender-console/en/${MY_P}"
DEPEND="app-arch/tar
app-arch/gzip"
RDEPEND="virtual/libc
amd64? (
>=app-emulation/emul-linux-x86-baselibs-1.0
app-emulation/emul-linux-x86-compat )
!amd64? ( || ( =sys-libs/libstdc++-v3-3.3* =sys-devel/gcc-3.3* ) )"
PROVIDE="virtual/antivirus"
SLOT="0"
LICENSE="as-is"
KEYWORDS="-* -amd64 x86"
IUSE=""
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 ()
{
cd ${S}
INSTALLDIR=/opt
QUARDIR=/var/bdc
INIFILE=bdc.ini
(
dodir ${QUARDIR} &&
dodir ${QUARDIR}/infected &&
dodir ${QUARDIR}/suspected
) || die "Unable to create quarantine directories"
cd opt/bdc
echo "InfectedFolder = ${QUARDIR}/infected" >> $INIFILE
echo "SuspectedFolder = ${QUARDIR}/suspected" >> $INIFILE
insinto /opt/bdc
insopts -m 755
doins bdc
pax-mark -msp "${D}"/opt/bdc/bdc
dodir /usr/bin
dosym /opt/bdc/bdc /usr/bin/bdc
dodir /var/bdc
dodir /var/bdc/infected
keepdir /var/bdc/infected
dodir /var/bdc/suspected
keepdir /var/bdc/suspected
insopts -m 644
doins bdc.ini *.so
insinto /opt/bdc/Plugins
doins Plugins/*
doman man/*
dodoc doc/*
}
pkg_postinst ()
{
elog "You should upgrade virus database by running bdc --update"
}
# Copyright 1999-2007 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.1.ebuild,v 1.4 2007/04/29 17:25:54 phreak Exp $
inherit pax-utils
MY_P="BitDefender-Console-Antivirus-${PV}-3.linux-gcc3x.i386.run"
S="${WORKDIR}/i386"
DESCRIPTION="BitDefender console antivirus"
HOMEPAGE="http://www.bitdefender.com/"
SRC_URI="http://download.bitdefender.com/unices/old/linux/free/bitdefender-console/en/${MY_P}"
DEPEND="app-arch/tar
app-arch/gzip"
RDEPEND="virtual/libc
amd64? (
>=app-emulation/emul-linux-x86-baselibs-1.0
app-emulation/emul-linux-x86-compat )
!amd64? ( || ( =sys-libs/libstdc++-v3-3.3* =sys-devel/gcc-3.3* ) )"
PROVIDE="virtual/antivirus"
SLOT="0"
LICENSE="as-is"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
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() {
local curn
local newn
local is_newer=0
cd ${S}
INSTALLDIR=/opt
QUARDIR=/var/bdc
INIFILE=bdc.ini
(
dodir ${QUARDIR} &&
dodir ${QUARDIR}/infected &&
dodir ${QUARDIR}/suspected
) || die "Unable to create quarantine directories"
cd opt/bdc
echo "InfectedFolder = ${QUARDIR}/infected" >> $INIFILE
echo "SuspectedFolder = ${QUARDIR}/suspected" >> $INIFILE
insinto /opt/bdc
insopts -m 755
doins bdc
pax-mark -msp "${D}"/opt/bdc/bdc
dodir /usr/bin
dosym /opt/bdc/bdc /usr/bin/bdc
dodir /var/bdc
dodir /var/bdc/infected
keepdir /var/bdc/infected
dodir /var/bdc/suspected
keepdir /var/bdc/suspected
insopts -m 644
doins bdc.ini *.so
# Conditionally installing malware definitions to workaround file
# collision issue described in bug #158219, comment #5.
if [[ ! -f /opt/bdc/Plugins/update.txt ]] ; then
dodir /opt/bdc/Plugins
insinto /opt/bdc/Plugins
doins Plugins/*
fi
doman man/man?/*
dodoc doc/*
}
pkg_postinst() {
elog You should update virus database by running bdc --update
}
pkg_postrm() {
# Remove leftover datafiles (their mtimes tend to change as user updates
# them).
[[ ! -x /opt/bdc/bdc ]] && rm -rf /opt/bdc
}
Complete virus defense solution designed for easy virus prevention on
Linux systems.