summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-02-24 18:43:48 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-02-24 18:43:48 +0000
commitc66b0bff7c4394ef24733e4fae5acfad4a01a736 (patch)
tree56ef521d82a735b4de4c123b7034d738baad9ed3 /dev-java
parentFix compile error, bug #405591 by Sorath. (diff)
downloadhistorical-c66b0bff7c4394ef24733e4fae5acfad4a01a736.tar.gz
historical-c66b0bff7c4394ef24733e4fae5acfad4a01a736.tar.bz2
historical-c66b0bff7c4394ef24733e4fae5acfad4a01a736.zip
Version bump, security bug #404095.
No vm currently available for IcedTea 7 on alternative archs. Temporarely drop ~ppc ~ppc64 for IcedTea 6 1.11 branch. #403159 For archs other than x86 and amd64 icedtea-6.1.10.6 likely works best. Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/icedtea/ChangeLog14
-rw-r--r--dev-java/icedtea/Manifest40
-rw-r--r--dev-java/icedtea/icedtea-6.1.10.6.ebuild344
-rw-r--r--dev-java/icedtea/icedtea-6.1.11.1.ebuild4
-rw-r--r--dev-java/icedtea/icedtea-6.1.11.ebuild4
-rw-r--r--dev-java/icedtea/icedtea-7.2.0.1.ebuild345
-rw-r--r--dev-java/icedtea/icedtea-7.2.1.ebuild349
7 files changed, 1092 insertions, 8 deletions
diff --git a/dev-java/icedtea/ChangeLog b/dev-java/icedtea/ChangeLog
index e806acac1384..f7bbe1eda1f5 100644
--- a/dev-java/icedtea/ChangeLog
+++ b/dev-java/icedtea/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for dev-java/icedtea
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/ChangeLog,v 1.64 2012/02/18 23:14:45 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/ChangeLog,v 1.65 2012/02/24 18:43:48 sera Exp $
+
+*icedtea-7.2.1 (24 Feb 2012)
+*icedtea-7.2.0.1 (24 Feb 2012)
+*icedtea-6.1.10.6 (24 Feb 2012)
+
+ 24 Feb 2012; Ralph Sennhauser <sera@gentoo.org> +icedtea-6.1.10.6.ebuild,
+ icedtea-6.1.11.ebuild, icedtea-6.1.11.1.ebuild, +icedtea-7.2.0.1.ebuild,
+ +icedtea-7.2.1.ebuild:
+ Version bump, security bug #404095.
+ No vm currently available for IcedTea 7 on alternative archs.
+ Temporarely drop ~ppc ~ppc64 for IcedTea 6 1.11 branch. #403159
+ For archs other than x86 and amd64 icedtea-6.1.10.6 likely works best.
*icedtea-6.1.11.1 (18 Feb 2012)
diff --git a/dev-java/icedtea/Manifest b/dev-java/icedtea/Manifest
index 6ed48f8f9b57..3831db25dc33 100644
--- a/dev-java/icedtea/Manifest
+++ b/dev-java/icedtea/Manifest
@@ -1,19 +1,39 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX fontconfig.Gentoo.properties.src 15602 RMD160 d5ae1cb403072b630c126a908d14b5b462e1514f SHA1 04af30bfae3decf6fdb51187a07bf75fb04a83f0 SHA256 d48a9b43d82f45425464e985955f3f3700738a98c0dc97ab7577230ca11fe647
AUX generate-cacerts.pl 11051 RMD160 9b874c62ffa0afe16353f1e7b32f124f1d31356f SHA1 65e55b84506ecf14711db0996eccf3cfba2fe9e3 SHA256 6ee6fb155e3fa85d0a7e9015b53ebd55948c6599d100fdb69b574b6d11f73433
AUX icedtea-6_pax_kernel_support.patch 4152 RMD160 a1800e5985d90db6e4827b0bea784cb034962c69 SHA1 625177d004e57cad81d522d1436aaa33dba45a6a SHA256 4a6f3462e9dd47dcc5941dd67a56bbd9ea874dca2a94566f0f38c2d241efeb74
AUX icedtea.env 1074 RMD160 6806fd80d619c54f6ab50255c12ee2a9920ad72f SHA1 4ddbddd4464fcf11fad45426ba0430818747249d SHA256 b4ad677dede5c06785db6540d51a9dbe6401e894f03857f5b14dbf6bdf9a33a8
DIST 0a76e5390e68.tar.gz 128547 RMD160 ea975ce953ec0eb5751ea2aee8d3dc98da6933ff SHA1 9fc523399df6a8736ce540f7d7f0412188eb8b51 SHA256 bb47d452a61ed154fad98fda35f93e6e0f3328632ef2cf0afa1d95cd6264071e
+DIST 0e651e004747.tar.gz 8994812 RMD160 5101219f10cd0e1f61a37169472f0662876420af SHA1 fe21eabdcb334456907df772a269a21fee8f3c19 SHA256 d68455e5cdb14280cd61155a4e9d531e90b073607f4367e93ead0fcf34476ae1
+DIST 1107cfa36f53.tar.gz 2760046 RMD160 d683e012495187b44190f2f3018f2ea9aad3d26e SHA1 341d29940978d27fc0e79741b165844e02fc952f SHA256 f3f00583484532634b400fd49b544da19426f476311cb4338389e0b669dbe18b
+DIST 1cf75c0e2c96.tar.gz 3985855 RMD160 6f6744e49ba87e4d6f1fe3e1533fa2e6122ed74f SHA1 813a9980e74c24395c20b33c14624ffc4f517b35 SHA256 8ce48c704f38285207ee6dc56c45b2d214083b4d4d36be02901401b594ce701e
DIST 2054526dd141.tar.gz 43372283 RMD160 8dc2e49901a76819b1ea4f19df2d0a826e8cc323 SHA1 ea2662295c3c248f932df56a13993c4efdc78397 SHA256 4cd94391909ca86d2a5e25e3378c8fde1b1368076577fc58fed57097932750e1
+DIST 22cc03983e20.tar.gz 129111 RMD160 d4635d4dcf6396b702fcb994c32da57dff1abb6d SHA1 72934269193ca7506b56ff5918d5b39436d883ce SHA256 ada790b4754f521ebfad0dd909ea29b92b2b3c1b84b2e99d32673343727d95d7
+DIST 4b063ca7483f.tar.gz 128605 RMD160 e33275719b7bbe814775d3308ad708ba051aaf24 SHA1 e3edd429731ea8506aacf2be02c0f403a4b0cfdd SHA256 095e1d10bc3733f2ff9c7268690395f86f27203bedf7b1ad5e7c9462e9c56027
DIST 4d9e4fb8af09.tar.gz 1446705 RMD160 47c78ad3fa6ae5b70438e3bf3560f86fd60a08ae SHA1 435c9064ab69c970068f116da1abc78d66978283 SHA256 9579b9f47c45d4e6f4eb080a7a27886163691a77c193d83423389cb87656aec5
+DIST 50f6f276a06c.tar.gz 43434230 RMD160 6e6794f2138659f2aff7997a98c7a6e84f80285e SHA1 37cacde8b1028c38e041218b2c39ce83224c9e5f SHA256 5f8b5edbebb358730425e64a31eaa11c346467ba10ffe1848f2d2ad2ea53bc3d
+DIST 5617f6c5cc94.tar.gz 1447230 RMD160 2c387ab1711a3d43d2ed04415229fe9f82af366d SHA1 7a068200bada7e30ed9540bb835f8928800a3b28 SHA256 963915483530f311ff313635f79ed11ea7ce5a1c0dbee5d1acb1994132857fa3
+DIST 7edfbfe974f2.tar.gz 2760671 RMD160 538c758fedb47e790367311d04cff6d03e549e8a SHA1 02f18a80d6940a8203b361ba848dabf97685266f SHA256 823ca6b8fd780bf1b1565a90cfc8ec6f0ee422a5d25ffb20b1ce0272dc4955aa
+DIST 891fb0050add.tar.gz 43376045 RMD160 5d5515401cb19d02f3b626ddbd1fdcd021dd10a1 SHA1 939e5e06e97e9219f3ea67777f2b889d8150a489 SHA256 0126669a71600514b7a2af5235e43dbebb33dc76090ec5e3c59ed62e52c05e51
DIST 948e734135ea.tar.gz 3985662 RMD160 52725423b92b5e6f5a6d80525732c8bb1c4ff2be SHA1 9fe3684ab2a2346fe66d84d04a3df97d03e093a6 SHA256 66948dee25e0224b12587ba150b21dab2e21b260a853bd1272e07c8d08d2e586
DIST 9b85f1265346.tar.gz 2276207 RMD160 39bad7830bb5848efae424192ba54811f6285dbe SHA1 0ccfa5cc21437854e081aa1c5bf87fd272f3232d SHA256 03a256afc7371b3b0fbbbfd80a318e22984f6cbff26082948e8d5845ba193aee
+DIST 9dfaed4a95e2.tar.gz 8999539 RMD160 ee349541c0af68f0650daf7a170e483ce157a1ca SHA1 ff33c860252c5812451beb9010e48f838e784815 SHA256 0c7a8fde149ab146bd349045d20b6e615c8e811b5c0ab9b3b7a82ce621c91c8b
DIST a2ebfdc9db7e.tar.gz 2760030 RMD160 b1e678045ed8f8c4047760799bc25f94083a76f3 SHA1 830de9e94c710eb38f2ca029de4166fd5672412c SHA256 6edd17ac49c33a32538262486c0b8147954100cab43a6ee7023789f3840f22a8
+DIST ae891cd6ba73.tar.gz 3985868 RMD160 b71a4a16747544dffcfce2c2858ad22b042562c4 SHA1 888a39202099528925ca81b70474a18ca838ccea SHA256 826fee2432a4e3ad45f348501f1d001f34d004ac36b5e010b5d13433b80d282f
DIST b28ae681bae0.tar.gz 9000397 RMD160 0044bc2978f1eab6fb81b5181049f52a5447522d SHA1 4bbcfed2cec6e34bd6c3880d272be742c058c019 SHA256 dcb5a8d4a0a466e3673f891cea40ce163c02f26b0054dfc41c30e0f87c5c2f64
+DIST b534c4c6cd9b.tar.gz 2291346 RMD160 579be2a657a41e26db4371170b52cfbb1f8f3980 SHA1 4d35855d261417bb3ef1363ad7e86621f4a22529 SHA256 c77dd42d83f06d18fa8aa65c93d137608a2e02cf24b68fc10d7b1c0bcc12a93c
DIST c7bf150bfa46.tar.gz 4210056 RMD160 f0afca5b073dba922eebbbbd6a9be1725ccaf86e SHA1 d192a1f7ba73346c86e71a295587381f8a4b2bce SHA256 73629f5ac9514afbcf63b6cdf58556e889a5f6a22d4bd70de1dd2816c6500aee
DIST cff92704c4e0.tar.gz 4261719 RMD160 cf01828a98a6e3139ce33761b2b0f87b0ee6ad48 SHA1 043845bfc67f58e30ee68d9a47f33385ab67702b SHA256 dc768c9d097fb056ad34fc6d5a57e8fd4f3b24bf515be92acc5ee4208160eb3f
+DIST d37539e7e838.tar.gz 1446780 RMD160 7db6d74d37482428695b342b145eb3997adaf96c SHA1 235bc423864566f12cca85fed0bd436c4588d67b SHA256 6eee28912eea59f64ae05d56303e1027a1684c082d025635b8b3aef01b5c7b0a
DIST f0f676c5a2c6.tar.gz 8506038 RMD160 e00e7b602758eaa6cfdd04b109d99694ce2ae94c SHA1 bdc450f5a1b75b2445c960f43dbc7f605042a3c8 SHA256 aaa322239c181e50a61ec71869843eee7a0a82a9b80f113d32faf2a59d7ba5c4
+DIST f0faea84413f.tar.gz 2276373 RMD160 8a617a58d9e47ab6f5d239449dbbe3666718e29c SHA1 24fc201a2373d8d4443a0e00d811abd64cdbaa31 SHA256 82cf48bd87dd4da3c1c1dc383605aef0121106880a6d3dcb923572661117087c
+DIST icedtea-2.0.1.tar.gz 4516686 RMD160 1689c4a1106db57514804a67d3dbc2fbcf19efda SHA1 b81e07b1eefe58e88b9e67b1b36de1750e156144 SHA256 9d3c4d3676c2286003cf9beb9fc3ee442d2c04b3f8b229be140fe636c9e70101
DIST icedtea-2.0.tar.gz 4516180 RMD160 91e75405713ead34c7831fd23ce66871bf888427 SHA1 aa2399f951044b82f5ecf7318a8358eb08413afb SHA256 2485d5e7807658bc3488c7e6d4720ef1261a31dd698ce2641f541119e0c2387a
+DIST icedtea-2.1.tar.gz 4687722 RMD160 94de5eb942e3ee68dbfcb6d9f6b7992f462e473f SHA1 707fc67bb404e38d36f877bf59055950f3e26066 SHA256 8492920dccae8b76bcb41f91f8d98b2dc619380531a679f1f9ea4e166ad02ec6
DIST icedtea6-1.10.5.tar.gz 6831721 RMD160 24e3c22dafaba9aac21b84643127c2e92f1dc2dd SHA1 ba260275bcfbbbaff153c99b066d2f4ba7a12270 SHA256 7d0f9e833a42b6af308a34d432431f0528a2efa52d7837aa446d1c4c27161a0c
+DIST icedtea6-1.10.6.tar.gz 6844249 RMD160 4d2c3943071e5e444afcc9e833b42fd3f17d5a07 SHA1 4833760551c8eac347df96676996834c918e1554 SHA256 4bdd8ff2e6a93455425eeabd6c073137bf3816ad16ce6e89979ec1521e03c7f1
DIST icedtea6-1.11.1.tar.gz 6344427 RMD160 fdcaba8fced7ecd30b17ca351424610e254ff735 SHA1 24c8a6e3f641b626349b8d199880b0a79213a814 SHA256 bafb0e21e1edf5ee22871b13dbc0a8a0d3efd894551fb91d5f59783069b6912c
DIST icedtea6-1.11.tar.gz 6334120 RMD160 7037d10072335e1abba264c59713c378c47ba950 SHA1 ec53c683043716bd29611ecb3e9c6f2e89984e72 SHA256 e7d2bc08008de918ca54f8dcd1f8d75c7829948da6b1a9c06761c74a563c3eba
DIST jamvm-310c491ddc14e92a6ffff27030a1a1821e6395a8.tar.gz 293833 RMD160 b34f4684e0c918c36d9fb9316a4ae7737b712296 SHA1 60d5782ccb9707699f9dfbfcf647a5c862ef4691 SHA256 b5174f59371017087139fd43d51074ad837ae29340220206ca06769c8329881a
@@ -25,10 +45,24 @@ DIST jdk6-jaxws2_1_6-2011_06_13.zip 5512710 RMD160 eef414a11dbcaafd2f830ca34227a
DIST openjdk-6-src-b22-28_feb_2011.tar.gz 45279689 RMD160 2b8f92cdb4d7dd3eb3cbb800a73e1666ee4bf5b1 SHA1 65a60153adbc8bc47fb95bb2b588a9a0b8701c95 SHA256 14a097d45b8c040e984be164a8cefbf22040a9ad57474fe87dd8cf2d0b08328b
DIST openjdk-6-src-b24-14_nov_2011.tar.gz 45742125 RMD160 d0e21619c3f287b821da114b986336e106cba16c SHA1 5d6fe1e3ef84d6699bff18eabf109e63d6c0a1c3 SHA256 f84e7f0938f4939660ff8f9c2aa164d301faa8a519f2324ceb05ad34b2e09227
EBUILD icedtea-6.1.10.5.ebuild 11267 RMD160 c5f2a5edb83f89fa8c4c73a0748049701f7bb9e1 SHA1 f4a94369b18c824b9b69aa2aab0a9535cff82f48 SHA256 3a3c0b6481daee7265e6a6852da0f53b2734896fb9a751191ae0a01383be106d
-EBUILD icedtea-6.1.11.1.ebuild 10828 RMD160 e5f4b0ca1efd9a57164eeda1055b9f3441b2a784 SHA1 59385ef59351808f77052652cbcdd18f39ebb015 SHA256 e632185450f4a5877fa1a98f2b762d1c4d2a557b5846ff20afadacf845bc6cdc
-EBUILD icedtea-6.1.11.ebuild 10824 RMD160 f564eddcddf925ca7f4f1ae61c858b84a3b91edc SHA1 8ba853e05af1338938154608e64d79d7eabc51d5 SHA256 a441ca27b59da5ab88881c9b63b44bdaa7252e466482c5c83db3ade4afc10d52
+EBUILD icedtea-6.1.10.6.ebuild 11267 RMD160 a31a78988c0ffc1c1af614885ffbabdcabdba903 SHA1 9e0f2a7708db90aa3ce80d62a419910a23a6a48c SHA256 0e294aa971214f7b65343e8048eb1d7bbf79b3dfce5ef969ee5d5a2e1698867b
+EBUILD icedtea-6.1.11.1.ebuild 10814 RMD160 250e8e53f119ac90c4eb26f969101c6879d9fe44 SHA1 ee5f4a13d79701a720cd65a33984613d33beb3b8 SHA256 73718559f38d9bf030066decf2b3dfef113a61e63fc1e8eb2ddd345a8726c007
+EBUILD icedtea-6.1.11.ebuild 10812 RMD160 16e74219b96a5b57dff86efa9e7c2cf34433792a SHA1 82a8d0d6c63c2fbe8be05934ae03f1d71d1e7b8a SHA256 079804f185a9ea450196403c6d689cb0887ef2ee45b5780f551e92679acee0ba
EBUILD icedtea-7.2.0-r1.ebuild 10801 RMD160 c9ff94b4bfea1a7fa93457a4be2fb90fc24c5823 SHA1 e4bf6bf1fe1d1db7eb5fd963ed3600c9725fa0c1 SHA256 eb9e2c4e0bdd19cac0d903356f3a673b7ab68cef38cbf68423cba858b534c9fa
EBUILD icedtea-7.2.0-r2.ebuild 11502 RMD160 f610645dbe8a6c2828730cf08cc88fcb16c6755a SHA1 bfff69d1d821f4e92bb8d4996b951103d81279a2 SHA256 2fa6ff0b5bcfb0cbd4ca77dca6a8e23408f29fe41da1c45f655cc8021d47ec87
EBUILD icedtea-7.2.0-r3.ebuild 13812 RMD160 07d5d6f9fa70f3a61b009d71c7cb9dce333ffa59 SHA1 e2b173afed251761040c9dc5570f875fd8e98bf8 SHA256 c4c8dcdb805deb035282ffbfc6b53daecf272859013d5d6a909c93779856aa49
-MISC ChangeLog 13717 RMD160 b31b28dd6a13d4c5c152431456c7a4c49da3cc02 SHA1 888d44b462bab17eda6c2a20ab1f02c283441362 SHA256 7d011173f0b7fa596e6cfea3057a534ca4046edc6b14c087624fbd83de756854
+EBUILD icedtea-7.2.0.1.ebuild 11275 RMD160 09a2358884d89f42a2b4f75cfa579c310fed5758 SHA1 d17a4d5fc6816e1910fcb2d3758c843df30a155c SHA256 9dd48d63aeb1c4cf994acf13b5f19654facf16eadb2709bc3bb02798e15235d1
+EBUILD icedtea-7.2.1.ebuild 11494 RMD160 d131e3f2033833824ee78da80b8d96f8b04619b6 SHA1 c50b1a3570de3507fcf44e474d8c9f218dd79a66 SHA256 401c99aeb32ee21518415946f11b5f8ea291d6ca350d1f4bf47b1fb92bdd3104
+MISC ChangeLog 14226 RMD160 d2c9a5982199060746b1d50374aac75a44f7c1f8 SHA1 2433ef55abcee6e9513d6db3918de24dcbd13d4f SHA256 8b82a2e1556f8fab20c85281ff2ed58280bc7c2ab8da7e19bf7953b03c3493e9
MISC metadata.xml 1527 RMD160 f4c3b81c9dbd245fe86bde62f68de8bfdce86247 SHA1 019c890e1dbac991ca55b1cde57a5c21d055d857 SHA256 dea1435f46708be4a8dda218c537c63700bd2def279f7eccae2d80cf49c90c5b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQEcBAEBAgAGBQJPR9pzAAoJEIUJ+svaV1631FgIAI99jT4QxmNXt6tff9Oyv9+/
+8VIUChJOE5mpdOeOEvW8OaSrYky4aw3q+KDzVD/pjGr7jWP/boQL18+pqSZOmqsa
+w+ICKAASUCfbkoM3ByiUZXU6y25ZRJYWranWtj/QV6Qi2xHcdHyUjCHUPtqfsuq1
+v2FE/u8ZDPjji3+oWMHOTwYd5aiyjP18kKa0abYz2tNDPdUVPA8r72l1dQE2LiwN
+8Q42iiYyV7FJDtTwuy3wlH67CnrZ7HA9vvIg0ZPu07afKsqydIKem2TiK1woot/k
+KXqQYcn39/sDaujAAsBZd0Z4Ee63qH2WvLa1Bjx0e7ESe+hlsDek7brf1uu2DXo=
+=yATr
+-----END PGP SIGNATURE-----
diff --git a/dev-java/icedtea/icedtea-6.1.10.6.ebuild b/dev-java/icedtea/icedtea-6.1.10.6.ebuild
new file mode 100644
index 000000000000..1b3b7d8a2b9e
--- /dev/null
+++ b/dev-java/icedtea/icedtea-6.1.10.6.ebuild
@@ -0,0 +1,344 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.10.6.ebuild,v 1.1 2012/02/24 18:43:48 sera Exp $
+# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
+
+# *********************************************************
+# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL *
+# *********************************************************
+
+EAPI="4"
+
+inherit autotools java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx
+
+ICEDTEA_PKG=${PN}$(replace_version_separator 1 -)
+OPENJDK_BUILD="22"
+OPENJDK_DATE="28_feb_2011"
+OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.gz"
+JAXP_TARBALL="jaxp144_01.zip"
+JAXWS_TARBALL="jdk6-jaxws-b20.zip"
+JAF_TARBALL="jdk6-jaf-b20.zip"
+HOTSPOT_TARBALL="f0f676c5a2c6.tar.gz"
+CACAO_TARBALL="c7bf150bfa46.tar.gz" # 17 Mar 2011
+
+DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
+HOMEPAGE="http://icedtea.classpath.org"
+SRC_URI="
+ http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
+ http://download.java.net/openjdk/jdk6/promoted/b${OPENJDK_BUILD}/${OPENJDK_TARBALL}
+ http://icedtea.classpath.org/download/drops/${JAXWS_TARBALL}
+ http://icedtea.classpath.org/download/drops/${JAF_TARBALL}
+ http://icedtea.classpath.org/download/drops/${JAXP_TARBALL}
+ hs20? ( http://hg.openjdk.java.net/hsx/hsx20/master/archive/${HOTSPOT_TARBALL} )
+ !amd64? ( !sparc? ( !x86? (
+ http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL}
+ ) ) )"
+
+LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
+SLOT="6"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="+X +alsa cjk +cups debug doc examples +hs20 javascript +jbootstrap +nsplugin
+ +nss pax_kernel pulseaudio +source systemtap test +webstart"
+
+# Ideally the following were optional at build time.
+ALSA_COMMON_DEP="
+ >=media-libs/alsa-lib-1.0"
+CUPS_COMMON_DEP="
+ >=net-print/cups-1.2.12"
+X_COMMON_DEP="
+ dev-libs/glib
+ >=media-libs/freetype-2.3.5
+ >=x11-libs/gtk+-2.8:2
+ >=x11-libs/libX11-1.1.3
+ >=x11-libs/libXext-1.1.1
+ >=x11-libs/libXi-1.1.3
+ >=x11-libs/libXrender-0.9.4
+ >=x11-libs/libXtst-1.0.3"
+X_DEPEND="
+ >=x11-libs/libXau-1.0.3
+ >=x11-libs/libXdmcp-1.0.2
+ >=x11-libs/libXinerama-1.0.2
+ >=x11-libs/libXp-1.0.0
+ x11-proto/inputproto
+ >=x11-proto/xextproto-7.1.1
+ x11-proto/xineramaproto
+ x11-proto/xproto"
+
+COMMON_DEP="
+ >=media-libs/giflib-4.1.6
+ >=media-libs/libpng-1.2
+ >=sys-libs/zlib-1.2.3
+ virtual/jpeg
+ javascript? ( dev-java/rhino:1.6 )
+ nss? ( >=dev-libs/nss-3.12.5-r1 )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
+ systemtap? ( >=dev-util/systemtap-1 )"
+
+# media-fonts/lklug needs ppc ppc64 keywords
+RDEPEND="${COMMON_DEP}
+ !dev-java/icedtea6
+ X? (
+ ${X_COMMON_DEP}
+ media-fonts/dejavu
+ cjk? (
+ media-fonts/arphicfonts
+ media-fonts/baekmuk-fonts
+ !ppc? ( !ppc64? ( media-fonts/lklug ) )
+ media-fonts/lohit-fonts
+ media-fonts/sazanami
+ )
+ )
+ alsa? ( ${ALSA_COMMON_DEP} )
+ cups? ( ${CUPS_COMMON_DEP} )"
+
+# Only ant-core-1.7.1-r2 and later properly respect environment variables.
+# xalan/xerces: automatic code generation (also needed for Ant 1.8.0 to work properly)
+# ca-certificates, perl and openssl are used for the cacerts keystore generation
+# xext headers have two variants depending on version - bug #288855
+# !eclipse-ecj-3.7 - bug #392587
+# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
+DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
+ || (
+ >=dev-java/gcj-jdk-4.3
+ dev-java/icedtea-bin:6
+ dev-java/icedtea:6
+ )
+ app-arch/cpio
+ app-arch/unzip
+ app-arch/zip
+ app-misc/ca-certificates
+ >=dev-java/ant-core-1.7.1-r2
+ dev-java/ant-nodeps
+ >=dev-java/xalan-2.7.0:0
+ >=dev-java/xerces-2.9.1:2
+ dev-lang/perl
+ dev-libs/openssl
+ dev-util/pkgconfig
+ sys-apps/lsb-release
+ || ( >=sys-devel/autoconf-2.65:2.5 <sys-devel/autoconf-2.64:2.5 )
+ ${X_DEPEND}
+ jbootstrap? (
+ || ( <dev-java/eclipse-ecj-3.7 dev-java/ecj-gcj )
+ )
+ pax_kernel? ( sys-apps/paxctl )"
+
+PDEPEND="webstart? ( dev-java/icedtea-web:6 )
+ nsplugin? ( dev-java/icedtea-web:6[nsplugin] )"
+
+S="${WORKDIR}"/${ICEDTEA_PKG}
+
+# a bit of hack so the VM switching is triggered without causing dependency troubles
+JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.5"
+JAVA_PKG_WANT_SOURCE="1.5"
+JAVA_PKG_WANT_TARGET="1.5"
+
+pkg_setup() {
+ # quite a hack since java-config does not provide a way for a package
+ # to limit supported VM's for building and their preferred order
+ if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
+ einfo "Honoring user-set JAVA_PKG_FORCE_VM"
+ elif has_version "<=dev-java/icedtea-6.1.10.4:6"; then
+ JAVA_PKG_FORCE_VM="icedtea6"
+ elif has_version ">dev-java/icedtea-6.1.10.4:6"; then
+ JAVA_PKG_FORCE_VM="icedtea-6"
+ elif has_version "<dev-java/icedtea-bin-6.1.10.4:6"; then
+ JAVA_PKG_FORCE_VM="icedtea6-bin"
+ elif has_version ">=dev-java/icedtea-bin-6.1.10.4:6"; then
+ JAVA_PKG_FORCE_VM="icedtea-bin-6"
+ elif has_version dev-java/gcj-jdk; then
+ JAVA_PKG_FORCE_VM="gcj-jdk"
+ else
+ die "Unable to find a supported VM for building"
+ fi
+
+ einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
+ java-vm-2_pkg_setup
+ java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+ unpack ${ICEDTEA_PKG}.tar.gz
+}
+
+java_prepare() {
+ # icedtea doesn't like some locales. #330433 #389717
+ export LANG="C" LC_ALL="C"
+
+ epatch "${FILESDIR}"/${PN}-${SLOT}_pax_kernel_support.patch #389751
+ eautoreconf
+}
+
+src_configure() {
+ local config bootstrap
+ local vm=$(java-pkg_get-current-vm)
+
+ # IcedTea6 can't be built using IcedTea7; its class files are too new
+ if has "${vm}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6; then
+ use jbootstrap && bootstrap=yes
+ elif has "${vm}" gcj-jdk; then
+ # gcj-jdk ensures ecj is present.
+ use jbootstrap || einfo "bootstrap forced on for ${vm}, ignoring use jbootstrap"
+ bootstrap=yes
+ else
+ eerror "IcedTea${SLOT} must be built with either a JDK based on GNU Classpath or an existing build of IcedTea${SLOT}."
+ die "Install a GNU Classpath JDK (gcj-jdk)"
+ fi
+
+ if [[ ${bootstrap} ]]; then
+ config="${config} --enable-bootstrap"
+
+ # icedtea-6 javac wrapper requires to always have ecj if bootstrapping #392337
+ local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
+ # Don't use eclipse-ecj-3.7 #392587
+ local ecj_all=( "${EPREFIX}"/usr/share/{eclipse-ecj,ecj-gcj}-* )
+ ecj_all=( "${ecj_all[@]/*eclipse-ecj-3.7*/}" )
+ if ! has "${ecj_jar%/lib/ecj.jar}" "${ecj_all[@]}"; then
+ ecj_jar="${ecj_jar%/lib/ecj.jar}"
+ ewarn "${ecj_jar##*/} set as system ecj, can't use for bootstrap"
+ ewarn "Found usable: ${ecj_all[@]##*/}"
+ ewarn "using ${ecj_all##*/} instead"
+ ecj_jar="${ecj_all}"/lib/ecj.jar
+ fi
+ config="${config} --with-ecj-jar=${ecj_jar}"
+ else
+ config="${config} --disable-bootstrap"
+ fi
+
+ # Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
+ # Otherwise use CACAO
+ if ! has "${ARCH}" amd64 sparc x86; then
+ config="${config} --enable-cacao --with-cacao-src-zip=${DISTDIR}/${CACAO_TARBALL}"
+ fi
+
+ # OpenJDK-specific parallelism support. Bug #389791, #337827
+ # Implementation modified from waf-utils.eclass
+ # Note that "-j" is converted to "-j1" as the system doesn't support --load-average
+ local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
+ config="${config} --with-parallel-jobs=${procs}";
+ einfo "Configuring using --with-parallel-jobs=${procs}"
+
+ if use javascript ; then
+ config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
+ else
+ config="${config} --without-rhino"
+ fi
+
+ if use hs20 ; then
+ config="${config} --with-hotspot-build=hs20 --with-hotspot-src-zip=${DISTDIR}/${HOTSPOT_TARBALL}"
+ fi
+
+ unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
+
+ econf ${config} \
+ --with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
+ --with-jaxp-drop-zip="${DISTDIR}/${JAXP_TARBALL}" \
+ --with-jaxws-drop-zip="${DISTDIR}/${JAXWS_TARBALL}" \
+ --with-jaf-drop-zip="${DISTDIR}/${JAF_TARBALL}" \
+ --with-jdk-home="$(java-config -O)" \
+ --with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
+ $(use_enable !debug optimizations) \
+ $(use_enable doc docs) \
+ $(use_enable nss) \
+ $(use_enable pulseaudio pulse-java) \
+ $(use_enable systemtap) \
+ $(use_with pax_kernel pax paxctl)
+}
+
+src_compile() {
+ # Would use GENTOO_VM otherwise.
+ export ANT_RESPECT_JAVA_HOME=TRUE
+
+ # ant -diagnostics in Ant 1.8.0 fails without xerces-2 and xalan
+ # Load the least that's needed to avoid possible classpath collisions.
+ export ANT_TASKS="xerces-2 xalan ant-nodeps"
+
+ emake
+}
+
+src_test() {
+ # Use Xvfb for tests
+ unset DISPLAY
+
+ Xemake -j1 check
+}
+
+src_install() {
+ local dest="/usr/$(get_libdir)/icedtea${SLOT}"
+ local ddest="${ED}/${dest}"
+ dodir "${dest}"
+
+ dodoc README NEWS AUTHORS THANKYOU
+ dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
+
+ cd openjdk.build/j2sdk-image || die
+
+ # Ensures HeadlessGraphicsEnvironment is used.
+ if ! use X; then
+ rm -r jre/lib/$(get_system_arch)/xawt || die
+ fi
+
+ #402507
+ mkdir jre/.systemPrefs || die
+ touch jre/.systemPrefs/.system.lock || die
+ touch jre/.systemPrefs/.systemRootModFile || die
+
+ # doins can't handle symlinks.
+ cp -vRP bin include jre lib man "${ddest}" || die
+
+ dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
+
+ if use doc; then
+ # java-pkg_dohtml needed for package-list #302654
+ java-pkg_dohtml -r ../docs/* || die
+ fi
+
+ if use examples; then
+ dodir "${dest}/share";
+ cp -vRP demo sample "${ddest}/share/" || die
+ fi
+
+ if use source; then
+ cp src.zip "${ddest}" || die
+ fi
+
+ # Fix the permissions.
+ find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
+
+ # Needs to be done before generating cacerts
+ java-vm_set-pax-markings "${ddest}"
+
+ # We need to generate keystore - bug #273306
+ einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
+ mkdir "${T}/certgen" && cd "${T}/certgen" || die
+ cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
+ for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
+ openssl x509 -text -in "${c}" >> all.crt || die
+ done
+ ./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
+ cp -vRP cacerts "${ddest}/jre/lib/security/" || die
+ chmod 644 "${ddest}/jre/lib/security/cacerts" || die
+
+ # Bug 390663
+ cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
+ eprefixify "${T}"/fontconfig.Gentoo.properties
+ insinto "${dest}"/jre/lib
+ doins "${T}"/fontconfig.Gentoo.properties
+
+ set_java_env "${FILESDIR}/icedtea.env"
+ if ! use X || ! use alsa || ! use cups; then
+ java-vm_revdep-mask "${dest}"
+ fi
+}
+
+pkg_preinst() {
+ if has_version "<=dev-java/icedtea-6.1.10.4:${SLOT}"; then
+ # portage would preserve the symlink otherwise, related to bug #384397
+ rm -f "${EROOT}/usr/lib/jvm/icedtea6"
+ elog "To unify the layout and simplify scripts, the identifier of Icedtea-6*"
+ elog "has changed from 'icedtea6' to 'icedtea-6' starting from version 6.1.10.4-r1"
+ elog "If you had icedtea6 as system VM, the change should be automatic, however"
+ elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
+ elog "and the same holds for any user VM settings. Sorry for the inconvenience."
+ fi
+}
diff --git a/dev-java/icedtea/icedtea-6.1.11.1.ebuild b/dev-java/icedtea/icedtea-6.1.11.1.ebuild
index e9980dc8515d..226224d21db8 100644
--- a/dev-java/icedtea/icedtea-6.1.11.1.ebuild
+++ b/dev-java/icedtea/icedtea-6.1.11.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.11.1.ebuild,v 1.1 2012/02/18 23:14:45 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.11.1.ebuild,v 1.2 2012/02/24 18:43:48 sera Exp $
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
# *********************************************************
@@ -34,7 +34,7 @@ SRC_URI="
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
SLOT="6"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~x86"
IUSE="+X +alsa cjk +cups debug doc examples javascript +jbootstrap +nsplugin
+nss pax_kernel pulseaudio +source systemtap test +webstart"
diff --git a/dev-java/icedtea/icedtea-6.1.11.ebuild b/dev-java/icedtea/icedtea-6.1.11.ebuild
index 4d206dd35104..091f32d50932 100644
--- a/dev-java/icedtea/icedtea-6.1.11.ebuild
+++ b/dev-java/icedtea/icedtea-6.1.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.11.ebuild,v 1.3 2012/02/08 13:09:17 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.11.ebuild,v 1.4 2012/02/24 18:43:48 sera Exp $
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
# *********************************************************
@@ -34,7 +34,7 @@ SRC_URI="
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
SLOT="6"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~x86"
IUSE="+X +alsa cjk +cups debug doc examples javascript +jbootstrap +nsplugin
+nss pax_kernel pulseaudio +source systemtap test +webstart"
diff --git a/dev-java/icedtea/icedtea-7.2.0.1.ebuild b/dev-java/icedtea/icedtea-7.2.0.1.ebuild
new file mode 100644
index 000000000000..d26929b44bb9
--- /dev/null
+++ b/dev-java/icedtea/icedtea-7.2.0.1.ebuild
@@ -0,0 +1,345 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.0.1.ebuild,v 1.1 2012/02/24 18:43:48 sera Exp $
+# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
+
+# *********************************************************
+# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
+# *********************************************************
+
+EAPI="4"
+
+inherit autotools java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx
+
+ICEDTEA_PKG=icedtea-$(get_version_component_range 2-)
+OPENJDK_TARBALL="4b063ca7483f.tar.gz"
+CORBA_TARBALL="d37539e7e838.tar.gz"
+HOTSPOT_TARBALL="9dfaed4a95e2.tar.gz"
+JAXP_TARBALL="ae891cd6ba73.tar.gz"
+JAXWS_TARBALL="1107cfa36f53.tar.gz"
+JDK_TARBALL="891fb0050add.tar.gz"
+LANGTOOLS_TARBALL="f0faea84413f.tar.gz"
+
+DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
+HOMEPAGE="http://icedtea.classpath.org"
+SRC_URI="
+ http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/archive/${OPENJDK_TARBALL}
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/corba/archive/${CORBA_TARBALL}
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/jaxp/archive/${JAXP_TARBALL}
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/jaxws/archive/${JAXWS_TARBALL}
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/jdk/archive/${JDK_TARBALL}
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/hotspot/archive/${HOTSPOT_TARBALL}
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/langtools/archive/${LANGTOOLS_TARBALL}"
+
+LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
+SLOT="7"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+X +alsa cjk +cups debug doc examples javascript +jbootstrap +nsplugin
+ +nss pax_kernel pulseaudio +source systemtap test +webstart"
+
+# Ideally the following were optional at build time.
+ALSA_COMMON_DEP="
+ >=media-libs/alsa-lib-1.0"
+CUPS_COMMON_DEP="
+ >=net-print/cups-1.2.12"
+X_COMMON_DEP="
+ >=dev-libs/atk-1.30.0
+ >=dev-libs/glib-2.26
+ media-libs/fontconfig
+ >=media-libs/freetype-2.3.5
+ >=x11-libs/cairo-1.8.8
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-2.8:2
+ >=x11-libs/libX11-1.1.3
+ >=x11-libs/libXext-1.1.1
+ >=x11-libs/libXi-1.1.3
+ >=x11-libs/libXrender-0.9.4
+ >=x11-libs/libXtst-1.0.3
+ >=x11-libs/pango-1.24.5"
+X_DEPEND="
+ >=x11-libs/libXau-1.0.3
+ >=x11-libs/libXdmcp-1.0.2
+ >=x11-libs/libXinerama-1.0.2
+ >=x11-libs/libXp-1.0.0
+ x11-proto/inputproto
+ >=x11-proto/xextproto-7.1.1
+ x11-proto/xineramaproto
+ x11-proto/xproto"
+
+COMMON_DEP="
+ >=media-libs/giflib-4.1.6
+ media-libs/lcms:2
+ >=media-libs/libpng-1.2
+ >=sys-libs/zlib-1.2.3
+ virtual/jpeg
+ javascript? ( dev-java/rhino:1.6 )
+ nss? ( >=dev-libs/nss-3.12.5-r1 )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
+ systemtap? ( >=dev-util/systemtap-1 )"
+
+# cups is needed for X. #390945 #390975
+RDEPEND="${COMMON_DEP}
+ !dev-java/icedtea:0
+ X? (
+ ${CUPS_COMMON_DEP}
+ ${X_COMMON_DEP}
+ media-fonts/dejavu
+ cjk? (
+ media-fonts/arphicfonts
+ media-fonts/baekmuk-fonts
+ media-fonts/lklug
+ media-fonts/lohit-fonts
+ media-fonts/sazanami
+ )
+ )
+ alsa? ( ${ALSA_COMMON_DEP} )
+ cups? ( ${CUPS_COMMON_DEP} )"
+
+# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
+# ca-certificates, perl and openssl are used for the cacerts keystore generation
+# xext headers have two variants depending on version - bug #288855
+# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
+DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
+ || (
+ >=dev-java/gcj-jdk-4.3
+ dev-java/icedtea-bin:7
+ dev-java/icedtea-bin:6
+ dev-java/icedtea:7
+ dev-java/icedtea:6
+ )
+ app-arch/cpio
+ app-arch/unzip
+ app-arch/zip
+ app-misc/ca-certificates
+ >=dev-java/ant-core-1.8.1
+ dev-java/ant-nodeps
+ dev-lang/perl
+ >=dev-libs/libxslt-1.1.26
+ dev-libs/openssl
+ dev-util/pkgconfig
+ sys-apps/attr
+ sys-apps/lsb-release
+ || ( >=sys-devel/autoconf-2.65:2.5 <sys-devel/autoconf-2.64:2.5 )
+ ${X_DEPEND}
+ pax_kernel? ( sys-apps/paxctl )"
+
+PDEPEND="webstart? ( dev-java/icedtea-web:7 )
+ nsplugin? ( dev-java/icedtea-web:7[nsplugin] )"
+
+S="${WORKDIR}"/${ICEDTEA_PKG}
+
+# a bit of hack so the VM switching is triggered without causing dependency troubles
+JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.5"
+JAVA_PKG_WANT_SOURCE="1.5"
+JAVA_PKG_WANT_TARGET="1.5"
+
+pkg_setup() {
+ # quite a hack since java-config does not provide a way for a package
+ # to limit supported VM's for building and their preferred order
+ if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
+ einfo "Honoring user-set JAVA_PKG_FORCE_VM"
+ elif has_version "<=dev-java/icedtea-7.2.0:7"; then
+ JAVA_PKG_FORCE_VM="icedtea7"
+ elif has_version ">dev-java/icedtea-7.2.0:7"; then
+ JAVA_PKG_FORCE_VM="icedtea-7"
+ elif has_version "dev-java/icedtea-bin:7"; then
+ JAVA_PKG_FORCE_VM="icedtea-bin-7"
+ elif has_version "<=dev-java/icedtea-6.1.10.4:6"; then
+ JAVA_PKG_FORCE_VM="icedtea6"
+ elif has_version ">dev-java/icedtea-6.1.10.4:6"; then
+ JAVA_PKG_FORCE_VM="icedtea-6"
+ elif has_version "<dev-java/icedtea-bin-6.1.10.4:6"; then
+ JAVA_PKG_FORCE_VM="icedtea6-bin"
+ elif has_version ">=dev-java/icedtea-bin-6.1.10.4:6"; then
+ JAVA_PKG_FORCE_VM="icedtea-bin-6"
+ elif has_version dev-java/gcj-jdk; then
+ JAVA_PKG_FORCE_VM="gcj-jdk"
+ else
+ die "Unable to find a supported VM for building"
+ fi
+
+ einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
+ java-vm-2_pkg_setup
+ java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+ unpack ${ICEDTEA_PKG}.tar.gz
+}
+
+java_prepare() {
+ # For bootstrap builds as the sandbox control file might not yet exist.
+ addpredict /proc/self/coredump_filter
+
+ # icedtea doesn't like some locales. #330433 #389717
+ export LANG="C" LC_ALL="C"
+
+ epatch "${FILESDIR}"/${PN}-7.2.0_pax_kernel_support.patch #389751
+ eautoreconf
+}
+
+src_configure() {
+ local config bootstrap
+ local vm=$(java-pkg_get-current-vm)
+
+ # Whether to bootstrap
+ if has "${vm}" icedtea7 icedtea-7 icedtea-bin-7; then
+ use jbootstrap && bootstrap=yes
+ elif has "${vm}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6; then
+ if use jbootstrap; then
+ einfo "We can't currently bootstrap with a IcedTea6 JVM :("
+ einfo "bootstrap forced off, ignoring use jbootstrap"
+ fi
+ elif has "${vm}" gcj-jdk; then
+ # gcj-jdk ensures ecj is present.
+ use jbootstrap || einfo "bootstrap forced on for ${vm}, ignoring use jbootstrap"
+ bootstrap=yes
+ local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
+ config="${config} --with-ecj-jar=${ecj_jar}"
+ else
+ eerror "IcedTea must be built with either a JDK based on GNU Classpath or an existing build of IcedTea."
+ die "Install a GNU Classpath JDK (gcj-jdk)"
+ fi
+
+ if [[ ${bootstrap} ]]; then
+ config="${config} --enable-bootstrap"
+ else
+ config="${config} --disable-bootstrap"
+ fi
+
+ # OpenJDK-specific parallelism support. Bug #389791, #337827
+ # Implementation modified from waf-utils.eclass
+ # Note that "-j" is converted to "-j1" as the system doesn't support --load-average
+ local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
+ config="${config} --with-parallel-jobs=${procs}";
+ einfo "Configuring using --with-parallel-jobs=${procs}"
+
+ if use javascript ; then
+ config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
+ else
+ config="${config} --without-rhino"
+ fi
+
+ unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
+
+ econf ${config} \
+ --with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
+ --with-corba-src-zip="${DISTDIR}/${CORBA_TARBALL}" \
+ --with-jaxp-src-zip="${DISTDIR}/${JAXP_TARBALL}" \
+ --with-jaxws-src-zip="${DISTDIR}/${JAXWS_TARBALL}" \
+ --with-jdk-src-zip="${DISTDIR}/${JDK_TARBALL}" \
+ --with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
+ --with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_TARBALL}" \
+ --with-jdk-home="$(java-config -O)" \
+ --with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
+ $(use_enable !debug optimizations) \
+ $(use_enable doc docs) \
+ $(use_enable nss) \
+ $(use_enable pulseaudio pulse-java) \
+ $(use_enable systemtap) \
+ $(use_with pax_kernel pax paxctl)
+}
+
+src_compile() {
+ # Would use GENTOO_VM otherwise.
+ export ANT_RESPECT_JAVA_HOME=TRUE
+
+ # Load the least that's needed to avoid possible classpath collisions.
+ export ANT_TASKS="ant-nodeps"
+
+ emake -j 1
+}
+
+src_test() {
+ # Use Xvfb for tests
+ unset DISPLAY
+
+ Xemake -j1 check
+}
+
+src_install() {
+ local dest="/usr/$(get_libdir)/icedtea${SLOT}"
+ local ddest="${ED}/${dest}"
+ dodir "${dest}"
+
+ dodoc README NEWS AUTHORS
+ dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
+
+ cd openjdk.build/j2sdk-image || die
+
+ # Ensures HeadlessGraphicsEnvironment is used.
+ if ! use X; then
+ rm -r jre/lib/$(get_system_arch)/xawt || die
+ fi
+
+ # Don't hide classes
+ rm lib/ct.sym || die
+
+ #402507
+ mkdir jre/.systemPrefs || die
+ touch jre/.systemPrefs/.system.lock || die
+ touch jre/.systemPrefs/.systemRootModFile || die
+
+ # doins can't handle symlinks.
+ cp -vRP bin include jre lib man "${ddest}" || die
+
+ dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
+
+ if use doc; then
+ # java-pkg_dohtml needed for package-list #302654
+ java-pkg_dohtml -r ../docs/* || die
+ fi
+
+ if use examples; then
+ dodir "${dest}/share";
+ cp -vRP demo sample "${ddest}/share/" || die
+ fi
+
+ if use source; then
+ cp src.zip "${ddest}" || die
+ fi
+
+ # Fix the permissions.
+ find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
+
+ # Needs to be done before generating cacerts
+ java-vm_set-pax-markings "${ddest}"
+
+ # We need to generate keystore - bug #273306
+ einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
+ mkdir "${T}/certgen" && cd "${T}/certgen" || die
+ cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
+ for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
+ openssl x509 -text -in "${c}" >> all.crt || die
+ done
+ ./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
+ cp -vRP cacerts "${ddest}/jre/lib/security/" || die
+ chmod 644 "${ddest}/jre/lib/security/cacerts" || die
+
+ # OpenJDK7 should be able to use fontconfig instead, but wont hurt to
+ # install it anyway. Bug 390663
+ cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
+ eprefixify "${T}"/fontconfig.Gentoo.properties
+ insinto "${dest}"/jre/lib
+ doins "${T}"/fontconfig.Gentoo.properties
+
+ set_java_env "${FILESDIR}/icedtea.env"
+ if ! use X || ! use alsa || ! use cups; then
+ java-vm_revdep-mask "${dest}"
+ fi
+ java-vm_sandbox-predict /proc/self/coredump_filter
+}
+
+pkg_preinst() {
+ if has_version "<=dev-java/icedtea-7.2.0:7"; then
+ # portage would preserve the symlink otherwise, related to bug #384397
+ rm -f "${EROOT}/usr/lib/jvm/icedtea7"
+ elog "To unify the layout and simplify scripts, the identifier of Icedtea-7*"
+ elog "has changed from 'icedtea7' to 'icedtea-7' starting from version 7.2.0-r1"
+ elog "If you had icedtea7 as system VM, the change should be automatic, however"
+ elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
+ elog "and the same holds for any user VM settings. Sorry for the inconvenience."
+ fi
+}
diff --git a/dev-java/icedtea/icedtea-7.2.1.ebuild b/dev-java/icedtea/icedtea-7.2.1.ebuild
new file mode 100644
index 000000000000..c62545357ccf
--- /dev/null
+++ b/dev-java/icedtea/icedtea-7.2.1.ebuild
@@ -0,0 +1,349 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.1.ebuild,v 1.1 2012/02/24 18:43:48 sera Exp $
+# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
+
+# *********************************************************
+# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
+# *********************************************************
+
+EAPI="4"
+
+inherit autotools java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx
+
+ICEDTEA_VER=$(get_version_component_range 2-)
+ICEDTEA_PKG=icedtea-${ICEDTEA_VER}
+OPENJDK_TARBALL="22cc03983e20.tar.gz"
+CORBA_TARBALL="5617f6c5cc94.tar.gz"
+HOTSPOT_TARBALL="0e651e004747.tar.gz"
+JAXP_TARBALL="1cf75c0e2c96.tar.gz"
+JAXWS_TARBALL="7edfbfe974f2.tar.gz"
+JDK_TARBALL="50f6f276a06c.tar.gz"
+LANGTOOLS_TARBALL="b534c4c6cd9b.tar.gz"
+
+DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
+HOMEPAGE="http://icedtea.classpath.org"
+SRC_URI="
+ http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/archive/${OPENJDK_TARBALL}
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/corba/archive/${CORBA_TARBALL}
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/jaxp/archive/${JAXP_TARBALL}
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/jaxws/archive/${JAXWS_TARBALL}
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/jdk/archive/${JDK_TARBALL}
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/hotspot/archive/${HOTSPOT_TARBALL}
+ http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/langtools/archive/${LANGTOOLS_TARBALL}"
+
+LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
+SLOT="7"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+X +alsa cjk +cups debug doc examples javascript +jbootstrap +nsplugin
+ +nss pax_kernel pulseaudio +source systemtap test +webstart"
+
+# Ideally the following were optional at build time.
+ALSA_COMMON_DEP="
+ >=media-libs/alsa-lib-1.0"
+CUPS_COMMON_DEP="
+ >=net-print/cups-1.2.12"
+X_COMMON_DEP="
+ >=dev-libs/atk-1.30.0
+ >=dev-libs/glib-2.26
+ media-libs/fontconfig
+ >=media-libs/freetype-2.3.5
+ >=x11-libs/cairo-1.8.8
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-2.8:2
+ >=x11-libs/libX11-1.1.3
+ >=x11-libs/libXext-1.1.1
+ >=x11-libs/libXi-1.1.3
+ >=x11-libs/libXrender-0.9.4
+ >=x11-libs/libXtst-1.0.3
+ >=x11-libs/pango-1.24.5"
+X_DEPEND="
+ >=x11-libs/libXau-1.0.3
+ >=x11-libs/libXdmcp-1.0.2
+ >=x11-libs/libXinerama-1.0.2
+ >=x11-libs/libXp-1.0.0
+ x11-proto/inputproto
+ >=x11-proto/xextproto-7.1.1
+ x11-proto/xineramaproto
+ x11-proto/xproto"
+
+COMMON_DEP="
+ >=media-libs/giflib-4.1.6
+ media-libs/lcms:2
+ >=media-libs/libpng-1.2
+ >=sys-libs/zlib-1.2.3
+ virtual/jpeg
+ javascript? ( dev-java/rhino:1.6 )
+ nss? ( >=dev-libs/nss-3.12.5-r1 )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
+ systemtap? ( >=dev-util/systemtap-1 )"
+
+# cups is needed for X. #390945 #390975
+RDEPEND="${COMMON_DEP}
+ !dev-java/icedtea:0
+ X? (
+ ${CUPS_COMMON_DEP}
+ ${X_COMMON_DEP}
+ media-fonts/dejavu
+ cjk? (
+ media-fonts/arphicfonts
+ media-fonts/baekmuk-fonts
+ media-fonts/lklug
+ media-fonts/lohit-fonts
+ media-fonts/sazanami
+ )
+ )
+ alsa? ( ${ALSA_COMMON_DEP} )
+ cups? ( ${CUPS_COMMON_DEP} )"
+
+# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
+# ca-certificates, perl and openssl are used for the cacerts keystore generation
+# xext headers have two variants depending on version - bug #288855
+# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
+DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
+ || (
+ >=dev-java/gcj-jdk-4.3
+ dev-java/icedtea-bin:7
+ dev-java/icedtea-bin:6
+ dev-java/icedtea:7
+ dev-java/icedtea:6
+ )
+ app-arch/cpio
+ app-arch/unzip
+ app-arch/zip
+ app-misc/ca-certificates
+ >=dev-java/ant-core-1.8.1
+ dev-java/ant-nodeps
+ dev-lang/perl
+ >=dev-libs/libxslt-1.1.26
+ dev-libs/openssl
+ dev-util/pkgconfig
+ sys-apps/attr
+ sys-apps/lsb-release
+ || ( >=sys-devel/autoconf-2.65:2.5 <sys-devel/autoconf-2.64:2.5 )
+ ${X_DEPEND}
+ pax_kernel? ( sys-apps/paxctl )"
+
+PDEPEND="webstart? ( dev-java/icedtea-web:7 )
+ nsplugin? ( dev-java/icedtea-web:7[nsplugin] )"
+
+S="${WORKDIR}"/${ICEDTEA_PKG}
+
+# a bit of hack so the VM switching is triggered without causing dependency troubles
+JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.5"
+JAVA_PKG_WANT_SOURCE="1.5"
+JAVA_PKG_WANT_TARGET="1.5"
+
+pkg_setup() {
+ # quite a hack since java-config does not provide a way for a package
+ # to limit supported VM's for building and their preferred order
+ if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
+ einfo "Honoring user-set JAVA_PKG_FORCE_VM"
+ elif has_version "<=dev-java/icedtea-7.2.0:7"; then
+ JAVA_PKG_FORCE_VM="icedtea7"
+ elif has_version ">dev-java/icedtea-7.2.0:7"; then
+ JAVA_PKG_FORCE_VM="icedtea-7"
+ elif has_version "dev-java/icedtea-bin:7"; then
+ JAVA_PKG_FORCE_VM="icedtea-bin-7"
+ elif has_version "<=dev-java/icedtea-6.1.10.4:6"; then
+ JAVA_PKG_FORCE_VM="icedtea6"
+ elif has_version ">dev-java/icedtea-6.1.10.4:6"; then
+ JAVA_PKG_FORCE_VM="icedtea-6"
+ elif has_version "<dev-java/icedtea-bin-6.1.10.4:6"; then
+ JAVA_PKG_FORCE_VM="icedtea6-bin"
+ elif has_version ">=dev-java/icedtea-bin-6.1.10.4:6"; then
+ JAVA_PKG_FORCE_VM="icedtea-bin-6"
+ elif has_version dev-java/gcj-jdk; then
+ JAVA_PKG_FORCE_VM="gcj-jdk"
+ else
+ die "Unable to find a supported VM for building"
+ fi
+
+ einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
+ java-vm-2_pkg_setup
+ java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+ unpack ${ICEDTEA_PKG}.tar.gz
+}
+
+java_prepare() {
+ # For bootstrap builds as the sandbox control file might not yet exist.
+ addpredict /proc/self/coredump_filter
+
+ # icedtea doesn't like some locales. #330433 #389717
+ export LANG="C" LC_ALL="C"
+
+ epatch "${FILESDIR}"/${PN}-7.2.0_pax_kernel_support.patch #389751
+ eautoreconf
+}
+
+src_configure() {
+ local config bootstrap
+ local vm=$(java-pkg_get-current-vm)
+
+ # Whether to bootstrap
+ if has "${vm}" icedtea7 icedtea-7 icedtea-bin-7; then
+ if use jbootstrap; then
+ einfo "We can't currently bootstrap with a IcedTea7 JVM :("
+ einfo "bootstrap forced off, ignoring use jbootstrap"
+ fi
+ elif has "${vm}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6; then
+ if use jbootstrap; then
+ einfo "We can't currently bootstrap with a IcedTea6 JVM :("
+ einfo "bootstrap forced off, ignoring use jbootstrap"
+ fi
+ elif has "${vm}" gcj-jdk; then
+ # gcj-jdk ensures ecj is present.
+ use jbootstrap || einfo "bootstrap forced on for ${vm}, ignoring use jbootstrap"
+ bootstrap=yes
+ local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
+ config="${config} --with-ecj-jar=${ecj_jar}"
+ else
+ eerror "IcedTea must be built with either a JDK based on GNU Classpath or an existing build of IcedTea."
+ die "Install a GNU Classpath JDK (gcj-jdk)"
+ fi
+
+ if [[ ${bootstrap} ]]; then
+ config="${config} --enable-bootstrap"
+ else
+ config="${config} --disable-bootstrap"
+ fi
+
+ # OpenJDK-specific parallelism support. Bug #389791, #337827
+ # Implementation modified from waf-utils.eclass
+ # Note that "-j" is converted to "-j1" as the system doesn't support --load-average
+ local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
+ config="${config} --with-parallel-jobs=${procs}";
+ einfo "Configuring using --with-parallel-jobs=${procs}"
+
+ if use javascript ; then
+ config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
+ else
+ config="${config} --without-rhino"
+ fi
+
+ unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
+
+ econf ${config} \
+ --with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
+ --with-corba-src-zip="${DISTDIR}/${CORBA_TARBALL}" \
+ --with-jaxp-src-zip="${DISTDIR}/${JAXP_TARBALL}" \
+ --with-jaxws-src-zip="${DISTDIR}/${JAXWS_TARBALL}" \
+ --with-jdk-src-zip="${DISTDIR}/${JDK_TARBALL}" \
+ --with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
+ --with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_TARBALL}" \
+ --with-jdk-home="$(java-config -O)" \
+ --with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
+ $(use_enable !debug optimizations) \
+ $(use_enable doc docs) \
+ $(use_enable nss) \
+ $(use_enable pulseaudio pulse-java) \
+ $(use_enable systemtap) \
+ $(use_with pax_kernel pax paxctl)
+}
+
+src_compile() {
+ # Would use GENTOO_VM otherwise.
+ export ANT_RESPECT_JAVA_HOME=TRUE
+
+ # Load the least that's needed to avoid possible classpath collisions.
+ export ANT_TASKS="ant-nodeps"
+
+ emake -j 1
+}
+
+src_test() {
+ # Use Xvfb for tests
+ unset DISPLAY
+
+ Xemake -j1 check
+}
+
+src_install() {
+ local dest="/usr/$(get_libdir)/icedtea${SLOT}"
+ local ddest="${ED}/${dest}"
+ dodir "${dest}"
+
+ dodoc README NEWS AUTHORS
+ dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
+
+ cd openjdk.build/j2sdk-image || die
+
+ # Ensures HeadlessGraphicsEnvironment is used.
+ if ! use X; then
+ rm -r jre/lib/$(get_system_arch)/xawt || die
+ fi
+
+ # Don't hide classes
+ rm lib/ct.sym || die
+
+ #402507
+ mkdir jre/.systemPrefs || die
+ touch jre/.systemPrefs/.system.lock || die
+ touch jre/.systemPrefs/.systemRootModFile || die
+
+ # doins can't handle symlinks.
+ cp -vRP bin include jre lib man "${ddest}" || die
+
+ dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
+
+ if use doc; then
+ # java-pkg_dohtml needed for package-list #302654
+ java-pkg_dohtml -r ../docs/* || die
+ fi
+
+ if use examples; then
+ dodir "${dest}/share";
+ cp -vRP demo sample "${ddest}/share/" || die
+ fi
+
+ if use source; then
+ cp src.zip "${ddest}" || die
+ fi
+
+ # Fix the permissions.
+ find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
+
+ # Needs to be done before generating cacerts
+ java-vm_set-pax-markings "${ddest}"
+
+ # We need to generate keystore - bug #273306
+ einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
+ mkdir "${T}/certgen" && cd "${T}/certgen" || die
+ cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
+ for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
+ openssl x509 -text -in "${c}" >> all.crt || die
+ done
+ ./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
+ cp -vRP cacerts "${ddest}/jre/lib/security/" || die
+ chmod 644 "${ddest}/jre/lib/security/cacerts" || die
+
+ # OpenJDK7 should be able to use fontconfig instead, but wont hurt to
+ # install it anyway. Bug 390663
+ cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
+ eprefixify "${T}"/fontconfig.Gentoo.properties
+ insinto "${dest}"/jre/lib
+ doins "${T}"/fontconfig.Gentoo.properties
+
+ set_java_env "${FILESDIR}/icedtea.env"
+ if ! use X || ! use alsa || ! use cups; then
+ java-vm_revdep-mask "${dest}"
+ fi
+ java-vm_sandbox-predict /proc/self/coredump_filter
+}
+
+pkg_preinst() {
+ if has_version "<=dev-java/icedtea-7.2.0:7"; then
+ # portage would preserve the symlink otherwise, related to bug #384397
+ rm -f "${EROOT}/usr/lib/jvm/icedtea7"
+ elog "To unify the layout and simplify scripts, the identifier of Icedtea-7*"
+ elog "has changed from 'icedtea7' to 'icedtea-7' starting from version 7.2.0-r1"
+ elog "If you had icedtea7 as system VM, the change should be automatic, however"
+ elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
+ elog "and the same holds for any user VM settings. Sorry for the inconvenience."
+ fi
+}