From eb6da7a6643d3b8d10363bd178d64a6fb18f4532 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Wed, 27 Apr 2016 13:45:40 +0100 Subject: dev-java/icedtea-bin: Remove vulnerable 3.0.0_pre10 wrt bug #581238 Package-Manager: portage-2.2.28 --- dev-java/icedtea-bin/Manifest | 10 -- dev-java/icedtea-bin/files/no-sunec.patch | 27 ---- .../icedtea-bin/icedtea-bin-3.0.0_pre10.ebuild | 142 --------------------- 3 files changed, 179 deletions(-) delete mode 100644 dev-java/icedtea-bin/files/no-sunec.patch delete mode 100644 dev-java/icedtea-bin/icedtea-bin-3.0.0_pre10.ebuild (limited to 'dev-java/icedtea-bin') diff --git a/dev-java/icedtea-bin/Manifest b/dev-java/icedtea-bin/Manifest index 7e587c051d58..e5b62eca6bbb 100644 --- a/dev-java/icedtea-bin/Manifest +++ b/dev-java/icedtea-bin/Manifest @@ -1,7 +1,3 @@ -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 -DIST icedtea-bin-core-3.0.0_pre10-x86.tar.xz 56360920 SHA256 61c45704a8302d196ecce6d81e08c317f81afa44e036b7a2eb56fa8c031556ca SHA512 cc79756fad7af6ebdd9fb2c1c22cb82e4eafd465167ffd84c4053ddcb58a6fcab523904cc8342848e7ecec9e53d1090be21fd1893e6c79270a633ab4e51ffd55 WHIRLPOOL abaee278b99af1dbdd998d2d1a80afa996cf55d3ec389a9c41a197f0be162180b4afa32706411faaa26d2ad7431256b4d06198efe6a5d58c6f415d5b317c8ff9 DIST icedtea-bin-core-3.0.1-amd64.tar.xz 56933308 SHA256 e19c85536d042d20f725c209bbd278535e5738536cdad0a78c043ff1569c77dc SHA512 09d97ef357b4a2052f49bf12d0f60d2059d659c9472d84edb2fbcc01b2567a2685cee1ae68b60dae76cf1a5d1529d4bd207194de8ea7ccad5a82e0f89ec43b90 WHIRLPOOL 413a836a116c22f0521d002764c4254eb505a21cefe42c8d7e87affce6a98f274a2e4a5952411f5497725d46ab26cc1f497b6d866a0ef9ea0e6afb5bdef9ffaa DIST icedtea-bin-core-3.0.1-arm.tar.xz 48954784 SHA256 d3df31b2fd26abd5bd068727ad77d97120670659e64fbdf04eecae0403a43088 SHA512 8eaee6c16f066c971a433fb146c980df6f5777022bf876a1d17c5551737aff0888d86d580287cd931788c468b0a176f97f45651b7fa721dbb363f7f6c470296b WHIRLPOOL 407763172f9e1688bc89419b51626812f6a3440b94a2ebe40f56b34da9a67a819b1c72e519d52f391fb363076f22a9f0848aa26ee600b22e638fbced3e28ede6 DIST icedtea-bin-core-3.0.1-ppc64.tar.xz 49966028 SHA256 60389202417cdd136b341d03d886f514534939388b055b08f206e86df5e15640 SHA512 634153fad39bb9efeb26ef823d0b10cc7681f55b5510eb00a6c61d3b4af6ea691c1b19de23baea9d149cf2d3d4a20296a40c4f97e438bd8b97f853a6340b0933 WHIRLPOOL e5dad750128ec5eb8fc0640753a6af8b8f4993307320a5dc580516da049991034f751141069e8022643a199afc704ff15cc85a172bf2f3fdbb3238667076f58a @@ -11,14 +7,9 @@ DIST icedtea-bin-core-7.2.6.5-arm.tar.xz 43997476 SHA256 d897fbcb7e0587ebb3c1cda DIST icedtea-bin-core-7.2.6.5-x86.tar.xz 54670860 SHA256 ffdee3645634771922e6b160012ba2200c7f59e91dd890e8e61f2b35126751ca SHA512 7ec33501a2118f85f3bd14435eb9aca5711b77fa379db21b63d50d5f20da33cb3818d876f8be3ab40d7cbd8df7120d0b73d06415284463d50614510a59ebd41d WHIRLPOOL 7cfec521ab9cad48cd1296c76c12d8cc57a830a416fba591d0d7e0d7ef195341a3b401196049516c0a905dafcb36323bb68bb013b4cb4ea6b6a702972a984800 DIST icedtea-bin-core-7.2.6.6-amd64.tar.xz 53051836 SHA256 9729ac37ed34b60f6a9c18c6865e99648379c79e24f189842c0f8dc81424fd9b SHA512 ee621f3dfcc19fb274acb8b936f7256b2053ff97864340732e6cf97db5a265d81ace7269c9f90ee7e4135b4299d7ecdd2b660f5e806ede64e4d74a4dd80b0592 WHIRLPOOL bfd8dd85fd074f7f16d296a41bf7ccaaa167fbeeb3bfcde4119c2b2ee8a59aa2dad9e627a15dd3790f318b9fc8fa8328ead9c472af527a82a93c153b1d92de02 DIST icedtea-bin-core-7.2.6.6-x86.tar.xz 54697212 SHA256 c33e89990e1207458abc56ab0b2720b239ee0a3924e73360e19f52e7a29f8ee6 SHA512 7ebca976f2864cee1e08ed858e93c0dbbc850d127c9359b7e1edb7abacd7e14e0b5cdbb1f042ffd40232cbcea72f21074caad2a669096a5a5a7808c246d4e04d WHIRLPOOL 6640c59170b451f81541cf98451325d596115ad8e530b9d5fabb6f060e4e32e09c9ac49b6799694508108f09b58b82f98c4bd4d678ea8d9319c5653ba342d873 -DIST icedtea-bin-doc-3.0.0_pre10.tar.xz 11688120 SHA256 cc26fcea4f5208e11ecd00a5c99c4bd5b0541e14ced37aa4a8e0e396c7565797 SHA512 ecf6a8654caed4c7fc07baff10010854e6751fe2eb2377979c1e68e6f1530ed60df0574df422b6f03f6acc20e9b943fd4db2e883eafa00480abb4bd14bf12f9c WHIRLPOOL 760dd0cba2e0438eb65d75002995d64fa9b968bdcdb8b07da61552b1f2044312c5cd6b3981a64e1063f14974ac7ca080d0eb3aa3884553844ba97992bca63da9 DIST icedtea-bin-doc-3.0.1.tar.xz 11681216 SHA256 5f05fb2fb4a8eb6e52d2d26100d04e121e1afb5611ff68114bde323f5540581d SHA512 1eea99d62e8fc0c917e4622b798df6d32ec3ea6f90ad9b949530dcdf64dd14a4fbb6d7c334634b8aec22b2775fbb9a67b0f70afb79ea678015bc266743afa794 WHIRLPOOL 8ad6d54042627374948447b48fc52123af37fdfcf9bbdf757240d42623b3c3d9d69b76775efb70b9b8e5bd6a7b914e77d0f0f34352d8fe32b6f70f87169684f5 DIST icedtea-bin-doc-7.2.6.5.tar.xz 10605544 SHA256 ae3e5078e8705fffbd95e986c99ce5ed8f8e76474f2c3c005aed0eef67b55377 SHA512 e24f52b8d39e329fed5e8f76a6d15a168454c252db653b46eb4fc5dad63483afefab07794718b9149a76bb62ccdb9f6eda8da9229043eab362bf359b04b118dc WHIRLPOOL 42693d3769ee3ab9af6200d7702244a941a07a01f41f3db655cae28b5bddc527989860dbfdc93681cb4ef22ea5b0c2a489ffc765abb15317ee07762a46f2b863 DIST icedtea-bin-doc-7.2.6.6.tar.xz 10603724 SHA256 150a8aa157b442569b60491c5261909a7a381e0a253070e2bf6d9fd8d0344708 SHA512 39ab65e002d9f780c881cbdea41a4fbae792080399a020c189d7fccf24a83c604ecc90b6fad47b9657eba11254b1021d8c45d83cb8a0dcfe62011f9cede53ce3 WHIRLPOOL 480fb25b1b551699163fc07ad5bf31e774c38f4ef51694d906d0f5c5c5d3f4941806b352ee472fdc3e02c007d96a28d395c41adc4d4965f826babb2465011bb9 -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 -DIST icedtea-bin-examples-3.0.0_pre10-x86.tar.xz 1817288 SHA256 56092226edba72708cda9ebb763037d445a7e85ad4e2342cd78441e34f6dc12c SHA512 32a45b1f1b860dfbcfc9b1ad8441282f8f47cbe140dcc783991f995926724759a0a1d1b6a0c50bab62fa9c3bdbd86da4fb8b28cfe99903aea8bac59e48808eea WHIRLPOOL 548c33f9ade636eefd89b0be3eb167a49608a39d21cb1a7022a0f6f03fa9eaedd516f7f63c8cc6edb315d06e031e2480e45ba0498b1b344ec0a0b9da9e1aff96 DIST icedtea-bin-examples-3.0.1-amd64.tar.xz 1811748 SHA256 9728a787131d892eef67c0b10882f6a7e33d0fde2a6856c84f1c910086eae7fb SHA512 a76caf7a7927e28dc0e46a4e851540231971fd7fd0f4be1c46c1b72e71952495590a10f56aaa60defd0f9d00c77830dc716fe6ecb1c4777e7d0862804d72d463 WHIRLPOOL aca2ade6113814dd4ac89bb1a730cdd36cd6c33162986bedc58df790b10d7ab469192a36e854f2ff34eb13a787420c01e48c5c6d5636be2159a1ca10b5261c9f DIST icedtea-bin-examples-3.0.1-arm.tar.xz 1794448 SHA256 3cce37e8ee7786c80a1dc90088ca278c81e2239481e7ede4f59c2c3178fa7db0 SHA512 08645c50ca1ad770bb7da044a74b47f4c8590b5382874af3f8683ddc741ba87d0bc3ddcbe0617a551d18da6bd8746fc75ba9c5bcb237b56fa7f4c0dafd73acdc WHIRLPOOL 36ae06e990e1d5aa88692e49eaf2ef4f4dd8ff498cba5eb7259a516b29b543f4522d4fe78ff40baf53e93faad93792ace115e48bc5173211ce18b04902297da4 DIST icedtea-bin-examples-3.0.1-ppc64.tar.xz 1805088 SHA256 5a07a075c4bb3319b734daf1dcbd22670100cb133706aa5594718efa79802cb8 SHA512 4a81748d24f2e3c05445d7331c5327aa05606692c96cd983dbdb29cfc2e96bb2b0fb306fcf97e7fedb90aca8a64ec229c0355be26c4d5b829979ffad79e2b9dd WHIRLPOOL 0f1f5cd66f085e7e430f7a636e6d6e59c8c108fd437bc9ddfd98b6e8c71f7b921900565e2c6c5a7ae768214dd700663286f75365e8c8cf36e542f59ff08b5a4f @@ -28,7 +19,6 @@ DIST icedtea-bin-examples-7.2.6.5-arm.tar.xz 1779800 SHA256 563ac5025c8d3a6f0066 DIST icedtea-bin-examples-7.2.6.5-x86.tar.xz 1796620 SHA256 1571042672d5d53e4f56e84397411273639e45d05ac706d0b845ac8355f82484 SHA512 ee59bc512af1555480a9219cd01bf2e4f935534c2ba93f8323b4e1dcd69131920dd9ab621e3dd8e68e9cd3cd6fb63ef19274a37b4e954d4570f98211a501e005 WHIRLPOOL 9abc2a7198e31cf33796df0c6ac5b5008ab53d286da086e7e5f526e366339fe68e1c506276cb7044fb7eaf07070de2d00a979b941931665f3a20f9b899bba273 DIST icedtea-bin-examples-7.2.6.6-amd64.tar.xz 1796808 SHA256 b6add78d86e3420f589f6bcfee1e4a9fb983fc4d0b6a905fe162dfca56e73500 SHA512 38e2d91f6621e38959c2d0bef84f4d566370303a5b50cc468cae6fc97da46d752fccd8c980b6490f43709c0c6340c3af88dd9f7c9a0d7f400289127aa568b3ac WHIRLPOOL c212b2a953f784a05759a1b82d7120fbb5f642d8d7f014750f8c509aa44c29f193f17dc86257b1b653f0e5334e167054f71021726745adc8b8d1c57273902223 DIST icedtea-bin-examples-7.2.6.6-x86.tar.xz 1796496 SHA256 5f7a4f52ed2f36d06ecc6c37041e2b400ed84c56ef4921375a925682b4523d88 SHA512 e80c965ca8cccf60561138fb5c4f21e293b6e44b5a4cecc97d94ffbccffe4f18da40942e2659c7264df54563c8db327b5e7a7f71fbf6ef873a4e74afc122050a WHIRLPOOL 402a1e10aa17e875dd83adff72dbe9d37c05b40a44c26e3212658ea690efec3dc9a61b57aebe24c77f16c52961dcd925f412c645e828e9e0456ae3a8d77ebd9a -DIST icedtea-bin-src-3.0.0_pre10.tar.xz 45654080 SHA256 48f2402a183b21cbe9af45eb0fd47b07f22b007c27c2730bf99b7cb588fa5718 SHA512 c5bdde545f997c4451fdeb2b20a6e7eae9519419b84e716ae6789ed5f0828ff3ab22c2d1f86bda907175a31c4d0f8ad4fbc45548c5a77f7d9bc2bb2125edfd85 WHIRLPOOL 1582af0d78242f0ba7d1a84c326678f9231d6c6b81e9944a093e9ef7ee748eb6a74bb4cba65751da2f8937496e0084cfa6d6eaf9dbf0788adff2f55cd2eef127 DIST icedtea-bin-src-3.0.1.tar.xz 45656168 SHA256 0820242fa98a918f0a25c248cb43a01ba13f87848eba43aa1b731b9ca17f576a SHA512 ece43dcc77812a1e212b48cc4d30a795055e74d52c2f5faac9b8e07fc26f51d3963cd333f71d2603cf3ac82f3ec80fea5093787f079fbb1cea969193b120a4ce WHIRLPOOL 5f7546142824747ae2d551d004223d577ed4d32acb988d1d3cd4f42fedd0a94903366b0b3bf042c0b86d5093b4c32c3c44ae6abb82aceae390de45d8d44cfd1f DIST icedtea-bin-src-7.2.6.5.tar.xz 40046964 SHA256 85bd4d4bc2abed47ef2bf7dd5eadbf5837efe67fe4cc322dea8096d47a980930 SHA512 cc5de0f6ede1a342380d5a1ce9ec279ae7f7bab46ea5504c0c39318ece75ad867fbb095e8a8aac5ecc64a02bc8376cf283b36f9a21fbcd485b8d0be636ebd047 WHIRLPOOL 276845b53eea26df67542e240c7f3068fa554c610be1ff7cd43729a57bb74ced6082f5920cc7deee81b8b286bedd24866c67909fa82574aba73e7ca19411e46e DIST icedtea-bin-src-7.2.6.6.tar.xz 40045788 SHA256 4d759dfc12a39ff44650b61a5a89f2ee4dcc5d6d0a863c54f8c6e2c86023ce8c SHA512 13cf426366bd7ced497d16b76dd5d49aadfac45e9686b78c185b4d7c95b47f96fecfc789b14138780592580c39857a2d68d8d35a6d016fb4ba1c0c8103b74f9f WHIRLPOOL f645c6da2a5c08e48bd6598bda025776d4e4fceb3a92898b4c5d9ca7321797e834df572656c07cf24fbd2eb0cde097b38137472857d968b663ccba2788406c07 diff --git a/dev-java/icedtea-bin/files/no-sunec.patch b/dev-java/icedtea-bin/files/no-sunec.patch deleted file mode 100644 index c1d64bd215d4..000000000000 --- a/dev-java/icedtea-bin/files/no-sunec.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- jre/lib/security/java.security 2016-04-12 22:35:18.390181858 +0100 -+++ jre/lib/security/java.security 2016-04-12 22:37:10.000000000 +0100 -@@ -67,17 +67,16 @@ - # - security.provider.1=sun.security.provider.Sun - security.provider.2=sun.security.rsa.SunRsaSign --security.provider.3=sun.security.ec.SunEC --security.provider.4=com.sun.net.ssl.internal.ssl.Provider --security.provider.5=com.sun.crypto.provider.SunJCE --security.provider.6=sun.security.jgss.SunProvider --security.provider.7=com.sun.security.sasl.Provider --security.provider.8=org.jcp.xml.dsig.internal.dom.XMLDSigRI --security.provider.9=sun.security.smartcardio.SunPCSC -+security.provider.3=com.sun.net.ssl.internal.ssl.Provider -+security.provider.4=com.sun.crypto.provider.SunJCE -+security.provider.5=sun.security.jgss.SunProvider -+security.provider.6=com.sun.security.sasl.Provider -+security.provider.7=org.jcp.xml.dsig.internal.dom.XMLDSigRI -+security.provider.8=sun.security.smartcardio.SunPCSC - # the NSS security provider was not enabled for this build; it can be enabled - # if NSS (libnss3) is available on the machine. The nss.cfg file may need - # editing to reflect the location of the NSS installation. --#security.provider.10=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg -+#security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg - - # - # Sun Provider SecureRandom seed source. diff --git a/dev-java/icedtea-bin/icedtea-bin-3.0.0_pre10.ebuild b/dev-java/icedtea-bin/icedtea-bin-3.0.0_pre10.ebuild deleted file mode 100644 index 5555890a47cb..000000000000 --- a/dev-java/icedtea-bin/icedtea-bin-3.0.0_pre10.ebuild +++ /dev/null @@ -1,142 +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}-${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 )" - -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 -} - -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 -} -- cgit v1.2.3-65-gdbad