summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2016-04-06 16:33:28 +0100
committerJames Le Cuirot <chewi@gentoo.org>2016-04-06 16:33:28 +0100
commit50e23a4115e1cd222adfb2947c5d11133fc12286 (patch)
treea10fac5ca44d22c21f0d25df721cde934b00b35f
parentsys-auth/keystone: fixing patching of kilo 8.1.0 (diff)
downloadgentoo-50e23a4115e1cd222adfb2947c5d11133fc12286.tar.gz
gentoo-50e23a4115e1cd222adfb2947c5d11133fc12286.tar.bz2
gentoo-50e23a4115e1cd222adfb2947c5d11133fc12286.zip
dev-java/icedtea-bin: Remove vulnerable 3.0.0_pre09-r1 wrt bug #578788
Package-Manager: portage-2.2.28
-rw-r--r--dev-java/icedtea-bin/Manifest10
-rw-r--r--dev-java/icedtea-bin/icedtea-bin-3.0.0_pre09-r1.ebuild166
2 files changed, 0 insertions, 176 deletions
diff --git a/dev-java/icedtea-bin/Manifest b/dev-java/icedtea-bin/Manifest
index 1c1149b2522e..6ba9db6544ce 100644
--- a/dev-java/icedtea-bin/Manifest
+++ b/dev-java/icedtea-bin/Manifest
@@ -1,7 +1,3 @@
-DIST icedtea-bin-core-3.0.0_pre09-r1-amd64.tar.xz 56915520 SHA256 b1e9846f9a8b0936a3c976ad61d1e8fd4535335b798de829800b01bace7dd44c SHA512 11329ae1be4f81b3b371079f13d6162fe617389f34a8489ed279af95db8e47269374928bd846ce40d56d6201ccc84ff1866dda044f8965c9d67d510c5315c96a WHIRLPOOL 342adb5f74f8f6ae6ff196aa43abd930926b9f9e1b6b258fc37d7e117c79739e5ed1e109ed1e08b1e8d5ca06ade21c035cee114acb5e7d77775b4922fefe9cd3
-DIST icedtea-bin-core-3.0.0_pre09-r1-arm.tar.xz 48954276 SHA256 81372b707fcf1817d478e892feb5b7dee2920fd602300538f217bb1ff0094fc1 SHA512 8317c3199d4a7819465983934bb98e8ea0a98262abd23e072bd30dcffa52ad6195d03a1a6dd4d54c7256285716c9ed194b74b8b017f2c2082807fa8961cd0d00 WHIRLPOOL 5de44df9afaae01f049baed95ff049f5708ae870dd7d7d7411f0722f6968c03d3a46c1d7c54d1f52dfcd030a66ad5b9745e4219fbc7d4a2990b6bdd5ced33a45
-DIST icedtea-bin-core-3.0.0_pre09-r1-ppc64.tar.xz 49964332 SHA256 31a4f5e98931659f9644fd510de80d33dc4d8c86c42593ee9dc913eb6af329b3 SHA512 cf068cd9970b9b9094f7356e189f8443f772e544fed9f061da0c7d7905b303117529d44ec6f81148c20fbc317366bb1420a3fe65dea58b857937d0a2950041e5 WHIRLPOOL ebad0a44646a0eb224c96a80987878f3fcbbbbcc0bef0d8d153c433075d33965cdf03d8282e612c52b08a6c2360ee545b43640f6ea189008c0cdea15365c3978
-DIST icedtea-bin-core-3.0.0_pre09-r1-x86.tar.xz 56358172 SHA256 559a3bcbc46d5177d2e0d204e4bc37569a6dfdd4bf5acdd23608d321d39b454d SHA512 c9e941f71d3fbdd3dc1002698e2c5598811a3ac6cfc2bba0e547a06cea0f43b1baa02f054fbcc40a528c18ab6aa8a3510684f1e6bd64f8bf82d7a039588fbed8 WHIRLPOOL a35e01dfc3522648168ddf35cc61ad6903dc4aa199efd39cf07313e2d5c5a7e882df8e00c0e072193be13695605d33a82459ed91fa773551e30eb2bf3eab225a
DIST icedtea-bin-core-3.0.0_pre10-amd64.tar.xz 56918372 SHA256 d3a4ed7a21da9ddf52424cbd956ce474d9289c37318f7df630b369446087b077 SHA512 a389afb622c8d0c595d567431aa11abe8027e90b32f01eb575890dd5b0d9d36fe3570627d4e3f4b991a756857baac1fb3d2517917b4d8e3b72a7af8ed03f57d8 WHIRLPOOL 7a7e1b79d9bf06961afa8eaf4d19336c02ca51249bbb924c480519edce0a6eaeb512122d32ac627b0e340eccbd28491342553b53c93a49ccb0cb338c337d20df
DIST icedtea-bin-core-3.0.0_pre10-arm.tar.xz 48949724 SHA256 17c334e49a497234371196750e4fdc340798a9198549b3ca07a5602aa211c3bf SHA512 f1c1618bf03218774dea5ce705460012a4a99d5ce86e52e42425cfdfb36e35902e7b3e91e75763e63e005f29ab61604be37b38215595cec6195aece5575c534c WHIRLPOOL 2fb9aa3108ccf1f8e25926edd1dd2862251a7ed99670265843b937ab1205148acb1f8eca821834927fedeef938f797701c158e51511486316bc8b5f5ebb0168e
DIST icedtea-bin-core-3.0.0_pre10-ppc64.tar.xz 49977580 SHA256 1c34097333bb114854951212276d13d863596f7068f9bf7c4cf9cc81e42e234d SHA512 cd41601c0a01c13a4d4cfe9b3482a9ece3e6b2bb7405d46a78933041667f2f51770fdfe13a18969ca1d5ab0a3ca7b01b1f69e15c6630a273c8b36094847f8eda WHIRLPOOL 3730d64b05538529d1e35b29189c754a6db49e03bf256cb27c3e70256bd1d1aa989a21140714bf4eed8bc21f6c4dc10101b7102883b52da5d2c774120d76a450
@@ -11,14 +7,9 @@ DIST icedtea-bin-core-6.1.13.9-x86.tar.xz 50947228 SHA256 fbef618f82fc640553bf69
DIST icedtea-bin-core-7.2.6.5-amd64.tar.xz 53018784 SHA256 6adb5ae0e07b29f89cf3ee4a4ed8739ad92f3eb6d276e38ac56056570b70f263 SHA512 9b65828ae84939a7951ed26ed1e55abe42bc8362447b8c8b408e6ea64b80252d1de49a2ab17493dbd920fbc8b496b530486e35946c87094bf5ade452100c80ef WHIRLPOOL 0ab1babb5cdfb17f69692f4430226a0217de6b9ac4f691b700dbdd123b5f221592092f68ba548834692387b580633f704388d12ab20d2212a23793cfbfc243d9
DIST icedtea-bin-core-7.2.6.5-arm.tar.xz 43997476 SHA256 d897fbcb7e0587ebb3c1cda83b558eb231983bb44cb2fc306b0fe30c0692d4f9 SHA512 8a328f5f508a815b2e13f0cf27d21a724c29e6228007e6dde418f1a41981d3c3d8c205586560c1f0110e68a176cb58329cd80510a3e33aca0994a78a4456bd89 WHIRLPOOL 4ef90a28853456c16e6698f6e6fe4d46eb745062773da10cd8c75071c5a7b7dc73ae1da21dac1474f156e06cda98a5ceb94a65fe8b79b1415c722126deacf43c
DIST icedtea-bin-core-7.2.6.5-x86.tar.xz 54670860 SHA256 ffdee3645634771922e6b160012ba2200c7f59e91dd890e8e61f2b35126751ca SHA512 7ec33501a2118f85f3bd14435eb9aca5711b77fa379db21b63d50d5f20da33cb3818d876f8be3ab40d7cbd8df7120d0b73d06415284463d50614510a59ebd41d WHIRLPOOL 7cfec521ab9cad48cd1296c76c12d8cc57a830a416fba591d0d7e0d7ef195341a3b401196049516c0a905dafcb36323bb68bb013b4cb4ea6b6a702972a984800
-DIST icedtea-bin-doc-3.0.0_pre09.tar.xz 11648012 SHA256 98e2d1940a5042d5ea9752a5e2783f37e7996cccad20e84a499838a929681f41 SHA512 f577153f2158a6a8984ff21049716981c5ec6e5a524c81d516890b5eef55a457b1071d6a1a05e7df19902a0e6033eb96a4c65f9927680903162c2abae1283ab7 WHIRLPOOL 126e967ae2298951f1b090152a3833fe7ebc1defde34267ea19c613c69fa72d0c4ac566c4b63a9515e8bb0e7b16d096b827bae5e0e099140c806b21e097b945a
DIST icedtea-bin-doc-3.0.0_pre10.tar.xz 11688120 SHA256 cc26fcea4f5208e11ecd00a5c99c4bd5b0541e14ced37aa4a8e0e396c7565797 SHA512 ecf6a8654caed4c7fc07baff10010854e6751fe2eb2377979c1e68e6f1530ed60df0574df422b6f03f6acc20e9b943fd4db2e883eafa00480abb4bd14bf12f9c WHIRLPOOL 760dd0cba2e0438eb65d75002995d64fa9b968bdcdb8b07da61552b1f2044312c5cd6b3981a64e1063f14974ac7ca080d0eb3aa3884553844ba97992bca63da9
DIST icedtea-bin-doc-6.1.13.9.tar.xz 9853020 SHA256 94ff85ba64be5c8cfcf261cb6293e48cc3239c1c9da69e98fbc744a82620bd16 SHA512 501d483dccfc349c6dd8a55f9d509d2859774054be9b9ca8020a75e3975d740d78d40184aa86f16b5ea948e16b74944ce4d890396d8ccb5209f7a9514a8b649a WHIRLPOOL 751afbb1e0e2384419424d9ae093893c2e377c004c69d0e06979385823f743ee33321b3c3076e0c8e0b16625a159293d81f959455ca6ee779dfdfa5fc5361907
DIST icedtea-bin-doc-7.2.6.5.tar.xz 10605544 SHA256 ae3e5078e8705fffbd95e986c99ce5ed8f8e76474f2c3c005aed0eef67b55377 SHA512 e24f52b8d39e329fed5e8f76a6d15a168454c252db653b46eb4fc5dad63483afefab07794718b9149a76bb62ccdb9f6eda8da9229043eab362bf359b04b118dc WHIRLPOOL 42693d3769ee3ab9af6200d7702244a941a07a01f41f3db655cae28b5bddc527989860dbfdc93681cb4ef22ea5b0c2a489ffc765abb15317ee07762a46f2b863
-DIST icedtea-bin-examples-3.0.0_pre09-amd64.tar.xz 1811968 SHA256 2a497aaec02378dccf7141dccf926afe43f6089832404f7f3bb5e4152ebc67c9 SHA512 c87d7449d556be739b634c44331ca51eb975c8ebb9c3932cf463969898d7ce41169849c1c52273d40ce9701264a1292b8fac45eb81302ed2fe65abc223072719 WHIRLPOOL 581aa58ecfd454e4347aa8733ca12fc6730a4165ac2eb494ff86b061aa3ab5b887abe812f837f4f3599d8f9e351e3b332d276bd6454b1cf0f8dcf9be69ecd8ba
-DIST icedtea-bin-examples-3.0.0_pre09-arm.tar.xz 1794592 SHA256 ad6ab000a0f727a9ed6a6d2b9d35ab553a261586af20238698fed75e33f1027b SHA512 c15ab276a4534b741111cc1628e5bb3893f1dadd03b18c084ff48b41d1a5426060aa63b6025bf9d9e28f2861c8789ba6e22ea4b70b6c401917a70fc7df9d017d WHIRLPOOL 2cd72d7ea034e0b775c3ecad27025c77c4ac01de7e5040a47514a738ed11837099c04dcffba8afd2b0de60c9210ef834a3bd3af8b3b1cdae5d026ebd3175e4a0
-DIST icedtea-bin-examples-3.0.0_pre09-ppc64.tar.xz 1804896 SHA256 8364f463b5a424a7e60ed724ee90b2af0ad30ac6fe2616a96eb5969893474d8e SHA512 dc2feeaa920145f007c29d17ee0cdb6de9d316f2515c2fef4ce5a4db1439895c2fcd7802061ef37e1655bbd617b26f3391ac73574bd75980697d953df6760b59 WHIRLPOOL 0c412aef95eec0c5b0ed2164c2ebb6b82cf9ba98fa830414cbb71227d18f66ee53deb0ef3bd299c04f3b9101aead027fdc783dbb618be4306cc091fa894df07a
-DIST icedtea-bin-examples-3.0.0_pre09-x86.tar.xz 1817136 SHA256 bc3c6adee9d2a50f98bc2262852859252b52d61ecfc55610541cb765f401191e SHA512 3c8e671bdb2e5e0e52a5a15db38e99b7dc79198df05cd630e0cd10773203e41587956b05e6baf7c0dcc8c277379f9e531513eaa87c44df207d559e07b8e35cba WHIRLPOOL d4465cd26ff220686e4ad6e949b0c09a96c75ac9d8978fbd53e2c78b5fc56ad52a143cc2f099a058c92c9f1eb565b9ae8fc7776aea3134dbedd6425770540ccc
DIST icedtea-bin-examples-3.0.0_pre10-amd64.tar.xz 1811864 SHA256 546c7ccbfdcf4c3116716c27e8392e0116af104aca0b1464812d939e8017fbf1 SHA512 b578d4f2e9da471a0942a7e346f44a05d9cfae770e4f694c17f6c1e5b1265afdb154a44b75ac022c40ff87c64efd32cbe4f6a255b39eb483cd799471c2db96db WHIRLPOOL b267b0371aebb4c35f89a0035a46d8a8754f56ec299c6d31939f2a3e95550b1d7dbfe5c6b4f530d07c688981189c5c63915c818fbc8188d7a87442fe6db52ab7
DIST icedtea-bin-examples-3.0.0_pre10-arm.tar.xz 1794528 SHA256 cd658ce0c08652ad24bb74278a52655af2ed1458f4b5d5b23ee391b786110041 SHA512 1198a51c9a863686a8a062edad45faa04d2738975470de4f4620f0d48a06871cd40fefde99586bfa9a57899f331e99649ec3d2d3752b99bbef875a3ae643c095 WHIRLPOOL b83a3658b6a8bcc4a53fa45bad19da028c9b2ecaf7985064271645e609653d19a6939aaa32801041635d6d0c7c4f6bec435ff62c9f4976dd31ff0d91494c55bb
DIST icedtea-bin-examples-3.0.0_pre10-ppc64.tar.xz 1805072 SHA256 ad727e79992b19078ac8cafe25bd7c0f8aca2791d6be9666701f9c17e9aea175 SHA512 5c55a09c8ac493065f57d73414f0abdbc603d6a9a420495fe0cadb23cfe04a8b671d77bb333ebbd030e6d3f4833c5711bb005d6e35fefbffb3ac2c896ea0bbb2 WHIRLPOOL abc756c0f2ed606e528abcf76ae31d37f34c0e3cd824aa14368935f1ef70047ae4df322617e73be84b0c0c54e74b782706d71a8248358c6432c7c9beb34740f8
@@ -28,7 +19,6 @@ DIST icedtea-bin-examples-6.1.13.9-x86.tar.xz 1904548 SHA256 1aaaaa4ba6c37b5f03e
DIST icedtea-bin-examples-7.2.6.5-amd64.tar.xz 1796824 SHA256 9730fca1e431168169e71a6cd28120e2da97894771ff99bcfd3fc814ed85402d SHA512 a931737a56fffd65ba3dee00d68a22ee365c783e87cf37cf0fd69620465acb9b5f64bd36ba3798a5d9549f96f7290500a0abbe5d5cee40fc66c5db15b44ecdc5 WHIRLPOOL 5affef2b772efbd96d6fe799bd686b7155fcfff1b3738f116cd8265fa2e784dcece7867d456657f0a213b663c8d7ffe4799cf1ba30e1dab1d9ed57b256121081
DIST icedtea-bin-examples-7.2.6.5-arm.tar.xz 1779800 SHA256 563ac5025c8d3a6f0066ca479d9f0053e6bd2440dbe07b2dbfbcf3aee6a87699 SHA512 3c98a62aebf83e5e6e36443b8c42925a2534e15cc369cef4d06d39b81e82057007758462c5b7731a36e862d93a7e547ef2051b9aef313f24fa261277715771b7 WHIRLPOOL 4dc678d1b9e5a9245fb01fb93fd76e6892783444a2026cbd44ccc843cb8229328a43687688c849605e933605366b6904abfea9c152477f9db50b4f7b91ba0c06
DIST icedtea-bin-examples-7.2.6.5-x86.tar.xz 1796620 SHA256 1571042672d5d53e4f56e84397411273639e45d05ac706d0b845ac8355f82484 SHA512 ee59bc512af1555480a9219cd01bf2e4f935534c2ba93f8323b4e1dcd69131920dd9ab621e3dd8e68e9cd3cd6fb63ef19274a37b4e954d4570f98211a501e005 WHIRLPOOL 9abc2a7198e31cf33796df0c6ac5b5008ab53d286da086e7e5f526e366339fe68e1c506276cb7044fb7eaf07070de2d00a979b941931665f3a20f9b899bba273
-DIST icedtea-bin-src-3.0.0_pre09.tar.xz 45635304 SHA256 9138300b1ad16e7c5a300887f621093ed38491cd80231cd90c77870459c09d18 SHA512 e81faaa8bf9eda613dbd9be6880b5c3bf99b7a466a2c48c6082f16f8506cdd50664177d0a66b535e5aead6e2836f4f886fb9700ceb2f386239013e845b273498 WHIRLPOOL 978b51c8583883965700f3b6d793e0c4c66e089fe8c79794aec7046ea261e7a425abdc4b0688dda8e46978800c3a1e345f5861060e3439b7b0a52aa74e70d021
DIST icedtea-bin-src-3.0.0_pre10.tar.xz 45654080 SHA256 48f2402a183b21cbe9af45eb0fd47b07f22b007c27c2730bf99b7cb588fa5718 SHA512 c5bdde545f997c4451fdeb2b20a6e7eae9519419b84e716ae6789ed5f0828ff3ab22c2d1f86bda907175a31c4d0f8ad4fbc45548c5a77f7d9bc2bb2125edfd85 WHIRLPOOL 1582af0d78242f0ba7d1a84c326678f9231d6c6b81e9944a093e9ef7ee748eb6a74bb4cba65751da2f8937496e0084cfa6d6eaf9dbf0788adff2f55cd2eef127
DIST icedtea-bin-src-6.1.13.9.tar.xz 39778948 SHA256 11ed522199d3919f7013f4d3d4fb2324d4505ca60fdbcb015faf635c4dfcfc70 SHA512 4c02e7368ed21882afe68cbba3475a16a30276110282d28984586f1c1e0c3d14278e70e495fc74676ba57df3849b8f60ea24da49c6f41070319c46962f1a221a WHIRLPOOL b6daed3717d434688e8946976d96857ce904d510cb45fc30b464e86d1c123ccb2a81ee07bea432ad6fb5148d1b0a73bebe7f51a0bc2f5b1308701a4fce436d79
DIST icedtea-bin-src-7.2.6.5.tar.xz 40046964 SHA256 85bd4d4bc2abed47ef2bf7dd5eadbf5837efe67fe4cc322dea8096d47a980930 SHA512 cc5de0f6ede1a342380d5a1ce9ec279ae7f7bab46ea5504c0c39318ece75ad867fbb095e8a8aac5ecc64a02bc8376cf283b36f9a21fbcd485b8d0be636ebd047 WHIRLPOOL 276845b53eea26df67542e240c7f3068fa554c610be1ff7cd43729a57bb74ced6082f5920cc7deee81b8b286bedd24866c67909fa82574aba73e7ca19411e46e
diff --git a/dev-java/icedtea-bin/icedtea-bin-3.0.0_pre09-r1.ebuild b/dev-java/icedtea-bin/icedtea-bin-3.0.0_pre09-r1.ebuild
deleted file mode 100644
index 5f413d0b5b99..000000000000
--- a/dev-java/icedtea-bin/icedtea-bin-3.0.0_pre09-r1.ebuild
+++ /dev/null
@@ -1,166 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit java-vm-2 multilib prefix toolchain-funcs
-
-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 ppc64 x86; do
- SRC_URI+="
- ${arch}? (
- ${dist}/${PN}-core-${TARBALL_VERSION}-r1-${arch}.tar.xz
- examples? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-${arch}.tar.xz )
- )"
-done
-
-LICENSE="GPL-2-with-linking-exception"
-SLOT="8"
-KEYWORDS="-* ~amd64 ~arm ppc64 ~x86"
-
-IUSE="+alsa cjk +cups doc examples +gtk headless-awt nsplugin pulseaudio selinux source +webstart"
-REQUIRED_USE="gtk? ( !headless-awt ) nsplugin? ( !headless-awt )"
-
-RESTRICT="preserve-libs strip"
-QA_PREBUILT="opt/.*"
-
-RDEPEND=">=dev-libs/glib-2.42:2
- >=dev-libs/nss-3.16.1-r1
- >=dev-libs/nspr-4.10
- 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-1.6.1:0 )
- nsplugin? ( >=dev-java/icedtea-web-1.6.1:0 )
- 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)/lib*{[jx]awt,splashscreen}* \
- {,jre/}bin/policytool bin/appletviewer || die
- fi
-
- 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() {
- # Set as default VM if none exists
- java-vm-2_pkg_postinst
-}