summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2007-04-29 17:25:54 +0000
committerChristian Heim <phreak@gentoo.org>2007-04-29 17:25:54 +0000
commit017ead7aa64c004b51acd225bc87cace0eb65db3 (patch)
tree4bee6a7e7b082e1c78627f3ba49d81ef3ddc634a /app-antivirus
parent Remove XDG_CONFIG_DIRS again, bug #164034. Workaround only, though... (diff)
downloadgentoo-2-017ead7aa64c004b51acd225bc87cace0eb65db3.tar.gz
gentoo-2-017ead7aa64c004b51acd225bc87cace0eb65db3.tar.bz2
gentoo-2-017ead7aa64c004b51acd225bc87cace0eb65db3.zip
Migrating to the pax-utils eclass.
(Portage version: 2.1.2.5)
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/bitdefender-console/ChangeLog6
-rw-r--r--app-antivirus/bitdefender-console/bitdefender-console-7.0.1-r1.ebuild13
-rw-r--r--app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild14
3 files changed, 17 insertions, 16 deletions
diff --git a/app-antivirus/bitdefender-console/ChangeLog b/app-antivirus/bitdefender-console/ChangeLog
index 16672cfbafe8..17b497ab4df5 100644
--- a/app-antivirus/bitdefender-console/ChangeLog
+++ b/app-antivirus/bitdefender-console/ChangeLog
@@ -1,6 +1,10 @@
# 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.19 2007/04/08 22:55:16 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/ChangeLog,v 1.20 2007/04/29 17:25:54 phreak Exp $
+
+ 29 Apr 2007; Christian Heim <phreak@gentoo.org>
+ bitdefender-console-7.0.1-r1.ebuild, bitdefender-console-7.1.ebuild:
+ Migrating to the pax-utils eclass.
08 Apr 2007; Andrej Kacian <ticho@gentoo.org>
bitdefender-console-7.0.1-r1.ebuild, bitdefender-console-7.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 3d0dc25eae93..9c9f0c66ac53 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,6 +1,8 @@
# 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.8 2007/04/08 22:55:16 ticho Exp $
+# $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
@@ -50,6 +52,9 @@ src_install ()
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
@@ -71,10 +76,4 @@ src_install ()
pkg_postinst ()
{
elog "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.1.ebuild b/app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild
index 69a0793acecf..e53da87a9620 100644
--- a/app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild
+++ b/app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild
@@ -1,6 +1,8 @@
# 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.3 2007/04/08 22:55:16 ticho Exp $
+# $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"
@@ -53,6 +55,9 @@ src_install() {
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
@@ -79,13 +84,6 @@ src_install() {
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)"
- /sbin/chpax -spm /opt/bdc/bdc
- echo
- }
}
pkg_postrm() {