summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2015-12-09 13:12:47 +0000
committerJames Le Cuirot <chewi@gentoo.org>2015-12-09 13:13:33 +0000
commit0d2b899ba92ca504df047fbcee8f75ea829549cc (patch)
tree95a04e0291be6a429d8557d25ef3e089587174d1
parentdev-java/icedtea: Remove old (diff)
downloadgentoo-0d2b899ba92ca504df047fbcee8f75ea829549cc.tar.gz
gentoo-0d2b899ba92ca504df047fbcee8f75ea829549cc.tar.bz2
gentoo-0d2b899ba92ca504df047fbcee8f75ea829549cc.zip
dev-java/icedtea-bin: Version bump to 7.2.6.3
This addresses a vulnerability being handled in bug #567850. Package-Manager: portage-2.2.26
-rw-r--r--dev-java/icedtea-bin/Manifest12
-rw-r--r--dev-java/icedtea-bin/icedtea-bin-7.2.6.3.ebuild185
2 files changed, 197 insertions, 0 deletions
diff --git a/dev-java/icedtea-bin/Manifest b/dev-java/icedtea-bin/Manifest
index 4453e28b05c..e5f18af5f3b 100644
--- a/dev-java/icedtea-bin/Manifest
+++ b/dev-java/icedtea-bin/Manifest
@@ -10,10 +10,16 @@ DIST icedtea-bin-core-7.2.6.2-arm.tar.xz 43981456 SHA256 4e3db1a1bf9e50b4c688adc
DIST icedtea-bin-core-7.2.6.2-ppc.tar.xz 42889628 SHA256 606f3075153f6d158e9e3388a6270170109dd98f212c61ffb89d220d8d6329c8 SHA512 8a0887f27c9d07f78e3d0321478576c3761c23686e009e9e17aec03adff0e1dfb10433d5280e09862127d313108863414f0a4bfd319fa89fa886092c7f92d310 WHIRLPOOL 653cb61da00a3f3494fea12f5eee0491b80b1c9bbac1e93248ebdcbb8152501290ada111cf4430ef53f138095a05dc3f8951f3f20fdab01667655e0c08767309
DIST icedtea-bin-core-7.2.6.2-ppc64.tar.xz 42985052 SHA256 6da399d79c53444ab776da4cf63d4c326239b75436d48c258adda9a20b23b23c SHA512 a89f07c6028f8cce6ef2f8909acb7a4e5d37221ce685d7023029119e576b08fbae22ae321ac74bc595312b6b68107966335825e4aa0e973cba2223f8318078b3 WHIRLPOOL 673dcbb7b8dd137f5ea833dbd65713adf2bbbbf3667eb20d28ec6808f7a1e98dac32c74a28c70818e5f1c58abb0a3e513d02f1d2a1d2ffd652c180c9b64ed9c5
DIST icedtea-bin-core-7.2.6.2-x86.tar.xz 54652528 SHA256 dada0681098ed67f6ad665cb2a005d26a3ab365e2aca85d0dd9e924e6943065c SHA512 2a0e4b934e7aa734d8d0cc0d8851182bbf17a7cb29d66ce3490ce157a8b282b974501c9106160c9dccffb7565b994136cb39952efe0c530855b14491255f55a9 WHIRLPOOL 3ee3f13b51a3c587612026ae686a46bddb457ba2fec4ffc8fd7fa94af697c039761436fcba634ccb6ceda6705844346617cc48f0532af41f78a8978ad54aa3b4
+DIST icedtea-bin-core-7.2.6.3-amd64.tar.xz 52999776 SHA256 565383f7cecedf740e9ca0f0c98921cef04f5ccb754d9a4591f98b75a6b6d616 SHA512 9299a9f62fb1a05688523ff4a48ab28a2fd1d16bb8a9984dfc203d919e7e49e733792b9f5aa9852867e8542a422327c235a03fb850b20d38877d0048ccfb6420 WHIRLPOOL 657cf42fdff2a40f8acaa9fe1ea0c7a29d28799943f92418636ec76dd82ed658dfb628596d01c4d432220bfdc0f0f4c4dc247181a5e17cdb198d2edf09b61bb1
+DIST icedtea-bin-core-7.2.6.3-arm.tar.xz 43980964 SHA256 bfc50f27b063461e2382da6f480bdc24a498feb3eba3c368912239ef176a384c SHA512 2d3aa682c20a6abd200263e15f0a7cb7f2ee3bdd52db6eff5d1d3676f286c3ed356ed9ca71041ad9514ca4684ab84f52c7df2a94bb112c99e34477a225f57a20 WHIRLPOOL 1c2139fe5b2da957ac64fdf9214cd2c62b55591f7c535b6ff287d0da20b7f9e6e19f5d93d816cb4346ec3746491a30b5b080184132669bd0a90d7f0ac3fa0da3
+DIST icedtea-bin-core-7.2.6.3-ppc.tar.xz 42890632 SHA256 5524cc47fdb1e8c4c5b6f5926b71835b74e6a0ba1e9f7deb3ddef8a2896f27f2 SHA512 808771fa6379ee564f45737d019493d552508b8b5555a6ac512606a99fc0f0943210abef628494a50144d799d821091060244e63c0c410d530937156c6540d0c WHIRLPOOL a205c711c2a96dd985c48f2dfcb57041887e6243b465bca2f7665d153c6f9da1bae4668bbb102e20f73b81fa3edcf95dd51c9287f0df04fb48c6c98d3c9fed2e
+DIST icedtea-bin-core-7.2.6.3-ppc64.tar.xz 42984708 SHA256 8d0723accf8cb0258504581dd6663200bc89917ef3a8950f542c9a80eea4f96f SHA512 4557909277fb2ef74c7fc4882dc07ce161ef8e1e1b5c672a72a3ca095c409273a4fda521c7d2f5241939c2f1124857ec3bbf84dce67a34b0ad47e3aafbc896fd WHIRLPOOL fada9dc621792549d4a8622fbfa6ecc693cc02aeb7c191efbfe816c6e71d2174823f2e9cea5b57aa4a8ff49e176bbed45de5f4fecac09b0881ccd0c635e0c3ec
+DIST icedtea-bin-core-7.2.6.3-x86.tar.xz 54651304 SHA256 3fc4faf7a9370cb0155df3c650eb36096c9430e38b3904e535027d823234043c SHA512 3ad55d66839c4cde86b44826ef8ba0ef1565cf9af9386cc327ef2b5476ddd954c519f925885e156ac87d4c606b0fd00ebaf8c8987c8b4fd81e789713a2ba3ef7 WHIRLPOOL 43df9b60ec270eb4a750299beeae316026d27b8ddf1e2246c5ce711f7d1f6f297b710b7cbf481d887fffa44a1a59f36997af7c52722a06d6c4e4ea1cf5b33208
DIST icedtea-bin-doc-6.1.13.8.tar.xz 9844756 SHA256 71cffd016040d28366f8e50c983ca55a3af1d7b08a56c501838b78fc0d1837c1 SHA512 36a0691ad720869c2855345bd20dcccd60e7adfa90c511d829131997e9e995ab929a2f24955955b638b21672912a39774deacf72ee3390ae41e3d44e58eea5eb WHIRLPOOL 11892894ddae46a6f999e8e835a5d428fcb86643c20f44639d8b692090468ddecfdd7db4cebef0c422983950cfaf6d337b540effef64c6fb1f7d58ffd2e069e7
DIST icedtea-bin-doc-6.1.13.9.tar.xz 9853020 SHA256 94ff85ba64be5c8cfcf261cb6293e48cc3239c1c9da69e98fbc744a82620bd16 SHA512 501d483dccfc349c6dd8a55f9d509d2859774054be9b9ca8020a75e3975d740d78d40184aa86f16b5ea948e16b74944ce4d890396d8ccb5209f7a9514a8b649a WHIRLPOOL 751afbb1e0e2384419424d9ae093893c2e377c004c69d0e06979385823f743ee33321b3c3076e0c8e0b16625a159293d81f959455ca6ee779dfdfa5fc5361907
DIST icedtea-bin-doc-7.2.5.6.tar.xz 10420552 SHA256 97cafad29d26e1fba75fd848a3d35de0e84e83f36a9e345852f1d684a81e148b SHA512 53261dbbafad7af9b97cdc9b55430ebbbc7e4975acff7b73013f893eba5583c303abf32d77ab8fb641bac35ac5549c313bc1f4c94c27faed88ab23bc5c22aec4 WHIRLPOOL 6213996e1435acac287b2993814ae1f49c13ce58f9315731d2e327c3f9765b6119202e83735c504919b9487e04de23ee28ac2695f8a67a49652a4c01f19aa0c0
DIST icedtea-bin-doc-7.2.6.2.tar.xz 10624484 SHA256 ed677d27cebe61433f12b0b586b29671121210e495374ed575d28b0a79f77c09 SHA512 e1475cee4db80eb071defe7af05483a1a6799bfd7511791cc3db01cc86decc956fe09f50cc19bd1850b917c02aa3c9a4b0d6c368031034d30a7e3c867d0eace8 WHIRLPOOL 2b80fc301c5e36d895b0934c55c3f17968e0cfac8a509a5b54dce77617b96fc53fa8baea6c6136983d7fbb7f0b43e465c2931b999a7991e530732949eeb0de25
+DIST icedtea-bin-doc-7.2.6.3.tar.xz 10604044 SHA256 7e43108f95991600d58f85ce44480d5702cfc6951d0cc096e1321852997acc5b SHA512 35688e7a19620ef7d4890ee9058b6f49f76b5ba67b5f1038cc9a53b7c50224eaec599baf6fc9e9bc4cc5b49e13c0dd05d5d14043b4d291caf237e9cd5a7e31fa WHIRLPOOL 9a6d3e3ad62f1cd5a4435dc1e1cf3943cb752898c3ba61b149be38603cb8746ad88b68e3e3812a449d65ccb4b9d8da211c07bc503044efe5849a35188944ad2b
DIST icedtea-bin-examples-6.1.13.8-amd64.tar.xz 1904080 SHA256 29c2933d4fc4c7e240c7406d403a2667a42c5a3faee82413d2255d7dccea6873 SHA512 84771c52b816f4d3f065871df83bdd05408b69941c807de0bdc7ea423cff436878aa58dd5d61cb1bfae35cb37e56e2b5d29be6f6073a744e6af2125d66578713 WHIRLPOOL a08c748dd757c5927abd65088b0961d2dfb716030cc07e64589e5394a434123cb018630766e0223c6578ceb7f67ee0a68f5b2a548b1c9f701a5cc13732b84ecc
DIST icedtea-bin-examples-6.1.13.8-ppc.tar.xz 1889932 SHA256 62bc68f31b1118d890c2add87a4d14663b0595aeb5fdfd8d904a59a19c4ed7f4 SHA512 22d38c9efa794165e1ecdb8cabb1ecaf8b9c27027cf28562721789c33c1a714e3d226b95a8c5420ff48a769c869ef09c575e76e8995f089037263ddfd72d21c5 WHIRLPOOL 031a8ffb8609028d089d047f1324352db90ef72be951bcedc158f671f2930c4ae5087e65e53ec59e4457a9e09b40ad6848b980b63e3494e0d1dd70721e6e640e
DIST icedtea-bin-examples-6.1.13.8-x86.tar.xz 1902616 SHA256 cd74d0b8056f7373f370ca62388c2e44786c3b68dccbf30cb9a3bc8ecc8353e4 SHA512 babcc73227115e19fe50b16f79f09e3a35d0c60de44823c3f6617c7276ff4b9efbfb5f03f1149948d4005524b3a136e74b0049a292d83ddf763626fc179d1883 WHIRLPOOL 6621c65b3f871cdc0769dd5361d7a4a17c56f5ca8eb2de1f4abc79ca6343784a5a43834e4906f4d371144615a3b3ed6db44370dc0950508d327587bf2e770ed2
@@ -26,7 +32,13 @@ DIST icedtea-bin-examples-7.2.6.2-arm.tar.xz 1779804 SHA256 3fb597b80d4ef1253d36
DIST icedtea-bin-examples-7.2.6.2-ppc.tar.xz 1786908 SHA256 2506a0fa0f38008a5edffcab637a2c9091bd895fdcc8b25713c536e4c15957a4 SHA512 ad1bbf7ad71036c4f48efb0861776e3dd733249a19cb7ac5d154f55e3b3ee15f1a8642a45ffeaf7fb39f82416dc7ea2b8239c464a0c8284aa53502bcc2400f1c WHIRLPOOL a321523cf23211f565d47e16d0d3d539053a047bb7bf875e7a702288e01b807651024a8cee8b2b8a61929687ab9d0cba7ed62c857e28a900a066f0d8b1a2da87
DIST icedtea-bin-examples-7.2.6.2-ppc64.tar.xz 1790088 SHA256 75c6c237c1ad792079f86dd5a3899022ccce78c65e67e635e6e14bbfb637db0e SHA512 ed50dd9a81687e01fde484255b0466ea003351f01468d93a95d33824f8fe909abcea2ef9a15ff212a4e376b1f9dc019295776bfd7ce84f982ef0db828c73cc25 WHIRLPOOL 5ced2c1c746241e54b6cc4b62d846ebc12b66cafdc4708f0593a5c73cae6400ead1f3ebe4d40e0e6ebf1a3ea1823293751a2b52101cbcba2fcd6e94551579698
DIST icedtea-bin-examples-7.2.6.2-x86.tar.xz 1796540 SHA256 58a876ab7452199456a4fa35f550a9aa8775df8a70e687073f7106eb69702c9e SHA512 c759f97f0ba22e0ebc1d70b3cb9a339b6e1186c707cef4a6d8f3dd512792e2a729fb89d1110aafc25d4438853c066ad4f1f3ac7ee12bf3d12d8ffb961a7af8c0 WHIRLPOOL 5aebeeb861616d8da0e14409223d886ffa99bcad34c0419e5e21ad52cf9f088d26952a8f3be4d9b0a0dbe720b31afc55308c499140a7456d4dca5bd2090611f6
+DIST icedtea-bin-examples-7.2.6.3-amd64.tar.xz 1796572 SHA256 bdbe018716fa955df5dfea56c1321698033debed7a29fe03650b0cdc5c7e6da3 SHA512 d6e1b5a93dde61bb0d7ebd7a06e7a326e94423ad362e0b9956d5eeb37197f716d5db7bbd6fbc32a1906089953a83a77ebc2ee99cedcfd9e7944e48ec3865e0fe WHIRLPOOL 0e728e3cdc1e33d264bfb3b5f54bbe4bd3ec64a19b0bc3047dc65c99cc45009fef9d8eab94761100ce84919379e5890e96c54965e840c5f10eb102a4df03767a
+DIST icedtea-bin-examples-7.2.6.3-arm.tar.xz 1779684 SHA256 78e068da88739404332cb50588229d236709f0adfe00596405c80c8a10f03d3a SHA512 a854095d3ee23db768ce9d1dff8bcd1598523a65af82ee6654b9ba464436d9f5d88208fe6879c1ea5140f30fca4f31e8dd5212b781722608c535d951c9670feb WHIRLPOOL 8dc1a49eb6a8bff49690d64384e9ffbd51725882aeca064419a69ff9ec82f624c6a16023b1930f16806189b0a89a70f3339ca653d3abc5335850205129b13d01
+DIST icedtea-bin-examples-7.2.6.3-ppc.tar.xz 1786900 SHA256 769e085fb3c64b41083c4a3335c3f6cdff41bb3502526784937a77551dc5492c SHA512 5db45bc9b3d5e59260d5fd319333e91467520291f131432f649cb064a9d892e4f4962bd0aef37ff3401eb051964d9d6311f8d20c9d1ae77a25e1020930544dde WHIRLPOOL c46e3bf017498cf51968799d10c67f1e72883e2c59941695a2cfe1f6135011ff8dcd27cf5d6b5e562d425572c4300bb8d28ab1b95101e42fa21888cab54247d5
+DIST icedtea-bin-examples-7.2.6.3-ppc64.tar.xz 1790340 SHA256 33b1f32e1b88469d1a8d37516825b0ec4eaa4645e205c2d4e669a4e6bc2c3449 SHA512 02ac15c513d2c870c7bafc5f18720bce4b7bdc84f3a7eaa64ce27094af5357a76211dbc6674a482c0ebc083da5ede2a79cfe2b1964477401aa508c3eebfd2a3a WHIRLPOOL 34090707fb04daed9993b5873bd5b71d2fec2cabdbf33ed8cd08540255a2edd07d16556bf8c4cece762c3d83856ec00254682eb316bd4ac9c848bc165bb2192f
+DIST icedtea-bin-examples-7.2.6.3-x86.tar.xz 1796668 SHA256 3f7d09d5f7b3dd45e9555c7653adf450b74c24eed8e91d4c6829cd084eaf1894 SHA512 d1bc7800bded733e69573694d8cb18cf352a633c36f336ff40fe8e4cde42f390dcac54a08945926eb0c17591574bf8eb7861977cbfaeb9b8eff7c2e7cef036d3 WHIRLPOOL a324137216a623749f8a1de904dd5cddb481b92c7286c365fb1f7d95682044674a2267d23e660cb804e071eecec3c6baea63ce75c0b97c0caed0afae1b2a7761
DIST icedtea-bin-src-6.1.13.8.tar.xz 39773388 SHA256 c01deb2ef8ed9cf58284538e9f52651ff70b8349ec001f13314d69137f99ff4b SHA512 dba0cc027f3ed7589c7cb0ba7d9f1a401ef47a20a5ff502ad7e9b27d0f552a77f28ebbd9032d191ba3ac441955545b632d6fb242f67bc590a5f1a8d855b89ad8 WHIRLPOOL 6b835a7a6123a3843bd74506e52befafbc4792e792798660829d75ede09f6c283933d30d51ba01c87a16095b9faa1795bfec6539cb55709032e22d6395566d19
DIST icedtea-bin-src-6.1.13.9.tar.xz 39778948 SHA256 11ed522199d3919f7013f4d3d4fb2324d4505ca60fdbcb015faf635c4dfcfc70 SHA512 4c02e7368ed21882afe68cbba3475a16a30276110282d28984586f1c1e0c3d14278e70e495fc74676ba57df3849b8f60ea24da49c6f41070319c46962f1a221a WHIRLPOOL b6daed3717d434688e8946976d96857ce904d510cb45fc30b464e86d1c123ccb2a81ee07bea432ad6fb5148d1b0a73bebe7f51a0bc2f5b1308701a4fce436d79
DIST icedtea-bin-src-7.2.5.6.tar.xz 39999236 SHA256 dba9a16d6ed8ba6bcd1090e469d176c979395a4828ea8875cde271d8bfff4a43 SHA512 9f7c7377d90058fecdbe08259b8b1b0678ba3df1ebfd13b7664088fe3bae0823631b0b548a0b65981c79318b7a63d566c79a6c3b3b77df434d5b4e0b9b8095f6 WHIRLPOOL 214c9fd79be0ef3f650a64c15e02e889475ee27c9c2b975ade20689bd8d2799617b2ba0eae55cb1596b77e987f5b14cd4ccaa583ff5ef4dd83e4dcbedff869af
DIST icedtea-bin-src-7.2.6.2.tar.xz 40010036 SHA256 d4cc4954ccaf2f4ee77eb44e7d16c568eff835a5e6ead4971c611774caaf2c02 SHA512 f2dace8e37dcfd23b6f5e6806fc21a62686e9addd545fd141e47d4c24e574a65c8ea5b9b4b6462e8633ebf61bac2a3ee0a1dcd94367a7b8723bbb5fc7a125bab WHIRLPOOL 6087cf6fc2463c2e7069379c75d01258247fa1613575a736f5653b4f969d3fa03291f4acd1a9c26863014af8838af96107a4e49766e0e09372d51f85b46d7c63
+DIST icedtea-bin-src-7.2.6.3.tar.xz 40039304 SHA256 eb8a7e7dd567934a274f496640d984792731ca1192f2fd415a4d6597a282b8b8 SHA512 f02778176bdf524a954689576272ea4af8d77e6dacdab05edb8bc0ff2db43ae2d63635b07ae88f8f9d88797c4b9f28c4d24341c8e10a0f7841bae1b6775b97e4 WHIRLPOOL b9603cbaeb9528288b18225323f97635efd7a434d4a9fb45ceb1abfa2d93c1cc1fc212187448a8ed3cb074d657736537b5e175ca82749c8cb04cf085f16a162b
diff --git a/dev-java/icedtea-bin/icedtea-bin-7.2.6.3.ebuild b/dev-java/icedtea-bin/icedtea-bin-7.2.6.3.ebuild
new file mode 100644
index 00000000000..92e37d467fd
--- /dev/null
+++ b/dev-java/icedtea-bin/icedtea-bin-7.2.6.3.ebuild
@@ -0,0 +1,185 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit java-vm-2 multilib prefix toolchain-funcs versionator
+
+dist="https://dev.gentoo.org/~chewi/distfiles"
+TARBALL_VERSION="${PV}"
+
+DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK"
+HOMEPAGE="http://icedtea.classpath.org"
+SRC_URI="doc? ( ${dist}/${PN}-doc-${TARBALL_VERSION}.tar.xz )
+ source? ( ${dist}/${PN}-src-${TARBALL_VERSION}.tar.xz )"
+
+for arch in amd64 arm ppc ppc64 x86; do
+ SRC_URI+="
+ ${arch}? (
+ ${dist}/${PN}-core-${TARBALL_VERSION}-${arch}.tar.xz
+ examples? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-${arch}.tar.xz )
+ )"
+done
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="7"
+KEYWORDS="-* ~amd64 ~arm ~ppc ~ppc64 ~x86"
+
+IUSE="+alsa cjk +cups doc examples +gtk headless-awt nsplugin nss pulseaudio selinux source webstart"
+REQUIRED_USE="gtk? ( !headless-awt ) nsplugin? ( !headless-awt )"
+
+RESTRICT="preserve-libs strip"
+QA_PREBUILT="opt/.*"
+
+# gsettings-desktop-schemas is needed for native proxy support. #431972
+RDEPEND=">=dev-libs/glib-2.42:2
+ >=dev-libs/nss-3.16.1-r1
+ >=dev-libs/nspr-4.10
+ >=gnome-base/gsettings-desktop-schemas-3.12.2
+ media-fonts/dejavu
+ >=media-libs/fontconfig-2.11:1.0
+ >=media-libs/freetype-2.5.5:2
+ >=media-libs/lcms-2.6:2
+ >=sys-devel/gcc-4.9.3
+ >=sys-libs/glibc-2.21
+ >=sys-libs/zlib-1.2.8-r1
+ virtual/jpeg:62
+ alsa? ( >=media-libs/alsa-lib-1.0 )
+ !headless-awt? (
+ >=media-libs/giflib-4.1.6-r1
+ media-libs/libpng:0/16
+ >=x11-libs/libX11-1.6
+ >=x11-libs/libXext-1.3
+ >=x11-libs/libXi-1.7
+ >=x11-libs/libXrender-0.9.8
+ >=x11-libs/libXtst-1.2
+ )
+ cjk? (
+ media-fonts/arphicfonts
+ media-fonts/baekmuk-fonts
+ media-fonts/lklug
+ media-fonts/lohit-fonts
+ media-fonts/sazanami
+ )
+ cups? ( >=net-print/cups-2.0 )
+ gtk? (
+ >=dev-libs/atk-2.16.0
+ >=x11-libs/cairo-1.14.2
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-2.24:2
+ >=x11-libs/pango-1.36
+ )
+ selinux? ( sec-policy/selinux-java )"
+
+DEPEND="!arm? ( dev-util/patchelf )"
+
+PDEPEND="webstart? ( dev-java/icedtea-web:0[icedtea7] )
+ nsplugin? ( dev-java/icedtea-web:0[icedtea7,nsplugin] )
+ pulseaudio? ( dev-java/icedtea-sound )"
+
+pkg_pretend() {
+ if [[ "$(tc-is-softfloat)" != "no" ]]; then
+ die "These binaries require a hardfloat system."
+ fi
+}
+
+src_prepare() {
+ if ! use alsa; then
+ rm -v jre/lib/$(get_system_arch)/libjsoundalsa.* || die
+ fi
+
+ if use headless-awt; then
+ rm -vr jre/lib/$(get_system_arch)/{xawt,libsplashscreen.*} \
+ {,jre/}bin/policytool bin/appletviewer || die
+ fi
+
+ if ! use gtk; then
+ rm -v jre/lib/$(get_system_arch)/libjavagtk.* || die
+ fi
+
+ # NSS is already required because of SunEC. The nss flag in the
+ # icedtea package just comments or uncomments this line.
+ sed -i "/=sun\.security\.pkcs11\.SunPKCS11/s/^#*$(usex nss '/' '/#')/" jre/lib/security/java.security || die
+
+ if [[ -n "${EPREFIX}" ]]; then
+ # The binaries are built on a non-prefixed system so the
+ # fontconfig needs to have prefixes inserted.
+ sed -i 's:=/:=@GENTOO_PORTAGE_EPREFIX@/:' jre/lib/fontconfig.Gentoo.properties || die
+ eprefixify jre/lib/fontconfig.Gentoo.properties
+ fi
+
+ # Fix the RPATHs, except on arm.
+ # https://bugs.gentoo.org/show_bug.cgi?id=543658#c3
+ # https://github.com/NixOS/patchelf/issues/8
+ if use arm; then
+ ewarn "The RPATHs on these binaries are normally modified to avoid"
+ ewarn "conflicts with an icedtea installation built from source. This"
+ ewarn "is currently not possible on ARM so please refrain from"
+ ewarn "installing dev-java/icedtea on the same system."
+ else
+ local old="/usr/$(get_libdir)/icedtea${SLOT}"
+ local new="${EPREFIX}/opt/${P}"
+ local elf rpath
+
+ for elf in $(find -type f -executable ! -name "*.cgi" || die); do
+ rpath=$(patchelf --print-rpath "${elf}" || die "patchelf ${elf}")
+
+ if [[ -n "${rpath}" ]]; then
+ patchelf --set-rpath "${rpath//${old}/${new}}" "${elf}" || die "patchelf ${elf}"
+ fi
+ done
+ fi
+}
+
+src_install() {
+ local dest="/opt/${P}"
+ local ddest="${ED}${dest#/}"
+ dodir "${dest}"
+
+ # doins doesn't preserve executable bits.
+ cp -pRP bin include jre lib man "${ddest}" || die
+
+ dodoc doc/{ASSEMBLY_EXCEPTION,AUTHORS,NEWS,README,THIRD_PARTY_README}
+ use doc && dodoc -r doc/html
+
+ if use examples; then
+ cp -pRP demo sample "${ddest}" || die
+ fi
+
+ if use source; then
+ cp src.zip "${ddest}" || die
+ fi
+
+ if use webstart || use nsplugin; then
+ dosym /usr/libexec/icedtea-web/itweb-settings "${dest}/bin/itweb-settings"
+ dosym /usr/libexec/icedtea-web/itweb-settings "${dest}/jre/bin/itweb-settings"
+ fi
+ if use webstart; then
+ dosym /usr/libexec/icedtea-web/javaws "${dest}/bin/javaws"
+ dosym /usr/libexec/icedtea-web/javaws "${dest}/jre/bin/javaws"
+ fi
+
+ # Both icedtea itself and the icedtea ebuild set PAX markings but we
+ # disable them for the icedtea-bin build because the line below will
+ # respect end-user settings when icedtea-bin is actually installed.
+ java-vm_set-pax-markings "${ddest}"
+
+ set_java_env
+ java-vm_revdep-mask "${dest}"
+ java-vm_sandbox-predict /proc/self/coredump_filter
+}
+
+pkg_postinst() {
+ if use nsplugin; then
+ if [[ -n ${REPLACING_VERSIONS} ]] && ! version_is_at_least 7.2.4.3 ${REPLACING_VERSIONS} ]]; then
+ elog "The nsplugin for icedtea-bin is now provided by the icedtea-web package"
+ elog "If you had icedtea-bin-7 nsplugin selected, you may see a related error below"
+ elog "The switch should complete properly during the subsequent installation of icedtea-web"
+ elog "Afterwards you may verify the output of 'eselect java-nsplugin list' and adjust accordingly'"
+ fi
+ fi
+
+ # Set as default VM if none exists
+ java-vm-2_pkg_postinst
+}