summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-12-19 18:30:38 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-12-19 18:30:38 +0000
commit9755c03a3333e1851a332246d35e13cb82dda3a5 (patch)
tree3349d7d04080d8ad37b0cefc651d5091e11e7d64 /dev-java
parentVersion bump (diff)
downloadhistorical-9755c03a3333e1851a332246d35e13cb82dda3a5.tar.gz
historical-9755c03a3333e1851a332246d35e13cb82dda3a5.tar.bz2
historical-9755c03a3333e1851a332246d35e13cb82dda3a5.zip
Version bump.
Remove vulnerable. Package-Manager: portage-2.1.11.31/cvs/Linux x86_64 Manifest-Sign-Key: 0x3C5CF75A
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/oracle-jre-bin/ChangeLog11
-rw-r--r--dev-java/oracle-jre-bin/Manifest25
-rw-r--r--dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.10.ebuild (renamed from dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.5-r2.ebuild)93
-rw-r--r--dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.5-r1.ebuild220
-rw-r--r--dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.6.ebuild229
-rw-r--r--dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.7.ebuild228
6 files changed, 37 insertions, 769 deletions
diff --git a/dev-java/oracle-jre-bin/ChangeLog b/dev-java/oracle-jre-bin/ChangeLog
index 9fd40793f846..a2833f882c98 100644
--- a/dev-java/oracle-jre-bin/ChangeLog
+++ b/dev-java/oracle-jre-bin/ChangeLog
@@ -1,6 +1,15 @@
# 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.25 2012/10/23 05:08:34 nativemad Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/ChangeLog,v 1.26 2012/12/19 18:30:24 sera Exp $
+
+*oracle-jre-bin-1.7.0.10 (19 Dec 2012)
+
+ 19 Dec 2012; Ralph Sennhauser <sera@gentoo.org>
+ -oracle-jre-bin-1.7.0.5-r1.ebuild, -oracle-jre-bin-1.7.0.5-r2.ebuild,
+ -oracle-jre-bin-1.7.0.6.ebuild, -oracle-jre-bin-1.7.0.7.ebuild,
+ +oracle-jre-bin-1.7.0.10.ebuild:
+ Version bump.
+ Remove vulnerable.
23 Oct 2012; Andreas Schuerch <nativemad@gentoo.org>
oracle-jre-bin-1.7.0.9.ebuild:
diff --git a/dev-java/oracle-jre-bin/Manifest b/dev-java/oracle-jre-bin/Manifest
index b33e8fb027f3..9823b4b15558 100644
--- a/dev-java/oracle-jre-bin/Manifest
+++ b/dev-java/oracle-jre-bin/Manifest
@@ -4,25 +4,22 @@ Hash: SHA256
AUX fontconfig.Gentoo.properties 11196 SHA256 9372ca516ff36609d846a9cb446dde3212e976c10166d8e231312d6238d1db0c SHA512 1802e52383a04efd0d7fb4d6a3903f99128dce90afcb10b9dd0d3515e5feafb807449024dbe5742c7dfa9d43736e474412e1a289e06b29cf3a58e59deedd56f9 WHIRLPOOL f4c5364255f8da18bf61501d6fac10972216182e891cadd90e2cccd27917caaeeb29cf3691e865ce02937904efb30716fd8de2fca875929ff89b06ada2cff0b6
AUX oracle-jre-bin-1.7.env 1035 SHA256 fc49633539a944a9d684b2d33b8c4a25f2d6d68e82fe644adbf2a499c178617b SHA512 a075562804594b6a3187e0c0e58f93883ead699470dd0ff8a37e717b3af52e3d6cf0757df43d507e149e1bcb2814e53eef14388ce8d513c174d0a813524e3815 WHIRLPOOL 7d08a3bc883cc2d3de3d37d46366b24b2bed4ce35233ab2f1ac4179adfa30787cb3bc948bf074d2ba59151352ab453a08efa2436281079623066e6f8303a00bf
DIST UnlimitedJCEPolicyJDK7.zip 7426 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a56ea603c9150c87b7cdb7800194d SHA512 02eca7da8f3fffea388431d5352290535a63d53a1f5c795d6511ccba62445787a0ee6ad4bc1852e5262860b6d607ba2a8c6a3dbb0c3e1d7c3a67ac7bbc783204 WHIRLPOOL 02460c7ca54f5f62c3f349addf8e2a101f7a56987e9f62365fac3f703b0c93ac5de4d55697a3d04f78b547b072e0acc95a0720d2ce3b429d2fd5936d50edd1ac
-DIST jre-7u5-linux-i586.tar.gz 34374469 SHA256 868ce9d35f53bb421b4a31e8f0ce32f6aaccf93e47a2db9e3dd590aa7ffe10c3 SHA512 af6d2631aeb2c2ed712c85634ed9906cd3198c7c9235fe725354903332e926774149147338ee1fee04d62588d3e01ba4987b9790f0a1014c7f2d68a566c0a429 WHIRLPOOL a17eba3829750c0344b5aee33683693b2214016d4d553eaa998ef48336124e3ff8b8d2df067d91f4e60f7536aa64ee7e811042e48545a9477605b8016bc75ff0
-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
+DIST jre-7u10-linux-i586.tar.gz 48107401 SHA256 0e91c275a87dc1ba049df3cfef16eb958199d80e55bea6a3555900d309615199 SHA512 62f6d6c983fa48e21fef52fc73f13aa30c8b0512fc8d243d341ac465c10c19cd3d8a3f0b93f127e42eac102c0b00cc65502acb8f7dd85593f75a7cd73c5ef8ae WHIRLPOOL be81fa175a52d498598c15b19c3d7ea42fe1814647ac9d0b8684a1a0da6dd0676e7b39514ea400bfcacdb51e4689352beca358bfeef4d3e6cd1219259f8d4786
+DIST jre-7u10-linux-x64.tar.gz 46789584 SHA256 a2a45566f4a87e70c0e13577d3bf2b7eeabcdda3279958a75ded1ece96e070d1 SHA512 9d931f53b83d87458adda191ca4cef7374a3768999c961f8634e77f9bd3fe830e615d85406f5c1d47a3eb3d18d062ee4d5f9c86bc4741eab8ae7cc1752c76219 WHIRLPOOL 01dbdd4ced63598152dfd1662bf2d67a39970493694ffb9ff9d0823579d71a0cc8ace67ae39b8a357797e3f4cb523cb7bcf74c630346f3db73fca292a55e54c3
DIST jre-7u9-linux-i586.tar.gz 47995690 SHA256 37310199e770f10d8e5f9410757062655b66723ca2b8c4dd29d9a4e9bd7d98bd SHA512 f3d4fcbd14e3b7c12a3caec5458f60378d1d5e86de89669bd8baa0d137915bba5049cce50304f7e9241e4f3baf96371be80a157763581faa9b87b0f1defffe3f WHIRLPOOL 478482805554188d844ac7d1ced6c6e7fcd1ae5d07a3f527c4a388de887f075e1f4cd840d7859a81cc6176e34db354c6229064619c57e841368974f5325afb52
DIST jre-7u9-linux-x64.tar.gz 46684531 SHA256 16b573b3f4c18f088fc30786e5d62efc594448e7407180ffaf13a3c67cc4ed0b SHA512 390c9118c0f93f36b37488b9efa29cf1dafb1e17ae8396c89b19b2da6a42fb3e3ad748c629fa6fe07b88ed33baaa17cefc0c7eefe702a87b879826bdf8fa1be6 WHIRLPOOL 20b908a64dbb3a96843f09e514436bec2d70ffa5e1f749b7336954fc2aaf96fb5c487ca95f12ea888b30a23aff213893e95b451ff7ea03e032f9ba1d7a4cf0cc
-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
-EBUILD oracle-jre-bin-1.7.0.7.ebuild 7327 SHA256 eca8b86f309bad51546806c607037da26bc1cccc665b190e219b9c40ca5e1676 SHA512 e7604a949cabc63db34e48a21f1b68e8f9752b67fdd8ebb89894904770277477f05829d216a72f1d60e4f7d8ee060a9b6c01645383510396e76803235a89da85 WHIRLPOOL 1165e3c1fc2cc443c0a5e59da745ba0b5d52a3e81749040542e6f308bd06b17a4a1806518f976b9a5682925169032a1601519760a33cbded6ba1d8ae8ad81ba3
+EBUILD oracle-jre-bin-1.7.0.10.ebuild 4833 SHA256 1362523c68363b8b63825309bbd3a52bfe186aa58555cda8dcf04b9578166dce SHA512 08e223ba2fe9ddc50f12181b1ffc115f281710b2115d033d8c3dbafc2c21e8e3d5a30265b8abe71d81ad8405d879f4c650fa727b18fe0eeece956689b85d2220 WHIRLPOOL 8e42895a8d2d90522e8b43d9f36e2b5844b7366e5af2ca96cd1bf99547527134b2e1d0532a057b0b34f5a0b26c4f9d8659083716d522f3a41379f77347442ddb
EBUILD oracle-jre-bin-1.7.0.9.ebuild 4868 SHA256 34729b52dd931c68a932a642e4c7eed9647291c5c3b3a1b4123b705c51acc50f SHA512 8a7b94855b76487452f33a609ea43fc85ed257b13226af572e386d4c8e0c38cd07ab3762e255d9647d16ad717866ea083584a9dd4d6f7adb3cab9c714cb33338 WHIRLPOOL 75c1b6a43425982f1df13e3114c28f94f5d9f293257f828a73454ba16b4e8ab121770ab76f877b8349f1f2e9a1d17b0e4783dc9b22ef9adde8e76059c988b3d5
-MISC ChangeLog 4456 SHA256 3f66e34ec275371afc03c36c12c2faa58bc752ed9d985f4f598c222042dcc25a SHA512 854d885f784a3c0aec8ac6d6b9ba254e8f9789d04adfdffe372b70a3bcaf0546241b407a251b3e8c54720a2db7dba5a0bce7b8a455579682c70df47f3a738ed8 WHIRLPOOL b8f46dae2f6fc477445ffc3ee2c8f5f164c5280c35f92b6ed499148b3be8e609d0abbeb8b30d2706ea5e141068883821e74895053bc4bd025fe4a0fe15882cd6
+MISC ChangeLog 4752 SHA256 dd56db3ce0d1620ca6482af3ba9867f910aaa1fae6de279829548348e193de8c SHA512 bcc100a7661fa719e09721d0e76f4f4b92280c374b4e4ef2d9637ef569fbe56c08da6f63e88a00d34cfc9cc53d56756b071cbdf0356216b95138c4465c861c59 WHIRLPOOL 85a040b1149c874971e6f746e8c79141caabc8d4f8efec272ca7b52bb94a7129aafa981cad40e6bb5e30384be275196531466d00f9ecae07cb40833d0cfb9102
MISC metadata.xml 446 SHA256 6c1b5ea55c7570c8ebdc2c59ebdd09a50fd3704202ba4d0210e07161d0be2d0f SHA512 4443bb556d293a8a7cc98f5956203b355255820c1d7b3650c75adc04c0c0e10fffd7751f22f2111a2f43c8dc451ba35719a94c25223fad5559d88d9701673ffe WHIRLPOOL 7a6430e9039f2a8d03f5874eea63e980998ee0756a1df4d15cb85f8afafcacc67ccd33b34f3cfe186586ebf7245b5b1760317e2a3cfe0dadd6da693a7e39203e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlCGJMAACgkQakKUmsHeVLKpTACgiTckUekKgSIjVLm+IA1lSxy6
-jFgAnArrFaxg3FldJgB5VXm5kcxZtn5a
-=ofh6
+iQEcBAEBCAAGBQJQ0ggzAAoJELjwI6Q8XPdaBSQH/2nXP6Xn8wdZry3P0zW44pxT
+YBm40e5M0TtLzphOo+85Eb6eWAV2DCuWnoIhbBbv6o60A+We5HbTdWwgJ27E3IJO
+yvniDwdJPkMEe+pkitwRytymLnWC+XYRrIIjtS0EFhU/DJNSd0AHwwhz12fLfggU
+slzP9F/sUadNPBwhcUjlhX7emA/E4bgZB0cVS+tUCd6oZ4cthyj7Nwms6w3kUJMB
+/Ew5+ELXfDx6xfts2v10rpgC22OI7ReYpqjdOmzVNBLR/ihjhav9l2jgymzDTTZZ
+ZpeEG2QxFK03wBD8VOkNdR1YdKN6VbME4XsX0Sfcx8PsS9WwQI1UkItxtllr61M=
+=qwiN
-----END PGP SIGNATURE-----
diff --git a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.5-r2.ebuild b/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.10.ebuild
index 21a520c61f20..4ccebec96043 100644
--- a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.5-r2.ebuild
+++ b/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.10.ebuild
@@ -1,20 +1,19 @@
# 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.5-r2.ebuild,v 1.1 2012/07/23 17:28:56 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.10.ebuild,v 1.1 2012/12/19 18:30:24 sera Exp $
-EAPI="4"
+EAPI="5"
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}"
+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-1637588.html"
+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"
@@ -30,9 +29,10 @@ SRC_URI="
LICENSE="Oracle-BCLA-JavaSE"
SLOT="1.7"
KEYWORDS="~amd64 ~x86"
-
IUSE="X alsa fontconfig jce nsplugin pax_kernel"
+
RESTRICT="fetch strip"
+QA_PREBUILT="*"
RDEPEND="
X? (
@@ -60,14 +60,14 @@ pkg_nofetch() {
AT=${AMD64_AT}
fi
- einfo "Please download ${AT} from:"
- einfo "${JRE_URI}"
- einfo "and move it to ${DISTDIR}"
+ 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}"
+ einfo "Also download '${JCE_FILE}' from:"
+ einfo "'${JCE_URI}'"
+ einfo "and move it to '${DISTDIR}'"
fi
}
@@ -144,7 +144,9 @@ src_install() {
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#" \
+ -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
@@ -164,66 +166,3 @@ src_install() {
java-vm_revdep-mask
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
}
-
-QA_TEXTRELS_x86="
- opt/${P}/lib/i386/client/libjvm.so
- opt/${P}/lib/i386/server/libjvm.so"
-QA_FLAGS_IGNORED+="
- /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_FLAGS_IGNORED+="
- /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
diff --git a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.5-r1.ebuild b/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.5-r1.ebuild
deleted file mode 100644
index 2ce9bd203b34..000000000000
--- a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.5-r1.ebuild
+++ /dev/null
@@ -1,220 +0,0 @@
-# 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.5-r1.ebuild,v 1.2 2012/07/14 21:07:10 jdhore 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 jce nsplugin"
-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 )
- !prefix? ( sys-libs/glibc )"
-DEPEND="
- jce? ( app-arch/unzip )"
-
-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() {
- # 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
- find "${D}" -type d -empty -exec rmdir -v {} + || 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/US_export_policy.jar
- dosym /opt/${P}/lib/security/${JCE_DIR}/local_policy.jar \
- /opt/${P}/lib/security/local_policy.jar
- fi
-
- if use nsplugin; then
- install_mozilla_plugin /opt/${P}/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
-
- # bug #56444
- cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
- eprefixify "${T}"/fontconfig.properties
- insinto /opt/${P}/lib/
- doins "${T}"/fontconfig.properties
-
- # bug #388127
- dodir /etc/sandbox.d
- echo 'SANDBOX_PREDICT="/dev/random:/proc/self/coredump_filter"' > "${D}/etc/sandbox.d/20${VMHANDLE}"
-
- set_java_env
- java-vm_revdep-mask
-}
-
-QA_TEXTRELS_x86="
- opt/${P}/lib/i386/client/libjvm.so
- opt/${P}/lib/i386/server/libjvm.so"
-QA_FLAGS_IGNORED+="
- /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_FLAGS_IGNORED+="
- /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
diff --git a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.6.ebuild b/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.6.ebuild
deleted file mode 100644
index bef1d55adff6..000000000000
--- a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.6.ebuild
+++ /dev/null
@@ -1,229 +0,0 @@
-# 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.6.ebuild,v 1.1 2012/08/19 10:03:35 patrick 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_TEXTRELS_x86="
- opt/${P}/lib/i386/client/libjvm.so
- opt/${P}/lib/i386/server/libjvm.so"
-QA_FLAGS_IGNORED+="
- /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_FLAGS_IGNORED+="
- /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
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
deleted file mode 100644
index ab3a2ecca260..000000000000
--- a/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.7.ebuild
+++ /dev/null
@@ -1,228 +0,0 @@
-# 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.3 2012/09/13 07:17:42 phajdan.jr 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/jre7u7-downloads-1836441.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