summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2007-04-08 22:55:16 +0000
committerAndrej Kacian <ticho@gentoo.org>2007-04-08 22:55:16 +0000
commit7a3340399a98849ab0a5c09a2749a8a88fcbda6d (patch)
tree4ab27b4bcb89d91fc8530bfd4b2b3d1d019c1e9d /app-antivirus/bitdefender-console
parentMarking amd64 stable (diff)
downloadgentoo-2-7a3340399a98849ab0a5c09a2749a8a88fcbda6d.tar.gz
gentoo-2-7a3340399a98849ab0a5c09a2749a8a88fcbda6d.tar.bz2
gentoo-2-7a3340399a98849ab0a5c09a2749a8a88fcbda6d.zip
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).
(Portage version: 2.1.2.3)
Diffstat (limited to 'app-antivirus/bitdefender-console')
-rw-r--r--app-antivirus/bitdefender-console/ChangeLog9
-rw-r--r--app-antivirus/bitdefender-console/bitdefender-console-7.0.1-r1.ebuild4
-rw-r--r--app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild17
3 files changed, 19 insertions, 11 deletions
diff --git a/app-antivirus/bitdefender-console/ChangeLog b/app-antivirus/bitdefender-console/ChangeLog
index c71169db1d9f..16672cfbafe8 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-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/ChangeLog,v 1.18 2007/04/08 20:58:05 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/ChangeLog,v 1.19 2007/04/08 22:55:16 ticho Exp $
+
+ 08 Apr 2007; Andrej Kacian <ticho@gentoo.org>
+ 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 <ticho@gentoo.org>
-bitdefender-console-7.0.1.ebuild:
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
index d568939368a9..3d0dc25eae93 100644
--- a/app-antivirus/bitdefender-console/bitdefender-console-7.0.1-r1.ebuild
+++ b/app-antivirus/bitdefender-console/bitdefender-console-7.0.1-r1.ebuild
@@ -1,13 +1,13 @@
# 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.7 2007/01/23 15:15:17 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/bitdefender-console-7.0.1-r1.ebuild,v 1.8 2007/04/08 22:55:16 ticho Exp $
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}"
+SRC_URI="http://download.bitdefender.com/unices/old/linux/free/bitdefender-console/en/${MY_P}"
DEPEND="app-arch/tar
app-arch/gzip"
diff --git a/app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild b/app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild
index 27f8cb30c3c2..69a0793acecf 100644
--- a/app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild
+++ b/app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild
@@ -1,6 +1,6 @@
# 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.2 2007/01/23 15:15:18 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild,v 1.3 2007/04/08 22:55:16 ticho Exp $
MY_P="BitDefender-Console-Antivirus-${PV}-3.linux-gcc3x.i386.run"
S="${WORKDIR}/i386"
@@ -65,20 +65,21 @@ src_install() {
insopts -m 644
doins bdc.ini *.so
- dodir /opt/bdc/Plugins
- insinto /opt/bdc/Plugins
- doins Plugins/*
+ # 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_preinst() {
- [[ -f /opt/bdc/Plugins/update.txt ]] && rm -f /opt/bdc/Plugins/*
-}
-
pkg_postinst() {
elog You should update virus database by running bdc --update
+
[ -x /sbin/chpax ] && {
echo
ewarn "Disabling some PaX restrictions (\`/sbin/chpax -spm /opt/bdc/bdc\`, see bug #83695)"