summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Fetka <mario.fetka@gmail.com>2017-06-17 17:24:31 (GMT)
committer Mario Fetka <mario.fetka@gmail.com>2017-06-17 17:24:31 (GMT)
commit152fdaa3bddad9136fc32cd17c7b2ed99d583637 (patch)
tree8508a4c858aff5993e098239d401eaf2c8b515a2
parent8f2efc5fa3f37d22a38d84e29184dffc91aa8133 (diff)
remove jdk8 package
Package-Manager: Portage-2.3.5, Repoman-2.3.2 RepoMan-Options: --force
-rw-r--r--dev-java/oracle-jdk-bin/ChangeLog6
-rw-r--r--dev-java/oracle-jdk-bin/Manifest18
-rw-r--r--dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.60.ebuild4
-rw-r--r--dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.45.ebuild320
4 files changed, 9 insertions, 339 deletions
diff --git a/dev-java/oracle-jdk-bin/ChangeLog b/dev-java/oracle-jdk-bin/ChangeLog
index 5c3501e..95e05c4 100644
--- a/dev-java/oracle-jdk-bin/ChangeLog
+++ b/dev-java/oracle-jdk-bin/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for dev-java/oracle-jdk-bin
-# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/ChangeLog,v 1.48 2013/12/25 13:36:21 grobian Exp $
+ 17 Jun 2017; Mario Fetka <mario@gentoo.org> -oracle-jdk-bin-1.8.0.45.ebuild,
+ oracle-jdk-bin-1.7.0.60.ebuild:
+ remove jdk8 package
+
*oracle-jdk-bin-1.8.0.45 (09 Jul 2015)
09 Jul 2015; Mario Fetka <mario.fetka@gmail.com>
diff --git a/dev-java/oracle-jdk-bin/Manifest b/dev-java/oracle-jdk-bin/Manifest
index 666e49f..fcfe0e5 100644
--- a/dev-java/oracle-jdk-bin/Manifest
+++ b/dev-java/oracle-jdk-bin/Manifest
@@ -4,7 +4,6 @@ AUX oracle-jdk-bin-1.7.env 1000 SHA256 a2422630fc1dd9851b580e42b065d44460d9ec818
AUX oracle-jdk-bin-1.8.env 1000 SHA256 d33b7ac8c8466d97269dd81b4e698db0cc785fbc9c80dfa6e0887e493ff2b6a2 SHA512 425fffd340f9040228ced927026e3108a4ccfeebd7115f6166dc2edb673d6866fc8dc10007fa272b110c5cfdd52e364ae6a27cdee9738d3a3ce027d2d1374370 WHIRLPOOL 3d8adfc6add8c6ae878ed79faec8468682a10bd7329d0a9993feffbf89a311eb2a7a75ba160db01217d2c52389754543404108e27c0fbca46497ca942b2004bb
DIST UnlimitedJCEPolicyJDK7.zip 7426 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a56ea603c9150c87b7cdb7800194d SHA512 02eca7da8f3fffea388431d5352290535a63d53a1f5c795d6511ccba62445787a0ee6ad4bc1852e5262860b6d607ba2a8c6a3dbb0c3e1d7c3a67ac7bbc783204 WHIRLPOOL 02460c7ca54f5f62c3f349addf8e2a101f7a56987e9f62365fac3f703b0c93ac5de4d55697a3d04f78b547b072e0acc95a0720d2ce3b429d2fd5936d50edd1ac
DIST javafx_samples-2_2_60-linux.zip 21220772 SHA256 4963394cfdc7bc47b693353a5957a1d3b86dfff800d8d2a725a596090d7c9def SHA512 8347a7b20c8260379eceb2950d384ebfdf542df595eda18ec0e57e92b35393df37815340858a8c64d9422741331c443c5bc096b03f067a4d0cb50ec0c0d70760 WHIRLPOOL 2d84ceda852567cbfbff617181603ef8e162effaa15afeafeb756d05b831a97963817a8594a2551b0c465a756fbd9234864f79371b824fc2634f1f7bf50f6ae9
-DIST jce_policy-8.zip 8409 SHA256 f3020a3922efd6626c2fff45695d527f34a8020e938a49292561f18ad1320b59 SHA512 abbaa81a35f904ec61b4cf3c2d1ca8c8d49e53bb248e698185eea906939d68f5063412800585ec74027aab1012ef189aebe1dc99fe8ef4230a0ecb0b527f88e5 WHIRLPOOL 8c9ce1ea4673b75fa6271b74e598880f98361d5d2c9c25439fa0af3d07cfeb871b39682dae4e38160f49770b1fec953162e451b9b2cf44d2c72a226944212bcc
DIST jdk-7u60-linux-arm-vfp-hflt-demos.tar.gz 10420147 SHA256 1090408eee69749b3dd796038e954b09a06db1da4c739fd7eb5d070247b158cd SHA512 47948e964036ccd7622b4810477f75950800b6d2799761e26acd76f3897375370bd98166754bf75e4582219e40ed5d9e9336ad763fe3429b2e94ac9c71e38fa4 WHIRLPOOL a55987fcdaf865ff08bf603ca98352b7097efad3693485c4fdfcc439a61fbbc8d5e9ac05368630cf8e1344058826735b72542c6c50bf87678a51c64b8d8d6deb
DIST jdk-7u60-linux-arm-vfp-hflt.tar.gz 71085745 SHA256 71968c9893310a9338f4434257c1a188d41080335105bcb9b64051336d3c5fcd SHA512 b2d7a1394e3074840c64394b6224e78c84830d141110550cb6201a935b93942176286170098347fdab7e7625828c993b4bfed87dfd1970fbbd3cca0130c05f45 WHIRLPOOL e7e52a969348612314e16130fcafdf0210b49369e91ff6c2710050a116da072955646989ddf173aab6ddbd245fe22e5880fc796bdc25b55a686fce7537e30028
DIST jdk-7u60-linux-arm-vfp-sflt-demos.tar.gz 10207536 SHA256 4ee04c62137194d0b358dd06ff64d4e31afa995b4ce2dd66fbac72b67dc7c47f SHA512 350aca113da260e7fa6c59d4821e801a0bfb397011d1d90d04dd2ca9c8f8ee60be8a0b9cad6a4e31301c134ad97ee36a1e8814a2c84c46f9981ffd47b01b3eb6 WHIRLPOOL 43023ee011c1a239511278920f753b33e26761e9d278a20e7fee6d35375f69ce2c5715577ccaf0070f42553a375c6559e81944266bb3e441d3b488411a5bb9e4
@@ -23,19 +22,6 @@ DIST jdk-7u60-solaris-sparcv9-demos.tar.gz 905717 SHA256 4b3a6bc11b1981860615232
DIST jdk-7u60-solaris-sparcv9.tar.gz 19291928 SHA256 709d2cf1ce7d9aad674561182bbf8aee6a8f53040d90e582b04333389c5d1fc3 SHA512 3f46b056e55cd7adafa3585c1aa8ccb90dca9b16377c08ae207c9c7f3ac63621477f372515819b300b6ee785b2f73d38c673c3c0d82d16969f8089f1d0c53c2f WHIRLPOOL bfdcdbcf9d1da435aa97ad4630395e1780b1957c52d4df6c86f168e9a903c514ab380615ab46ec86e07b6a00c0f94f6e1783815ab8da3d108da4b0f8f7bea409
DIST jdk-7u60-solaris-x64-demos.tar.gz 865227 SHA256 ae6e627b381615ae117f756117bf535ab6298bb04d181c597bc6566e19b4c7bf SHA512 27125b66f0d55cafbac1b02384dce2491dcd8a8f3eb24bc3eaec3612bf237d6c4b3d814d9d98de1e0c3a123e586029a81ef3058c577ad61785baa9120a69ea17 WHIRLPOOL 15a02786a8e12f1f5e761f784fc3693d86387848569057d248fb37403e05edd43941f1f50025a03feb0b454ef2f8bf5c8ddf5133081910b8bd673d601e03fb2f
DIST jdk-7u60-solaris-x64.tar.gz 17140189 SHA256 8c75a6ba14bf446a9707619c364ea544e983a91fdce9b41e75ca5f33f75c9278 SHA512 db6d9dde2e73a8348e667bfc666cc2c1a052d307440b3c4b5f7b0c0c0568212376d92d57ea8432bd2f4b8e0d82550e9b8b18632685f7b8c8c0eb702543b06cae WHIRLPOOL 810fc3eca4f6ae9f81812d8b26864096be8d7c5f78f88708dbba03de0b0b5199eefd9d15a90bcc3aac1338094804eed3205ef28a8847912c34c4710152aa5093
-DIST jdk-8u33-linux-arm-vfp-hflt-demos.tar.gz 10386354 SHA256 7342d331d6d6cf65d1791942fc6bbe8cb141c338e3afa232308a396d77ecb805 SHA512 ab7de68ce203dcc5f17da1c0db301cd26270be2df269bdaadccecd38ef412b33a693dab975a9ca0990cc26b41af65055342cbc68a6b029fbe8592bd99c2e8809 WHIRLPOOL 56f253ebf005f30348c531c94451bb7d28477796c1acaae758d338d93e486e494897fd37f4f6280d48ca456fbea54a0c15904166ae0cd3cb7be5ef601ead3ac6
-DIST jdk-8u33-linux-arm-vfp-hflt.tar.gz 80392759 SHA256 e550a8eb903ecb8e6a46b5a1efd3d87a0672084cf40315ed8a1b8208eeb17286 SHA512 97b253e5567383d16536501ca88ccbb04120f932bd2b83424b3ba04bb4bc249eff67c6b2f0079c1706cc88969f9dd46726624892568ab1262e5fb509ec033f8d WHIRLPOOL c037fd811fd922e7535079795746ac634b87ed39efdcbcc4cfe33640facbe4bef08f4de4c041552231b6d1d6cbe1768cfbdd37553ec220f1bc02a8424bbffaff
-DIST jdk-8u45-linux-i586-demos.tar.gz 54792586 SHA256 f24e2ba5c12865d8191322db1687ac56e4792b17682dfc64c540893ff5db8703 SHA512 b35ccb9de4587efee360c8f0f9eefed2c9e2108a54e506188c3f37f449ea242b6873145761f99d8f7eff29c79428408a5b1ce59fd1929eec4908093c1bb0b232 WHIRLPOOL 79ee60185b914e0b0762c273a881e27670c19eaf1ecad2c1bae794b989cc826ace42b417a2270d8f9677facad1fac8645efd2306459c078893919fe76b541b11
-DIST jdk-8u45-linux-i586.tar.gz 174985642 SHA256 ed20cab122486b16ac467f35c791e2c44c94e51701429049d85f85d67cf53ff8 SHA512 74b467e5a36028993aa91903e17bfaf305a0122fdc60efbb9174e33e35ab52813df3b39869b36bfb32441ae3874e89eb523f155573fae5eced1875ebdd08d53f WHIRLPOOL eaa862dd67ac2d2096cd770f995f5a82fa00712786db1db5019c8738fdf5b203f3789da7a5923fc8bb39ad9a7b7bfc76a258c1e5e35c3cd582f5ca7910bb72d3
-DIST jdk-8u45-linux-x64-demos.tar.gz 54867124 SHA256 c0c523b46c9d1ec82b9cd166a8bab34403cd466b09643e0bb772ac447d237a30 SHA512 73e72098b1c4d2ac15e0bd1fbb39dc745774402ad07a3cb465ee3b3f3ff79d2d793e88d2143c300c44b3d5d870d9d822c7052b46076e6a8f95c34eab4fe4c4bb WHIRLPOOL 44ca0c5ccccd450677412e7deafee3f470fc3200abbd17ab725faf5139271c6b9731df6953f39f49c7025f324a0f9b1d3cdc768f773d1c721999ed3a45e2aa54
-DIST jdk-8u45-linux-x64.tar.gz 173271626 SHA256 f298ca9239051dfddf8642fcc9e264f7fe5af10adb67027feb3a0ed0a1a2316d SHA512 f8fa6690609ee93f7e40f69998e97e02566808a50ec146163c7aa24e596a0d98e8d4ad438bc9d4799cb31aad9b403c3d4ada6cc0db66d2b22be8c639d992a027 WHIRLPOOL a7b0bc6a5a4a8357ff5edef17182efebdcde26e8a6acfc742d820120845c3c139e5fc137b7c38262bd28bd54c03691fd8ed8338d4e3e77efde8064ed6613ae2b
-DIST jdk-8u45-macosx-x64.dmg 232764982 SHA256 1a87665a5d1055ad2d804615446ab4877a4eb2c993b1acddd6c80d0d7028a5b2 SHA512 79612ac3830dc64b90954027d403ac3b709cafa3de02d49649b0abacbd89b208b0038c886273db4a60ebe24205483642e54896229753bb9ff833d64e58d8623d WHIRLPOOL 5e0798d8157f5c8e71064482141bd2888e9e46ae9515e30d0b0e2dd70a7f48e75b598273c36045cf66f72b321d5a4fe4552cbc2d19e412f0ebd6882ebff4a1f2
-DIST jdk-8u45-macosx-x86_64-demos.zip 55361354 SHA256 bbbc6848a6d802d915da229120c94d7077ca0a53c28f4751e4f220c2a6bdf8c8 SHA512 00eb1aacae95af794cc4c0098763576de74856a4b322d9ff8a49c2b168a006bb43c5b47d97c184f99a7a9113043cbdf821eee6e120c4206bb26258cd1dd689e9 WHIRLPOOL fb25d13434d80272bcb64cd6461b42616775f1b363d9fb9e8bfa4d116e82f187871fc6b6465975637591a621b59a8db29a244a0ed334636462184ee72805669f
-DIST jdk-8u45-solaris-sparcv9-demos.tar.gz 9763046 SHA256 d1956f094a56198f0fa20ca40567388ffdc6cf9e740b162a31d6af2c656a1a61 SHA512 0861340c43f75723f2147595ab428ae6de33afaf051d7187d959c1cab920bca72f81dd5aabfb4bb500ada7c323a27d6f3db2ad2a603d2cd73525d4696a38928e WHIRLPOOL c0f02b0fc3d98d9b295900abd24fce7af9ba7577b078ad85919b6e84635e9d4a76c99b9f384faa1a7687d91d1ba054330ec6f8b832f774eba6118789ddaa8f76
-DIST jdk-8u45-solaris-sparcv9.tar.gz 97416052 SHA256 594cc2f3c00e783e7bac6ce2cc292f8fffd7d3508b521d156bc620a6cdb93f9d SHA512 551c8ae4efa24b837ee01ccd15156248cc7d4891ec0b95847a78b6969dfb84e44c068caf6ba6eb1130677c8ed14abd81b9dd82517f00d855c2cceb33e22045c0 WHIRLPOOL 56a44913b447b123232e09becd21d83c95f02d4020af582ed20a9c1a7fbed7f9c3a564b74e700d3449efe2a19c5bf3d7995fad3534ae5d59c24c25154c2443bc
-DIST jdk-8u45-solaris-x64-demos.tar.gz 9716106 SHA256 736bcb3ec38cff5977c4bd58794d6b846e57903826a0404d3615ac3ed0e813f2 SHA512 2b0ba65017fa888dcaf237bb29876164e7b939ae70fe7a5081995b4f38e228fe31fd349360f8f8c25d61d6fce8cacfa54fb725265f045b43a20c8fb5366860c7 WHIRLPOOL 0162e96e28246e38a8e2e9dd5b250439a4f7d863e87d984e9091181171ac5914435852c3373add1d181d0dd49aa79945a391a14356ceb2c60192dc20b1e7ddfd
-DIST jdk-8u45-solaris-x64.tar.gz 100537403 SHA256 2b66ac9b7eef7087077add605a1b94364c954b007587b44641c4b6725669fe43 SHA512 cf6a9303e81a1c11a5994d91f21bd05e0f9057587339c5d2366f19f67f90f08c2afc92bb6872428f916498c95fdf4ef27da8f182754c1994044b7981c2990a80 WHIRLPOOL 5c0b003d872e2e0e9524a38181cb38ce974643942c4759a639d2a8aae97bba62dc2c432708368de81722dba7593bd920ec4841905dfbe458f1dc5d46e3a0c51d
-EBUILD oracle-jdk-bin-1.7.0.60.ebuild 10454 SHA256 dd247454a451d303c8c6f39c0e2ad4f4d4499838be1f8ce752a8c6c12e0366fe SHA512 719e2e4af86f58a32af0ab9c6856201baf4e328d99dc6e9c9115bb4aa4361e6e7fbba4047a6bd04ba39ea7fe2073bba2d91f939489098cf548f4551d55a42230 WHIRLPOOL b5e757e77071f7f38ea93d5b7e2b25fc890db56a3a6122e6f03cd8ca37d3ab7dcf32de827ee667a57322b6a714963dc0aa0b0385ecbedbc2c4a49c30579e9781
-EBUILD oracle-jdk-bin-1.8.0.45.ebuild 10572 SHA256 591de4f3cc98543704a45a2944a26337b20714b1adc72220824f422adc3fa295 SHA512 0906ba4bd5b4618304cfce9430a8caf08d89d1619ea6bd28d346494b290e791e4ca5284616d7c8666f4c471906b0e05735ad1ea0c6d2cd95db8e479a836794ff WHIRLPOOL e4bbb910a1f36ae400ca648744da69c5ead5d61a5f43a60371b1aa935b80b74006c6e633e2d0e7063b3d3356232f201d50cecd8d5d513bb81ac9075c6d4809f8
-MISC ChangeLog 9666 SHA256 42fa5cf0d604077d709875d88c4b9d3fc6f8b74a977f144355c6d60a1eba046d SHA512 891064d7327bd605d8252ebc4109d660e47158935fbb8d7161247ea6fa66abc201fad285c156448c64b609915ea0a9fc28f5b37328bcbe2362d99809c4d3aacd WHIRLPOOL fc8a13ce5a98064ce5f5d98c536e5c0a767a9ad1455f55d69875e20102ae18c6a8b3fc4113bdef91728818afe3fab89ce0bf75ef735b4fe2eba7da065882e670
+EBUILD oracle-jdk-bin-1.7.0.60.ebuild 10458 SHA256 192d8f08601cf7a12eac14246ed1333d066c82f53441c3f241536f1849881bf2 SHA512 efb7d5af7ceffc531c0ae4d5120b710dd6852bfa10af0dab732edad0b1b670b0ecfd2955e1ddfd62465015cbbe5d78894237db1445beab98b66aa50a48cf9fbd WHIRLPOOL 30a47ad707825fea74613fe23e96e49a95f77b5c169511c1f1b1b3160d18dd0ca3b5bb953c8f6d413998d8e8f6ffece88333284b267e5d564907458ddc604fe6
+MISC ChangeLog 9802 SHA256 fcfc61316897d963d9eccab756e50ef75df4c67b83cc51721be289f19e64f281 SHA512 73362a18bfe2d75cfc6461fd94017d0d1bdd5963f0f52ad72b014de75e34f6e1dd7d4fee489707ba9a8d5f2c9cbf67e410047710510e9481b28a0689104ddf5a WHIRLPOOL 8627d28eb6b8e92177371b5323cd9e391cc6342e515c742b3edf704f9d714340300b42dc745948ee06c639f847b0d344d92e516641b28b8c1f76ee2036cf5fea
MISC metadata.xml 519 SHA256 09f12b427ac321fdbb2a0ae4d54259bf2fea4100abe33062bd65f27364ccf30e SHA512 b9d20b3da530304f3b9996411a7a6df83e60645057aef2c6706534ff238889e7ae771fd42ff37fef797df50033ec14edc594450fce73144f5c05d31c57e2ce7e WHIRLPOOL 2a5251448873eb66f624d227e3b203b74ab5f92672390478d5b36120181982a004af801e98008fdd701f15cfc53bd74334a82fa8f519c727791b4b29920510aa
diff --git a/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.60.ebuild b/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.60.ebuild
index 8d5cf0e..9cfb488 100644
--- a/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.60.ebuild
+++ b/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.60.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.60.ebuild,v 1.5 2014/07/21 19:17:10 sera Exp $
@@ -7,7 +7,7 @@ EAPI="5"
inherit eutils java-vm-2 prefix versionator
# This URIs need to be updated when bumping!
-JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html"
+JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk7-arm-downloads-2187468.html"
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html"
# This is a list of archs supported by this update.
# Currently arm comes and goes.
diff --git a/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.45.ebuild b/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.45.ebuild
deleted file mode 100644
index 7931ed4..0000000
--- a/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.45.ebuild
+++ /dev/null
@@ -1,320 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.45.ebuild,v 1.3 2015/04/17 21:22:38 ago Exp $
-
-EAPI="5"
-
-inherit eutils java-vm-2 prefix versionator
-
-# This URIs need to be updated when bumping!
-JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html"
-JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html"
-
-# This is a list of archs supported by this update.
-# Currently arm comes and goes.
-AT_AVAILABLE=( amd64 arm x86 x64-solaris sparc64-solaris x86-macos x64-macos )
-
-# Sometimes some or all of the demos are missing, this is to not have to rewrite half
-# the ebuild when it happens.
-DEMOS_AVAILABLE=( amd64 arm x86 x64-solaris sparc64-solaris x86-macos x64-macos )
-
-if [[ "$(get_version_component_range 4)" == 0 ]] ; then
- S_PV="$(get_version_component_range 1-3)"
-else
- MY_PV_EXT="u$(get_version_component_range 4)"
- S_PV="$(get_version_component_range 1-4)"
-fi
-
-MY_ARM_PV_EXT="u33"
-
-MY_PV="$(get_version_component_range 2)${MY_PV_EXT}"
-MY_ARM_PV="$(get_version_component_range 2)${MY_ARM_PV_EXT}"
-
-AT_amd64="jdk-${MY_PV}-linux-x64.tar.gz"
-AT_arm="jdk-${MY_ARM_PV}-linux-arm-vfp-hflt.tar.gz"
-AT_x86="jdk-${MY_PV}-linux-i586.tar.gz"
-AT_x64_solaris="jdk-${MY_PV}-solaris-x64.tar.gz"
-AT_sparc64_solaris="${AT_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9.tar.gz"
-AT_x86_macos="jdk-${MY_PV}-macosx-x64.dmg"
-AT_x64_macos="jdk-${MY_PV}-macosx-x64.dmg"
-
-DEMOS_amd64="jdk-${MY_PV}-linux-x64-demos.tar.gz"
-DEMOS_arm="jdk-${MY_ARM_PV}-linux-arm-vfp-hflt-demos.tar.gz"
-DEMOS_x86="jdk-${MY_PV}-linux-i586-demos.tar.gz"
-DEMOS_x64_solaris="jdk-${MY_PV}-solaris-x64-demos.tar.gz"
-DEMOS_sparc64_solaris="jdk-${MY_PV}-solaris-sparcv9-demos.tar.gz"
-DEMOS_x86_macos="jdk-${MY_PV}-macosx-x86_64-demos.zip"
-DEMOS_x64_macos="jdk-${MY_PV}-macosx-x86_64-demos.zip"
-
-JCE_DIR="UnlimitedJCEPolicyJDK8"
-JCE_FILE="jce_policy-8.zip"
-
-DESCRIPTION="Oracle's Java SE Development Kit"
-HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
-for d in "${AT_AVAILABLE[@]}"; do
- SRC_URI+=" ${d}? ( $(eval "echo \${$(echo AT_${d/-/_})}")"
- if has ${d} "${DEMOS_AVAILABLE[@]}"; then
- SRC_URI+=" examples? ( $(eval "echo \${$(echo DEMOS_${d/-/_})}") )"
- fi
- SRC_URI+=" )"
-done
-unset d
-SRC_URI+=" jce? ( ${JCE_FILE} )"
-
-LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
-SLOT="1.8"
-KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris"
-IUSE="+X alsa aqua derby doc examples +fontconfig jce nsplugin pax_kernel selinux source"
-
-RESTRICT="fetch strip"
-QA_PREBUILT="*"
-
-COMMON_DEP=""
-RDEPEND="${COMMON_DEP}
- X? ( !aqua? (
- x11-libs/libX11:0
- x11-libs/libXext:0
- x11-libs/libXi:0
- x11-libs/libXrender:0
- x11-libs/libXtst:0
- ) )
- alsa? ( media-libs/alsa-lib:0 )
- doc? ( dev-java/java-sdk-docs:${SLOT} )
- fontconfig? ( media-libs/fontconfig:1.0 )
- !prefix? ( sys-libs/glibc:* )
- selinux? ( sec-policy/selinux-java )"
-# A PaX header isn't created by scanelf, so depend on paxctl to avoid fallback
-# marking. See bug #427642.
-DEPEND="${COMMON_DEP}
- jce? ( app-arch/unzip:0 )
- examples? ( kernel_linux? ( app-arch/unzip:0 ) )
- pax_kernel? ( sys-apps/paxctl:0 )"
-
-S="${WORKDIR}/jdk"
-
-check_tarballs_available() {
- local uri=$1; shift
- local dl= unavailable=
- for dl in "${@}" ; do
- [[ ! -f "${DISTDIR}/${dl}" ]] && unavailable+=" ${dl}"
- done
-
- if [[ -n "${unavailable}" ]] ; then
- if [[ -z ${_check_tarballs_available_once} ]] ; then
- einfo
- einfo "Oracle requires you to download the needed files manually after"
- einfo "accepting their license through a javascript capable web browser."
- einfo
- _check_tarballs_available_once=1
- fi
- einfo "Download the following files:"
- for dl in ${unavailable}; do
- einfo " ${dl}"
- done
- einfo "at '${uri}'"
- einfo "and move them to '${DISTDIR}'"
- 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-javase8-2177648.html#jdk-${MY_PV}-oth-JPR"
- einfo
- fi
-}
-
-pkg_nofetch() {
- local distfiles=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") )
- if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
- distfiles+=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") )
- fi
- check_tarballs_available "${JDK_URI}" "${distfiles[@]}"
-
- use jce && check_tarballs_available "${JCE_URI}" "${JCE_FILE}"
-}
-
-src_unpack() {
- if use arm ; then
- # Special case for ARM soft VS hard float.
- #if [[ ${CHOST} == *-hardfloat-* ]] ; then
- unpack jdk-${MY_PV}-linux-arm-vfp-hflt.tar.gz
- use examples && unpack jdk-${MY_PV}-linux-arm-vfp-hflt-demos.tar.gz
- #else
- # unpack jdk-${MY_PV}-linux-arm-vfp-sflt.tar.gz
- # use examples && unpack jdk-${MY_PV}-linux-arm-vfp-sflt-demos.tar.gz
- #fi
- use jce && unpack ${JCE_FILE}
- elif use x86-macos || use x64-macos ; then
- pushd "${T}" > /dev/null
- mkdir dmgmount
- hdiutil attach "${DISTDIR}"/jdk-${MY_PV}-macosx-x64.dmg \
- -mountpoint "${T}"/dmgmount
- local update=$(get_version_component_range 4)
- [[ ${#update} == 1 ]] && update="0${update}"
- xar -xf dmgmount/JDK\ $(get_version_component_range 2)\ Update\ ${update}.pkg
- hdiutil detach "${T}"/dmgmount
- zcat jdk1${MY_PV%u*}0${update}.pkg/Payload | cpio -idv
- mv Contents/Home "${WORKDIR}"/jdk${MY_PV}
- popd > /dev/null
- else
- default
- fi
-
- # Upstream is changing their versioning scheme every release around 1.8.0.*;
- # to stop having to change it over and over again, just wildcard match and
- # live a happy life instead of trying to get this new jdk1.8.0_05 to work.
- mv "${WORKDIR}"/jdk* "${S}" || die
-}
-
-src_prepare() {
- if use jce ; then
- mv "${WORKDIR}"/${JCE_DIR} "${S}"/jre/lib/security/ || die
- fi
-}
-
-src_install() {
- local dest="/opt/${P}"
- local ddest="${ED}${dest}"
-
- # Create files used as storage for system preferences.
- mkdir jre/.systemPrefs || die
- touch jre/.systemPrefs/.system.lock || die
- touch jre/.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 {,jre/}lib/i386/libjavaplugin_oji.so \
- {,jre/}lib/i386/libjavaplugin_nscp*.so
- rm -vrf jre/plugin/i386
- fi
-
- # Without nsplugin flag, also remove the new plugin
- local arch=${ARCH};
- use x86 && arch=i386;
- if ! use nsplugin ; then
- rm -vf {,jre/}lib/${arch}/libnpjp2.so \
- {,jre/}lib/${arch}/libjavaplugin_jni.so
- fi
-
- dodoc COPYRIGHT
- dohtml README.html
-
- dodir "${dest}"
- cp -pPR bin include jre lib man "${ddest}" || die
-
- if use derby ; then
- cp -pPR db "${ddest}" || die
- fi
-
- if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}" ; then
- cp -pPR demo sample "${ddest}" || die
- fi
-
- if use jce ; then
- dodir "${dest}"/jre/lib/security/strong-jce
- mv "${ddest}"/jre/lib/security/US_export_policy.jar \
- "${ddest}"/jre/lib/security/strong-jce || die
- mv "${ddest}"/jre/lib/security/local_policy.jar \
- "${ddest}"/jre/lib/security/strong-jce || die
- dosym "${dest}"/jre/lib/security/${JCE_DIR}/US_export_policy.jar \
- "${dest}"/jre/lib/security/US_export_policy.jar
- dosym "${dest}"/jre/lib/security/${JCE_DIR}/local_policy.jar \
- "${dest}"/jre/lib/security/local_policy.jar
- fi
-
- if use nsplugin ; then
- install_mozilla_plugin "${dest}"/jre/lib/${arch}/libnpjp2.so
- fi
-
- if use source ; then
- for mysrc in src javafx-src; do
- mysrc="${mysrc}.zip"
- ebegin "Copying source file ${mysrc}"
- cp -p "${mysrc}" "${ddest}" || die
- eend $?
- done
- fi
-
- if [[ -d jre/lib/desktop ]] ; then
- # 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 jre/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 JDK ${SLOT}#" \
- -e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
- -e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
- -e "s#Application;##" \
- -e "/Encoding/d" \
- jre/lib/desktop/applications/sun_java.desktop \
- > "${T}"/jcontrol-${PN}-${SLOT}.desktop || die
- domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
- fi
-
- # 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/8/docs/technotes/guides/intl/fontconfig.html
- rm "${ddest}"/jre/lib/fontconfig.*
- if ! use fontconfig ; then
- cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
- eprefixify "${T}"/fontconfig.properties
- insinto "${dest}"/jre/lib/
- doins "${T}"/fontconfig.properties
- fi
-
- # 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
-
- if use x86-macos || use x64-macos ; then
- # Fix miscellaneous install_name issues.
- pushd "${ddest}"/jre/lib > /dev/null || die
- local lib needed nlib npath
- for lib in \
- decora_sse glass jfx{media,webkit} \
- javafx_{font,font_t2k,iio} prism_{common,es2,sw} \
- ; do
- lib=lib${lib}.dylib
- einfo "Fixing self-reference of ${lib}"
- install_name_tool \
- -id "${EPREFIX}${dest}/jre/lib/${lib}" \
- "${lib}"
- done
- popd > /dev/null
-
- # TODO: This reads "jdk1{5,6}", what about "jdk1{7,8}"?
- for nlib in jdk1{5,6} ; do
- install_name_tool -change \
- /usr/lib/libgcc_s_ppc64.1.dylib \
- $($(tc-getCC) -print-file-name=libgcc_s_ppc64.1.dylib) \
- "${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib
- install_name_tool -id \
- "${EPREFIX}${dest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib \
- "${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib
- done
- fi
-
- set_java_env
- java-vm_revdep-mask
- java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
-}

Powered by Domaintechnik.at | Hosting - Domain - Webspace