summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2015-09-12 14:56:35 +0100
committerJames Le Cuirot <chewi@gentoo.org>2015-09-12 14:57:14 +0100
commite4a5f04b1e20509c20f6b1ee24961fefc043cd02 (patch)
tree42c923c81eb6db2e3ee2ae6ea06a27563a7a766f /dev-java/oracle-jdk-bin
parentdev-vcs/subversion: drop gnome keyring patch for OSX as it is seemingly fixed... (diff)
downloadgentoo-e4a5f04b1e20509c20f6b1ee24961fefc043cd02.tar.gz
gentoo-e4a5f04b1e20509c20f6b1ee24961fefc043cd02.tar.bz2
gentoo-e4a5f04b1e20509c20f6b1ee24961fefc043cd02.zip
dev-java/oracle-jdk-bin: Fix hardened + JAVA_PKG_STRICT breakage
We need to PaX mark javap before we run it on hardened systems. Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-java/oracle-jdk-bin')
-rw-r--r--dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.60-r2.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.60-r2.ebuild b/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.60-r2.ebuild
index 5c7418a14f6e..20a8a31d6d68 100644
--- a/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.60-r2.ebuild
+++ b/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.60-r2.ebuild
@@ -184,6 +184,9 @@ src_prepare() {
fi
if [[ -n ${JAVA_PKG_STRICT} ]] ; then
+ # Mark this binary early to run it now.
+ pax-mark Cm ./bin/javap
+
eqawarn "Ensure that this only calls trackJavaUsage(). If not, see bug #559936."
eqawarn
eqawarn "$(./bin/javap -J-Duser.home=${T} -c sun.misc.PostVMInitHook || die)"