From e14a082bdb34ac249bbd5ad84ebf9deb94235248 Mon Sep 17 00:00:00 2001 From: Vlastimil Babka Date: Fri, 20 Apr 2007 08:17:23 +0000 Subject: [PATCH] Version bump, bug #174481. Package-Manager: portage-2.1.2.4 --- dev-java/ibm-jre-bin/ChangeLog | 10 +- dev-java/ibm-jre-bin/Manifest | 19 ++- .../files/digest-ibm-jre-bin-1.4.2.8 | 12 ++ .../ibm-jre-bin/ibm-jre-bin-1.4.2.8.ebuild | 149 ++++++++++++++++++ 4 files changed, 184 insertions(+), 6 deletions(-) create mode 100644 dev-java/ibm-jre-bin/files/digest-ibm-jre-bin-1.4.2.8 create mode 100644 dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.8.ebuild diff --git a/dev-java/ibm-jre-bin/ChangeLog b/dev-java/ibm-jre-bin/ChangeLog index 410e5b38b245..76ae76281950 100644 --- a/dev-java/ibm-jre-bin/ChangeLog +++ b/dev-java/ibm-jre-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/ibm-jre-bin -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog,v 1.53 2006/12/18 12:12:40 caster Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog,v 1.54 2007/04/20 08:17:23 caster Exp $ + +*ibm-jre-bin-1.4.2.8 (20 Apr 2007) + + 20 Apr 2007; Vlastimil Babka + +ibm-jre-bin-1.4.2.8.ebuild: + Version bump, bug #174481. *ibm-jre-bin-1.4.2.7 (18 Dec 2006) diff --git a/dev-java/ibm-jre-bin/Manifest b/dev-java/ibm-jre-bin/Manifest index 9ab60cade3c5..af039e50994d 100644 --- a/dev-java/ibm-jre-bin/Manifest +++ b/dev-java/ibm-jre-bin/Manifest @@ -10,6 +10,10 @@ DIST IBMJava2-142-ppc64-JRE-1.4.2-6.0.ppc64.rpm 40218069 RMD160 45adc2239fb81c89 DIST IBMJava2-142-ppc64-JRE-1.4.2-7.0.ppc64.rpm 46399922 RMD160 b3a5eb88614e86bce79922bf83a082502bf0e49b SHA1 b9064bd1070baa34d1990621a76e4ce8446f96fd SHA256 7b94778b89a3a6cda333b18ade5d1e30334c4b64a9d49f492d86de9c5063955b DIST IBMJava2-AMD64-142-JRE-1.4.2-6.0.x86_64.rpm 34624859 RMD160 cacd2c9e0ee7d05e682f0a79973f018be2784289 SHA1 1ebcdd4152bb70a4bec4d82c9b54b68d63a152cc SHA256 e0854e6fc44931bef3a6b9e8860d67c8538c604667dd01e43a0baab4530226f3 DIST IBMJava2-AMD64-142-JRE-1.4.2-7.0.x86_64.rpm 34666938 RMD160 8e97b89a740b33a36698a7476381d9f6f5f35d66 SHA1 18a60d802af183e6c18da0d184f72d37b13e237d SHA256 bc575b72df9cec3e3a41a9f06abaa3f5b7b4b52e1fd32529c72526e3b7a05a15 +DIST IBMJava2-JRE-1.4.2-8.0.ppc.tgz 48405855 RMD160 4607807a697454d5f4b64d2ba76f5b5be54d8a70 SHA1 c5313a8fd37ac15f7f8a0bac251fbd361f3e3d1f SHA256 f49f4ff1467fc3ae9c3ecc6b41e1103b197815c472560868f1346f8e83e93aa4 +DIST IBMJava2-JRE-1.4.2-8.0.ppc64.tgz 46667976 RMD160 8c181fff04f466dccf9eed8c9eb86e226edc73f3 SHA1 75ba1311d7fa36e9828ab777473ca72438a96cb6 SHA256 047c1ff1f4a2b2660ecd03a8eb4ab80ed44b2c37a1eaf643275b4ba50d041630 +DIST IBMJava2-JRE-1.4.2-8.0.tgz 39999141 RMD160 6d91094bebeeef7c805f7109ef402ea6174e9719 SHA1 029f23f70caef5a797f68c920e95cfb4e41f4c55 SHA256 622d3a260870da554c15defd158e903b0616fdd1e09ceaaa2a59000748728447 +DIST IBMJava2-JRE-AMD64-1.4.2-8.0.x86_64.tgz 34894373 RMD160 d055930419352c9f267a47096893760c36337bc4 SHA1 f0f86ac3dd7f40be7ae48a4a8d54e0e12122f8e5 SHA256 78d17767e3b72f031df0d32d84a2c4841cd029065ef81005cc4fa79518602485 EBUILD ibm-jre-bin-1.4.2.6-r5.ebuild 3982 RMD160 0469a52d90c12b09ba86817de185f1d220b36170 SHA1 dd68cd9c594e54e0bbf72f68ed1d29205b6eb674 SHA256 253fe0c2f2766816676e012134641fbe9179a1f2dcd985de7753a3dfc83068c3 MD5 2ddd1882c16b919d3e6c45ee5a7d42da ibm-jre-bin-1.4.2.6-r5.ebuild 3982 RMD160 0469a52d90c12b09ba86817de185f1d220b36170 ibm-jre-bin-1.4.2.6-r5.ebuild 3982 @@ -18,10 +22,14 @@ EBUILD ibm-jre-bin-1.4.2.7.ebuild 3983 RMD160 a324fbd7c8dde6bbbe895ea3646714622e MD5 d4add8cc9fa28c5eb59782e1d1ee5050 ibm-jre-bin-1.4.2.7.ebuild 3983 RMD160 a324fbd7c8dde6bbbe895ea3646714622e5ba06a ibm-jre-bin-1.4.2.7.ebuild 3983 SHA256 68fead0b5c98715a971f54377d03fe479a8b0489bb6fb1b7e7a67bd7d1c3765d ibm-jre-bin-1.4.2.7.ebuild 3983 -MISC ChangeLog 8516 RMD160 7b1fbfae9dc4867dab63a785bdaaccb16f2d60e4 SHA1 0ec3229bb6a4c696e1eff76d76a95ac7749bdc15 SHA256 0d5653353b8d0d1b6a58deaad01d7735aadd454f891f8382b522fdca9246a8cf -MD5 8a4cde64f4dd4c5c8eec690a3d017bd1 ChangeLog 8516 -RMD160 7b1fbfae9dc4867dab63a785bdaaccb16f2d60e4 ChangeLog 8516 -SHA256 0d5653353b8d0d1b6a58deaad01d7735aadd454f891f8382b522fdca9246a8cf ChangeLog 8516 +EBUILD ibm-jre-bin-1.4.2.8.ebuild 4036 RMD160 8bdc305679c411afee4b037433014b70f8b59b4e SHA1 27c0065de1b38b6e8d7867057f62d667cb8313eb SHA256 6cfa5ae1b20972c37969cdaeb08d5b7a1c90fae1ddc06a3bba15c018e264c1ff +MD5 055928870aa0f2f66ee88da603388671 ibm-jre-bin-1.4.2.8.ebuild 4036 +RMD160 8bdc305679c411afee4b037433014b70f8b59b4e ibm-jre-bin-1.4.2.8.ebuild 4036 +SHA256 6cfa5ae1b20972c37969cdaeb08d5b7a1c90fae1ddc06a3bba15c018e264c1ff ibm-jre-bin-1.4.2.8.ebuild 4036 +MISC ChangeLog 8664 RMD160 087d8d0fef23edc75414bfa91986ec9f740a5767 SHA1 fb0c9938f64d2045680820747f745b8a6871ab4e SHA256 1353f79ace009ad1af9b6ff3763c811e116237cafabfb24baecd9b409e04cbb5 +MD5 dceb562b817622a137b1a0b43ab99457 ChangeLog 8664 +RMD160 087d8d0fef23edc75414bfa91986ec9f740a5767 ChangeLog 8664 +SHA256 1353f79ace009ad1af9b6ff3763c811e116237cafabfb24baecd9b409e04cbb5 ChangeLog 8664 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 @@ -32,3 +40,6 @@ SHA256 0c19ee8e3ce149f371667caa7a552f7d7d9247a43225550025911397a44ceedd files/di MD5 ed5b97549a7715b03569c1d20eb25097 files/digest-ibm-jre-bin-1.4.2.7 1243 RMD160 74ce3f0a87f66102420ef1a312f5ce6a88a2d6e2 files/digest-ibm-jre-bin-1.4.2.7 1243 SHA256 596c196df9df11a6272772c830bfc72432300d316997eb59d6a8047a016c981f files/digest-ibm-jre-bin-1.4.2.7 1243 +MD5 dab84ae483bd62bc58360e2e4ee4a098 files/digest-ibm-jre-bin-1.4.2.8 1129 +RMD160 0678b93e015c74598a286dfa9fb8164e80e5c033 files/digest-ibm-jre-bin-1.4.2.8 1129 +SHA256 0837aea0710694396d31f44730a45877c2d4a02156b3258937f2a9eea36ffc50 files/digest-ibm-jre-bin-1.4.2.8 1129 diff --git a/dev-java/ibm-jre-bin/files/digest-ibm-jre-bin-1.4.2.8 b/dev-java/ibm-jre-bin/files/digest-ibm-jre-bin-1.4.2.8 new file mode 100644 index 000000000000..e28907c1cbac --- /dev/null +++ b/dev-java/ibm-jre-bin/files/digest-ibm-jre-bin-1.4.2.8 @@ -0,0 +1,12 @@ +MD5 e319b2d369ee894acaad4bd03ed77b5f IBMJava2-JRE-1.4.2-8.0.ppc.tgz 48405855 +RMD160 4607807a697454d5f4b64d2ba76f5b5be54d8a70 IBMJava2-JRE-1.4.2-8.0.ppc.tgz 48405855 +SHA256 f49f4ff1467fc3ae9c3ecc6b41e1103b197815c472560868f1346f8e83e93aa4 IBMJava2-JRE-1.4.2-8.0.ppc.tgz 48405855 +MD5 2163169db3ff6d7a76deea65367a3ed3 IBMJava2-JRE-1.4.2-8.0.ppc64.tgz 46667976 +RMD160 8c181fff04f466dccf9eed8c9eb86e226edc73f3 IBMJava2-JRE-1.4.2-8.0.ppc64.tgz 46667976 +SHA256 047c1ff1f4a2b2660ecd03a8eb4ab80ed44b2c37a1eaf643275b4ba50d041630 IBMJava2-JRE-1.4.2-8.0.ppc64.tgz 46667976 +MD5 b2617c53f38e0bf56a6e42a481209bcc IBMJava2-JRE-1.4.2-8.0.tgz 39999141 +RMD160 6d91094bebeeef7c805f7109ef402ea6174e9719 IBMJava2-JRE-1.4.2-8.0.tgz 39999141 +SHA256 622d3a260870da554c15defd158e903b0616fdd1e09ceaaa2a59000748728447 IBMJava2-JRE-1.4.2-8.0.tgz 39999141 +MD5 2d8614dafce1d8552b2600dd2d6f26a3 IBMJava2-JRE-AMD64-1.4.2-8.0.x86_64.tgz 34894373 +RMD160 d055930419352c9f267a47096893760c36337bc4 IBMJava2-JRE-AMD64-1.4.2-8.0.x86_64.tgz 34894373 +SHA256 78d17767e3b72f031df0d32d84a2c4841cd029065ef81005cc4fa79518602485 IBMJava2-JRE-AMD64-1.4.2-8.0.x86_64.tgz 34894373 diff --git a/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.8.ebuild b/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.8.ebuild new file mode 100644 index 000000000000..d8fe6510c1cb --- /dev/null +++ b/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.8.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.8.ebuild,v 1.1 2007/04/20 08:17:23 caster Exp $ + +inherit java-vm-2 eutils versionator + +JDK_RELEASE=$(get_version_component_range 1-3) +SERVICE_RELEASE=$(get_version_component_range 4) +RPM_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0" + +JRE_DIST_PREFIX="IBMJava2-JRE-${RPM_PV}" + +X86_JRE_DIST="${JRE_DIST_PREFIX}.tgz" +# wonder why amd64 has this extra special AMD64 in its filename... +AMD64_JRE_DIST="IBMJava2-JRE-AMD64-${RPM_PV}.x86_64.tgz" +PPC_JRE_DIST="${JRE_DIST_PREFIX}.ppc.tgz" +PPC64_JRE_DIST="${JRE_DIST_PREFIX}.ppc64.tgz" + +if use x86; then + JRE_DIST=${X86_JRE_DIST} + S="${WORKDIR}/IBMJava2-142" + LINK_ARCH="ia32" +elif use amd64; then + JRE_DIST=${AMD64_JRE_DIST} + S="${WORKDIR}/IBMJava2-amd64-142" + LINK_ARCH="amd64" +elif use ppc; then + JRE_DIST=${PPC_JRE_DIST} + S="${WORKDIR}/IBMJava2-ppc-142" + LINK_ARCH="ip32" +elif use ppc64; then + JRE_DIST=${PPC64_JRE_DIST} + S="${WORKDIR}/IBMJava2-ppc64-142" + LINK_ARCH="ip64" +fi + +DIRECT_DOWNLOAD="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=lxdk&S_PKG=${LINK_ARCH}142sr${SERVICE_RELEASE}&cp=UTF-8&S_TACT=105AGX05&S_CMP=JDK" + +DESCRIPTION="IBM Java Runtime Environment" +HOMEPAGE="http://www.ibm.com/developerworks/java/jdk/" +DOWNLOADPAGE="${HOMEPAGE}linux/download.html" +ALT_DOWNLOADPAGE="${HOMEPAGE}linux/older_download.html" + +SRC_URI="x86? ( ${X86_JRE_DIST} ) + amd64? ( ${AMD64_JRE_DIST} ) + ppc? ( ${PPC_JRE_DIST} ) + ppc64? ( ${PPC64_JRE_DIST} )" + +LICENSE="IBM-J1.4" +SLOT="1.4" +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +IUSE="X alsa nsplugin" + +RDEPEND=" + =virtual/libstdc++-3.3 + alsa? ( media-libs/alsa-lib ) + X? ( + x11-libs/libXt + x11-libs/libX11 + x11-libs/libXtst + x11-libs/libXp + x11-libs/libXext + x11-libs/libXi + x11-libs/libXmu + ) + x86? ( nsplugin? ( =x11-libs/gtk+-1* =dev-libs/glib-1* ) )" +DEPEND="" + +RESTRICT="fetch" + +QA_TEXTRELS_x86="opt/${P}/bin/lib*.so + opt/${P}/bin/javaplugin.so + opt/${P}/bin/classic/libjvm.so + opt/${P}/bin/classic/libcore.so" +QA_TEXTRELS_amd64=" + opt/${P}/bin/libj9jit22.so + opt/${P}/bin/libjclscar_22.so +" + +pkg_nofetch() { + einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles" + einfo "Please visit: ${DOWNLOADPAGE}" + + einfo "Under Java 1.4.2, download SR${SERVICE_RELEASE} for your arch:" + einfo "${JRE_DIST}" + + einfo "Direct link:" + einfo "${DIRECT_DOWNLOAD}" + einfo "Place the file(s) in: ${DISTDIR}" + einfo "Then restart emerge: 'emerge --resume'" + + einfo "Note: if SR${SERVICE_RELEASE} is not available at ${DOWNLOADPAGE}" + einfo "it may have been moved to ${ALT_DOWNLOADPAGE}. Lately that page" + einfo "isn't updated, but the files should still available through the" + einfo "direct link. If it doesn't work, file a bug." +} + +src_compile() { :; } + +src_install() { + # javaws is on x86 only + if use x86; then + # The javaws execution script is 777 why? + chmod 0755 ${S}/jre/javaws/javaws + + # bug #147259 + dosym ../javaws/javaws /opt/${P}/bin/javaws + fi + + # Copy all the files to the designated directory + dodir /opt/${P} + cp -pR ${S}/jre/* ${D}opt/${P}/ + + if use x86 && use nsplugin; then + local plugin="libjavaplugin_oji.so" + + if has_version '>=sys-devel/gcc-3' ; then + plugin="libjavaplugin_ojigcc3.so" + fi + + install_mozilla_plugin /opt/${P}/bin/${plugin} + elif use x86; then + rm ${D}/opt/${P}/bin/libjavaplugin*.so + fi + + if ! use alsa; then + rm ${D}/opt/${P}/bin/libjsoundalsa.so \ + || eerror "${D}/opt/${P}/bin/libjsoundalsa.so not found" + fi + + dohtml -a html,htm,HTML -r docs + dodoc ${S}/docs/COPYRIGHT + + set_java_env +} + +pkg_postinst() { + java-vm-2_pkg_postinst + + if ! use X; then + ewarn + ewarn "You have not enabled the X useflag. It is possible that" + ewarn "you do not have an X server installed. Please note that" + ewarn "some parts of the IBM JRE require an X server to properly" + ewarn "function. Be careful which Java libraries you attempt to" + ewarn "use with your installation." + ewarn + fi +} -- 2.26.2