diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-06-16 09:30:43 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-06-16 09:30:43 +0000 |
commit | d655795b7fbaf2547d90d3c8db9f1291cc01f028 (patch) | |
tree | db99ff414c0884bf4ea8afab54efc9a520356855 /dev-java | |
parent | Version bumped. :P (diff) | |
download | historical-d655795b7fbaf2547d90d3c8db9f1291cc01f028.tar.gz historical-d655795b7fbaf2547d90d3c8db9f1291cc01f028.tar.bz2 historical-d655795b7fbaf2547d90d3c8db9f1291cc01f028.zip |
version bump
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/blackdown-jre/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/blackdown-jre/Manifest | 13 | ||||
-rw-r--r-- | dev-java/blackdown-jre/blackdown-jre-1.4.2.02.ebuild | 120 | ||||
-rw-r--r-- | dev-java/blackdown-jre/files/blackdown-jre-1.4.2.02 | 11 | ||||
-rw-r--r-- | dev-java/blackdown-jre/files/digest-blackdown-jre-1.4.2.02 | 2 |
5 files changed, 148 insertions, 6 deletions
diff --git a/dev-java/blackdown-jre/ChangeLog b/dev-java/blackdown-jre/ChangeLog index 2db83d79971e..823ea041674a 100644 --- a/dev-java/blackdown-jre/ChangeLog +++ b/dev-java/blackdown-jre/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/blackdown-jre # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/ChangeLog,v 1.61 2005/06/06 18:34:38 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/ChangeLog,v 1.62 2005/06/16 09:29:10 axxo Exp $ + +*blackdown-jre-1.4.2.02 (16 Jun 2005) + + 16 Jun 2005; Thomas Matthijs <axxo@gentoo.org> + +blackdown-jre-1.4.2.02.ebuild: + version bump 06 Jun 2005; Jan Brinkmann <luckyduck@gentoo.org> blackdown-jre-1.4.1-r1.ebuild, blackdown-jre-1.4.2.01-r1.ebuild: diff --git a/dev-java/blackdown-jre/Manifest b/dev-java/blackdown-jre/Manifest index 5fc46d2a2572..b000762b2f90 100644 --- a/dev-java/blackdown-jre/Manifest +++ b/dev-java/blackdown-jre/Manifest @@ -2,20 +2,23 @@ Hash: SHA1 MD5 b2f6f67c1cb35a15a936cc02f5ddee98 blackdown-jre-1.3.1-r9.ebuild 1709 +MD5 3bd2b2af4ff6328ce6d469e18eab5e78 blackdown-jre-1.4.2.02.ebuild 3318 MD5 7838cf8d47d18cc605a6b09e1a1bc5fb blackdown-jre-1.4.2.01-r1.ebuild 3324 -MD5 24128595d49cfa38600935565962af23 ChangeLog 9815 +MD5 be1a54226692aa80db4808a5d9992c4a ChangeLog 9948 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 68ea0f31b9bfaeda07270dc9122c8609 blackdown-jre-1.4.1-r1.ebuild 2649 MD5 7d186c2364cc118125d06076161306a8 files/digest-blackdown-jre-1.4.2.01-r1 151 MD5 44d855f52a687d922d2230b27bccad0f files/digest-blackdown-jre-1.3.1-r9 79 MD5 773e3dae29edd26397f43c1e1ab99dae files/digest-blackdown-jre-1.4.1-r1 248 +MD5 71bbb04601fe32e845c98fab7f732ae4 files/digest-blackdown-jre-1.4.2.02 151 MD5 57462605c4cce61fe2ac166306c5b491 files/blackdown-jre-1.4.2.01 428 +MD5 d807d4748f853aab768ead08cffd5454 files/blackdown-jre-1.4.2.02 428 MD5 3facc5cbb2965471e9b1986926221552 files/blackdown-jre-1.3.1 429 MD5 271b1f89b9f0f70dd5154090978263b1 files/blackdown-jre-1.4.1 425 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) +Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCpJdg06ebR+OMO78RAqOcAJ9YH8aPF0UhC8zD+G6ffXJeCDCcAQCfXPvW -D4dHHOUrj8TIwtK8+zcTl/4= -=PtoN +iD8DBQFCsUbX/rLF9B432nYRAkF8AJ4odMo0Jg3Tm3MQDY/EF10bijZPlACfXdQ+ +cGV6BpSF0+E/4CPsyOhu4+Y= +=4wiW -----END PGP SIGNATURE----- diff --git a/dev-java/blackdown-jre/blackdown-jre-1.4.2.02.ebuild b/dev-java/blackdown-jre/blackdown-jre-1.4.2.02.ebuild new file mode 100644 index 000000000000..37b833b7924f --- /dev/null +++ b/dev-java/blackdown-jre/blackdown-jre-1.4.2.02.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/blackdown-jre-1.4.2.02.ebuild,v 1.1 2005/06/16 09:29:10 axxo Exp $ + +inherit java versionator + +JREV="02" + +JV="${PV}" +JV=$(get_version_component_range 1-3 ${JV}) +DESCRIPTION="Blackdown Java Runtime Environment ${PV}" +J_URI="mirror://blackdown.org/JDK-${JV}" +SRC_URI="amd64? ( ${J_URI}/amd64/${JREV}/j2re-${JV}-${JREV}-linux-amd64.bin ) + x86? ( ${J_URI}/i386/${JREV}/j2re-${JV}-${JREV}-linux-i586.bin )" +# sparc? ( ${J_URI}/sparc/${JREV}/j2re-${JV}-${JREV}-linux-sparc.bin )" +# ppc? ( ${J_URI}/ppc/${JREV}j2re-${JV}-${JREV}-linux-ppc.bin )" + +HOMEPAGE="http://www.blackdown.org" + +SLOT="1.4.2" +LICENSE="sun-bcla-java-vm" +KEYWORDS="-* ~amd64 ~x86" +IUSE="mozilla" +DEPEND="virtual/libc + >=dev-java/java-config-1.2.11 + >=sys-apps/sed-4" +PROVIDE="virtual/jre" + +S="${WORKDIR}/j2re${JV}" +# Extract the 'skip' value (offset of tarball) we should pass to tail +get_offset() { + [ ! -f "$1" ] && return + + local offset="`gawk ' + /^[[:space:]]*skip[[:space:]]*=/ { + + sub(/^[[:space:]]*skip[[:space:]]*=/, "") + SKIP = $0 + } + + END { print SKIP } + ' $1`" + + eval echo $offset +} + +src_unpack () { + local offset="`get_offset ${DISTDIR}/${A}`" + + if [ -z "${offset}" ] ; then + eerror "Failed to get offset of tarball!" + die "Failed to get offset of tarball!" + fi + + echo ">>> Unpacking ${A}..." + tail -n +${offset} ${DISTDIR}/${A} | tar --no-same-owner -jxpf - +} + +unpack_jars() { + # New to 1.4.2 + local PACKED_JARS="lib/tools.jar lib/rt.jar lib/jsse.jar lib/charsets.jar lib/ext/localedata.jar lib/plugin.jar javaws/javaws.jar" + local JAVAHOME="${D}/opt/${P}" + local UNPACK_CMD="" + if [ -f "$JAVAHOME/lib/unpack" ]; then + UNPACK_CMD="$JAVAHOME/lib/unpack" + chmod +x "$UNPACK_CMD" + #packerror="" + sed -i 's#/tmp/unpack.log#/dev/null\x00\x00\x00\x00\x00\x00#g' $UNPACK_CMD + for i in $PACKED_JARS; do + if [ -f "$JAVAHOME/`dirname $i`/`basename $i .jar`.pack" ]; then + einfo "Creating ${JAVAHOME}/${i}\n" + "$UNPACK_CMD" "$JAVAHOME/`dirname $i`/`basename $i .jar`.pack" "$JAVAHOME/$i" + if [ ! -f "$JAVAHOME/$i" ]; then + die "Failed to unpack jar files ${i}." # Please refer\n" + #ewarn "to the Troubleshooting section of the Installation\n" + #ewarn "Instructions on the download page for more information.n" + #packerror="1" + fi + rm -f "$JAVAHOME/`dirname $i`/`basename $i .jar`.pack" + fi + done + fi + rm -f "$UNPACK_CMD" +} + +src_install () { + typeset platform + + dodir /opt/${P} + + cp -a ${S}/{bin,lib,man,plugin} ${D}/opt/${P} || die "failed to copy" + + dodoc COPYRIGHT LICENSE README INSTALL + dohtml README.html + + # Install mozilla plugin + if use mozilla; then + case ${ARCH} in + x86) platform="i386" ;; + ppc) platform="ppc" ;; + sparc*) platform="sparc" ;; + amd64) platform="amd64" ;; + esac + install_mozilla_plugin /opt/${P}/plugin/${platform}/mozilla/libjavaplugin_oji.so + fi + + sed -i "s/standard symbols l/symbol/g" ${D}/opt/${P}/lib/font.properties + + find ${D}/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \; + + # install env into /etc/env.d + set_java_env ${FILESDIR}/${VMHANDLE} || die + + # Fix for bug 26629 + if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then + dosym /opt/${P}/lib/sparc /opt/${P}/lib/sparc64 + fi + + unpack_jars +} diff --git a/dev-java/blackdown-jre/files/blackdown-jre-1.4.2.02 b/dev-java/blackdown-jre/files/blackdown-jre-1.4.2.02 new file mode 100644 index 000000000000..493179d135b2 --- /dev/null +++ b/dev-java/blackdown-jre/files/blackdown-jre-1.4.2.02 @@ -0,0 +1,11 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/files/blackdown-jre-1.4.2.02,v 1.1 2005/06/16 09:30:43 axxo Exp $ + +VERSION="Blackdown JRE @PV@" +JAVA_HOME=/opt/@P@ +JRE_HOME=/opt/@P@ +ADDPATH="${JAVA_HOME}/bin" +ADDLDPATH="/opt/@P@/lib/" +MANPATH=/opt/@P@/man +ENV_VARS="JAVA_HOME JRE_HOME ADDPATH ADDLDPATH MANPATH" diff --git a/dev-java/blackdown-jre/files/digest-blackdown-jre-1.4.2.02 b/dev-java/blackdown-jre/files/digest-blackdown-jre-1.4.2.02 new file mode 100644 index 000000000000..e503b29bd0f4 --- /dev/null +++ b/dev-java/blackdown-jre/files/digest-blackdown-jre-1.4.2.02 @@ -0,0 +1,2 @@ +MD5 dc4d79332f7fc5a1a729415584ab0f22 j2re-1.4.2-02-linux-amd64.bin 13173125 +MD5 c209c959ce4ab0188e77d065ec57901a j2re-1.4.2-02-linux-i586.bin 13523250 |