summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Schmitz <ercpe@gentoo.org>2014-11-01 07:07:27 +0000
committerJohann Schmitz <ercpe@gentoo.org>2014-11-01 07:07:27 +0000
commitd8fbb6c1e7cdd8709e437d9b4a11f5075ea82a78 (patch)
treed6576da985599686765830204f52d293f06baacc /dev-java/oracle-jre-bin
parentJava SDK update to latest cpu release (diff)
downloadhistorical-d8fbb6c1e7cdd8709e437d9b4a11f5075ea82a78.tar.gz
historical-d8fbb6c1e7cdd8709e437d9b4a11f5075ea82a78.tar.bz2
historical-d8fbb6c1e7cdd8709e437d9b4a11f5075ea82a78.zip
Oracle JRE update to latest cpu release
Package-Manager: portage-2.2.8-r2/cvs/Linux x86_64 Manifest-Sign-Key: 0x77C501ED
Diffstat (limited to 'dev-java/oracle-jre-bin')
-rw-r--r--dev-java/oracle-jre-bin/ChangeLog8
-rw-r--r--dev-java/oracle-jre-bin/Manifest15
-rw-r--r--dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.71.ebuild185
3 files changed, 203 insertions, 5 deletions
diff --git a/dev-java/oracle-jre-bin/ChangeLog b/dev-java/oracle-jre-bin/ChangeLog
index 55e1424c011f..825db23bb5b6 100644
--- a/dev-java/oracle-jre-bin/ChangeLog
+++ b/dev-java/oracle-jre-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/oracle-jre-bin
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/ChangeLog,v 1.64 2014/09/02 22:49:52 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/ChangeLog,v 1.65 2014/11/01 07:07:24 ercpe Exp $
+
+*oracle-jre-bin-1.7.0.71 (01 Nov 2014)
+
+ 01 Nov 2014; Johann Schmitz <ercpe@gentoo.org>
+ +oracle-jre-bin-1.7.0.71.ebuild, oracle-jre-bin-1.7.0.65.ebuild:
+ Oracle JRE update to latest cpu release
*oracle-jre-bin-1.8.0.20 (02 Sep 2014)
diff --git a/dev-java/oracle-jre-bin/Manifest b/dev-java/oracle-jre-bin/Manifest
index 77c2a22587e1..ae6ae61a3d84 100644
--- a/dev-java/oracle-jre-bin/Manifest
+++ b/dev-java/oracle-jre-bin/Manifest
@@ -8,19 +8,26 @@ DIST UnlimitedJCEPolicyJDK7.zip 7426 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a
DIST jce_policy-8.zip 8409 SHA256 f3020a3922efd6626c2fff45695d527f34a8020e938a49292561f18ad1320b59 SHA512 abbaa81a35f904ec61b4cf3c2d1ca8c8d49e53bb248e698185eea906939d68f5063412800585ec74027aab1012ef189aebe1dc99fe8ef4230a0ecb0b527f88e5 WHIRLPOOL 8c9ce1ea4673b75fa6271b74e598880f98361d5d2c9c25439fa0af3d07cfeb871b39682dae4e38160f49770b1fec953162e451b9b2cf44d2c72a226944212bcc
DIST jre-7u65-linux-i586.tar.gz 48423426 SHA256 f39d334650464d1084dd6e40fcfa0b6f9fa52fcdc549dc9312d9e13fefc5bdcb SHA512 240fdb36cdca74e7b99a70a0600433f40bf47365c2186a4b1fddc73856898e5fd414b22336787319906e917d37ab58769f948bdbfa3eb271bf6189d86395ce64 WHIRLPOOL 53fbf65d043d970bdec9798c138c2b91c3e4499f7acfea87bda02e94a4aedb9eb07866e63640b27961552a4aea58f34f7255950572ee9888b74561f3e4e1065b
DIST jre-7u65-linux-x64.tar.gz 47005094 SHA256 132d7770e74dc8d34039f0d452738b427501ba75e0ced8053491d31de0e6ab31 SHA512 20ec4cfe71927b47d931f19568411887015264538650925dd1662932714f051f554f44fc064ce65485579be23af3c69c992553cacfb0440a229ad62f7dfaf697 WHIRLPOOL c60b58e509229961f9be0831ac809f044a40b832bd0740e874a5957dca63e418b8f78545d454d6951be59119038bdacf81eb6efde1cef364e84714f0353625c1
+DIST jre-7u71-linux-i586.tar.gz 48461842 SHA256 b616145b22aafd53433bef76c873d50c4557469d15fc14bd852885cc4fa2947d SHA512 6d63fbcf2601660bb57c8496c024a5186ac41ef6fe96f8eb36e089a2a80bac4c26c43e356417e8ac7568685df005bda0fa4c74033e6501718ca90277ab75137e WHIRLPOOL 804ca029a0d4d8d345eba9f8924735bb82f74d47098f0ff876a4104c005bad2b2e69ba1585f7c11ebba43e4923bea7f85a8061902ce72a04b2df6acb411d3cdf
+DIST jre-7u71-linux-x64.tar.gz 47022510 SHA256 6d64e223a8da17efc098b71aa194c8d909faad432f3536a0cde57ca63b7bb017 SHA512 f8b6ecd42517e4b2b181247bd7154c9e9b4ac81e96d19ccf9d7780403179692cbf7f4ea08fa1410344c41ad3a7e7a37b1636dd9dca21fabd11eb43cfe988fc72 WHIRLPOOL cf0256007b6d0334e91517f9a0cbaad86a7d5cb4d74c6a3d61364a1b68b032d1159b31086c0a948f03c3432cc8d1f95656b368b0329558b2fa783e2cc4e36bcc
DIST jre-8u11-linux-i586.tar.gz 58188271 SHA256 b1348b4842cc23862ea9ef69f71674f49fc1197caec0a8d82502009568762442 SHA512 96b2641b95675769eb01d1a07390ed3417c1e46bd618cbf7abdaaef68e9e72050cb2efb67260602e6458d2c4f388cceda2b579262387ed6dfc82afded0a24a36 WHIRLPOOL 42710fa9c8bbcc1dad31047938ee08be7df9e51d7b89aaee2c6d52c88f3f0ed4109f2d24c83399e2a6e6117301c6aa9231176368b34876eea45226a998af2ffc
DIST jre-8u11-linux-x64.tar.gz 57081154 SHA256 17d0d015c3bd7e535490c6ce869655b6ac4024ba3dc39dc9ed743de4376750a4 SHA512 e8d7aaa89a566e7fdabf12fddfb8eecada98dbece9163bdbfdccc42f6a0a4d52bbf94ad1e5902c194460c653c05066f980fd937d6d8ffa5cced9eeb1f4d8b9ae WHIRLPOOL 54182e5ee3a3aa111eff1314a74db6cb4179359e723782300e2616eb1b930f9e54f5581d3e19d9649da234ce9ec501036e8dd068f619585d5cb43e7041b5e455
DIST jre-8u20-linux-i586.tar.gz 64515446 SHA256 340bb9bb882c90792439a3688e234c04378e03bf9cda39f1c9de2acbc3b159c1 SHA512 f2c6d2e2072e3f0334836976f3164cbfbeee08d5be60223a9995b19da75493b1c0a66683e20585a3cdbfedb5c896dd9d9c2b5e1f7caf58da54a35055ff6cb53a WHIRLPOOL cccede05074a49b5b7d26668353e37d480c1bce308bf2397c13974a912c7fe638569c5b7deed6b42d5b7f7ccfa2647418d917aeff6f22e87664cb5f4193ed0c0
DIST jre-8u20-linux-x64.tar.gz 62751094 SHA256 23f149928ae7d7f97d9b93eb859f197744ffad2d4082a96fcde24021a08cab34 SHA512 598fb645372d6c940a1626f7e92af8e66d6a3da844ecbdad6ccc930138750bf6e3926ca43e30e27c21ca46d8319e851a913f92959d5c2be35f41b8c0344b95d8 WHIRLPOOL e84ea54d05f87535440775c7b77a205c9440c8face6e0668d345e3011ce1dd5e7649bb5edb74440030f7cbde18dfb702f4fa5d4a0e13fc03ce625af9662ccba8
EBUILD oracle-jre-bin-1.7.0.65.ebuild 5184 SHA256 3ea2a2d54cc331b5a4a0dd7b513299748b2f955772f5904649f831c310d96eed SHA512 546107c37636fe7cbe188028ad2facddeca4a4a57172870d02c7f21a0a05fa461d9ba09abd78f140f99250999386c6b6e28f8eb08250e210e3e7b7888e8f422a WHIRLPOOL aa926cda6981df64178652ce6249d73ccd0f11c908c7d6672f9f7b54f88dc4c55c95651e351075537b955d16246ae112950dfe475eb3730f6b80d7b5985cbf2c
+EBUILD oracle-jre-bin-1.7.0.71.ebuild 5496 SHA256 6a1c44252b335fc8ad3b4dd3f3a0319fcd42880c0bbbb14e2069bc15ec66cc4c SHA512 af1854d56f17a2a466820f72dda4ce77621aa13812af08ba310c193880ed2b823f36565f61eba40ed5501d87124514e99121eea4a5841e1d6260e2b54a5b25b0 WHIRLPOOL 02d77a1d2644ca4be8c4a143fab6fac21b76292430632bebea57ad74085fde98e1ed428a11733ad9aa2d54ffbfcef8b2bb6b41a7f4595645b78599ae7ed1ffd4
EBUILD oracle-jre-bin-1.8.0.11.ebuild 5610 SHA256 b840d9cba111ee749b00144038169ed9218215f9da504572429ff96368d65be6 SHA512 9eaa3bd01ce51e8a95166d4b6eb099c4c6f3e6eec226bb5aedaf4b36f6f3b57f7561dbfc220c513f2d6017e06e605c042f149427369d54c02beae35b3885e5b2 WHIRLPOOL 1a20c131cb104452f930cb951c506ad903bf9e0d67743f7f90ff078e650305f77a149c814417bb173aa85a29cdd748dd9d74b43a8b16312ac9e46193b091261c
EBUILD oracle-jre-bin-1.8.0.20.ebuild 5611 SHA256 bf91fa9d97567c463ce137d998d0dfc761fc166eb29fdaacce30fd76dc77a50d SHA512 eafc6036c1c7be252ef30586e2fa1a6121ad892afd6b5e83b27f7b341b5201677b54b144736d2692ded7c929fa5c8d3727cdf9ab8d704ac1cc44ab5f00e610bf WHIRLPOOL 88f10639c9dd101c99d60704f35cf75e89160101afabe4bff688e0fa4801865b71f7177dcaa76c12f512e6f4b8465547d26289364c29091c55b022234829f293
-MISC ChangeLog 10894 SHA256 39a3269d427991fa201e669f5b3b2b48c34bb973d6b53af09582b1a7cbf3f620 SHA512 6ebb5c16a7698ffca67067dd5f9c6fb25fcfd89fa7b5551ea4177f3cffe63ceea08d2dd22178ecf826226e7497e92e32c2512dbd3ce77b74c84f6846c5983113 WHIRLPOOL f9868c1deb46f5208a0573e357afdc02090107ceb1c0302356ed6fd58aa2bcf86bae6aa25c8b83e318c0bd23a458c5d79c219f3f10101556b080d503e729ca42
+MISC ChangeLog 11093 SHA256 4d9965232d818f9b736638b05db4127e47c00c77142b63a173a66fc7bd458dc1 SHA512 2257e6521d730c0b1b8b7b5b6b94beb88b5926c4f4454ed40784f8607302c7e617f04435f87375a63258c4cbcceea90b9bbd0f43c6175c0024b769b78f3c2e97 WHIRLPOOL cb88a56a9e5bba488d78c3b7f2b340f3587807df6f3f3d64600f0c56dce0ee90f3723c7d45040f717e1ca45301e0e1a1ee56921cc063ec7cac87916473c99f10
MISC metadata.xml 446 SHA256 6c1b5ea55c7570c8ebdc2c59ebdd09a50fd3704202ba4d0210e07161d0be2d0f SHA512 4443bb556d293a8a7cc98f5956203b355255820c1d7b3650c75adc04c0c0e10fffd7751f22f2111a2f43c8dc451ba35719a94c25223fad5559d88d9701673ffe WHIRLPOOL 7a6430e9039f2a8d03f5874eea63e980998ee0756a1df4d15cb85f8afafcacc67ccd33b34f3cfe186586ebf7245b5b1760317e2a3cfe0dadd6da693a7e39203e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlQGSakACgkQsAvGakAaFgBYeQCfQJzy1Xyc6nUDL03OPmPokQTC
-LakAn0/nxxEj5RRjmqMnRz9pnh3tqh5+
-=FxOS
+iQEcBAEBCAAGBQJUVIatAAoJEKCEBkJ3xQHtl9IH/j2CSh65CWfaLZc/FT5PAFFs
+hPo5WLNeMXY/94RiZ1Dc+3BTgIvjHOn8o5UP1wVZlU/AnqPqyaOm+vtXLe3LDmCu
+SZvF2WIAYYoCBkZm/HzOczDSLti4WoXrr82zNYlBOygisUsFzQRiw6EvsZ1BcDKW
+QEIeCH0Aq9WHFz5o7wE3dLKrg0CRuYjvN19XX1o6iylHnnvXHCoC2sTQBqC5IGHA
+agsW9x8UnCBAzgeLbEClEcZuOUFGq7nxQ0U+k1l47NNZ2YpX17HkP0qPyaoijGHy
+vRGXft1VadzzPP9wwsGN81+YpFsCzljIBV3ggvB3QYNbxuxfWu1Ud2bFwU+JtLY=
+=afNr
-----END PGP SIGNATURE-----
diff --git a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.71.ebuild b/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.71.ebuild
new file mode 100644
index 000000000000..24d2fb6e2209
--- /dev/null
+++ b/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.71.ebuild
@@ -0,0 +1,185 @@
+# Copyright 1999-2014 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.71.ebuild,v 1.1 2014/11/01 07:07:24 ercpe Exp $
+
+EAPI="5"
+
+inherit java-vm-2 eutils prefix versionator
+
+MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
+S_PV="$(replace_version_separator 3 '_')"
+
+X86_AT="jre-${MY_PV}-linux-i586.tar.gz"
+AMD64_AT="jre-${MY_PV}-linux-x64.tar.gz"
+
+# This URIs need updating when bumping!
+JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.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} )"
+
+LICENSE="Oracle-BCLA-JavaSE"
+SLOT="1.7"
+KEYWORDS="~amd64 ~x86"
+IUSE="X alsa fontconfig jce nsplugin pax_kernel selinux"
+
+RESTRICT="fetch strip"
+QA_PREBUILT="*"
+
+COMMON_DEP="
+ selinux? ( sec-policy/selinux-java )"
+RDEPEND="${COMMON_DEP}
+ X? (
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/libX11
+ )
+ alsa? ( media-libs/alsa-lib )
+ fontconfig? ( media-libs/fontconfig )
+ !prefix? ( sys-libs/glibc )"
+# scanelf won't create a PaX header, so depend on paxctl to avoid fallback
+# marking. #427642
+DEPEND="${COMMON_DEP}
+ jce? ( app-arch/unzip )
+ pax_kernel? ( sys-apps/paxctl )"
+
+S="${WORKDIR}/jre${S_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
+
+ einfo
+ einfo "If the above mentioned urls do not point to the correct version anymore,"
+ einfo "please download the files from Oracle's java download archive:"
+ einfo
+ einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jre-${MY_PV}-oth-JPR"
+ einfo
+}
+
+src_prepare() {
+ if use jce; then
+ mv "${WORKDIR}"/${JCE_DIR} lib/security/ || die
+ fi
+}
+
+src_install() {
+ local dest="/opt/${P}"
+ local ddest="${ED}${dest}"
+
+ # Create files used as storage for system preferences.
+ mkdir .systemPrefs || die
+ touch .systemPrefs/.system.lock || die
+ touch .systemPrefs/.systemRootModFile || die
+
+ # 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 "${dest}"
+ cp -pPR bin lib man "${ddest}" || die
+
+ # This needs to be done before CDS - #215225
+ java-vm_set-pax-markings "${ddest}"
+
+ # see bug #207282
+ einfo "Creating the Class Data Sharing archives"
+ case ${ARCH} in
+ arm|ia64)
+ ${ddest}/bin/java -client -Xshare:dump || die
+ ;;
+ x86)
+ ${ddest}/bin/java -client -Xshare:dump || die
+ # limit heap size for large memory on x86 #467518
+ # this is a workaround and shouldn't be needed.
+ ${ddest}/bin/java -server -Xms64m -Xmx64m -Xshare:dump || die
+ ;;
+ *)
+ ${ddest}/bin/java -server -Xshare:dump || die
+ ;;
+ esac
+
+ # Remove empty dirs we might have copied
+ find "${D}" -type d -empty -exec rmdir -v {} + || die
+
+ dodoc COPYRIGHT README
+
+ if use jce; then
+ dodir ${dest}/lib/security/strong-jce
+ mv "${ddest}"/lib/security/US_export_policy.jar \
+ "${ddest}"/lib/security/strong-jce || die
+ mv "${ddest}"/lib/security/local_policy.jar \
+ "${ddest}"/lib/security/strong-jce || die
+ dosym "${dest}"/lib/security/${JCE_DIR}/US_export_policy.jar \
+ "${dest}"/lib/security/US_export_policy.jar
+ dosym "${dest}"/lib/security/${JCE_DIR}/local_policy.jar \
+ "${dest}"/lib/security/local_policy.jar
+ fi
+
+ if use nsplugin; then
+ install_mozilla_plugin "${dest}"/lib/${arch}/libnpjp2.so
+ fi
+
+ # Install desktop file for the Java Control Panel.
+ # Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
+ # make_desktop_entry can't be used as ${P} would end up in filename.
+ newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
+ sun-jcontrol-${PN}-${SLOT}.png || die
+ sed -e "s#Name=.*#Name=Java Control Panel for Oracle JRE ${SLOT}#" \
+ -e "s#Exec=.*#Exec=/opt/${P}/bin/jcontrol#" \
+ -e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
+ -e "s#Application;##" \
+ -e "/Encoding/d" \
+ lib/desktop/applications/sun_java.desktop > \
+ "${T}"/jcontrol-${PN}-${SLOT}.desktop || die
+ domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
+
+ # Prune all fontconfig files so libfontconfig will be used and only install
+ # a Gentoo specific one if fontconfig is disabled.
+ # http://docs.oracle.com/javase/7/docs/technotes/guides/intl/fontconfig.html
+ rm "${ddest}"/lib/fontconfig.* || die
+ if ! use fontconfig; then
+ cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
+ eprefixify "${T}"/fontconfig.properties
+ insinto "${dest}"/lib/
+ doins "${T}"/fontconfig.properties
+ fi
+
+ set_java_env
+ java-vm_revdep-mask
+ java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
+}