From 5b56b9571ad8fecd670b88b6bfec3034d36a939b Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Thu, 16 Nov 2017 21:06:09 +0000 Subject: dev-java/icedtea-bin: Remove vulnerable 3.5.1 wrt bug #636522 Bug: https://bugs.gentoo.org/636522 Package-Manager: Portage-2.3.14, Repoman-2.3.6 --- dev-java/icedtea-bin/Manifest | 14 --- dev-java/icedtea-bin/icedtea-bin-3.5.1.ebuild | 160 -------------------------- 2 files changed, 174 deletions(-) delete mode 100644 dev-java/icedtea-bin/icedtea-bin-3.5.1.ebuild (limited to 'dev-java/icedtea-bin') diff --git a/dev-java/icedtea-bin/Manifest b/dev-java/icedtea-bin/Manifest index 196318e6426e..ae250092c07f 100644 --- a/dev-java/icedtea-bin/Manifest +++ b/dev-java/icedtea-bin/Manifest @@ -1,9 +1,3 @@ -DIST icedtea-bin-core-3.5.1-amd64.tar.xz 61880160 SHA256 159cfafc2b48d1042cc8b2ea9fec596f4ef59d7774d83c1606c8c213355d9b3d SHA512 1b7d8bfc8509ce0cc12406d14d70450b239838763b990d71b102a01400d6fee4359401c198669236a07794e410462a575b7b0fa2083b49e0c0f6fe637690db08 WHIRLPOOL 1bf461a833d8824136b629be7a88f8f96d18f11537b75735b0de07e073f3b9e018c0d5b0d9de6095159092dafef18af8f98ec11e7b08646e4b6d7685049dbfe9 -DIST icedtea-bin-core-3.5.1-arm.tar.xz 57957952 SHA256 b9b95ac5b6281f0ddbd5bbea24f1a84d2a1c517087f9775d33aedaa58fa888c8 SHA512 824782e010c037390e64c7a60e101c94f216a05fa94f854978cdcfa7351583554557d0b22a3fb46ee1033a9be2476cf58509ab5150d58f460e770f7399bb6b3d WHIRLPOOL 4063feef1b53261264f0793f514e79c4b394bf5ab8fd66cff8baa1a3ee9014885eae17b27d58809e9b82525ac4ff67bcb458f274a8136a7d263cc19bebede169 -DIST icedtea-bin-core-3.5.1-arm64.tar.xz 58951988 SHA256 f88a4f6c18956e6b1aba0e7d10936105ab39eef44d1a1b83ecdad7e187b4738f SHA512 023eb7743d055db28d67b234947860f1ecd362cfd38234e839092f9f182762673c50b7130e4db4c12a1dfc91d319e9546b8cdbd8486630800327e82c9940090f WHIRLPOOL 6a695ddbe3a105b4ff1cd370c1d5594276fa188666ad0e01cfce4192059a4eb297779e993328133879ff3cea3799ac70d27d8c4e2f8dd97e9db1bedd03e4a2af -DIST icedtea-bin-core-3.5.1-ppc64.tar.xz 54197760 SHA256 999b47f42a4f952eeb8c4a603ea614463c380d66150f93e17d7974684f32fa8b SHA512 58116c0bd67dc8f6ba65c5150513c2f62319cf3cef48f0624926e8d874787f6cf222e0ec8012822a6d9151b4f18691f8a1b5b65bce3e3b5bee54a85f503928e3 WHIRLPOOL 3ea91a281fe74ec75415acaa0b5275578e2b016a1d9c743c0cb9f85bad546e09fc0f660bd5d24f55cc8f2f386413cc2f9a2b58f906308dc1aa338238c40cf8a1 -DIST icedtea-bin-core-3.5.1-ppc64le.tar.xz 54240304 SHA256 0bac113ea9e165fcf2cf59c4c2476965c807d00d1c16e638f1803adb2ea5b05b SHA512 c781daf655362b571acdc78f4f3f8b86b1c132fb853ffe5cf4ac05968ae4d733bb90ee43d0d71f25418de399b1b25429dabdb9831dfbbbd98b937f4416c05487 WHIRLPOOL 320c92c8581064dcb5d715d7f457ce1926bd9e864d39569ced07e9d116fa2bd55f40441ec74a3b297ce0418aebc8bdd8b425d587fadc5bc4a53b351e457875d2 -DIST icedtea-bin-core-3.5.1-x86.tar.xz 61349068 SHA256 85bea3a4291b8140a1ed5d7e5585fb3fdd67c0f05dbfde41df7882e7f3f4f171 SHA512 89bbcc3f5340894c6500179e3be8f75d9eead0480758db76133ca18ce6d216a6ede2f4ab820f56b220fd66060433d1c135fe7993339384d70cbfed0aa072ed20 WHIRLPOOL 6c3660bac05571c1a25e53ad20bb06d622e9286c6cd0c080c99e15b14ddba72567e8912ead3078745e2874ce0e9441bf879afd5d2fc8e10dc55fa1890ccb93e0 DIST icedtea-bin-core-3.6.0-amd64.tar.xz 61911044 SHA256 d2963f0200218c43489643d137520935f00fde1516c4e61f9b368dd053a79820 SHA512 630cba001ad511133ec7997c931891523e05062b6e5460aa392af551e71198481b7f13eee478f234ab9eb33efa059f7b54edf451cc9f5ed26a7f4d023f8a9cc6 WHIRLPOOL 9a5c7853e75754415cb0c1c1bca59e0fa77b229d77bcc5e525471dffc1f186242c8d8b4ace42492e4ac2a6f9087f10bf7cd6355d7248b9e73edd11f1a5c290c8 DIST icedtea-bin-core-3.6.0-arm.tar.xz 57965524 SHA256 09a4022a25b31df111475fafea10dbe3a05e69a7b0aeff0224d86903c3c6c9e6 SHA512 731a154fcbcaaf6cdc638b91b72bc65007798de2c31125279a362d3f521bf88a130e6d51ab185f3880687f5f2b07aaab01cf2665e28715ea83191ae6979fbdde WHIRLPOOL 1dbe765023aed33cbe655505b5c1723f6d9e1eed24d021c924b0f2f3ed4ea32164cc46ec9db23a205869692e6ac79320d8169c79ebdf509a7bd49bdb6b140735 DIST icedtea-bin-core-3.6.0-arm64.tar.xz 58962420 SHA256 5fecb710513230971b4d5c640c9fd91ed333264d14808ff1d32a447b6a9ed05c SHA512 83c65e73fdbf1852a8eefac0ad077fbe988a46ea95a6e709a975df8d7ad812b8ae21c62ba8cd1fb51647836f83d707d6c423c06043cd9be399c5f8a15373e9ac WHIRLPOOL ffc6b09c27623bb7a366bb842bb6c61a6858d5d1e4cce9fda49ddee9293513410a2b1e65ffb847c20c6894a0b7358c594a90184078b6f8451510330d4d61c04a @@ -12,15 +6,8 @@ DIST icedtea-bin-core-3.6.0-ppc64le.tar.xz 54269552 SHA256 cd07172e19d4e914ef415 DIST icedtea-bin-core-3.6.0-x86.tar.xz 61382796 SHA256 79b1339a8563c3ff1c775ae313c43f5265befbe7a2bbd4ccdd69f1e61fb223be SHA512 0d2dc8d6a080cc0f85ae85fbea842b0ede86df4a1ee4d1db1ef48977039230b4060a753ed67670f154d8733fd74540485290b343ca755cd71f54bf92ad86270b WHIRLPOOL c77de0732e08df5ad2fa8f90fd0637920d5f781d5599945534f5dd2efdec4f71d058354d30b6308f9b36323570e093c18e8995c7d898a0c297abc528f1b78033 DIST icedtea-bin-core-7.2.6.11-amd64.tar.xz 53452816 SHA256 19db272211ea35da58ecc1ad8ac6f8daf0e2834501c3cab3ca765d6d28451967 SHA512 2801c07230c8fe041ff7b945afc67da582dc820c02ab4c948919ada7e728613a20afb86cf0f552102047c2e10738f0e16d388eebc5b3a44cb245e1eb2829ec4a WHIRLPOOL 1887e66db8312c56ac92b27eda55f19f6621fbb795eb94c888be6766c10b50ca257de961eb72f93702fcee4a37188242cb474c974f23421b958be94c479bb97d DIST icedtea-bin-core-7.2.6.11-x86.tar.xz 55369568 SHA256 90143af039d56edebf073c38f199dd9c2f7a0f8f22ee28cdd25d5ce5f77c094e SHA512 90b2bd9b79bf287a6a76850e7d60f26de309b07180b8ca42709784c9ecef04e150a35760398b47967a87fb6391aea430ec22d6e7d1e7b8068e8069b27d26646c WHIRLPOOL bad37af054535d964e696d43ae99acde61228d84110350c852fff5ff97cd6fc6a70d053c4962aeb52b99c24a4b7c87625696e3c4fcb7f01c6363ae0ff5c86963 -DIST icedtea-bin-doc-3.5.1.tar.xz 11682876 SHA256 09df364aac70225f2dc19e43c157e1283e6e76a6f813de61a1ce35be7ac87d08 SHA512 df43658202c08e10ada2f5179c9f6eae15ffed3981b95495cc7ee7a9b4bf3b5f7957dce156451ef589edb0f0b9f50eb4faff1942263dfec665a83e75fad55caf WHIRLPOOL 1563a7d4bfc21acaf576ff291a110ab9bf4280cf9c5f9e582665faa32fd87969213b98540c0ec4cdabaf64c0a94ddedc9cbe3e1d134ca59a3796d1a58b7f8015 DIST icedtea-bin-doc-3.6.0.tar.xz 11681684 SHA256 2b9c5898c645072b72a1810881626756d2afbfcda6d4f5633e86e084095d026b SHA512 a04d927cef6026833c7ba8d1127a4f0c2334969bade3ce6f2b6c03f174e8781de899e11467899721a9f450f6e87b64960b3583accede3269386251c1a8d6f1ed WHIRLPOOL 94008767054d0e3a66fb500fa1515c2606818204bda0c0ae87618e481017b34248d6a97cfe5702920dcb589d19a1365dbd5e99d78c7823f9b9c288a1f89265a4 DIST icedtea-bin-doc-7.2.6.11.tar.xz 10611016 SHA256 b1d785364491a62420f8fded47a936c292e962e5b208b852c7235e1a80f69667 SHA512 6a1d43f469b98288b138b0a0e520185d89e487c61afaadfa82afffd7b0c5c5377c2fb03ce6abfb12da22ce54eb989371d82dca5b49d561e63bd2230961c2fa17 WHIRLPOOL b7482657675223cbe924e75cb428191e7dd23ab203a56ccd466c522fa0d52299aca2b12f811d27b44a4a8e2b038216184c311344d44a0499530d0c7214f518d4 -DIST icedtea-bin-examples-3.5.1-amd64.tar.xz 1856316 SHA256 990c86ce2a2c6e15db35d62a4ec49bb192476345d2d1f73b1faaa1f099c74884 SHA512 f32b55e03308c2e3cc7d8e823b53c8a6009e710c7120a665bafea1ae209664c24e2c0a3f408315461066dab67faa343199778ad0c255e3861b0c90f9bda72dbf WHIRLPOOL 5829a269bddf786786736dced0dbaa6db285e2184fc7cd3fe948415f2f0ad5a52ab8df6e16f5c1fe3cdc999072c5c474667e1507c2ac5d98fb5e78c3af903655 -DIST icedtea-bin-examples-3.5.1-arm.tar.xz 1840324 SHA256 6d81c9781c69ddf98fe06d9942d7e1e695a2eb28e1b42b1b1b6a7b0d41922ec4 SHA512 f40461e5267f43e8990d88784bff02ab4b85b5d41bf9d4bd519dd6c9a215779ce37c19a8572dabe72cbfd84db27eac9d71d12b15f9f6c1549cfc1a607fd957b8 WHIRLPOOL 21df1a426b3a5f97389bf9704eac79ab7e6d17275b2b8c32e932e0ba13a1d3f513fa37ddb1408dc95cfc302b744b1106fde22b2e8fbc6e3557209036a0384419 -DIST icedtea-bin-examples-3.5.1-arm64.tar.xz 1835880 SHA256 c147717e0b97ba78c0a9e5348acc58e15d31bfe193dba478f1e375130df60d90 SHA512 502f4e2220a8616c154fc9e7de742407bb48f92cc41e50eb5a334579cc12c5597adde5c673250fc5028ce88488f6289217047ad6709e3e146d99557c94c36c20 WHIRLPOOL d42b82fd73533fecde0bc6c1a64bf07593727e8c396f8578c7aa9354f07bbc2721945462954c576180c52397cba3132e97c48430dd21aa8def190c2212bf7ec5 -DIST icedtea-bin-examples-3.5.1-ppc64.tar.xz 1848368 SHA256 9453818b7160a5968f4fa9e2303982a093e77091dd82f7352344f5c4429a6976 SHA512 7d4ad879a00ebdf0c2bd6b33aa3e057ffe73a11e67f2bf80f781e7399943d9783ee1e88e0213d04de94e59284627a325168ac3913183bb04d8966b84f0d81dab WHIRLPOOL d04092cf4840c65ec402146738c36da10012d66aa3388a287150b3ebcd151f8ba88e891eece63ea7dcfea5aec8ecb04ef4e72d9492bff73dc74fdee0d8d0bf2e -DIST icedtea-bin-examples-3.5.1-ppc64le.tar.xz 1845336 SHA256 1332ae34d932fcb70c9f0684c292bebacad9837f446915e0d93b2e8213117b0e SHA512 7436d572ee16c9fc01fc1ab98f5dcdae7233e9c03f799637751b906e0f1e3c790673c0ea94312de997203aba11132167976e1008808ad90b7c4410a00f7752bf WHIRLPOOL b16392a13f80e232a0ff87084434c74484820b353b6a782e522fe767b70c85d92055242ca2de012eb73bd374c72d9ed58a411f8b0c49b7dca77d0c16333e0362 -DIST icedtea-bin-examples-3.5.1-x86.tar.xz 1862744 SHA256 bfe2ca3d365c83eb56f74e5f1c92ae72b82ba1b350d0a72145723aa7c2227522 SHA512 a803c9c91401f1a85a81d49b261445121b9ee9b5858df6ee711900684421027b4543b6f789395dff30a38afc726d5cc2e5b8307ad18996cc88ef235e6f9546a5 WHIRLPOOL 4faf5df1382c6b4021e6bb2086c35c6192240658ca5f75fb5279431ad9bb49585f5eab0142ada0c0bce42684f145c3d01374e323d6a58d3928aa3ded0cbe06f9 DIST icedtea-bin-examples-3.6.0-amd64.tar.xz 1855840 SHA256 4c199d5dfc9397f551a6d53021ebfd13a435b3a9f55af927247e3802038741ac SHA512 17e6b323d4f957aa2241b305a1ba9a0e3426593be7f35cc926d4819cf059e1022a837dace23d8aa37af713912c5ac15291b9b0cabbd9022edce86cc2294d5293 WHIRLPOOL 0c38cab1eaf1c1a0dfe58f780268903ab7132b8084a2b428c286b368034d3c0b0171a84f6175a86f7bab77325c0c8e59e7c064cb90bb6d06afc9cb13a439f29d DIST icedtea-bin-examples-3.6.0-arm.tar.xz 1840000 SHA256 459b10682419d23dd5373c42add1a8634881cd0885ed23c52ae4164cb641f839 SHA512 4a583857597c9d036f20b74ff620894499dc9b0463d517151f3683d092050bbc10f7eb5f84b98b6ec33e80d5ea4f250466a7c34f8a3106dc36b359865396cac3 WHIRLPOOL 672a0679d37cfa0c81e280b527686747d1b5cc5d80f2b8da00b10ed213070c5a4f944fbb79485d2d7b38dbfc06f2f754e62e86127d3ae8c8b92f50d601eaabf8 DIST icedtea-bin-examples-3.6.0-arm64.tar.xz 1835852 SHA256 9dd8c0d4e4f17dad9b6a03b654ab9b4a6c0ebd8a275cbd40c6ea344b7d157beb SHA512 c0e779acb241caf84b9639a2714edcd4d8fc329917003a05386cabf8f2e9e2277d35da5925c6550980a90baf0138710fec7db19a1ee0caacfcbf876e7651c31a WHIRLPOOL 9fd2f5e3f21304f784db560c75497930c23cb86af59bfc34990118ba7b818fa06b65e4cbf4454d006ec008437f12595ec51e829561e17dadf09d6c5268a04eaa @@ -29,6 +16,5 @@ DIST icedtea-bin-examples-3.6.0-ppc64le.tar.xz 1845232 SHA256 417df741a95d243992 DIST icedtea-bin-examples-3.6.0-x86.tar.xz 1862508 SHA256 d5fb362b8336e01f38bd990b7639c6d2ed346f27d2e56696b53804dc9dbc1b68 SHA512 d0f39687cedd4c8282816ef923163a5506eda07bfd0850bb3dde78daa4b2e21749ea273be9a1deb9e3d3f32e3dd9d1e587132229840b057558a5cdaa11f18668 WHIRLPOOL e822ee196b9609b06388a897b8aaa62cffe6d6e6d8db058d1a5df303218d2359070672666b223bb2eeb9e8dcd40c222d95400d4576fe5f84f2a81c96b80fe780 DIST icedtea-bin-examples-7.2.6.11-amd64.tar.xz 1796180 SHA256 18757fb3b88ff425340a389109487931906c9237158ce75597be8d3e125e111b SHA512 c2f714674956cac81b24d1a929638a38fa972dd9aed1e05ae17397b58ea334053d2e5fd2800c8242c25c1f9ccddc814f4e42aa49cb82b00dca7e18b31a6f3670 WHIRLPOOL 72874ed26a3e0b363edc29187e94e6c9b2121c2946323639556c02050e3539ce92c10593ec797593c85224b3b9692313676741e030c068c4438b7897dad8508c DIST icedtea-bin-examples-7.2.6.11-x86.tar.xz 1797116 SHA256 f2dd2bef16173d55c0865f471637475ff1a39d027cf7044f2c4dd5c251745abe SHA512 2b91c01e2495914d0c70a6c9885246ebf7b48a9edfdb8fc0f9904db65eb3aa65ce97cec50062e39e91fc55217abccc408a4893137379e88689873907f74fd4dc WHIRLPOOL 018f9b102f06f2304b66f006b3f6a17fad00daf9815140ce5dd383ab69ef2055ebb9d92ad25c3d4a5043eea0f512f25c83bc0ad6163b621c8e421698664dcba6 -DIST icedtea-bin-src-3.5.1.tar.xz 45725832 SHA256 713c32f6d7b4a7ecd790a5749f6505ef11d4268643f254316f3d50ab38c0ff90 SHA512 f16d760c810c48dcd3f0d152a88e4adf14631cf6e4bbf3caa61cd0aa95a82fd7c6845708077b1ec0c61e91bd35bd9ef7e24d9b8266d9902cd32588c75f84ca17 WHIRLPOOL 9f43f63bbf884e4b78a305c737e9cf825cd0d4583cbd95c388aa65d0c136b8cd6a98c3896633d196fbf26bbc9575adf6c7edbca0eceeb4777b423fbe465dee56 DIST icedtea-bin-src-3.6.0.tar.xz 45737964 SHA256 c7723117082376d4376e1c6d3cd563727fc05727162726075d102354d6687465 SHA512 7747beb612bb693650ff00b61524daf092890f70eed9d31321b5a347b15ed4655e3337bc887ac8cb72938f4c67b6625e216ace8e4c428277c5a4518869ca9ecd WHIRLPOOL 915770d8b3e411da3617af1cad1e19e1e1e4ed0024a57ec3f591915ddc832b741253cec54238747729f47837cb4d03bcfa7a15e0dd96915c91e5c92d0acf7be0 DIST icedtea-bin-src-7.2.6.11.tar.xz 40213908 SHA256 f5bcfa36dcf9e4320b27ea66bda2e44396600a6e2ee1b4ab57483e0603b48177 SHA512 2a1c699ea3e781d2ff81ebbb803cd06ecf1438195a6d40f04eeb8dfb03cbc4eb4934a9563f6328a7ae4ce67f6bc14aa5cd72c84948e45632d0ab92cc14f6ecc5 WHIRLPOOL 71d1f05099e6b1f2633624b33f34d38471a13ddca187437cdc10f08cd4abb861715903b9cc856ee1dbacdef3b54eb8bb83df36f3ca2e27cea9b0a88dee2e691e diff --git a/dev-java/icedtea-bin/icedtea-bin-3.5.1.ebuild b/dev-java/icedtea-bin/icedtea-bin-3.5.1.ebuild deleted file mode 100644 index b1ef2b0a0e2b..000000000000 --- a/dev-java/icedtea-bin/icedtea-bin-3.5.1.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -# Don't block arm. See bug #600134. -#MULTILIB_COMPAT=( abi_ppc_64 abi_x86_{32,64} ) -KEYWORDS="-* amd64 ~arm ~arm64 ppc64 x86" - -inherit java-vm-2 multilib-build toolchain-funcs - -abi_uri() { - echo "${2-$1}? ( - ${BASE_URI}/${PN}-core-${PV}-${1}.tar.xz - examples? ( ${BASE_URI}/${PN}-examples-${PV}-${1}.tar.xz ) - )" -} - -BASE_URI="https://dev.gentoo.org/~chewi/distfiles" -SRC_URI="doc? ( ${BASE_URI}/${PN}-doc-${PV}.tar.xz ) - source? ( ${BASE_URI}/${PN}-src-${PV}.tar.xz ) - multilib? ( amd64? ( abi_x86_32? ( ${BASE_URI}/${PN}-core-${PV}-x86.tar.xz ) ) ) - big-endian? ( $(abi_uri ppc64) ) - !big-endian? ( $(abi_uri ppc64le ppc64) ) - $(abi_uri amd64) - $(abi_uri arm) - $(abi_uri arm64) - $(abi_uri x86)" - -DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK" -HOMEPAGE="http://icedtea.classpath.org" -LICENSE="GPL-2-with-classpath-exception" -SLOT="8" - -IUSE="+alsa big-endian +cups doc examples +gtk headless-awt multilib 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% - >=media-libs/fontconfig-2.11:1.0% - >=media-libs/freetype-2.5.5:2% - >=media-libs/lcms-2.6:2% - >=sys-libs/zlib-1.2.8-r1% - virtual/jpeg:62% - alsa? ( >=media-libs/alsa-lib-1.0% ) - 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% - ) - !headless-awt? ( - media-libs/giflib:0/7% - =media-libs/libpng-1.6*% - >=x11-libs/libX11-1.6% - >=x11-libs/libXcomposite-0.4% - >=x11-libs/libXext-1.3% - >=x11-libs/libXi-1.7% - >=x11-libs/libXrender-0.9.8% - >=x11-libs/libXtst-1.2% - )" - -RDEPEND=">=sys-devel/gcc-5.4.0[multilib?] - >=sys-libs/glibc-2.23[multilib?] - virtual/ttf-fonts - selinux? ( sec-policy/selinux-java ) - multilib? ( ${RDEPEND//%/[${MULTILIB_USEDEP}]} ) - !multilib? ( ${RDEPEND//%/} )" - -PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 ) - nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] ) - pulseaudio? ( dev-java/icedtea-sound )" - -S="${WORKDIR}" - -pkg_pretend() { - if [[ "$(tc-is-softfloat)" != "no" ]]; then - die "These binaries require a hardfloat system." - fi -} - -src_prepare() { - default - - # I wouldn't normally use -f below but symlinks in the arm files - # make this fail otherwise and any other approach would be tedious. - - if ! use alsa; then - rm -fv */jre/lib/*/libjsoundalsa.* || die - fi - - if use headless-awt; then - rm -fvr */jre/lib/*/lib*{[jx]awt,splashscreen}* \ - */{,jre/}bin/policytool */bin/appletviewer || die - fi -} - -multilib_src_install() { - local dest="/opt/${P}-${ABI}" - dest="${dest/%-${DEFAULT_ABI}/}" - local ddest="${ED}${dest#/}" - dodir "${dest}" - - if multilib_is_native_abi; then - dodoc ${P}-${ABI}/doc/{ASSEMBLY_EXCEPTION,AUTHORS,NEWS,README,THIRD_PARTY_README} - use doc && dodoc -r ${P}/doc/html - - # doins doesn't preserve executable bits. - cp -pRP ${P}-${ABI}/{bin,include,jre,lib,man} "${ddest}" || die - - if use examples; then - cp -pRP ${P}-${ABI}/{demo,sample} "${ddest}" || die - fi - - if use source; then - cp ${P}/src.zip "${ddest}" || die - fi - - # Use default VMHANDLE. - java-vm_install-env "${FILESDIR}/icedtea-bin.env.sh" - else - local x native=$(get_system_arch ${DEFAULT_ABI}) - - for x in {,/jre}/{bin,lib/$(get_system_arch)} /jre/lib/rt.jar; do - dodir "${dest}"${x%/*} - cp -pRP ${P}-${ABI}${x} "${ddest}"${x} || die - done - - for x in ${P}-${DEFAULT_ABI}{,/jre}/lib/*; do - [[ ${x##*/} = ${native} ]] && continue - [[ -e "${ddest}"/${x#*/} ]] && continue - dosym "${EPREFIX}"/opt/${P}/${x#*/} "${dest}"/${x#*/} - done - - # Use ABI-suffixed VMHANDLE. - VMHANDLE+="-${ABI}" java-vm_install-env "${FILESDIR}/icedtea-bin.env.sh" - 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}" - - # Each invocation appends to the config. - java-vm_revdep-mask "${EPREFIX}${dest}" -} - -src_install() { - if use multilib; then - multilib_foreach_abi multilib_src_install - else - multilib_src_install - fi - - java-vm_sandbox-predict /proc/self/coredump_filter -} -- cgit v1.2.3-65-gdbad