From: Vlastimil Babka Date: Mon, 9 Oct 2006 22:20:51 +0000 (+0000) Subject: Version bump, thanks to Federico Fissore in bug #150604. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=81d738ad7ae4feb86116227520b6ebbb07484668;p=gentoo.git Version bump, thanks to Federico Fissore in bug #150604. Package-Manager: portage-2.1.2_pre2-r7 --- diff --git a/dev-java/ibm-jdk-bin/ChangeLog b/dev-java/ibm-jdk-bin/ChangeLog index ef3da10d4002..c2fbbb2107a9 100644 --- a/dev-java/ibm-jdk-bin/ChangeLog +++ b/dev-java/ibm-jdk-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/ibm-jdk-bin # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ChangeLog,v 1.88 2006/10/09 21:35:25 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ChangeLog,v 1.89 2006/10/09 22:20:51 caster Exp $ + +*ibm-jdk-bin-1.5.0.3 (09 Oct 2006) + + 09 Oct 2006; Vlastimil Babka + +ibm-jdk-bin-1.5.0.3.ebuild: + Version bump, thanks to Federico Fissore in bug #150604. 09 Oct 2006; Joshua Nichols ibm-jdk-bin-1.5.0.2.ebuild: diff --git a/dev-java/ibm-jdk-bin/Manifest b/dev-java/ibm-jdk-bin/Manifest index 01bb0936c1f1..f79e33feacfe 100644 --- a/dev-java/ibm-jdk-bin/Manifest +++ b/dev-java/ibm-jdk-bin/Manifest @@ -39,22 +39,30 @@ DIST IBMJava2-SDK-142.ppc64-SR4.tgz 58579341 DIST IBMJava2-SDK-142.s390.tgz 54803305 RMD160 21be92177ded79836c6684ba119482000beffdbb SHA256 5f4c98cecfcac506e1d63eb0aa9ac83d36d66f9fadb38deadc781cb777eaa09d DIST IBMJava2-SDK-AMD64-142.x86_64-SR4.tgz 51690993 RMD160 d6135e1460b744b9099b721b9b9885874be51688 SHA1 7e57201c2fb076aaaf8e0baeb4da06f98f838fcc SHA256 3bd10dd6be1ab0baeb4c33255ee299ca159b6a82ccd5975c17cab160d3f71823 DIST ibm-java2-i386-javacomm-5.0-2.0.i386.rpm 125588 RMD160 759f566f23867d116f0ff2a37bcef366b3f1df98 SHA1 8300d93dd3e28c762af7876a3a34d05027a8fe41 SHA256 5a3d632515b3e7aaa89a0d5d9da9750973d8e0dba64e60579eba012e180ff005 +DIST ibm-java2-i386-javacomm-5.0-3.0.i386.rpm 125502 RMD160 7f730b454c73f95f59589735713d748736c6e7a5 SHA1 f0fe51d0e2c1a126d885a10afc6dd8776bff4899 SHA256 5766c8d8656c7dff6defda953954dee8f22d18c6dfbadb889bc5b27534ebd730 DIST ibm-java2-i386-sdk-5.0-2.0.i386.rpm 62733887 RMD160 3c5d53bcabf4d82b114597325b6be730806eb843 SHA1 aa85adee04712fa4cd0613096c375248d02d3c6c SHA256 30c51e71696cedbf7419b24e4be61483ec80ab4d03c12128b2d5ebae184b5aa1 +DIST ibm-java2-i386-sdk-5.0-3.0.i386.rpm 63033967 RMD160 dd32bc82e274923bb23e538942f727f1cbf36528 SHA1 b951f1d75a984dff3ef18b1689fdda88ecd84c9a SHA256 6455de039dac7c5ee6642d04940b2704fdf611f6275914821fdc548ee685ecd8 DIST ibm-java2-javacomm-50-linux-i386.tgz 119227 RMD160 75df7cf2a6b6d0f21fefe42671c81590255d2e52 SHA1 75abffab8c4d60b540e61d70b04fff6bd25f63fb SHA256 5c5e78e0c608cec967636c7447469e8f0406cbda910e0c0dce4d9ae538563b78 DIST ibm-java2-javacomm-50-linux-ppc.tgz 125534 RMD160 0dd9a14024055b93e830a84bc0d66a8790854eff SHA1 24fc27b3a4f3dcc388965a2fbb5374d718879e57 SHA256 b992d744de32ee932be76e07bc19a4b0e838c38648240da7969e7a6ed3942744 DIST ibm-java2-javacomm-50-linux-ppc64.tgz 128053 RMD160 6f99a995ced0fa663251840859535cc7cddea225 SHA1 89bde1cb11a02c1ca491508afcbf73e4e4fe883f SHA256 8deef13ba5cd5d40b6ea84152f8aa9436f345d80907e100011553c28d5d32265 DIST ibm-java2-javacomm-50-linux-x86_64.tgz 121389 RMD160 532bfd40e9f5edfeba1e24d365abb0d9cb18528e SHA1 d05ea56ffddb349e0f7c3b3aff302657f52fc0e1 SHA256 4bc5bf96216c31129f5b6a7732da73124a97dc5111085908205ca0f19a054ea2 DIST ibm-java2-ppc-javacomm-5.0-2.0.ppc.rpm 133479 RMD160 e613a3908f145526e34b8684333728530beb4849 SHA1 4ae23e8336320ea348c47a54a07f2f4a33162869 SHA256 caf09fc9eef95938e277deee34aad133d673d7ea319dff9099cc22bed4d06323 +DIST ibm-java2-ppc-javacomm-5.0-3.0.ppc.rpm 133427 RMD160 082e914b846803bbb5b777dad28dc93cc605ecc8 SHA1 80160b02fc49e3dbde4c9b3b54488eddcaf81f03 SHA256 c1179604922b978d720fc15b1eca24c411d0bd61cb3e006e147c19cf8376cafa DIST ibm-java2-ppc-sdk-5.0-2.0.ppc.rpm 70286457 RMD160 96394252461b4a593498d34b84207cddf03763cf SHA1 e8d6c8222151554dc6757d14394a7b77ddc9938e SHA256 d9f38a4d76bb62ab27b486c4db48863a616f0defdacd8f4e37a3ce814711648e +DIST ibm-java2-ppc-sdk-5.0-3.0.ppc.rpm 70722009 RMD160 c354d619b720f36bacd8592ac32cb6d4b7034b99 SHA1 08adad9010708cc92c61b246779e5f8d36a8ecfc SHA256 cd947dc317c8d0ae91ecdce44ee4165aa6cba0c018ee5f706125ec12f37ab141 DIST ibm-java2-ppc64-javacomm-5.0-2.0.ppc64.rpm 135911 RMD160 975dc26fdca0181ccc7dc891135c8c6e1a5c700f SHA1 f343443131015eeff132249e103a945db3b6df45 SHA256 d0b25a6a2428a5704387252c19f2fcffc5c2169b1ed65fdd00e48b28791200b8 +DIST ibm-java2-ppc64-javacomm-5.0-3.0.ppc64.rpm 135853 RMD160 a7853bfc8c33eda88092abb49b245d73fe1eb733 SHA1 9627b7121134bb6a01737d89783b32effb440bea SHA256 b2ea5661b97a6a5bce130ad7137ff94a60f15f56774be9fad2e35f587ece7c71 DIST ibm-java2-ppc64-sdk-5.0-2.0.ppc64.rpm 68655331 RMD160 8ebfb1f668db151973091b4efb52546aacb79b4c SHA1 0b8b6f270321675ec71aaa4bae16af781593dc69 SHA256 218e9efae35d295402e4aa6592e6a371c1c289337afe83400e2397f357dae06a +DIST ibm-java2-ppc64-sdk-5.0-3.0.ppc64.rpm 68640918 RMD160 9ba5e027ea38aaf2164e5eeb88eface227d7c8d0 SHA1 5f6877c9ee836143bb55f9b57fc25568d5d62b2d SHA256 74771d4d40f044f54a93d0711937976afc840e4f117b4f0d46609d361e421727 DIST ibm-java2-sdk-50-linux-i386.tgz 61274994 RMD160 2be70ce88434d3b6aede61431e46e30248d3825a SHA1 0d0142d0d8c8401e8f572b7605bd85345088c25a SHA256 91eed6eb510a0b0f78aefe44fc68e5146c982123751de3f6e2045819b18d2c1c DIST ibm-java2-sdk-50-linux-ppc.tgz 65733869 RMD160 cf26906bf8fa2af07a889df619093960dac17ba9 SHA1 74ca0d6f1b7299b230d29e6d03faf0c2bdd8c014 SHA256 d980543d033613c16da2842f88f2fc8e4d9c01c8f131a261fa7966adf64469f4 DIST ibm-java2-sdk-50-linux-ppc64.tgz 67100609 RMD160 dafcac1d0afe38a0e1bb465fe4ba07108baeeacb SHA1 bfbd6b9907914d05db5ed2d246c6a666f3dbfdb1 SHA256 1fd5f8e471edca996c14e5539b1234533e6b8f2499c40261d615ecc886a630d2 DIST ibm-java2-sdk-50-linux-s390.tgz 63680823 RMD160 2b0155ee5509c99d221556c6299e11b77328aad1 SHA256 0094a287fb5f7b5c9b0e22d665540c4e560cff8953f35ae5ce6c1535dccb531b DIST ibm-java2-sdk-50-linux-x86_64.tgz 62861140 RMD160 327fe57b87ef563f098a958d5e0a43d0238f5140 SHA1 f3b9602cc2efa4f97094f5528084c3b44ce0a3a0 SHA256 351d4dc3ef063d0c5caaecc4c38289088bd0a1f096e98c579b5f43536caadd32 DIST ibm-java2-x86_64-javacomm-5.0-2.0.x86_64.rpm 127845 RMD160 3063d6f7064aac2eaf52f1fae5ee6a484bd0b57e SHA1 f2996d006651a1ab323f87880320fc19d8307650 SHA256 40dbba9edf6d40a8cbbc70f098acb1cb1c43353049eba6053d04afb21c778c87 +DIST ibm-java2-x86_64-javacomm-5.0-3.0.x86_64.rpm 127812 RMD160 e574bebd9ab5ddc82b68a585e927c574de4f19f7 SHA1 ea3b0fb184f3e651e5be5e606e4828985e75352f SHA256 fc1c7ce4a63ac61c76c99125218e504598849398645be711f6c44d47c6a4e54c DIST ibm-java2-x86_64-sdk-5.0-2.0.x86_64.rpm 64402669 RMD160 82178652578519966a24d744d07e3d88518a7e16 SHA1 e022f0f3feb7ff1aeaf56726e3838fc524626cc9 SHA256 17976989afe60b2fcd4540fd6e90c1ee1e39671bd9eff6875461963da8cfcee7 +DIST ibm-java2-x86_64-sdk-5.0-3.0.x86_64.rpm 64564753 RMD160 1d6c9441b1b7ce62b6e7967509ad3cb0732543ec SHA1 74e0b3f6590669905e3bd9f8dedaf03ca731cddc SHA256 75fe72f73c226084c21e7f63bd5267006c48daa7121f47c9034aad00c48e29a4 EBUILD ibm-jdk-bin-1.4.2.04.ebuild 4732 RMD160 1487bf5cccce3e880afeae5999ca7483353add2e SHA1 1d684901703a3f9041baccd264483b427c98a5e0 SHA256 652e72bdc1499c4cfdaf03295a879bb1275697fde87ae1d6dc92dca61d8098e7 MD5 022c976201ba07e446517a7439fe28e8 ibm-jdk-bin-1.4.2.04.ebuild 4732 RMD160 1487bf5cccce3e880afeae5999ca7483353add2e ibm-jdk-bin-1.4.2.04.ebuild 4732 @@ -71,14 +79,18 @@ EBUILD ibm-jdk-bin-1.5.0.2.ebuild 7433 RMD160 fc6e716341ea5a4b2b83e6b0bc740973e2 MD5 d740f31efbb474f351626a2d422db0a6 ibm-jdk-bin-1.5.0.2.ebuild 7433 RMD160 fc6e716341ea5a4b2b83e6b0bc740973e2b15815 ibm-jdk-bin-1.5.0.2.ebuild 7433 SHA256 4555e343129556aa38f675e182a84c91ec49167d1e473c4a7e0bce882ce06df8 ibm-jdk-bin-1.5.0.2.ebuild 7433 +EBUILD ibm-jdk-bin-1.5.0.3.ebuild 7509 RMD160 561d586549e7534a2832f80ed38b977ba01c62ce SHA1 806a8c3d1d21e6f09bf512be2c18391a28294c35 SHA256 36ac88b1254ec64f3ab475b5868c5c5d7110a9ab493ebb4ec631d8bb701827ef +MD5 63ef7c1c4b63ae9923c95091b22556a6 ibm-jdk-bin-1.5.0.3.ebuild 7509 +RMD160 561d586549e7534a2832f80ed38b977ba01c62ce ibm-jdk-bin-1.5.0.3.ebuild 7509 +SHA256 36ac88b1254ec64f3ab475b5868c5c5d7110a9ab493ebb4ec631d8bb701827ef ibm-jdk-bin-1.5.0.3.ebuild 7509 EBUILD ibm-jdk-bin-1.5.0.ebuild 2956 RMD160 086616bb4e6575e2c68814bb5153b511b8033498 SHA1 2ed88646d6d794c5c9740dd008925da665c62ba4 SHA256 0310652770e7b791852d4c65ddd68f16602abe0fe50fd5f48cd5e3c534dc24b4 MD5 b100e3010595d20ad0feb9e46aa49160 ibm-jdk-bin-1.5.0.ebuild 2956 RMD160 086616bb4e6575e2c68814bb5153b511b8033498 ibm-jdk-bin-1.5.0.ebuild 2956 SHA256 0310652770e7b791852d4c65ddd68f16602abe0fe50fd5f48cd5e3c534dc24b4 ibm-jdk-bin-1.5.0.ebuild 2956 -MISC ChangeLog 14220 RMD160 558f8104cc6bd8831602370e267769c22671a2e3 SHA1 70de5b35bb31698f757279bcbf5442eaa6834b22 SHA256 4c516550dcbc2208d6634eb9f81e9bd13158fe3e8f24fee0c590416538f02951 -MD5 1755272e9f289b024fe030115957a01f ChangeLog 14220 -RMD160 558f8104cc6bd8831602370e267769c22671a2e3 ChangeLog 14220 -SHA256 4c516550dcbc2208d6634eb9f81e9bd13158fe3e8f24fee0c590416538f02951 ChangeLog 14220 +MISC ChangeLog 14415 RMD160 81bd2ad7801d3b56252caa0d9ade60791888eff1 SHA1 b47f5ffcd728ea4fababb0fead3fffd83ef6d653 SHA256 075c908d72ad0f182e75dcc077aca81cecbc2a0d7a6d145492f2b3e3d6f9d714 +MD5 1b5100007a7e1f27bb88fd51fe1d6542 ChangeLog 14415 +RMD160 81bd2ad7801d3b56252caa0d9ade60791888eff1 ChangeLog 14415 +SHA256 075c908d72ad0f182e75dcc077aca81cecbc2a0d7a6d145492f2b3e3d6f9d714 ChangeLog 14415 MISC metadata.xml 219 RMD160 2b7340f3ca0725d19839049c85a644fb2bb55b5e SHA1 7f610c6c183a353d1969b4d9ac48e01629830026 SHA256 97628c0f582c0835c18b9ea2d722a316084d64ded80d4e1be2db984a2c292428 MD5 4a3cb4232103a0de9bd143a145086a7b metadata.xml 219 RMD160 2b7340f3ca0725d19839049c85a644fb2bb55b5e metadata.xml 219 @@ -98,3 +110,6 @@ SHA256 1e4a90eb01b02f89c96f042546b5461b16c07868222bf643eb99af50a1a8d951 files/di MD5 51e8e04e14a44502ca27a46a6fa16355 files/digest-ibm-jdk-bin-1.5.0.2 2396 RMD160 1b3fe81686391ecf0fdef07586643292b64e071f files/digest-ibm-jdk-bin-1.5.0.2 2396 SHA256 904666cd8dbe71ebed3d7c19323c840b26ff3d6390fbaa2e918cc2d9376d3485 files/digest-ibm-jdk-bin-1.5.0.2 2396 +MD5 bb9a5af9ad7ff0deddf4774fae62c81a files/digest-ibm-jdk-bin-1.5.0.3 2396 +RMD160 fda8627b96f7aa9352f3b4e682a3beb2c50a2e33 files/digest-ibm-jdk-bin-1.5.0.3 2396 +SHA256 e961c91ba6dc3a8afb2e2d763a0d92a82c6a178ea7800b8ab3cce00ecebe5af8 files/digest-ibm-jdk-bin-1.5.0.3 2396 diff --git a/dev-java/ibm-jdk-bin/files/digest-ibm-jdk-bin-1.5.0.3 b/dev-java/ibm-jdk-bin/files/digest-ibm-jdk-bin-1.5.0.3 new file mode 100644 index 000000000000..f50cb1dfd0df --- /dev/null +++ b/dev-java/ibm-jdk-bin/files/digest-ibm-jdk-bin-1.5.0.3 @@ -0,0 +1,24 @@ +MD5 7157bf3cc0884860000bd995fbadea5c ibm-java2-i386-javacomm-5.0-3.0.i386.rpm 125502 +RMD160 7f730b454c73f95f59589735713d748736c6e7a5 ibm-java2-i386-javacomm-5.0-3.0.i386.rpm 125502 +SHA256 5766c8d8656c7dff6defda953954dee8f22d18c6dfbadb889bc5b27534ebd730 ibm-java2-i386-javacomm-5.0-3.0.i386.rpm 125502 +MD5 450dd489ff72641b9d01939c8affd3de ibm-java2-i386-sdk-5.0-3.0.i386.rpm 63033967 +RMD160 dd32bc82e274923bb23e538942f727f1cbf36528 ibm-java2-i386-sdk-5.0-3.0.i386.rpm 63033967 +SHA256 6455de039dac7c5ee6642d04940b2704fdf611f6275914821fdc548ee685ecd8 ibm-java2-i386-sdk-5.0-3.0.i386.rpm 63033967 +MD5 a2f565793a04d8705ff37aa19d43792f ibm-java2-ppc-javacomm-5.0-3.0.ppc.rpm 133427 +RMD160 082e914b846803bbb5b777dad28dc93cc605ecc8 ibm-java2-ppc-javacomm-5.0-3.0.ppc.rpm 133427 +SHA256 c1179604922b978d720fc15b1eca24c411d0bd61cb3e006e147c19cf8376cafa ibm-java2-ppc-javacomm-5.0-3.0.ppc.rpm 133427 +MD5 f49d17f854699b92155c69ed4b292bac ibm-java2-ppc-sdk-5.0-3.0.ppc.rpm 70722009 +RMD160 c354d619b720f36bacd8592ac32cb6d4b7034b99 ibm-java2-ppc-sdk-5.0-3.0.ppc.rpm 70722009 +SHA256 cd947dc317c8d0ae91ecdce44ee4165aa6cba0c018ee5f706125ec12f37ab141 ibm-java2-ppc-sdk-5.0-3.0.ppc.rpm 70722009 +MD5 d4bbed3c0b449b7e11236c478462b962 ibm-java2-ppc64-javacomm-5.0-3.0.ppc64.rpm 135853 +RMD160 a7853bfc8c33eda88092abb49b245d73fe1eb733 ibm-java2-ppc64-javacomm-5.0-3.0.ppc64.rpm 135853 +SHA256 b2ea5661b97a6a5bce130ad7137ff94a60f15f56774be9fad2e35f587ece7c71 ibm-java2-ppc64-javacomm-5.0-3.0.ppc64.rpm 135853 +MD5 a35a2f110ad2af1238e0705496af69d3 ibm-java2-ppc64-sdk-5.0-3.0.ppc64.rpm 68640918 +RMD160 9ba5e027ea38aaf2164e5eeb88eface227d7c8d0 ibm-java2-ppc64-sdk-5.0-3.0.ppc64.rpm 68640918 +SHA256 74771d4d40f044f54a93d0711937976afc840e4f117b4f0d46609d361e421727 ibm-java2-ppc64-sdk-5.0-3.0.ppc64.rpm 68640918 +MD5 06eb61046f8bb9fb0b4e8e6fdfbef26a ibm-java2-x86_64-javacomm-5.0-3.0.x86_64.rpm 127812 +RMD160 e574bebd9ab5ddc82b68a585e927c574de4f19f7 ibm-java2-x86_64-javacomm-5.0-3.0.x86_64.rpm 127812 +SHA256 fc1c7ce4a63ac61c76c99125218e504598849398645be711f6c44d47c6a4e54c ibm-java2-x86_64-javacomm-5.0-3.0.x86_64.rpm 127812 +MD5 9571673c3eac80ba2e1f20b69df56002 ibm-java2-x86_64-sdk-5.0-3.0.x86_64.rpm 64564753 +RMD160 1d6c9441b1b7ce62b6e7967509ad3cb0732543ec ibm-java2-x86_64-sdk-5.0-3.0.x86_64.rpm 64564753 +SHA256 75fe72f73c226084c21e7f63bd5267006c48daa7121f47c9034aad00c48e29a4 ibm-java2-x86_64-sdk-5.0-3.0.x86_64.rpm 64564753 diff --git a/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5.0.3.ebuild b/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5.0.3.ebuild new file mode 100644 index 000000000000..a560760f182e --- /dev/null +++ b/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5.0.3.ebuild @@ -0,0 +1,259 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5.0.3.ebuild,v 1.1 2006/10/09 22:20:51 caster Exp $ + +inherit java-vm-2 versionator eutils rpm + +JDK_RELEASE=$(get_version_component_range 2-3) +SERVICE_RELEASE=$(get_version_component_range 4) +RPM_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0" + +X86_JDK_DIST="ibm-java2-i386-sdk-${RPM_PV}.i386.rpm" +X86_JAVACOMM_DIST="ibm-java2-i386-javacomm-${RPM_PV}.i386.rpm" + +AMD64_JDK_DIST="ibm-java2-x86_64-sdk-${RPM_PV}.x86_64.rpm" +AMD64_JAVACOMM_DIST="ibm-java2-x86_64-javacomm-${RPM_PV}.x86_64.rpm" + +PPC_JDK_DIST="ibm-java2-ppc-sdk-${RPM_PV}.ppc.rpm" +PPC_JAVACOMM_DIST="ibm-java2-ppc-javacomm-${RPM_PV}.ppc.rpm" + +PPC64_JDK_DIST="ibm-java2-ppc64-sdk-${RPM_PV}.ppc64.rpm" +PPC64_JAVACOMM_DIST="ibm-java2-ppc64-javacomm-${RPM_PV}.ppc64.rpm" + +if use x86; then + JDK_DIST=${X86_JDK_DIST} + JAVACOMM_DIST=${X86_JAVACOMM_DIST} + S="${WORKDIR}/opt/ibm/java2-i386-50" +elif use amd64; then + JDK_DIST=${AMD64_JDK_DIST} + JAVACOMM_DIST=${AMD64_JAVACOMM_DIST} + S="${WORKDIR}/opt/ibm/java2-x86_64-50" +elif use ppc; then + JDK_DIST=${PPC_JDK_DIST} + JAVACOMM_DIST=${PPC_JAVACOMM_DIST} + S="${WORKDIR}/opt/ibm/java2-ppc-50" +elif use ppc64; then + JDK_DIST=${PPC64_JDK_DIST} + JAVACOMM_DIST=${PPC64_JAVACOMM_DIST} + S="${WORKDIR}/opt/ibm/java2-ppc64-50" +fi + +SLOT="1.5" +DESCRIPTION="IBM Java Development Kit ${SLOT}" +HOMEPAGE="http://www.ibm.com/developerworks/java/jdk/" +DOWNLOADPAGE="${HOMEPAGE}linux/download.html" +# bug #125178 +ALT_DOWNLOADPAGE="${HOMEPAGE}linux/older_download.html" + +SRC_URI="x86? ( ${X86_JDK_DIST} ) + amd64? ( ${AMD64_JDK_DIST} ) + ppc? ( ${PPC_JDK_DIST} ) + ppc64? ( ${PPC64_JDK_DIST} ) + javacomm? ( + x86? ( ${X86_JAVACOMM_DIST} ) + amd64? ( ${AMD64_JAVACOMM_DIST} ) + ppc? ( ${PPC_JAVACOMM_DIST} ) + ppc64? ( ${PPC64_JAVACOMM_DIST} ) + )" +LICENSE="IBM-J1.5" +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +RESTRICT="fetch" + +RDEPEND=" + =virtual/libstdc++-3.3 + X? ( || ( + ( + x11-libs/libXt + x11-libs/libX11 + x11-libs/libXtst + x11-libs/libXp + x11-libs/libXext + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXft + ) + virtual/x11 + ) + ) + alsa? ( media-libs/alsa-lib ) + nsplugin? ( + x86? ( =x11-libs/gtk+-2* =x11-libs/gtk+-1* ) + ppc? ( =x11-libs/gtk+-1* ) + )" +DEPEND="" + +IUSE="X alsa javacomm nsplugin" + +QA_EXECSTACK_amd64="opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/libj9vrb23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libj9trc23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9shr23.so + opt/${P}/jre/bin/libj9prt23.so + opt/${P}/jre/bin/libj9jvmti23.so + opt/${P}/jre/bin/libj9jpi23.so + opt/${P}/jre/bin/libj9jit23.so + opt/${P}/jre/bin/libj9jextract.so + opt/${P}/jre/bin/libj9hookable23.so + opt/${P}/jre/bin/libj9gc23.so + opt/${P}/jre/bin/libj9dyn23.so + opt/${P}/jre/bin/libj9dmp23.so + opt/${P}/jre/bin/libj9dbg23.so + opt/${P}/jre/bin/libj9bcv23.so + opt/${P}/jre/bin/libiverel23.so + opt/${P}/jre/bin/classic/libjvm.so + opt/${P}/jre/bin/j9vm/libjvm.so" + +QA_TEXTRELS_amd64="opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/libj9jit23.so" + +QA_EXECSTACK_x86="opt/${P}/jre/bin/j9vm/libjvm.so + opt/${P}/jre/bin/libj9jvmti23.so + opt/${P}/jre/bin/libj9hookable23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libj9dyn23.so + opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/libj9jpi23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9dmp23.so + opt/${P}/jre/bin/libj9prt23.so + opt/${P}/jre/bin/libj9jit23.so + opt/${P}/jre/bin/libiverel23.so + opt/${P}/jre/bin/libj9trc23.so + opt/${P}/jre/bin/libj9dbg23.so + opt/${P}/jre/bin/libj9jextract.so + opt/${P}/jre/bin/libj9shr23.so + opt/${P}/jre/bin/libj9gc23.so + opt/${P}/jre/bin/libj9vrb23.so + opt/${P}/jre/bin/libj9bcv23.so + opt/${P}/jre/bin/libj9aotrt23.so + opt/${P}/jre/bin/classic/libjvm.so" + +QA_TEXTRELS_ppc="opt/${P}/jre/bin/classic/libjvm.so + opt/${P}/jre/bin/j9vm/libjvm.so + opt/${P}/jre/bin/libj9aotrt23.so + opt/${P}/jre/bin/libj9dbg23.so + opt/${P}/jre/bin/libj9gc23.so + opt/${P}/jre/bin/libj9gcchk23.so + opt/${P}/jre/bin/libj9jextract.so + opt/${P}/jre/bin/libj9jit23.so + opt/${P}/jre/bin/libj9jitd23.so + opt/${P}/jre/bin/libj9jpi23.so + opt/${P}/jre/bin/libj9jvmti23.so + opt/${P}/jre/bin/libj9prt23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9ute23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libjaas.so + opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/libjsig.so +" + +QA_TEXTRELS_ppc64="opt/${P}/jre/bin/libj9jextract.so + opt/${P}/jre/bin/libjsig.so + opt/${P}/jre/bin/libj9jitd23.so + opt/${P}/jre/bin/libj9ute23.so + opt/${P}/jre/bin/classic/libjvm.so + opt/${P}/jre/bin/libj9prt23.so + opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/j9vm/libjvm.so + opt/${P}/jre/bin/libj9gc23.so + opt/${P}/jre/bin/libj9dbg23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9jpi23.so + opt/${P}/jre/bin/libj9gcchk23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libj9jit23.so" + + +QA_TEXTRELS_x86="opt/${P}/jre/bin/lib*.so + opt/${P}/jre/bin/j9vm/libjvm.so + opt/${P}/jre/bin/xawt/libmawt.so + opt/${P}/jre/bin/javaplugin.so + opt/${P}/jre/bin/motif21/libmawt.so + opt/${P}/jre/bin/headless/libmawt.so + opt/${P}/jre/bin/classic/libjvm.so + opt/${P}/jre/lib/i386/libdeploy.so" + +pkg_nofetch() { + einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles" + einfo "Please visit: ${DOWNLOADPAGE}" + + einfo "Under J2SE 5.0, download SR${SERVICE_RELEASE}:" + einfo "${JDK_DIST}" + if use javacomm ; then + einfo "${JAVACOMM_DIST}" + fi + einfo "Place the file(s) in: ${DISTDIR}" + einfo "Then run emerge =${VMHANDLE}*" + + einfo "Note: if SR${SERVICE_RELEASE} is not available at ${DOWNLOADPAGE}" + einfo "it may have been moved to ${ALT_DOWNLOADPAGE}" + einfo "If it's not even there, you can also try rewriting the link of the" + einfo "newer SR# into SR${SERVICE_RELEASE}, while cursing IBM." +} + +src_compile() { :; } + +src_install() { + # Copy all the files to the designated directory + mkdir -p ${D}opt/${P} + cp -pR ${S}/{bin,jre,lib,include} ${D}opt/${P}/ + + mkdir -p ${D}/opt/${P}/share + cp -pPR ${S}/{demo,src.jar} ${D}opt/${P}/share/ + + # setting the ppc stuff + #if use ppc; then + # dosed s:/proc/cpuinfo:/etc//cpuinfo:g /opt/${P}/jre/bin/libjitc.so + # dosed s:/proc/cpuinfo:/etc//cpuinfo:g /opt/${P}/jre/bin/libjitc_g.so + # insinto /etc + # doins ${FILESDIR}/cpuinfo + #fi + + + local x86plugin=libjavaplugin_ojigtk2.so + local ppcplugin=libjavaplugin_oji.so + local jrebindest="${D}/opt/${P}/jre/bin/" + + local plugin + if use x86; then + plugin=${x86plugin} + elif use ppc; then + plugin=${ppcplugin} + # rm "${jrebindest}/${x86plugin}" "${jrebindest}/libjavaplugin_nscpgtk2.so" || \ + # eerror "Failed to delete gtk2 javaplugin." + fi + + plugin=/opt/${P}/jre/bin/${plugin} + + if use x86 || use ppc; then + if use nsplugin; then + install_mozilla_plugin ${plugin} + else + rm "${jrebindest}/*javaplugin*.so" || \ + eerror "Failed to delete javaplugin shared libraries" + fi + fi + + use !alsa && rm "${jrebindest}/libjsoundalsa.so" + + dohtml -a html,htm,HTML -r docs + dodoc ${S}/COPYRIGHT + + set_java_env +} + +pkg_postinst() { + java-vm-2_pkg_postinst + if ! use X; then + echo + ewarn "You're not using X so its possible that you dont have" + ewarn "a X server installed, please read the following warning: " + ewarn "Some parts of IBM JDK require XFree86 to be installed." + ewarn "Be careful which Java libraries you attempt to use." + fi +}