diff options
author | James Le Cuirot <chewi@gentoo.org> | 2015-07-30 10:11:50 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2015-07-30 10:11:50 +0000 |
commit | 603736899a56f69dfc3e2c342b298d74e1e9329b (patch) | |
tree | d0ece19529b371697a7b771f0193d6a515a83992 /dev-java | |
parent | Drop old 1.8 version. (diff) | |
download | historical-603736899a56f69dfc3e2c342b298d74e1e9329b.tar.gz historical-603736899a56f69dfc3e2c342b298d74e1e9329b.tar.bz2 historical-603736899a56f69dfc3e2c342b298d74e1e9329b.zip |
Drop vulnerable 1.8 version wrt bug #554886.
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Manifest-Sign-Key: 0x9C6D7DE4
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/oracle-jdk-bin/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/oracle-jdk-bin/Manifest | 43 | ||||
-rw-r--r-- | dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.45.ebuild | 317 | ||||
-rw-r--r-- | dev-java/oracle-jre-bin/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/oracle-jre-bin/Manifest | 35 | ||||
-rw-r--r-- | dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.45.ebuild | 200 |
6 files changed, 44 insertions, 563 deletions
diff --git a/dev-java/oracle-jdk-bin/ChangeLog b/dev-java/oracle-jdk-bin/ChangeLog index b56af9838ab8..690aa62eadd6 100644 --- a/dev-java/oracle-jdk-bin/ChangeLog +++ b/dev-java/oracle-jdk-bin/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/oracle-jdk-bin # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/ChangeLog,v 1.100 2015/07/30 09:58:28 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/ChangeLog,v 1.101 2015/07/30 10:11:49 chewi Exp $ + + 30 Jul 2015; James Le Cuirot <chewi@gentoo.org> + -oracle-jdk-bin-1.8.0.45.ebuild: + Drop vulnerable 1.8 version wrt bug #554886. 30 Jul 2015; Agostino Sarubbo <ago@gentoo.org> oracle-jdk-bin-1.8.0.51.ebuild: Stable for x86, wrt bug #554886 diff --git a/dev-java/oracle-jdk-bin/Manifest b/dev-java/oracle-jdk-bin/Manifest index 9e24924bc4ba..001e7e5fac8d 100644 --- a/dev-java/oracle-jdk-bin/Manifest +++ b/dev-java/oracle-jdk-bin/Manifest @@ -21,16 +21,6 @@ DIST jdk-7u80-solaris-sparcv9-demos.tar.gz 904770 SHA256 fa3a92e70e52b0bffdee8d2 DIST jdk-7u80-solaris-sparcv9.tar.gz 19301205 SHA256 1a2bce541efe7b81cafe683626b3edea56918a8ca897ff36a2deaed00a7fce05 SHA512 93ea0e8f5ae611dd1a620dffd72e315ecb6ce8375bd902a793fab128ac7e95d2cb338df1c273a2c29af6194e7cbdb810d79193b413b4b101538c08ebeef1eb41 WHIRLPOOL c9ae1f1b561c4ec1d3c1a7f5008e80642b49a9fd1c6459f8ada65c01accc338280bdd683712d54a9b7741eeccf856b4f2ee82e898fbe1f39260d58efab217185 DIST jdk-7u80-solaris-x64-demos.tar.gz 865205 SHA256 a08dd0665d35986675beeba0f80d5db54a91fb276d8641ce1ba16ba873a18682 SHA512 c53f026bfdfed8d83d42e3fce497baffeb370adf0423be2f891f6d200510088ac8227ae4f261ece059dbf29eb33cacafb20a0c328e7d8723387eba38def389d0 WHIRLPOOL 0539e964e194527055186b120df11e74ab3d9568fc2a5ff002ef405396f521a7c35013420067d37874b9602fe29d104dce63f22bfd687c45722689d62a8c552d DIST jdk-7u80-solaris-x64.tar.gz 17176587 SHA256 ccc156363e3080e92382cd675d96889460a4421464b4567333394c8405eeb709 SHA512 83ce229c3a38e454d9acafa189b3b6f247a4723ddb3c3fa08993323590949295b0f3740ab235c7c539f90a684b8cefad7839f82f566b7a141019b94af6cbad89 WHIRLPOOL 07412c6de5886c729b43726fb228783606b2a53c2a286b1af2dd5359975d1c75964a895d7da543f98c461adf0ab4b82fc32ebeb49e1835448effd93886f1b206 -DIST jdk-8u45-linux-i586-demos.tar.gz 54792586 SHA256 f24e2ba5c12865d8191322db1687ac56e4792b17682dfc64c540893ff5db8703 SHA512 b35ccb9de4587efee360c8f0f9eefed2c9e2108a54e506188c3f37f449ea242b6873145761f99d8f7eff29c79428408a5b1ce59fd1929eec4908093c1bb0b232 WHIRLPOOL 79ee60185b914e0b0762c273a881e27670c19eaf1ecad2c1bae794b989cc826ace42b417a2270d8f9677facad1fac8645efd2306459c078893919fe76b541b11 -DIST jdk-8u45-linux-i586.tar.gz 174985642 SHA256 ed20cab122486b16ac467f35c791e2c44c94e51701429049d85f85d67cf53ff8 SHA512 74b467e5a36028993aa91903e17bfaf305a0122fdc60efbb9174e33e35ab52813df3b39869b36bfb32441ae3874e89eb523f155573fae5eced1875ebdd08d53f WHIRLPOOL eaa862dd67ac2d2096cd770f995f5a82fa00712786db1db5019c8738fdf5b203f3789da7a5923fc8bb39ad9a7b7bfc76a258c1e5e35c3cd582f5ca7910bb72d3 -DIST jdk-8u45-linux-x64-demos.tar.gz 54867124 SHA256 c0c523b46c9d1ec82b9cd166a8bab34403cd466b09643e0bb772ac447d237a30 SHA512 73e72098b1c4d2ac15e0bd1fbb39dc745774402ad07a3cb465ee3b3f3ff79d2d793e88d2143c300c44b3d5d870d9d822c7052b46076e6a8f95c34eab4fe4c4bb WHIRLPOOL 44ca0c5ccccd450677412e7deafee3f470fc3200abbd17ab725faf5139271c6b9731df6953f39f49c7025f324a0f9b1d3cdc768f773d1c721999ed3a45e2aa54 -DIST jdk-8u45-linux-x64.tar.gz 173271626 SHA256 f298ca9239051dfddf8642fcc9e264f7fe5af10adb67027feb3a0ed0a1a2316d SHA512 f8fa6690609ee93f7e40f69998e97e02566808a50ec146163c7aa24e596a0d98e8d4ad438bc9d4799cb31aad9b403c3d4ada6cc0db66d2b22be8c639d992a027 WHIRLPOOL a7b0bc6a5a4a8357ff5edef17182efebdcde26e8a6acfc742d820120845c3c139e5fc137b7c38262bd28bd54c03691fd8ed8338d4e3e77efde8064ed6613ae2b -DIST jdk-8u45-macosx-x64.dmg 232764982 SHA256 1a87665a5d1055ad2d804615446ab4877a4eb2c993b1acddd6c80d0d7028a5b2 SHA512 79612ac3830dc64b90954027d403ac3b709cafa3de02d49649b0abacbd89b208b0038c886273db4a60ebe24205483642e54896229753bb9ff833d64e58d8623d WHIRLPOOL 5e0798d8157f5c8e71064482141bd2888e9e46ae9515e30d0b0e2dd70a7f48e75b598273c36045cf66f72b321d5a4fe4552cbc2d19e412f0ebd6882ebff4a1f2 -DIST jdk-8u45-macosx-x86_64-demos.zip 55361354 SHA256 bbbc6848a6d802d915da229120c94d7077ca0a53c28f4751e4f220c2a6bdf8c8 SHA512 00eb1aacae95af794cc4c0098763576de74856a4b322d9ff8a49c2b168a006bb43c5b47d97c184f99a7a9113043cbdf821eee6e120c4206bb26258cd1dd689e9 WHIRLPOOL fb25d13434d80272bcb64cd6461b42616775f1b363d9fb9e8bfa4d116e82f187871fc6b6465975637591a621b59a8db29a244a0ed334636462184ee72805669f -DIST jdk-8u45-solaris-sparcv9-demos.tar.gz 9763046 SHA256 d1956f094a56198f0fa20ca40567388ffdc6cf9e740b162a31d6af2c656a1a61 SHA512 0861340c43f75723f2147595ab428ae6de33afaf051d7187d959c1cab920bca72f81dd5aabfb4bb500ada7c323a27d6f3db2ad2a603d2cd73525d4696a38928e WHIRLPOOL c0f02b0fc3d98d9b295900abd24fce7af9ba7577b078ad85919b6e84635e9d4a76c99b9f384faa1a7687d91d1ba054330ec6f8b832f774eba6118789ddaa8f76 -DIST jdk-8u45-solaris-sparcv9.tar.gz 97416052 SHA256 594cc2f3c00e783e7bac6ce2cc292f8fffd7d3508b521d156bc620a6cdb93f9d SHA512 551c8ae4efa24b837ee01ccd15156248cc7d4891ec0b95847a78b6969dfb84e44c068caf6ba6eb1130677c8ed14abd81b9dd82517f00d855c2cceb33e22045c0 WHIRLPOOL 56a44913b447b123232e09becd21d83c95f02d4020af582ed20a9c1a7fbed7f9c3a564b74e700d3449efe2a19c5bf3d7995fad3534ae5d59c24c25154c2443bc -DIST jdk-8u45-solaris-x64-demos.tar.gz 9716106 SHA256 736bcb3ec38cff5977c4bd58794d6b846e57903826a0404d3615ac3ed0e813f2 SHA512 2b0ba65017fa888dcaf237bb29876164e7b939ae70fe7a5081995b4f38e228fe31fd349360f8f8c25d61d6fce8cacfa54fb725265f045b43a20c8fb5366860c7 WHIRLPOOL 0162e96e28246e38a8e2e9dd5b250439a4f7d863e87d984e9091181171ac5914435852c3373add1d181d0dd49aa79945a391a14356ceb2c60192dc20b1e7ddfd -DIST jdk-8u45-solaris-x64.tar.gz 100537403 SHA256 2b66ac9b7eef7087077add605a1b94364c954b007587b44641c4b6725669fe43 SHA512 cf6a9303e81a1c11a5994d91f21bd05e0f9057587339c5d2366f19f67f90f08c2afc92bb6872428f916498c95fdf4ef27da8f182754c1994044b7981c2990a80 WHIRLPOOL 5c0b003d872e2e0e9524a38181cb38ce974643942c4759a639d2a8aae97bba62dc2c432708368de81722dba7593bd920ec4841905dfbe458f1dc5d46e3a0c51d DIST jdk-8u51-linux-arm-vfp-hflt-demos.tar.gz 10401432 SHA256 3260a78ac9bfa216443087d516998270716a6167612ba57759c7e8616aaba945 SHA512 b3177c31efbb4fa5171fb89bc1488cf7cb954919e129b70afbb7f374479f3cace69e9968767353a89002581493460e44c251df12174d3f3e20aa3ebc807dddf0 WHIRLPOOL 47fe7a61be0d85661cb9d8418ca5d20542acb9563fdf6837e0a25132824ed8c891ad0a7beb4061acd671217768a9223518874fbe599581bca0a0e6bf1f6dcbf1 DIST jdk-8u51-linux-arm-vfp-hflt.tar.gz 81593057 SHA256 2a6644a4540c8f47784daf8afcbb405a03e686720e4c9eac6584253a55def0c7 SHA512 9fd811ab3af7144436fbbc14e914f9313933e0dd1aae2eb35369ae5b291e12a1b9d9236bd6921e7e8e59f8a24bc65ebea4624079bbaf179ea821ba0908a5a975 WHIRLPOOL dbb4674237da39f0d86ea261bb48d78faa9ad4e0a3b1a8cd8a1ffd493202cb28c54294d7a82343b88727640cbbc31f123b67eb4926a094191dcc3653a575baf6 DIST jdk-8u51-linux-i586-demos.tar.gz 54797997 SHA256 08014bd53b4519890e7b82cb3d1b69c959e8bef08cd43cfd80b3043e6263d136 SHA512 3aebe35501937658ecc78b4d4e4268de8dda8e37b817f4f22e2b0ff3667da3dd29aa95bec241ad9b300e4db61d2329b4ae5c498f34a00efaf1d62164a6b92785 WHIRLPOOL dfded6fd17f18560cae1ea6d08d08ff8508c0ac8f07740b96d6747cca0f60a6db04dce934dce3d0cb3650c2d34069569805c892d41da4a95b7d5f3b8b7875c31 @@ -44,24 +34,25 @@ DIST jdk-8u51-solaris-sparcv9.tar.gz 103599046 SHA256 4bdfdae59ec62248ed893feff2 DIST jdk-8u51-solaris-x64-demos.tar.gz 9759566 SHA256 3376f1083841bd376da78fd6f3eb4127da4e9493d6af8f7c32e1eabfd8cab67e SHA512 a3c5efa70f75aff606ddcd1f52260e71828ba5ad8848fbf6f1c5d3cbd44f4f0a0a9e3e5576a1d68735a4339ad6e43124049a06ac62c6718c5a2a8dd56a1af766 WHIRLPOOL ae710e2cf1e328647124b385d7b96ffcc5d9bfaf159976163c1ab5075637eccbdfff8b9cecff322ac40d5c717403f4f3508b3574d91a761b2122674bb2cd0cbd DIST jdk-8u51-solaris-x64.tar.gz 101131923 SHA256 7afdda5f4310fce88e68f9c383bcc57451416471bb3af00cd1dfe323f2440932 SHA512 d08b8f4499f448f4e495b226bd88f44d9a4fcff69788e893a40d1de5e7e16970a655955c6b52d94e1604027d7fc025b8b99ef7687bd3de1419937b00813f023c WHIRLPOOL 21bb40348963034a59ca25004ecfaa4daeed4a96c45f1060314062cbccdfa48c2615c54677c8a28cec492e7ad2b7b8e91c9e1e212ff239cd3d995c7d84596e35 EBUILD oracle-jdk-bin-1.7.0.80.ebuild 10594 SHA256 fa213d4bc994ce89cf65d167bbebd1f90c7fb442df0ee8e1d30302b452384fab SHA512 1d84b11f15df444d888352408a63e46ead42322453207d1635392219e1bb9441db424856f9ff25374f7c5521672da60f11f7b65939241058cc934f6023c5f96a WHIRLPOOL 265b5fffb6b17e60402d7d0b5d04d1b14a0e6d898fc4c5207a05cd418447b4a0c08e912179faa48ef6af9be866e814e30143e386e63217bb05458a02d6676666 -EBUILD oracle-jdk-bin-1.8.0.45.ebuild 10469 SHA256 d2e3e37babb45f5455c889072bcbef43bf77b4264afab5746c06115239adee82 SHA512 00a3765c24de23b6f48d465695c294d2cf7d0f1d98c41a3389d14121b32e46189c74dd80c21013831004d3d97bcaeaafa97e94228f9f9e15a1f7777c5a3cee28 WHIRLPOOL eef576b9812fe9e244180b70bc965b5fd69c37f34cf71b76143efd2157aa870c7415ecf0cd6acee5e686d606e4d1135ff7990743d4a62881c614181394585725 EBUILD oracle-jdk-bin-1.8.0.51.ebuild 10635 SHA256 d168d2389601269ff01015a916ce8a83732d335d42433df4264bb14b6c4c8bb3 SHA512 e22c1037862f61d6465837555ba29183cd703c8e13c7872646da7d5fc610164f627faeffd9eae9812393282fee82a13bc3f92c891f33ad23e968dbb87d995d97 WHIRLPOOL 03a022c4660cbeb1fb1a4748e715d2657ebd9840e4b1c72cd3ee2e381eead11b99ef4d32a326c9281ed69cb16bb02ba968faa1654e9540ed833078bc47092c20 -MISC ChangeLog 17652 SHA256 15c37784da5be205647973934189d29c5633d26f8b96b2044d1c8ddfb4fc7682 SHA512 379cf43effaea70b1bc89ac1574579da58db7a4691bcf27bed7dae9a9ca1c2b249fe185a1cf643453e66d2387f1345f90d896b3c8ea71d895db99d154c36664d WHIRLPOOL 8f849e7d6cc0ec08b572822fa296fb1d9c87e2fca8269f29b2cf0f12c467079daf89fadc42efaa371fcaaba49e73448b00b4215beb348b25c359b13b0c6dc4c0 +MISC ChangeLog 17787 SHA256 37e99da4dfec1171c0701781550ce770f4efa1b32d5af9424bea788b1bbc3139 SHA512 99879d5ef9201cd716ab2f427a2d0e51c33ad255f49b0b995c7b4a128cefb8dcf7af43915ef593672b67cf8d9691fa94af7355d982893465d6e913599f5fcc1c WHIRLPOOL c3a6bde6dbaea52bb0c84d874460742c84341da0239c43ef36e7a58542b854d55c12157ba9b4746444d3128ce149254dcd7ffd80c28457ad5f5a44a9db936a40 MISC metadata.xml 758 SHA256 c6602d5a4aee33aa6c7a1860a4e20529d608bd7a684e6a160968db50d42c36a0 SHA512 8635e77032919ee39267ecb9954f191960af41af22ec80d69184879b34c7dfc298394f83dd64ed5f5765aba55122f55f7c5b42b217451b09fcc5faba7ecf1e85 WHIRLPOOL e215264868fca9e68e967b6d7c62b8d262411737c65df06e3497c123c59ecf84d2757c951e3816046bf199c9bf8ffd2f002477ca75a5e45b7cd4cc596fe9d04e -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.1 -iQIcBAEBCAAGBQJVufVFAAoJELp701BxlEWfJRoP/iIA2cVGuzW2Q03n4b734PYW -duufYcFibEvSqFWAMVhOZRHnjG274FJtNqAe2u3OM+EAYkUaPcauktxc5mrhnnKP -qTzvifqvFyt6nhkdu0j9ZYP1PT03tHf/8oCzug7T9cwCEHcRAYodiV9/k2q0ye+0 -TF8zrxa9WyrvYDZV0iMjS5J+m1qEha8lNVwRv7OUveoaUgCxipW0kwiKmLmcYzuy -t514FhAbjbeUFjeqOODPUbEPYSrO1tomE8G3vFOt5iBzCCvUYWAl34oz/zUHCphm -hcRefJHAGvDoZFwH3afBDbRLfJ1L2sJ/bbtjwGBpWbgD2sD9YLB8RP4p6RkAdWEy -XXW+vYQxNzoGxRYWg5SJowU37wvEfHTJ1t9FjYBM/XhKL37zHURbDa7O/KgthQQC -7VrC5bNG7OW7DddmnRXmKETmvVo2KL+7ICpzWRbzF8f9sqZq3G60x/9XM1CZBFTp -/ThTnKuFaDFz6CLy0UzJVhues1W7bAvv/LFxFgjTMmB61jjRNL/jx2wKW8BqXmh3 -Sxk0mzcNUmtKdmcqGLGDIMg+VTZR4A1wWX0p9PYk5P0EfgZhB6WDibuHXtDirTnY -lpH92oSRgWt3lYxHPQ7/W5JhT4Upcz5kmksxezklKdBrGM7FJllEzpr7KLAipLIO -QHruYhKMMDfs+ngAe8y0 -=M7og +iQJ8BAEBCABmBQJVufhmXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MjhERTZCRDg2OTFBNDM5MUZEQTJFRDQy +MUM2MzIxMjlDNkQ3REU0AAoJECHGMhKcbX3kWEMP/10wbZ4ZsVYq0sApX9LH5fJ/ +6QXi/jZ871Dpt4xmJXlyfmGELcHQh6BSdu9wE63afaYrYYmUSxkKcdySz1RxO4Oq +CFxyZN1Bs4YMyhhhr81RPWMUyV6aoxsW4zE/KZ5lrOgQceXf00agv9YvAy7U4hdv +Li4gNEVricH4lRiiPdoapgUf0JPuD0Fcr0zchmNOQy3y1Yf/VkdJqAL44IAJSCTe +iBu+qFFOSEH/RK0yuqHQmEQF8c2NaHuIpAxcZL+4qP7glcdaLUgbLBkwnmZlVyPL +4CKfoIa+clqslN5lKthlYucB6GfV758voBOBUK4VtEPi4RFJ4NoHgbtgzDatuTLi +jIHO3wIY0XSpIGiE6G5A2fucPZPfFXxAP2xmDYgDQe2wjdEWeD8Z0R2pwnX0zPPs +OENiNGsnuI1SaOFiQDNhEG0l4+OgURBQzzSjeSNJFOio6K5BtcdfaZH9dN99C4ej +QOStIjinq5nCqGnlhraXVhEQo/hACfZRQesJGLMbx65O0LeB3bgkbctBftMlcmTk +xXP/ys5Wh56Vlb84wTNrUrXCPlxLqCKrCxdvSTPPfcGUDjRmA8Nkscvf+1Jzo9+c +JTkFqD8um0sXuZ62HM/uXUdPHlK22pWC/meq0STy0VmNZ5F/C56WpA0W2Dhe9+l1 +KZV01/1Y8dlGdml8QY1B +=ICcP -----END PGP SIGNATURE----- diff --git a/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.45.ebuild b/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.45.ebuild deleted file mode 100644 index 22f85613dcab..000000000000 --- a/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.45.ebuild +++ /dev/null @@ -1,317 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.45.ebuild,v 1.3 2015/04/17 21:22:38 ago Exp $ - -EAPI="5" - -inherit eutils java-vm-2 prefix versionator - -# This URIs need to be updated when bumping! -JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html" -JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html" - -# This is a list of archs supported by this update. -# Currently arm comes and goes. -AT_AVAILABLE=( amd64 x86 x64-solaris sparc64-solaris x86-macos x64-macos ) - -# Sometimes some or all of the demos are missing, this is to not have to rewrite half -# the ebuild when it happens. -DEMOS_AVAILABLE=( amd64 x86 x64-solaris sparc64-solaris x86-macos x64-macos ) - -if [[ "$(get_version_component_range 4)" == 0 ]] ; then - S_PV="$(get_version_component_range 1-3)" -else - MY_PV_EXT="u$(get_version_component_range 4)" - S_PV="$(get_version_component_range 1-4)" -fi - -MY_PV="$(get_version_component_range 2)${MY_PV_EXT}" - -AT_amd64="jdk-${MY_PV}-linux-x64.tar.gz" -AT_arm="jdk-${MY_PV}-linux-arm-vfp-hflt.tar.gz" -AT_x86="jdk-${MY_PV}-linux-i586.tar.gz" -AT_x64_solaris="jdk-${MY_PV}-solaris-x64.tar.gz" -AT_sparc64_solaris="${AT_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9.tar.gz" -AT_x86_macos="jdk-${MY_PV}-macosx-x64.dmg" -AT_x64_macos="jdk-${MY_PV}-macosx-x64.dmg" - -DEMOS_amd64="jdk-${MY_PV}-linux-x64-demos.tar.gz" -DEMOS_arm="jdk-${MY_PV}-linux-arm-vfp-hflt-demos.tar.gz" -DEMOS_x86="jdk-${MY_PV}-linux-i586-demos.tar.gz" -DEMOS_x64_solaris="jdk-${MY_PV}-solaris-x64-demos.tar.gz" -DEMOS_sparc64_solaris="jdk-${MY_PV}-solaris-sparcv9-demos.tar.gz" -DEMOS_x86_macos="jdk-${MY_PV}-macosx-x86_64-demos.zip" -DEMOS_x64_macos="jdk-${MY_PV}-macosx-x86_64-demos.zip" - -JCE_DIR="UnlimitedJCEPolicyJDK8" -JCE_FILE="jce_policy-8.zip" - -DESCRIPTION="Oracle's Java SE Development Kit" -HOMEPAGE="http://www.oracle.com/technetwork/java/javase/" -for d in "${AT_AVAILABLE[@]}"; do - SRC_URI+=" ${d}? ( $(eval "echo \${$(echo AT_${d/-/_})}")" - if has ${d} "${DEMOS_AVAILABLE[@]}"; then - SRC_URI+=" examples? ( $(eval "echo \${$(echo DEMOS_${d/-/_})}") )" - fi - SRC_URI+=" )" -done -unset d -SRC_URI+=" jce? ( ${JCE_FILE} )" - -LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )" -SLOT="1.8" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris" -IUSE="+X alsa aqua derby doc examples +fontconfig jce nsplugin pax_kernel selinux source" - -RESTRICT="fetch strip" -QA_PREBUILT="*" - -COMMON_DEP="" -RDEPEND="${COMMON_DEP} - X? ( !aqua? ( - x11-libs/libX11:0 - x11-libs/libXext:0 - x11-libs/libXi:0 - x11-libs/libXrender:0 - x11-libs/libXtst:0 - ) ) - alsa? ( media-libs/alsa-lib:0 ) - doc? ( dev-java/java-sdk-docs:${SLOT} ) - fontconfig? ( media-libs/fontconfig:1.0 ) - !prefix? ( sys-libs/glibc:* ) - selinux? ( sec-policy/selinux-java )" -# A PaX header isn't created by scanelf, so depend on paxctl to avoid fallback -# marking. See bug #427642. -DEPEND="${COMMON_DEP} - jce? ( app-arch/unzip:0 ) - examples? ( kernel_linux? ( app-arch/unzip:0 ) ) - pax_kernel? ( sys-apps/paxctl:0 )" - -S="${WORKDIR}/jdk" - -check_tarballs_available() { - local uri=$1; shift - local dl= unavailable= - for dl in "${@}" ; do - [[ ! -f "${DISTDIR}/${dl}" ]] && unavailable+=" ${dl}" - done - - if [[ -n "${unavailable}" ]] ; then - if [[ -z ${_check_tarballs_available_once} ]] ; then - einfo - einfo "Oracle requires you to download the needed files manually after" - einfo "accepting their license through a javascript capable web browser." - einfo - _check_tarballs_available_once=1 - fi - einfo "Download the following files:" - for dl in ${unavailable}; do - einfo " ${dl}" - done - einfo "at '${uri}'" - einfo "and move them to '${DISTDIR}'" - einfo - einfo "If the above mentioned urls do not point to the correct version anymore," - einfo "please download the files from Oracle's java download archive:" - einfo - einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-${MY_PV}-oth-JPR" - einfo - fi -} - -pkg_nofetch() { - local distfiles=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") ) - if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then - distfiles+=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") ) - fi - check_tarballs_available "${JDK_URI}" "${distfiles[@]}" - - use jce && check_tarballs_available "${JCE_URI}" "${JCE_FILE}" -} - -src_unpack() { - if use arm ; then - # Special case for ARM soft VS hard float. - #if [[ ${CHOST} == *-hardfloat-* ]] ; then - unpack jdk-${MY_PV}-linux-arm-vfp-hflt.tar.gz - use examples && unpack jdk-${MY_PV}-linux-arm-vfp-hflt-demos.tar.gz - #else - # unpack jdk-${MY_PV}-linux-arm-vfp-sflt.tar.gz - # use examples && unpack jdk-${MY_PV}-linux-arm-vfp-sflt-demos.tar.gz - #fi - use jce && unpack ${JCE_FILE} - elif use x86-macos || use x64-macos ; then - pushd "${T}" > /dev/null - mkdir dmgmount - hdiutil attach "${DISTDIR}"/jdk-${MY_PV}-macosx-x64.dmg \ - -mountpoint "${T}"/dmgmount - local update=$(get_version_component_range 4) - [[ ${#update} == 1 ]] && update="0${update}" - xar -xf dmgmount/JDK\ $(get_version_component_range 2)\ Update\ ${update}.pkg - hdiutil detach "${T}"/dmgmount - zcat jdk1${MY_PV%u*}0${update}.pkg/Payload | cpio -idv - mv Contents/Home "${WORKDIR}"/jdk${MY_PV} - popd > /dev/null - else - default - fi - - # Upstream is changing their versioning scheme every release around 1.8.0.*; - # to stop having to change it over and over again, just wildcard match and - # live a happy life instead of trying to get this new jdk1.8.0_05 to work. - mv "${WORKDIR}"/jdk* "${S}" || die -} - -src_prepare() { - if use jce ; then - mv "${WORKDIR}"/${JCE_DIR} "${S}"/jre/lib/security/ || die - fi -} - -src_install() { - local dest="/opt/${P}" - local ddest="${ED}${dest}" - - # Create files used as storage for system preferences. - mkdir jre/.systemPrefs || die - touch jre/.systemPrefs/.system.lock || die - touch jre/.systemPrefs/.systemRootModFile || die - - # We should not need the ancient plugin for Firefox 2 anymore, plus it has - # writable executable segments - if use x86 ; then - rm -vf {,jre/}lib/i386/libjavaplugin_oji.so \ - {,jre/}lib/i386/libjavaplugin_nscp*.so - rm -vrf jre/plugin/i386 - fi - - # Without nsplugin flag, also remove the new plugin - local arch=${ARCH}; - use x86 && arch=i386; - if ! use nsplugin ; then - rm -vf {,jre/}lib/${arch}/libnpjp2.so \ - {,jre/}lib/${arch}/libjavaplugin_jni.so - fi - - dodoc COPYRIGHT - dohtml README.html - - dodir "${dest}" - cp -pPR bin include jre lib man "${ddest}" || die - - if use derby ; then - cp -pPR db "${ddest}" || die - fi - - if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}" ; then - cp -pPR demo sample "${ddest}" || die - fi - - if use jce ; then - dodir "${dest}"/jre/lib/security/strong-jce - mv "${ddest}"/jre/lib/security/US_export_policy.jar \ - "${ddest}"/jre/lib/security/strong-jce || die - mv "${ddest}"/jre/lib/security/local_policy.jar \ - "${ddest}"/jre/lib/security/strong-jce || die - dosym "${dest}"/jre/lib/security/${JCE_DIR}/US_export_policy.jar \ - "${dest}"/jre/lib/security/US_export_policy.jar - dosym "${dest}"/jre/lib/security/${JCE_DIR}/local_policy.jar \ - "${dest}"/jre/lib/security/local_policy.jar - fi - - if use nsplugin ; then - install_mozilla_plugin "${dest}"/jre/lib/${arch}/libnpjp2.so - fi - - if use source ; then - for mysrc in src javafx-src; do - mysrc="${mysrc}.zip" - ebegin "Copying source file ${mysrc}" - cp -p "${mysrc}" "${ddest}" || die - eend $? - done - fi - - if [[ -d jre/lib/desktop ]] ; then - # Install desktop file for the Java Control Panel. - # Using ${PN}-${SLOT} to prevent file collision with jre and or - # other slots. make_desktop_entry can't be used as ${P} would - # end up in filename. - newicon jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \ - sun-jcontrol-${PN}-${SLOT}.png || die - sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT}#" \ - -e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \ - -e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \ - -e "s#Application;##" \ - -e "/Encoding/d" \ - jre/lib/desktop/applications/sun_java.desktop \ - > "${T}"/jcontrol-${PN}-${SLOT}.desktop || die - domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop - fi - - # Prune all fontconfig files so libfontconfig will be used and only install - # a Gentoo specific one if fontconfig is disabled. - # http://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html - rm "${ddest}"/jre/lib/fontconfig.* - if ! use fontconfig ; then - cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die - eprefixify "${T}"/fontconfig.properties - insinto "${dest}"/jre/lib/ - doins "${T}"/fontconfig.properties - fi - - # This needs to be done before CDS - #215225 - java-vm_set-pax-markings "${ddest}" - - # see bug #207282 - einfo "Creating the Class Data Sharing archives" - case ${ARCH} in - arm|ia64) - ${ddest}/bin/java -client -Xshare:dump || die - ;; - x86) - ${ddest}/bin/java -client -Xshare:dump || die - # limit heap size for large memory on x86 #467518 - # this is a workaround and shouldn't be needed. - ${ddest}/bin/java -server -Xms64m -Xmx64m -Xshare:dump || die - ;; - *) - ${ddest}/bin/java -server -Xshare:dump || die - ;; - esac - - # Remove empty dirs we might have copied. - find "${D}" -type d -empty -exec rmdir -v {} + || die - - if use x86-macos || use x64-macos ; then - # Fix miscellaneous install_name issues. - pushd "${ddest}"/jre/lib > /dev/null || die - local lib needed nlib npath - for lib in \ - decora_sse glass jfx{media,webkit} \ - javafx_{font,font_t2k,iio} prism_{common,es2,sw} \ - ; do - lib=lib${lib}.dylib - einfo "Fixing self-reference of ${lib}" - install_name_tool \ - -id "${EPREFIX}${dest}/jre/lib/${lib}" \ - "${lib}" - done - popd > /dev/null - - # TODO: This reads "jdk1{5,6}", what about "jdk1{7,8}"? - for nlib in jdk1{5,6} ; do - install_name_tool -change \ - /usr/lib/libgcc_s_ppc64.1.dylib \ - $($(tc-getCC) -print-file-name=libgcc_s_ppc64.1.dylib) \ - "${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib - install_name_tool -id \ - "${EPREFIX}${dest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib \ - "${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib - done - fi - - set_java_env - java-vm_revdep-mask - java-vm_sandbox-predict /dev/random /proc/self/coredump_filter -} diff --git a/dev-java/oracle-jre-bin/ChangeLog b/dev-java/oracle-jre-bin/ChangeLog index cf56d5d323e4..50f47105bd25 100644 --- a/dev-java/oracle-jre-bin/ChangeLog +++ b/dev-java/oracle-jre-bin/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/oracle-jre-bin # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/ChangeLog,v 1.88 2015/07/30 09:58:32 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/ChangeLog,v 1.89 2015/07/30 10:11:27 chewi Exp $ + + 30 Jul 2015; James Le Cuirot <chewi@gentoo.org> + -oracle-jre-bin-1.8.0.45.ebuild: + Drop vulnerable 1.8 version wrt bug #554886. 30 Jul 2015; Agostino Sarubbo <ago@gentoo.org> oracle-jre-bin-1.8.0.51.ebuild: Stable for x86, wrt bug #554886 diff --git a/dev-java/oracle-jre-bin/Manifest b/dev-java/oracle-jre-bin/Manifest index df590c5276e3..65b6b1ed46d3 100644 --- a/dev-java/oracle-jre-bin/Manifest +++ b/dev-java/oracle-jre-bin/Manifest @@ -8,29 +8,28 @@ DIST UnlimitedJCEPolicyJDK7.zip 7426 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a DIST jce_policy-8.zip 8409 SHA256 f3020a3922efd6626c2fff45695d527f34a8020e938a49292561f18ad1320b59 SHA512 abbaa81a35f904ec61b4cf3c2d1ca8c8d49e53bb248e698185eea906939d68f5063412800585ec74027aab1012ef189aebe1dc99fe8ef4230a0ecb0b527f88e5 WHIRLPOOL 8c9ce1ea4673b75fa6271b74e598880f98361d5d2c9c25439fa0af3d07cfeb871b39682dae4e38160f49770b1fec953162e451b9b2cf44d2c72a226944212bcc DIST jre-7u80-linux-i586.tar.gz 48558751 SHA256 b773aef1458a4adde03af62f8163c7e4614b485e1f01699ff8f5f60919251575 SHA512 d85b8700248a4ad0a0873d0c84b2175fb0a66773c43899ab47ac531be089794c17eb0e8b7503d46efd78833da17c9fa8a83ad1cb9c062e191acfb77155639474 WHIRLPOOL 766c88748bc758a1b35bd6008750cc8f2678801b1cc5629bcb7a756e4a32973a5f5ad927348b3ce3ad9ecb3e7aca5d1af2b613fba35d4f53f9601b1ff42312b2 DIST jre-7u80-linux-x64.tar.gz 47110223 SHA256 4c01efd0d8e80bb6e2f324ec3408ce64f066d4506c7ec93a491f615a4523f4f3 SHA512 e61e78ab1be0313690e8ab8d6cbae7366dd78aa4716f47c8908178196b658b94ee318dd04043965a72c34d8ef5c1cb4902afaa2188e76eb944256f090339107d WHIRLPOOL 1af7417b327402abaf4074445f051924de8b19810668890e089b66a488dddfc7f50cdd96a012130a591940338177164f66c83caf54c5d6d370be27d119a907fe -DIST jre-8u45-linux-i586.tar.gz 65672226 SHA256 2f0bfecaae5afe296f42064d9725100698341f87bc46dc2c71cb0a4f03ba1574 SHA512 91b4b959ed7198feb26bb5f38eb9018ec621392c968c5011914295502e417b0af032fd69602d4cf79d5ba20ccb6c1166ae8a7a8ab4cc3aa95d1c678422b894df WHIRLPOOL 327b8c99c1662d29370d9777664862cc3dfac9e07ad98c9a1f0d237efb4b48e1b9c5c89015f52b918f453f10c64099b8e3cac193a1b3f018ea206939790639b6 -DIST jre-8u45-linux-x64.tar.gz 63822322 SHA256 c156128cd92eb91e9320f61a8f36305b3382043afe3467304c6abd044d27da0a SHA512 c70d9ae5d1f2d47aab1943e4123155c10973b26d951fb220978097c676850c37c7ed48c643784989292c766f8afa141740614704ec6901d1f4882096f1c67789 WHIRLPOOL c965868d17307f8454a2acab6bbb3d86c19c059b89c72dc9b823844d0a4e2acad7674fa7297979d9e056663e31a83ac32409deca97125117632f8d20171a14cc DIST jre-8u51-linux-i586.tar.gz 65731094 SHA256 e59a6fc88e1fc62167be684ffd5de90f5d31f1c7b7e6361dde24b45afeaa8d3a SHA512 6b459f70c1bc4007a0e10e89682c5c33601b795f6693eda0836e49b9e248229e109947232aef7b9d15b38f92931a134bc96833408e44572bf3f3b2da301ad275 WHIRLPOOL dca9c6d3f68917561d1bc84fb9d33ba01907d57eee1487c7e080989a6b89332a4f8e198717b8c4fe992c71d6715aa0e058bb02bd9b90ed8a7055cbc1747e4311 DIST jre-8u51-linux-x64.tar.gz 63861111 SHA256 25c2146b4ff1a12a9449589f8372f7f67cb63d6f6ad2b7f9ec92181cd3a31cee SHA512 7b3c8be7ba4014041e86b2dd597d027285185f9e8a484110bea589d73e4e35a9d709d57198610f466ea05ef8ea4b7e696f1fc844a60511d0ba111f666de5cf44 WHIRLPOOL 1472b32649afbed578eaf1b31006a2020bd217a3f75b9b7d7bc2fd8c32bcd422dfd46e7d11e2e5e34904a1f5cc0bd03885cb0c1515ccd63985ca974a6d61eddb EBUILD oracle-jre-bin-1.7.0.80.ebuild 5513 SHA256 fe55ea8d6c8b1aa419694d49eda2beb4421b3908f8a20f30f4f987ac42282457 SHA512 57a4ebca2af407eb5690855fc9f4e703f61599ed702b3888d4d8cba8acfe11f66fe989ebafd40084c0d02e5960e70809df2831faa1e530ca849b8a4d8cb0abc9 WHIRLPOOL d55ffff90fbc711934a3a916f8eb4c8aec85458a3269a63325d02f7345119f8d742673b55e9b61414572bd7b5a32f93ee3779232cc44a996c074fe6ca2a2575f -EBUILD oracle-jre-bin-1.8.0.45.ebuild 5907 SHA256 78ee2ff1b65518ef3d7a2104afcd2ec1f48d35fb43db014fd6e333b37a62774c SHA512 976e18d762c5fe04a13af9c0e482b052ef410ad0ef2dfdaffcd174a464483408fed63312c2110781791fc1eca02b196738c6f190bfc09c5717ac3c1965df4ade WHIRLPOOL 1857eb2a3116373d0af67d9c8b44d058a6123e4b8acd80ac6472b483713320ed1db9b43758131cbccd3fbc80bcdaa4ae4efed224ecb1ab4dad6746502b6fe614 EBUILD oracle-jre-bin-1.8.0.51.ebuild 6603 SHA256 aaef59def67bea1bdef71ac623952b1687f089a4a349291e1d7ef5bc388df0ea SHA512 f628d85d2d3ea4cbf377118790b393691333ec8794b09a99766d2cf3f17d20583df6d2bd2af029c6bd246ba0228d2a69b1ebc88e18aa48c7dc54125ffe13fc19 WHIRLPOOL 3d8a55f1c1c578618c1ad009776a53d76fc8dca01cc86eb07aeb42a4151e8f714c02d3365eab74b2a9b0148774a74695a8480301c552614725f3ef6846caba5f -MISC ChangeLog 14697 SHA256 f3541fd06d0f8c9f1be2cab91c935065595ddc1f40a91ac11a6b1f734ba32bd8 SHA512 b91fb785b4cecb7ba77b50d2654250871e0eba2b15ce86fa30c4fb6348b7d4a51a8e3ad96741c8bcc539de90ed4e56ba2bb354b5f154b7c425890eba485b136e WHIRLPOOL 86b5c4cccf280ff41a3c471de05e12c2d07809770f0df31e1ac82e8a1d88907c4216b6787bc50b33155b1762164b3fbb6edd408ce4967781fa408f1c3c646123 +MISC ChangeLog 14832 SHA256 8c74c97192cc9a77e2b2b78a095c8dc32cf08bf6237e2258d5cd130ed763d2fa SHA512 f48a6130827e7069f75f02aaf80121b8c0b7610dfff47b23e99e373222dd6cfcd45281efa5ec7e9a216af5d6119b261585a3071d21d3cb0156acfaf240017d20 WHIRLPOOL ddc5ae2510ec21d4ab0e197a6bfef8d84f803312bcb8a95df409f8bbbd3cc2e8f7f004bbe54419c2841386ae67fe5651645cb326f590f95c7cd34d04d1beab78 MISC metadata.xml 619 SHA256 1ea8b12bea866c49594f370181df413cfb27aaf20fb656d9aac1576de1f7d79e SHA512 6968c22ba115f08a8ab540cc672d298764ff50fb01b67b05bf86aec5598de834fc4355255888a9a6d92ed11599770f8ef1630c8efe3675abff2b7e5e8861a25a WHIRLPOOL 12c66a05fbd8e07bb7b95bb0d5ddfefea4cee34508b421188fe6ccf0fb747b71e4fdd2090442c30df664cdb040f619adee8da9ac6e3a66cf65fc1ccea6581499 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.1 -iQIcBAEBCAAGBQJVufVJAAoJELp701BxlEWf8ggP/jHZYbcRi+n2wm+YfaODR7St -v4UjfhoiiEOkP2b4Ll5QeAPlAivt2RVG7F5ppztJxNIH4FRn5w4mQky3ZyvuoC/n -uKMQ14zI0/XARUwYHuwF22GqxOgBlf+popgeRyhf5tvXII/WLdJPCJ++DgqdQo2v -HaJWUa8kPeQk8ZZMuOazpxmjZq3s+0jtBaG38oF2nhp8CWKob696TW07D3Kzx2hq -+dFJ1iUoQDc5prSY7bls5lnmnJAGQd+T+qo+xqGgEj8tB/zRGSCDc8gIWuzkcaPY -VnnwABG7D/ZKWKgWbtl+r5gpRaykG9aN8/Ymo7y+WpG8ro83491pdQVEoEBbvuty -vFIUTw2x2VFfv/lPBmjxx54Ba3HAzNUh1fmdC0ryAw4KhVCoe2XCestHOW4P44FH -sbxdwDCmNfuK+U5+KBhYaGREx/FNmHU6FCre2hF6auNMDyRxrGiGbzg7CjZbrcih -Dim7czjoBcxmDKwMHAuZXKPGD0DB4trCetMiXDwyLCnq0s0J5HU1e6Tw7OklsAG6 -bB81KPDdyFNaOZ9AVgK+gw4xeSyNITup7WKjiQISOBurAm5gPuE6TnBjPSTty+Ln -MsDaDWTbrqlkbGB//YW9kbRM38p46A5LMuh145MkILmDmDcjho/Y9yITUOCq9KmS -ZfYHK0ZeBdHzwCw2rM5u -=IjDk +iQJ8BAEBCABmBQJVufhQXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MjhERTZCRDg2OTFBNDM5MUZEQTJFRDQy +MUM2MzIxMjlDNkQ3REU0AAoJECHGMhKcbX3kIkAP/iQb10PCqvOAY7M5ZH0ssqbP +rBe40xUdTfWw5RGctzUJFC+zPBFPdABqx8+jPrq6CqqjQa6afqrl9hsH2DBbR6t3 +Tua5VWDyiOKpqaOnLd0R4cVAZrPufEcV3pnFuJbvZhxw5Bmoaf7vJPCfAL4eNp/z +oKUR5FtNqKOQjLXOxffOfV+YTvMbdJqI6Xy05opXMomVmfSoGBeL9btXkzSLY8xj +wL4tazyn9kIphAfORHXj2lHPFF+MZS1UDN8CmMA5tpyvGOyYtjpd6PGEsodBktrH +zFyH0lIrqH3Fxpdy+WVPODtjWTEQemomADM6LzgYZf28Xgj7n1wAbUknWYBeO6hK +8EY6uYuGCP5FgKYg9E9zhIJuihxtX5KtVRAxHK6+OuH/n79XxYzzWvgfPQcxguCp +r7H9ocmRoqeXwXub5WYKMGwtsoSzDxbnHxkOtbKSqe7YvU7hFr8FeCqI6hBXYlEZ +yQZoClmX2IK86aQk3mDsMMhnLMzVBneJuY2N9dSvjIqFAtYQC+TyAjUSCZXQdv5p +zBMHpaP8Z+vxdoTmtuKTx0Q1t/NB9r7EJ5nX/fANMaBRsFRwU1yITMPUqy8JVK38 +bfTPQ5iLZAOhaaNEg/43oUySTkPWzkxJ03bvjIww/2HWy/ZlNluf49hFxmAALlnf +q5dQeObi2F6WQkZGwKWf +=V8Lr -----END PGP SIGNATURE----- diff --git a/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.45.ebuild b/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.45.ebuild deleted file mode 100644 index 2af192b8c153..000000000000 --- a/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.45.ebuild +++ /dev/null @@ -1,200 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.45.ebuild,v 1.3 2015/04/17 21:22:41 ago Exp $ - -EAPI="5" - -inherit java-vm-2 eutils prefix versionator - -if [[ "$(get_version_component_range 4)" == 0 ]] ; then - S_PV="$(get_version_component_range 1-3)" -else - MY_PV_EXT="u$(get_version_component_range 4)" - S_PV="$(get_version_component_range 1-4)" -fi - -MY_PV="$(get_version_component_range 2)${MY_PV_EXT}" - -X86_AT="jre-${MY_PV}-linux-i586.tar.gz" -AMD64_AT="jre-${MY_PV}-linux-x64.tar.gz" - -# This URIs need updating when bumping! -JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html" -JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html" - -JCE_DIR="UnlimitedJCEPolicyJDK8" -JCE_FILE="jce_policy-8.zip" - -DESCRIPTION="Oracle's Java SE Runtime Environment" -HOMEPAGE="http://www.oracle.com/technetwork/java/javase/" -SRC_URI=" - x86? ( ${X86_AT} ) - amd64? ( ${AMD64_AT} ) - jce? ( ${JCE_FILE} )" - -LICENSE="Oracle-BCLA-JavaSE" -SLOT="1.8" -KEYWORDS="amd64 x86" -IUSE="X alsa fontconfig jce nsplugin pax_kernel selinux" - -RESTRICT="fetch strip" -QA_PREBUILT="*" - -COMMON_DEP="" -RDEPEND="${COMMON_DEP} - X? ( - x11-libs/libXext - x11-libs/libXi - x11-libs/libXrender - x11-libs/libXtst - x11-libs/libX11 - ) - alsa? ( media-libs/alsa-lib ) - fontconfig? ( media-libs/fontconfig ) - !prefix? ( sys-libs/glibc ) - selinux? ( sec-policy/selinux-java )" -# scanelf won't create a PaX header, so depend on paxctl to avoid fallback -# marking. #427642 -DEPEND="${COMMON_DEP} - jce? ( app-arch/unzip ) - pax_kernel? ( sys-apps/paxctl )" - -S="${WORKDIR}/jre" - -pkg_nofetch() { - if use x86; then - AT=${X86_AT} - elif use amd64; then - AT=${AMD64_AT} - fi - - einfo "Please download '${AT}' from:" - einfo "'${JRE_URI}'" - einfo "and move it to '${DISTDIR}'" - - if use jce; then - einfo "Also download '${JCE_FILE}' from:" - einfo "'${JCE_URI}'" - einfo "and move it to '${DISTDIR}'" - fi - - einfo - einfo "If the above mentioned urls do not point to the correct version anymore," - einfo "please download the files from Oracle's java download archive:" - einfo - einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jre-${MY_PV}-oth-JPR" - einfo - -} - -src_unpack() { - default - - # Upstream is changing their versioning scheme every release around 1.8.0.*; - # to stop having to change it over and over again, just wildcard match and - # live a happy life instead of trying to get this new jre1.8.0_05 to work. - mv "${WORKDIR}"/jre* "${S}" || die -} - -src_prepare() { - if use jce; then - mv "${WORKDIR}"/${JCE_DIR} lib/security/ || die - fi -} - -src_install() { - local dest="/opt/${P}" - local ddest="${ED}${dest}" - - # Create files used as storage for system preferences. - mkdir .systemPrefs || die - touch .systemPrefs/.system.lock || die - touch .systemPrefs/.systemRootModFile || die - - # We should not need the ancient plugin for Firefox 2 anymore, plus it has - # writable executable segments - if use x86; then - rm -vf lib/i386/libjavaplugin_oji.so \ - lib/i386/libjavaplugin_nscp*.so - rm -vrf plugin/i386 - fi - # Without nsplugin flag, also remove the new plugin - local arch=${ARCH}; - use x86 && arch=i386; - if ! use nsplugin; then - rm -vf lib/${arch}/libnpjp2.so \ - lib/${arch}/libjavaplugin_jni.so - fi - - dodir "${dest}" - cp -pPR bin lib man "${ddest}" || die - - # This needs to be done before CDS - #215225 - java-vm_set-pax-markings "${ddest}" - - # see bug #207282 - einfo "Creating the Class Data Sharing archives" - case ${ARCH} in - arm|ia64) - ${ddest}/bin/java -client -Xshare:dump || die - ;; - x86) - ${ddest}/bin/java -client -Xshare:dump || die - # limit heap size for large memory on x86 #467518 - # this is a workaround and shouldn't be needed. - ${ddest}/bin/java -server -Xms64m -Xmx64m -Xshare:dump || die - ;; - *) - ${ddest}/bin/java -server -Xshare:dump || die - ;; - esac - # Remove empty dirs we might have copied - find "${D}" -type d -empty -exec rmdir -v {} + || die - - dodoc COPYRIGHT README - - if use jce; then - dodir ${dest}/lib/security/strong-jce - mv "${ddest}"/lib/security/US_export_policy.jar \ - "${ddest}"/lib/security/strong-jce || die - mv "${ddest}"/lib/security/local_policy.jar \ - "${ddest}"/lib/security/strong-jce || die - dosym "${dest}"/lib/security/${JCE_DIR}/US_export_policy.jar \ - "${dest}"/lib/security/US_export_policy.jar - dosym "${dest}"/lib/security/${JCE_DIR}/local_policy.jar \ - "${dest}"/lib/security/local_policy.jar - fi - - if use nsplugin; then - install_mozilla_plugin "${dest}"/lib/${arch}/libnpjp2.so - fi - - # Install desktop file for the Java Control Panel. - # Using ${PN}-${SLOT} to prevent file collision with jre and or other slots. - # make_desktop_entry can't be used as ${P} would end up in filename. - newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \ - sun-jcontrol-${PN}-${SLOT}.png || die - sed -e "s#Name=.*#Name=Java Control Panel for Oracle JRE ${SLOT}#" \ - -e "s#Exec=.*#Exec=/opt/${P}/bin/jcontrol#" \ - -e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \ - -e "s#Application;##" \ - -e "/Encoding/d" \ - lib/desktop/applications/sun_java.desktop > \ - "${T}"/jcontrol-${PN}-${SLOT}.desktop || die - domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop - - # Prune all fontconfig files so libfontconfig will be used and only install - # a Gentoo specific one if fontconfig is disabled. - # http://docs.oracle.com/javase/7/docs/technotes/guides/intl/fontconfig.html - rm "${ddest}"/lib/fontconfig.* || die - if ! use fontconfig; then - cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die - eprefixify "${T}"/fontconfig.properties - insinto "${dest}"/lib/ - doins "${T}"/fontconfig.properties - fi - - set_java_env - java-vm_revdep-mask - java-vm_sandbox-predict /dev/random /proc/self/coredump_filter -} |