diff options
author | Vlastimil Babka <caster@gentoo.org> | 2012-08-31 10:31:04 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2012-08-31 10:31:04 +0000 |
commit | 9d7114cc75cebe7cc2e51bc685d108871c7a4380 (patch) | |
tree | 50f6450fdef75f9498a5ac5df3de98af174440d4 /dev-java/oracle-jre-bin | |
parent | Version bump, bug #416797. (diff) | |
download | historical-9d7114cc75cebe7cc2e51bc685d108871c7a4380.tar.gz historical-9d7114cc75cebe7cc2e51bc685d108871c7a4380.tar.bz2 historical-9d7114cc75cebe7cc2e51bc685d108871c7a4380.zip |
Version bump, security bug #433094.
Package-Manager: portage-2.2.0_alpha121/cvs/Linux x86_64
Diffstat (limited to 'dev-java/oracle-jre-bin')
-rw-r--r-- | dev-java/oracle-jre-bin/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/oracle-jre-bin/Manifest | 5 | ||||
-rw-r--r-- | dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.7.ebuild | 228 |
3 files changed, 239 insertions, 2 deletions
diff --git a/dev-java/oracle-jre-bin/ChangeLog b/dev-java/oracle-jre-bin/ChangeLog index 42b20b56f68d..525dd091445a 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-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/ChangeLog,v 1.20 2012/08/19 10:03:35 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/ChangeLog,v 1.21 2012/08/31 10:31:04 caster Exp $ + +*oracle-jre-bin-1.7.0.7 (31 Aug 2012) + + 31 Aug 2012; Vlastimil Babka <caster@gentoo.org> + +oracle-jre-bin-1.7.0.7.ebuild: + Version bump, security bug #433094. *oracle-jre-bin-1.7.0.6 (19 Aug 2012) diff --git a/dev-java/oracle-jre-bin/Manifest b/dev-java/oracle-jre-bin/Manifest index f8891febde97..7c56b6c9e9e9 100644 --- a/dev-java/oracle-jre-bin/Manifest +++ b/dev-java/oracle-jre-bin/Manifest @@ -5,8 +5,11 @@ DIST jre-7u5-linux-i586.tar.gz 34374469 SHA256 868ce9d35f53bb421b4a31e8f0ce32f6a DIST jre-7u5-linux-x64.tar.gz 32874759 SHA256 8134bb879ae01969fb6699d8d810b367aaac9f64ed385db2bcf5373a0a417fbc SHA512 d2979b843bdd4d665889d875bf1c191543f6878ae51e3ffaff951666521526767b2fb8dea7a1de111778279e47a8af71cae466a8cb54f66581a34568bab84532 WHIRLPOOL 12d4d1d4d921996fa0a6d8509a0db5fc42c4d8900431a2955708b11dfd2b1ffb04f9b4a6e35993778101cbb54ca9556d883c4082ea9f7562a0d79686dbc7a17c DIST jre-7u6-linux-i586.tar.gz 47990364 SHA256 d27962df20775927ac17bc853f923b36bf851350613af56c226f0a1de94e1ac7 SHA512 ef3cf0bab112809cb7807302b75e2608faa559de6a7ea41aca08944ff7e86444e45c38460cf4c39a237cc56519717799f38d7ad76cf53553e874a4fdd01ee368 WHIRLPOOL 61b63c6a461c5798e88399b1d549706a0ac10c1dd10db7739f338a96884f6a37877259ca59a26d67bd29e4281388b66b8ad10b871c9658202d62bdbee292dbcc DIST jre-7u6-linux-x64.tar.gz 46688213 SHA256 e11ff2026a814d538dd6551d08d8f409b935239e7cdcdd3ff44a6a16fddb01c9 SHA512 4146c8d9317e6f0622b9e2059be8ae0f6f80c8a59c43d3a715232e7d7e3a1a0122247c1f5dd9a4d548d0bb0622987da9e1c0cafbffbb840e093b46af956b3d92 WHIRLPOOL abed002371d37aacaacbbb991d2398d16d089102221ae3731ee2a13528c5a3d81b9318a5163c6220ce677ea043024353df62da40c5f405f3f07636801193c585 +DIST jre-7u7-linux-i586.tar.gz 48010449 SHA256 bcee505ede8024b1d74172dd93dc172ae63de271e7bbd755e0b2c0e9e2b12e5e SHA512 c063c84fe260d5da828730937f42131e328b51e006932ac118fcae88e62ba53ae1d6af8bebb6501db12f6f820d5b24cc40d21b533d5724804884db7435510657 WHIRLPOOL 1b2e20cd05c822e16f8fb1bf9c58a5f3d889ea13911ab90f1d0d63ac83d957522a73525b8b64c1def6405c6436e3eaee2e140d63a1266fea8a5505281b1df2d6 +DIST jre-7u7-linux-x64.tar.gz 46678823 SHA256 295dcfb6074bf4a9e960755129b7488d96361c534b327b168b80e497276426bd SHA512 620be30504560c31f323561edf1764fabffffd0a35fb11defc48f7053f39d1f238f1625816dbdee96353405bddbd5b371aabf42ace7d7bf015aaf81b61f08d3f WHIRLPOOL cab45afafba8ebc40dcbb7c15cbd2ff3def4b92eaadb7f570732b0cfc8b722db99d534c23aede00b000d23c22e6cb966bd4e875815102dafad5e110f0c8acd40 EBUILD oracle-jre-bin-1.7.0.5-r1.ebuild 6954 SHA256 99765e41551588f35ae67663f8b43ed72690a55e0e73adc946cd5995ffc1bfc0 SHA512 93f4d1d77b1628c84e9e7c4c6930fa045cd730af55fd8b76d4473a9643d75b494dcecb5e6ff71c28754f56a62b304739f30aa01152630ed36b23098d8f709707 WHIRLPOOL cd6a299d40bb3fc80746bdf8567b1b71c10310551c1486e109540bb0bdc2af38c4aaa58f1e432c50d4fa81fd38b4db7e9807c8db2f998a06b1352d55a98d3a7a EBUILD oracle-jre-bin-1.7.0.5-r2.ebuild 7353 SHA256 8a86d57b26d287354e740d64d41e077ac527f83bdb18867721cb95b518fd2e12 SHA512 cdcad691e262183eae4848676f3769ead12db03f3f6824d05832dd037ae22dd7f0dc8c06865c4e16106038f1056dbb48edae287f2bd8a5dfbc955f62085f7574 WHIRLPOOL 7c2442f162ddce7d6dfbf39386110686bb5bb89d91c4ec083fb8378b7ec2d95d99fb7e05c48b77f3ea4fd10c5a2044c204e63232ae3f1adfb3ba29a4e056159f EBUILD oracle-jre-bin-1.7.0.6.ebuild 7353 SHA256 9f9545c81fc585d776e6ea09836e21698f97222d61a509f17b0d22424a6b3766 SHA512 03fb8fcf34165347af60010463360148ee97e64634b526648dd31079c714e91f5bea80ccb66be6530df9ea826b9f885246063cdf1893e8b5830c7529e13e416c WHIRLPOOL f5bfdc37a911967a32a3ab6210c193051e8de4725a8dd454299640f755d68c656df2f3b8f65c825d0c816e55d64f429ac7bea4c522c185859b5ed734505f2304 -MISC ChangeLog 3697 SHA256 516c25722a214b6d9bf2512fca5cb5003b49ba4153b3d3f6f1bf06295a1c2e8b SHA512 057db12c637e78f1c59768828efb23b84f523b100562918ed41f5ac71a52ecfa74b059464efe9b4101f88ca3e870e55d3da16522e068d328195705a140bf9a75 WHIRLPOOL 9949d3f481ab1498fb7e75e7aff87cfb275fbc0f6e43f4fab990f8b32120a66c892ed730edf2f556e124dd4ba9445d4d6806d4c71a4e9d681a725ace5b8f4a78 +EBUILD oracle-jre-bin-1.7.0.7.ebuild 7322 SHA256 c73ce0c6d90cbd459b2b66980d2261f43ee19aeb45667402ab33778b2cf8c411 SHA512 0d26d318d8361f29eb45a54b5e342d23b813a95e2af3225c4ec9d730c148b06d03fecf7662a155b926455f2c115002082e54a4937df54070ca5119f4aa2e9cb2 WHIRLPOOL 25279d58eecbe70eb0e36aba1458dcc7888232b30edeaafc6176af4a9c05bfed24c6feb654fdf39c50b0446b8554d52a21df1795ac02194c67250b09ddd92b1c +MISC ChangeLog 3859 SHA256 d70045cba7cafa3f437697275379e7112b8cbc5d65e7f141b960d5ef07fd1275 SHA512 249e192d70b0235beb07f4a63ae9cbfda0ccb169317e2c35fae56ae5d38dc42ece71b0b1bfa6005e6fd3248c104d631c41bddf93401332bbfc13cd1cddd523ea WHIRLPOOL ec06312ba8a5530de47350ec36d4175b957905de14a8e1eda74bbea8ecf491f79529e9e57c02023e5a9ba3b547e74a363162841ccffa92bfb863df6b1d7bad89 MISC metadata.xml 446 SHA256 6c1b5ea55c7570c8ebdc2c59ebdd09a50fd3704202ba4d0210e07161d0be2d0f SHA512 4443bb556d293a8a7cc98f5956203b355255820c1d7b3650c75adc04c0c0e10fffd7751f22f2111a2f43c8dc451ba35719a94c25223fad5559d88d9701673ffe WHIRLPOOL 7a6430e9039f2a8d03f5874eea63e980998ee0756a1df4d15cb85f8afafcacc67ccd33b34f3cfe186586ebf7245b5b1760317e2a3cfe0dadd6da693a7e39203e diff --git a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.7.ebuild b/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.7.ebuild new file mode 100644 index 000000000000..08383e0ee9a0 --- /dev/null +++ b/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.7.ebuild @@ -0,0 +1,228 @@ +# Copyright 1999-2012 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.7.ebuild,v 1.1 2012/08/31 10:31:04 caster Exp $ + +EAPI="4" + +inherit java-vm-2 eutils prefix versionator + +UPDATE="$(get_version_component_range 4)" +MY_PV="$(get_version_component_range 2)u${UPDATE}" +S_PV="$(get_version_component_range 1-3)_0${UPDATE}" + +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-1637588.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" +RESTRICT="fetch strip" + +RDEPEND=" + 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=" + 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 +} + +src_prepare() { + if use jce; then + mv "${WORKDIR}"/${JCE_DIR} lib/security/ || die + fi +} + +src_compile() { + # This needs to be done before CDS - #215225 + java-vm_set-pax-markings "${S}" + + # see bug #207282 + einfo "Creating the Class Data Sharing archives" + if use x86; then + bin/java -client -Xshare:dump || die + fi + 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() { + local dest="/opt/${P}" + local ddest="${ED}${dest}" + + # 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 + + # 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}.png#" \ + 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 +} + +QA_PREBUILT=" + opt/${P}/lib/i386/client/libjvm.so + opt/${P}/lib/i386/server/libjvm.so + /opt/${P}/bin/java + /opt/${P}/bin/java_vm + /opt/${P}/bin/javaws + /opt/${P}/bin/keytool + /opt/${P}/bin/orbd + /opt/${P}/bin/pack200 + /opt/${P}/bin/policytool + /opt/${P}/bin/rmid + /opt/${P}/bin/rmiregistry + /opt/${P}/bin/servertool + /opt/${P}/bin/tnameserv + /opt/${P}/bin/unpack200 + /opt/${P}/lib/jexec" +for java_system_arch in amd64 i386; do + QA_PREBUILT+=" + /opt/${P}/lib/${java_system_arch}/headless/libmawt.so + /opt/${P}/lib/${java_system_arch}/jli/libjli.so + /opt/${P}/lib/${java_system_arch}/libawt.so + /opt/${P}/lib/${java_system_arch}/libdcpr.so + /opt/${P}/lib/${java_system_arch}/libdeploy.so + /opt/${P}/lib/${java_system_arch}/libdt_socket.so + /opt/${P}/lib/${java_system_arch}/libfontmanager.so + /opt/${P}/lib/${java_system_arch}/libhprof.so + /opt/${P}/lib/${java_system_arch}/libinstrument.so + /opt/${P}/lib/${java_system_arch}/libj2gss.so + /opt/${P}/lib/${java_system_arch}/libj2pcsc.so + /opt/${P}/lib/${java_system_arch}/libj2pkcs11.so + /opt/${P}/lib/${java_system_arch}/libjaas_unix.so + /opt/${P}/lib/${java_system_arch}/libjava_crw_demo.so + /opt/${P}/lib/${java_system_arch}/libjavaplugin_jni.so + /opt/${P}/lib/${java_system_arch}/libjava.so + /opt/${P}/lib/${java_system_arch}/libjawt.so + /opt/${P}/lib/${java_system_arch}/libJdbcOdbc.so + /opt/${P}/lib/${java_system_arch}/libjdwp.so + /opt/${P}/lib/${java_system_arch}/libjfr.so + /opt/${P}/lib/${java_system_arch}/libjpeg.so + /opt/${P}/lib/${java_system_arch}/libjsdt.so + /opt/${P}/lib/${java_system_arch}/libjsig.so + /opt/${P}/lib/${java_system_arch}/libjsoundalsa.so + /opt/${P}/lib/${java_system_arch}/libjsound.so + /opt/${P}/lib/${java_system_arch}/libkcms.so + /opt/${P}/lib/${java_system_arch}/libmanagement.so + /opt/${P}/lib/${java_system_arch}/libmlib_image.so + /opt/${P}/lib/${java_system_arch}/libnet.so + /opt/${P}/lib/${java_system_arch}/libnio.so + /opt/${P}/lib/${java_system_arch}/libnpjp2.so + /opt/${P}/lib/${java_system_arch}/libnpt.so + /opt/${P}/lib/${java_system_arch}/librmi.so + /opt/${P}/lib/${java_system_arch}/libsctp.so + /opt/${P}/lib/${java_system_arch}/libsplashscreen.so + /opt/${P}/lib/${java_system_arch}/libsunec.so + /opt/${P}/lib/${java_system_arch}/libt2k.so + /opt/${P}/lib/${java_system_arch}/libunpack.so + /opt/${P}/lib/${java_system_arch}/libverify.so + /opt/${P}/lib/${java_system_arch}/libzip.so + /opt/${P}/lib/${java_system_arch}/server/libjvm.so + /opt/${P}/lib/${java_system_arch}/xawt/libmawt.so" +done |