summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2005-05-30 20:42:51 +0000
committerAndrej Kacian <ticho@gentoo.org>2005-05-30 20:42:51 +0000
commit8e371027124687fb0dd84bdd2cbfb88fbde558a3 (patch)
tree446027ee6abac9315a3a695777643a03dbad18dc /app-antivirus/bitdefender-console
parentSTART_MILTER defaults to no. 0.85.1 stable on x86. (diff)
downloadhistorical-8e371027124687fb0dd84bdd2cbfb88fbde558a3.tar.gz
historical-8e371027124687fb0dd84bdd2cbfb88fbde558a3.tar.bz2
historical-8e371027124687fb0dd84bdd2cbfb88fbde558a3.zip
Apply PaX workaround (bug #83695). Keep /var/bdc/* dirs.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'app-antivirus/bitdefender-console')
-rw-r--r--app-antivirus/bitdefender-console/ChangeLog9
-rw-r--r--app-antivirus/bitdefender-console/Manifest16
-rw-r--r--app-antivirus/bitdefender-console/bitdefender-console-7.0.1-r1.ebuild78
-rw-r--r--app-antivirus/bitdefender-console/bitdefender-console-7.0.1.ebuild8
-rw-r--r--app-antivirus/bitdefender-console/files/digest-bitdefender-console-7.0.1-r11
5 files changed, 108 insertions, 4 deletions
diff --git a/app-antivirus/bitdefender-console/ChangeLog b/app-antivirus/bitdefender-console/ChangeLog
index 4e72e16de17f..9aeb71e3be56 100644
--- a/app-antivirus/bitdefender-console/ChangeLog
+++ b/app-antivirus/bitdefender-console/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-antivirus/bitdefender-console
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/ChangeLog,v 1.8 2005/04/24 23:56:58 wormo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/ChangeLog,v 1.9 2005/05/30 20:42:50 ticho Exp $
+
+*bitdefender-console-7.0.1-r1 (30 May 2005)
+
+ 30 May 2005; Andrej Kacian <ticho@gentoo.org>
+ 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 <wormo@gentoo.org>
bitdefender-console-7.0.1.ebuild:
diff --git a/app-antivirus/bitdefender-console/Manifest b/app-antivirus/bitdefender-console/Manifest
index 4fafb67e8763..b1c7debf2038 100644
--- a/app-antivirus/bitdefender-console/Manifest
+++ b/app-antivirus/bitdefender-console/Manifest
@@ -1,4 +1,16 @@
-MD5 e91e6d019ca821039e9c9da7fa8505ac ChangeLog 1259
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 a5e1f8bd2feb1bf6e259d9a2fda2727d bitdefender-console-7.0.1-r1.ebuild 1883
+MD5 e6c6f7094dd574f818fc15fe3adb5a5a bitdefender-console-7.0.1.ebuild 1711
+MD5 dbe0dc1479e79b6c750edf56c9a51eca ChangeLog 1529
MD5 b799e6d40bbe29a415e5c3f80faca25a metadata.xml 376
-MD5 cdb33f19f9ac40289e243964faa5d36e bitdefender-console-7.0.1.ebuild 1587
+MD5 3956e0264dc3f7ec9cddc5cd82cdbb90 files/digest-bitdefender-console-7.0.1-r1 104
MD5 3956e0264dc3f7ec9cddc5cd82cdbb90 files/digest-bitdefender-console-7.0.1 104
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCm3tVQlM6RnzZP+IRAvoPAJ9wNDaunSo1YV2EUMgLS+1/8PXjOwCgkMOs
+VDLWFjLjxA4lK8ygACj11es=
+=ZKbE
+-----END PGP SIGNATURE-----
diff --git a/app-antivirus/bitdefender-console/bitdefender-console-7.0.1-r1.ebuild b/app-antivirus/bitdefender-console/bitdefender-console-7.0.1-r1.ebuild
new file mode 100644
index 000000000000..10c69f4c2b7c
--- /dev/null
+++ b/app-antivirus/bitdefender-console/bitdefender-console-7.0.1-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2005 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.1 2005/05/30 20:42:50 ticho Exp $
+
+IUSE="emul-linux-x86"
+
+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
+ emul-linux-x86? ( >=app-emulation/emul-linux-x86-baselibs-1.0 )"
+PROVIDE="virtual/antivirus"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="-* ~x86 ~amd64"
+
+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
+ 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 ()
+{
+ einfo You should upgrade virus database by running bdc --update
+ [ -x /sbin/chpax ] && {
+ echo
+ ewarn "Disabling some PaX restrictions (\`/sbin/chpax -spm /opt/bdc/bdc\`, see bug #83695)"
+ /sbin/chpax -spm /opt/bdc/bdc
+ echo
+ }
+}
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 fee23a8ea858..f8a5791b8c53 100644
--- a/app-antivirus/bitdefender-console/bitdefender-console-7.0.1.ebuild
+++ b/app-antivirus/bitdefender-console/bitdefender-console-7.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 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.9 2005/04/24 23:56:58 wormo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/bitdefender-console-7.0.1.ebuild,v 1.10 2005/05/30 20:42:50 ticho Exp $
IUSE="emul-linux-x86"
@@ -51,6 +51,12 @@ src_install ()
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
diff --git a/app-antivirus/bitdefender-console/files/digest-bitdefender-console-7.0.1-r1 b/app-antivirus/bitdefender-console/files/digest-bitdefender-console-7.0.1-r1
new file mode 100644
index 000000000000..3f0a38ce97ac
--- /dev/null
+++ b/app-antivirus/bitdefender-console/files/digest-bitdefender-console-7.0.1-r1
@@ -0,0 +1 @@
+MD5 ff101d6c1cd9388a932117a1c5f52f83 BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.run 2348482