diff options
author | Vlastimil Babka <caster@gentoo.org> | 2006-12-18 12:12:40 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2006-12-18 12:12:40 +0000 |
commit | 16494b51d1589966c355d284ae788a0fe7200d83 (patch) | |
tree | 5dd85d155f6ed89f0b2bc81f3dd6193a2df0d52a /dev-java/ibm-jre-bin | |
parent | Fix epatch line, sorry. (diff) | |
download | gentoo-2-16494b51d1589966c355d284ae788a0fe7200d83.tar.gz gentoo-2-16494b51d1589966c355d284ae788a0fe7200d83.tar.bz2 gentoo-2-16494b51d1589966c355d284ae788a0fe7200d83.zip |
Version bump. Try to provide direct download URLs in pkg_nofetch() so that people can download older versions not linked from the download pages and we don't have to do direct to stable bumps. Hopefully IBM won't break these links too often...
(Portage version: 2.1.2_rc3-r6)
Diffstat (limited to 'dev-java/ibm-jre-bin')
-rw-r--r-- | dev-java/ibm-jre-bin/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/ibm-jre-bin/files/digest-ibm-jre-bin-1.4.2.7 | 12 | ||||
-rw-r--r-- | dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.6-r5.ebuild | 19 | ||||
-rw-r--r-- | dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.7.ebuild | 141 |
4 files changed, 178 insertions, 5 deletions
diff --git a/dev-java/ibm-jre-bin/ChangeLog b/dev-java/ibm-jre-bin/ChangeLog index a00c3fdc729e..410e5b38b245 100644 --- a/dev-java/ibm-jre-bin/ChangeLog +++ b/dev-java/ibm-jre-bin/ChangeLog @@ -1,6 +1,15 @@ # 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.52 2006/10/18 00:30:58 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog,v 1.53 2006/12/18 12:12:40 caster Exp $ + +*ibm-jre-bin-1.4.2.7 (18 Dec 2006) + + 18 Dec 2006; Vlastimil Babka <caster@gentoo.org> + ibm-jre-bin-1.4.2.6-r5.ebuild, +ibm-jre-bin-1.4.2.7.ebuild: + Version bump. Try to provide direct download URLs in pkg_nofetch() so that + people can download older versions not linked from the download pages and we + don't have to do direct to stable bumps. Hopefully IBM won't break these + links too often... 18 Oct 2006; Joshua Nichols <nichoj@gentoo.org> -files/ibm-jre-bin-1.4.2.03, -files/ibm-jre-bin-1.4.2.04, diff --git a/dev-java/ibm-jre-bin/files/digest-ibm-jre-bin-1.4.2.7 b/dev-java/ibm-jre-bin/files/digest-ibm-jre-bin-1.4.2.7 new file mode 100644 index 000000000000..7c5b10acee90 --- /dev/null +++ b/dev-java/ibm-jre-bin/files/digest-ibm-jre-bin-1.4.2.7 @@ -0,0 +1,12 @@ +MD5 a71617fc4bbad3d20308e37511c26e2e IBMJava2-142-ia32-JRE-1.4.2-7.0.i386.rpm 39935307 +RMD160 bb066ea5985742afda7d4bf56c2a3b363c1b4f08 IBMJava2-142-ia32-JRE-1.4.2-7.0.i386.rpm 39935307 +SHA256 c8e49c77be6dedab5ae74795e4a0d62b9ed94ea876b84b30ccca39498ba2928b IBMJava2-142-ia32-JRE-1.4.2-7.0.i386.rpm 39935307 +MD5 a59bde6e6d89b35648c47a908318ed27 IBMJava2-142-ppc32-JRE-1.4.2-7.0.ppc.rpm 48186821 +RMD160 f80cd77b09034cfcc88b2d536621d2daf9677060 IBMJava2-142-ppc32-JRE-1.4.2-7.0.ppc.rpm 48186821 +SHA256 8dc3814420714fd3640b39aa443210c8b0c73eb1541c5b91095d64dbd2712456 IBMJava2-142-ppc32-JRE-1.4.2-7.0.ppc.rpm 48186821 +MD5 8b93f557147a283100c3a1d5b4ba9039 IBMJava2-142-ppc64-JRE-1.4.2-7.0.ppc64.rpm 46399922 +RMD160 b3a5eb88614e86bce79922bf83a082502bf0e49b IBMJava2-142-ppc64-JRE-1.4.2-7.0.ppc64.rpm 46399922 +SHA256 7b94778b89a3a6cda333b18ade5d1e30334c4b64a9d49f492d86de9c5063955b IBMJava2-142-ppc64-JRE-1.4.2-7.0.ppc64.rpm 46399922 +MD5 efd97135a71ff65a2186f783771da002 IBMJava2-AMD64-142-JRE-1.4.2-7.0.x86_64.rpm 34666938 +RMD160 8e97b89a740b33a36698a7476381d9f6f5f35d66 IBMJava2-AMD64-142-JRE-1.4.2-7.0.x86_64.rpm 34666938 +SHA256 bc575b72df9cec3e3a41a9f06abaa3f5b7b4b52e1fd32529c72526e3b7a05a15 IBMJava2-AMD64-142-JRE-1.4.2-7.0.x86_64.rpm 34666938 diff --git a/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.6-r5.ebuild b/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.6-r5.ebuild index a6ab1a47f221..05731e238d94 100644 --- a/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.6-r5.ebuild +++ b/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.6-r5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 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.6-r5.ebuild,v 1.6 2006/10/15 18:31:11 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.6-r5.ebuild,v 1.7 2006/12/18 12:12:40 caster Exp $ inherit java-vm-2 eutils versionator rpm @@ -11,18 +11,24 @@ RPM_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0" if use x86 ; then JRE_DIST="IBMJava2-142-ia32-JRE-${RPM_PV}.i386.rpm" S="${WORKDIR}/opt/IBMJava2-142" + LINK_ARCH="ia32" elif use amd64 ; then JRE_DIST="IBMJava2-AMD64-142-JRE-${RPM_PV}.x86_64.rpm" S="${WORKDIR}/opt/IBMJava2-amd64-142" + LINK_ARCH="amd64" elif use ppc ; then JRE_DIST="IBMJava2-142-ppc32-JRE-${RPM_PV}.ppc.rpm" S="${WORKDIR}/opt/IBMJava2-ppc-142" + LINK_ARCH="ip32" elif use ppc64 ; then JRE_DIST="IBMJava2-142-ppc64-JRE-${RPM_PV}.ppc64.rpm" S="${WORKDIR}/opt/IBMJava2-ppc64-142" + LINK_ARCH="ip64" fi -DESCRIPTION="IBM Java Development Kit" +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" @@ -69,11 +75,16 @@ pkg_nofetch() { einfo "Under Java 1.4.2, download SR${SERVICE_RELEASE} for your arch:" einfo "${JRE_DIST}" - einfo "Place the file in: ${DISTDIR}" + + 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}" + 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() { :; } diff --git a/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.7.ebuild b/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.7.ebuild new file mode 100644 index 000000000000..e74d9963d703 --- /dev/null +++ b/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.7.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2006 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.7.ebuild,v 1.1 2006/12/18 12:12:40 caster Exp $ + +inherit java-vm-2 eutils versionator rpm + +JDK_RELEASE=$(get_version_component_range 1-3) +SERVICE_RELEASE=$(get_version_component_range 4) +RPM_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0" + +if use x86 ; then + JRE_DIST="IBMJava2-142-ia32-JRE-${RPM_PV}.i386.rpm" + S="${WORKDIR}/opt/IBMJava2-142" + LINK_ARCH="ia32" +elif use amd64 ; then + JRE_DIST="IBMJava2-AMD64-142-JRE-${RPM_PV}.x86_64.rpm" + S="${WORKDIR}/opt/IBMJava2-amd64-142" + LINK_ARCH="amd64" +elif use ppc ; then + JRE_DIST="IBMJava2-142-ppc32-JRE-${RPM_PV}.ppc.rpm" + S="${WORKDIR}/opt/IBMJava2-ppc-142" + LINK_ARCH="ip32" +elif use ppc64 ; then + JRE_DIST="IBMJava2-142-ppc64-JRE-${RPM_PV}.ppc64.rpm" + S="${WORKDIR}/opt/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? ( IBMJava2-142-ia32-JRE-${RPM_PV}.i386.rpm ) + amd64? ( IBMJava2-AMD64-142-JRE-${RPM_PV}.x86_64.rpm ) + ppc? ( IBMJava2-142-ppc32-JRE-${RPM_PV}.ppc.rpm ) + ppc64? ( IBMJava2-142-ppc64-JRE-${RPM_PV}.ppc64.rpm )" + +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 +} |