summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2011-11-21 10:50:21 +0000
committerRalph Sennhauser <sera@gentoo.org>2011-11-21 10:50:21 +0000
commit23b18ee99681297218b4339c77dab7a3734bda1f (patch)
treec423b1ab660b07f79d1d593b0cd3cfc42c718490 /dev-java
parentUse java-vm-2.eclass to set PaX markings (diff)
downloadhistorical-23b18ee99681297218b4339c77dab7a3734bda1f.tar.gz
historical-23b18ee99681297218b4339c77dab7a3734bda1f.tar.bz2
historical-23b18ee99681297218b4339c77dab7a3734bda1f.zip
Remove vulnarable
Package-Manager: portage-2.1.10.35/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/oracle-jre-bin/ChangeLog6
-rw-r--r--dev-java/oracle-jre-bin/Manifest5
-rw-r--r--dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0-r1.ebuild154
3 files changed, 6 insertions, 159 deletions
diff --git a/dev-java/oracle-jre-bin/ChangeLog b/dev-java/oracle-jre-bin/ChangeLog
index 511e1ea79f93..a67b42f70432 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.6 2011/11/21 10:45:21 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/ChangeLog,v 1.7 2011/11/21 10:50:21 sera Exp $
+
+ 21 Nov 2011; Ralph Sennhauser <sera@gentoo.org>
+ -oracle-jre-bin-1.7.0-r1.ebuild:
+ Remove vulnarable
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:
diff --git a/dev-java/oracle-jre-bin/Manifest b/dev-java/oracle-jre-bin/Manifest
index 57b6c60282c0..0048f0ce0f5b 100644
--- a/dev-java/oracle-jre-bin/Manifest
+++ b/dev-java/oracle-jre-bin/Manifest
@@ -1,12 +1,9 @@
AUX fontconfig.Gentoo.properties 11196 RMD160 e11989b6be27297af68bdd7040439f4d3bd09916 SHA1 58a53f90a8d0409769d371f2e07b5bec27b02469 SHA256 9372ca516ff36609d846a9cb446dde3212e976c10166d8e231312d6238d1db0c
AUX oracle-jre-bin-1.7.env 1035 RMD160 e405b988e9779f846e925f397ddd40a6b3f762cb SHA1 698cc08d27e48ad0118933a6e7e4167136192c4a SHA256 fc49633539a944a9d684b2d33b8c4a25f2d6d68e82fe644adbf2a499c178617b
DIST UnlimitedJCEPolicyJDK7.zip 7426 RMD160 a4a6a284579f43d2df3532d279e143d2f03c2c3f SHA1 7d3c9ee89536b82cd21c680088b1bced16017253 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a56ea603c9150c87b7cdb7800194d
-DIST jre-7-linux-i586.tar.gz 33749702 RMD160 a4f71c1ade289c62be0ae343df1efe7933809d6f SHA1 0da2bbc6982054332f71196fc1938be8926413ac SHA256 d0b7f2c48759462c07a96e0b28f2e937b3ccef7baf1c3c53dc3f28a840b7f1b6
-DIST jre-7-linux-x64.tar.gz 32344881 RMD160 cd543988ca038d74e103a7e2998d717800c3d4c9 SHA1 9eeaf1a1c6a98106ae50b1d3798e88588ad9ef9c SHA256 d829890d46295ab0cbfcbeb5c68ac7c90a5021689f7503c00b8bcf4bf9ea2f8d
DIST jre-7u1-linux-i586.tar.gz 33753969 RMD160 653313221a0dc0c7b69e158b003c8658eee8f529 SHA1 04f58ab69b479d475933d2270876fd6c9e97a3b6 SHA256 76bfa6d7b80e077a399bf69fbc8e031ee8f4094be0b6d1e30e247e7341ae2d40
DIST jre-7u1-linux-x64.tar.gz 32352700 RMD160 5e032865ffd75961decf959fe4f166833a4f7593 SHA1 fcbd35065ac6040b4160ca93ecd5cf6521885303 SHA256 41d9e1c3f51f7c5041ae9f1c3f200a716903d8d010d5a771e6672766ae95ee92
-EBUILD oracle-jre-bin-1.7.0-r1.ebuild 4389 RMD160 58c9b1654f0935dbbb87d27eaf79b65b84af3d26 SHA1 a83a6972874951a22f1f98fdd268271541314c18 SHA256 d4833229175e06cdd0738e2458a18ee5a478902566e13daed8e73b866bd2765e
EBUILD oracle-jre-bin-1.7.0.1-r1.ebuild 4446 RMD160 08485d7ab43561a1eed839869ecf002767746c4a SHA1 5ab39f0fac4d55cf0ec440ec20594aafcbddb444 SHA256 ee916842f5cba99285e4f1cb9073749f67eaf5082e89ca58fcec38f8114ffeec
EBUILD oracle-jre-bin-1.7.0.1.ebuild 4303 RMD160 2eda125fdd34448b0da6c54f0e17b8798ed7ecd9 SHA1 7c051f1c0616178ef320c8400fe9003e1c1ff098 SHA256 25740905c8aa76edfd2be7d60f92986bc532b0ee4e5175b9771a1e43eb732029
-MISC ChangeLog 1329 RMD160 928d33980595190f1f1d53a6ac59d4926dbce09b SHA1 0c2c04d504f8e74b53a421f8db237a54c664366d SHA256 16df13d17622b9b5e8e0a5bd65eb357796ba53880924381a3ed17348b8480ccf
+MISC ChangeLog 1435 RMD160 18567c16bd7b8a3fade417c3f984542ae334b1ce SHA1 45ef7827fd1ecc3596ae3394b9ae8101be38a14b SHA256 8db61900cb2865b1c8ba0ca7b12dce7e24a6cacbf06ab5c833b1f10048bfb2e3
MISC metadata.xml 374 RMD160 4e6b6826d9ee188e0fa0b5a9a5e5d23b722e10f8 SHA1 0c90ab71e19ea1e34710e7944f268bd46943f57d SHA256 32decb0503e4843bf9157625a4c494955b4c93ccd079bec72da1c374c03b7fa8
diff --git a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0-r1.ebuild b/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0-r1.ebuild
deleted file mode 100644
index d908c6f275c2..000000000000
--- a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0-r1.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# 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-r1.ebuild,v 1.1 2011/09/15 04:23:32 serkan Exp $
-
-EAPI="4"
-
-inherit java-vm-2 eutils pax-utils prefix
-
-#UPDATE="$(get_version_component_range 4)"
-#UPDATE="${UPDATE#0}"
-#MY_PV="$(get_version_component_range 2)u${UPDATE}"
-MY_PV="7"
-
-X86_AT="jre-${MY_PV}-linux-i586.tar.gz"
-AMD64_AT="jre-${MY_PV}-linux-x64.tar.gz"
-
-# check the URIs when bumping, no idea about their stability yet
-JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/java-se-jre-7-download-432155.html"
-JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html"
-
-JCE_DIR="UnlimitedJCEPolicy"
-JCE_FILE="${JCE_DIR}JDK7.zip"
-
-DESCRIPTION="Oracle's Java SE Runtime Environment"
-HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
-SRC_URI="x86? ( ${X86_AT} )
- amd64? ( ${AMD64_AT} )
- jce? ( ${JCE_FILE} )"
-SLOT="1.7"
-LICENSE="Oracle-BCLA-JavaSE"
-KEYWORDS="~amd64 ~x86"
-RESTRICT="fetch strip"
-IUSE="X alsa jce nsplugin"
-
-QA_TEXTRELS_x86="
- opt/${P}/lib/i386/client/libjvm.so
- opt/${P}/lib/i386/server/libjvm.so"
-
-DEPEND="jce? ( app-arch/unzip )"
-RDEPEND="${DEPEND}
- !prefix? ( sys-libs/glibc )
- alsa? ( media-libs/alsa-lib )
- X? (
- x11-libs/libXext
- x11-libs/libXi
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/libX11
- )"
-
-S="${WORKDIR}/jre${PV}"
-
-pkg_nofetch() {
- if use x86; then
- AT=${X86_AT}
- elif use amd64; then
- AT=${AMD64_AT}
- fi
-
- einfo "Please download ${AT} from:"
- einfo "${JRE_URI}"
- einfo "and move it to ${DISTDIR}"
-
- if use jce; then
- einfo "Also download ${JCE_FILE} from:"
- einfo ${JCE_URI}
- einfo "and move it to ${DISTDIR}"
- fi
-}
-
-src_prepare() {
- if use jce; then
- mv "${WORKDIR}"/${JCE_DIR} "${S}"/lib/security/ || die
- fi
-}
-
-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/*)
-
- # see bug #207282
- einfo "Creating the Class Data Sharing archives"
- if use x86; then
- "${S}"/bin/java -client -Xshare:dump || die
- fi
- "${S}"/bin/java -server -Xshare:dump || die
-
- # Create files used as storage for system preferences.
- mkdir .systemPrefs || die
- touch .systemPrefs/.system.lock || die
- touch .systemPrefs/.systemRootModFile || die
-}
-
-src_install() {
- # We should not need the ancient plugin for Firefox 2 anymore, plus it has
- # writable executable segments
- if use x86; then
- rm -vf lib/i386/libjavaplugin_oji.so \
- lib/i386/libjavaplugin_nscp*.so
- rm -vrf plugin/i386
- fi
- # Without nsplugin flag, also remove the new plugin
- local arch=${ARCH};
- use x86 && arch=i386;
- if ! use nsplugin; then
- rm -vf lib/${arch}/libnpjp2.so \
- lib/${arch}/libjavaplugin_jni.so
- fi
-
- dodir /opt/${P}
- cp -pPR bin lib man "${ED}"/opt/${P} || die
-
- # Remove empty dirs we might have copied
- rmdir -v $(find "${D}" -type d -empty) || die
-
- dodoc COPYRIGHT README
-
- if use jce; then
- dodir /opt/${P}/lib/security/strong-jce
- mv "${ED}"/opt/${P}/lib/security/US_export_policy.jar \
- "${ED}"/opt/${P}/lib/security/strong-jce || die
- mv "${ED}"/opt/${P}/lib/security/local_policy.jar \
- "${ED}"/opt/${P}/lib/security/strong-jce || die
- dosym /opt/${P}/lib/security/${JCE_DIR}/US_export_policy.jar \
- /opt/${P}/lib/security/
- dosym /opt/${P}/lib/security/${JCE_DIR}/local_policy.jar \
- /opt/${P}/lib/security/
- fi
-
- if use nsplugin; then
- install_mozilla_plugin /opt/${P}/lib/${arch}/libnpjp2.so
- fi
-
- # Install desktop file for the Java Control Panel. Using VMHANDLE as file
- # name to prevent file collision with jre and or other slots.
- [[ -f "${ED}"/opt/${P}/lib/desktop/applications/sun_java.desktop ]] || die
- sed -e "s/\(Name=\)Java/\1 Java Control Panel for Oracle JRE ${SLOT}/" \
- -e "s#Exec=.*#Exec=/opt/${P}/bin/jcontrol#" \
- -e "s#Icon=.*#Icon=/opt/${P}/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png#" \
- "${ED}"/opt/${P}/lib/desktop/applications/sun_java.desktop > \
- "${T}"/${VMHANDLE}.desktop
-
- domenu "${T}"/${VMHANDLE}.desktop
-
- # bug #56444
- cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
- eprefixify "${T}"/fontconfig.properties
- insinto /opt/${P}/lib/
- doins "${T}"/fontconfig.properties
-
- set_java_env
- java-vm_revdep-mask
-}