summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2011-11-21 10:45:21 +0000
committerRalph Sennhauser <sera@gentoo.org>2011-11-21 10:45:21 +0000
commitdb6d729bea703aaf6cb49a9f7c651fb53a1aecef (patch)
tree13c0df14525c3713641c7165be6a619d0a04b63d /dev-java/oracle-jre-bin
parentUse java-vm-2.eclass to set PaX markings (diff)
downloadgentoo-2-db6d729bea703aaf6cb49a9f7c651fb53a1aecef.tar.gz
gentoo-2-db6d729bea703aaf6cb49a9f7c651fb53a1aecef.tar.bz2
gentoo-2-db6d729bea703aaf6cb49a9f7c651fb53a1aecef.zip
Use java-vm-2.eclass to set PaX markings
(Portage version: 2.1.10.35/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/oracle-jre-bin')
-rw-r--r--dev-java/oracle-jre-bin/ChangeLog6
-rw-r--r--dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1-r1.ebuild9
-rw-r--r--dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1.ebuild9
3 files changed, 13 insertions, 11 deletions
diff --git a/dev-java/oracle-jre-bin/ChangeLog b/dev-java/oracle-jre-bin/ChangeLog
index 96abef622e9f..511e1ea79f93 100644
--- a/dev-java/oracle-jre-bin/ChangeLog
+++ b/dev-java/oracle-jre-bin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/oracle-jre-bin
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/ChangeLog,v 1.5 2011/11/04 09:27:24 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/ChangeLog,v 1.6 2011/11/21 10:45:21 sera Exp $
+
+ 21 Nov 2011; Ralph Sennhauser <sera@gentoo.org>
+ oracle-jre-bin-1.7.0.1.ebuild, oracle-jre-bin-1.7.0.1-r1.ebuild:
+ Use java-vm-2.eclass to set PaX markings
*oracle-jre-bin-1.7.0.1-r1 (04 Nov 2011)
diff --git a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1-r1.ebuild b/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1-r1.ebuild
index b03bb42038c9..33921c1a6301 100644
--- a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1-r1.ebuild
+++ b/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1-r1.ebuild,v 1.1 2011/11/04 09:27:24 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1-r1.ebuild,v 1.2 2011/11/21 10:45:21 sera Exp $
EAPI="4"
-inherit java-vm-2 eutils pax-utils prefix versionator
+inherit java-vm-2 eutils prefix versionator
UPDATE="$(get_version_component_range 4)"
UPDATE="${UPDATE#0}"
@@ -75,9 +75,8 @@ src_prepare() {
}
src_compile() {
- # Set PaX markings on all JDK/JRE executables to allow code-generation on
- # the heap by the JIT compiler. This needs to be done before CDS - #215225
- pax-mark m $(list-paxables "${S}"{,/jre}/bin/*)
+ # This needs to be done before CDS - #215225
+ java-vm_set-pax-markings "${S}"
# see bug #207282
einfo "Creating the Class Data Sharing archives"
diff --git a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1.ebuild b/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1.ebuild
index 8444711f7ecd..8d6bbcfc5c3b 100644
--- a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1.ebuild
+++ b/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1.ebuild,v 1.1 2011/10/21 23:05:19 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.1.ebuild,v 1.2 2011/11/21 10:45:21 sera Exp $
EAPI="4"
-inherit java-vm-2 eutils pax-utils prefix versionator
+inherit java-vm-2 eutils prefix versionator
UPDATE="$(get_version_component_range 4)"
UPDATE="${UPDATE#0}"
@@ -75,9 +75,8 @@ src_prepare() {
}
src_compile() {
- # Set PaX markings on all JDK/JRE executables to allow code-generation on
- # the heap by the JIT compiler. This needs to be done before CDS - #215225
- pax-mark m $(list-paxables "${S}"{,/jre}/bin/*)
+ # This needs to be done before CDS - #215225
+ java-vm_set-pax-markings "${S}"
# see bug #207282
einfo "Creating the Class Data Sharing archives"