summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-06-25 16:47:40 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-06-25 16:47:40 +0000
commit28681c161052fe611ef4ffd6c242dd0889b949bb (patch)
tree1c420d58fe74a2b22b0b40fc92692a53aaf72a40 /dev-java
parentSign the manifest.. need to stop forgetting that. (diff)
downloadgentoo-2-28681c161052fe611ef4ffd6c242dd0889b949bb.tar.gz
gentoo-2-28681c161052fe611ef4ffd6c242dd0889b949bb.tar.bz2
gentoo-2-28681c161052fe611ef4ffd6c242dd0889b949bb.zip
Revision bumps to add support for new Java system.
(Portage version: 2.1.1_pre1)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/blackdown-jdk/ChangeLog7
-rw-r--r--dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r23.ebuild85
-rw-r--r--dev-java/blackdown-jdk/blackdown-jdk-1.4.1-r12.ebuild142
-rw-r--r--dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r12.ebuild153
-rw-r--r--dev-java/blackdown-jdk/files/blackdown-jdk-1.3.env17
-rw-r--r--dev-java/blackdown-jdk/files/blackdown-jdk-1.4.1.env17
-rw-r--r--dev-java/blackdown-jdk/files/blackdown-jdk-1.4.2.env17
-rw-r--r--dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r235
-rw-r--r--dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r84
-rw-r--r--dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1-r14
-rw-r--r--dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1-r126
-rw-r--r--dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.032
-rw-r--r--dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03-r124
-rw-r--r--dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03-r22
14 files changed, 463 insertions, 2 deletions
diff --git a/dev-java/blackdown-jdk/ChangeLog b/dev-java/blackdown-jdk/ChangeLog
index bffbd7050b4d..af08b3144de3 100644
--- a/dev-java/blackdown-jdk/ChangeLog
+++ b/dev-java/blackdown-jdk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/blackdown-jdk
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/ChangeLog,v 1.99 2006/01/23 05:56:39 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/ChangeLog,v 1.100 2006/06/25 16:47:40 nichoj Exp $
+
+ 25 Jun 2006; Joshua Nichols <nichoj@gentoo.org>
+ +files/blackdown-jdk-1.3.env, +files/blackdown-jdk-1.4.1.env,
+ +files/blackdown-jdk-1.4.2.env:
+ Revision bumps to add support for new Java system.
23 Jan 2006; Karl Trygve Kalleberg <karltk@gentoo.org>
-blackdown-jdk-1.4.2.02.ebuild, -blackdown-jdk-1.4.2.03-r1.ebuild:
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r23.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r23.ebuild
new file mode 100644
index 000000000000..b8b2afb3bf8f
--- /dev/null
+++ b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r23.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r23.ebuild,v 1.1 2006/06/25 16:47:40 nichoj Exp $
+
+inherit java-vm-2
+
+S=${WORKDIR}/j2sdk1.3.1
+DESCRIPTION="Blackdown Java Development Kit 1.3.1"
+HOMEPAGE="http://www.blackdown.org"
+SRC_URI="x86? ( mirror://blackdown.org/JDK-${PV}/i386/FCS/j2sdk-${PV}-FCS-linux-i386.tar.bz2 )
+ ppc? ( mirror://blackdown.org/JDK-${PV}/ppc/FCS-02b/j2sdk-${PV}-02b-FCS-linux-ppc.bin )
+ sparc? ( mirror://blackdown.org/JDK-${PV}/sparc/FCS-02b/j2sdk-${PV}-02b-FCS-linux-sparc.bin )"
+
+LICENSE="sun-bcla-java-vm"
+SLOT="1.3"
+KEYWORDS="~x86 ~ppc ~sparc -*"
+IUSE="doc nsplugin"
+
+DEPEND="virtual/libc
+ >=dev-java/java-config-0.2.5
+ doc? ( =dev-java/java-sdk-docs-1.3.1* )"
+
+PROVIDE="virtual/jdk
+ virtual/jre"
+
+src_unpack() {
+ if use ppc || use sparc ; then
+ tail -n +400 ${DISTDIR}/${A} | tar jxpf -
+ else
+ unpack ${A}
+ fi
+
+ if use sparc ; then
+ # Everything is owned by 1000.100, for some reason..
+ chown -R root:root .
+ fi
+}
+
+
+src_install() {
+
+ dodir /opt/${P}
+
+ cp -dpR ${S}/{bin,jre,lib,man,include,include-old} ${D}/opt/${P}
+
+ dodir /opt/${P}/share/java
+ cp -R ${S}/{demo,src.jar} ${D}/opt/${P}/share
+
+ dodoc README
+ dohtml README.html
+
+ if use nsplugin; then
+ if [ "${ARCH}" == "x86" ] ; then
+ PLATFORM="i386"
+ elif [ "${ARCH}" == "ppc" ] ; then
+ PLATFORM="ppc"
+ elif [ "${ARCH}" == "sparc" ] ; then
+ PLATFORM="sparc"
+ fi
+
+ install_mozilla_plugin /opt/${P}/jre/plugin/${PLATFORM}/mozilla/javaplugin_oji.so
+ fi
+
+ find ${D}/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \;
+
+ mv ${D}/opt/${P}/jre/lib/font.properties ${D}/opt/${P}/jre/lib/font.properties.orig
+ sed "s/standard symbols l/symbol/g" \
+ < ${D}/opt/${P}/jre/lib/font.properties.orig \
+ > ${D}/opt/${P}/jre/lib/font.properties
+ rm ${D}/opt/${P}/jre/lib/font.properties.orig
+
+ # install env into /etc/env.d
+ set_java_env
+}
+
+pkg_postinst() {
+ # Set as default system VM if none exists
+ java-vm-2_pkg_postinst
+
+ if use nsplugin; then
+ einfo "The java mozilla plugin supplied by this package does not"
+ einfo "work with newer version mozilla/firefox."
+ einfo "You need >=${PN}-1.4 for them."
+ fi
+}
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.4.1-r12.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.4.1-r12.ebuild
new file mode 100644
index 000000000000..999f7fcb6d4a
--- /dev/null
+++ b/dev-java/blackdown-jdk/blackdown-jdk-1.4.1-r12.ebuild
@@ -0,0 +1,142 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.4.1-r12.ebuild,v 1.1 2006/06/25 16:47:40 nichoj Exp $
+
+
+inherit java-vm-2
+
+JREV="01"
+
+S="${WORKDIR}/j2sdk${PV}"
+DESCRIPTION="Blackdown Java Development Kit ${PV}"
+HOMEPAGE="http://www.blackdown.org"
+J_URI="ftp://ftp.gwdg.de/pub/languages/java/linux/JDK-${PV}"
+SRC_URI="x86? ( ${J_URI}/i386/${JREV}/j2sdk-${PV}-${JREV}-linux-i586-gcc3.2.bin )
+ amd64? ( ${J_URI}/i386/${JREV}/j2sdk-${PV}-${JREV}-linux-i586-gcc3.2.bin )
+ sparc? ( ${J_URI}/sparc/${JREV}/j2sdk-${PV}-${JREV}-linux-sparc-gcc3.2.bin )"
+
+# this is needed for proper operating under a PaX kernel without activated grsecurity acl
+CHPAX_CONSERVATIVE_FLAGS="pemsv"
+
+LICENSE="sun-bcla-java-vm"
+SLOT="1.4.1"
+KEYWORDS="-* ~x86 ~sparc ~amd64"
+IUSE="doc emul-linux-x86 nsplugin"
+
+DEPEND="virtual/libc
+ >=dev-java/java-config-0.2.6
+ doc? ( =dev-java/java-sdk-docs-1.4.1* )
+ emul-linux-x86? ( >=app-emulation/emul-linux-x86-baselibs-1.0 )"
+
+PROVIDE="virtual/jdk
+ virtual/jre"
+JAVA_PROVIDE="jdbc-stdext"
+
+# 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 -
+}
+
+
+src_install() {
+ local PLATFORM=
+
+ dodir /opt/${P}
+
+ cp -a ${S}/{bin,jre,lib,man,include} ${D}/opt/${P}
+
+ dodir /opt/${P}/share/java
+ cp -a ${S}/{demo,src.zip} ${D}/opt/${P}/share
+
+ dodoc README
+ dohtml README.html
+
+ # do not install plugins, security vulnerability #72221
+ rm -rf ${D}/opt/${P}/jre/plugin/
+
+ #if use nsplugin; then
+ # if [ "${ARCH}" = "x86" ] ; then
+ # PLATFORM="i386"
+ # fi
+
+ # if [ "${ARCH}" = "amd64" ] ; then
+ # PLATFORM="i386"
+ # fi
+
+ # if [ "${ARCH}" = "sparc" ] ; then
+ # PLATFORM="sparc"
+ # fi
+
+ # install_mozilla_plugin /opt/${P}/jre/plugin/${PLATFORM}/mozilla/javaplugin_oji.so
+ #fi
+
+ find ${D}/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \;
+
+ dosed "s/standard symbols l/symbol/g" \
+ /opt/${P}/jre/lib/font.properties
+
+ # install env into /etc/env.d
+ set_java_env
+
+ # Fix for bug 26629
+ if [[ "${PROFILE_ARCH}" == "sparc64" ]]; then
+ dosym /opt/${P}/jre/lib/sparc /opt/${P}/jre/lib/sparc64
+ fi
+}
+
+pkg_postinst() {
+ # Set as default system VM if none exists
+ java-vm-2_pkg_postinst
+
+ if use nsplugin; then
+ echo
+ einfo "nsplugin plugin NOT installed"
+ einfo "http://www.blackdown.org/java-linux/java2-status/security/Blackdown-SA-2004-01.txt"
+ fi
+ # if chpax is on the target system, set the appropriate PaX flags
+ # this will not hurt the binary, it modifies only unused ELF bits
+ # but may confuse things like AV scanners and automatic tripwire
+ if has_version "sys-apps/chpax"
+ then
+ echo
+ einfo "setting up conservative PaX flags for jar and javac"
+
+ for paxkills in "jar" "javac" "java" "javah" "javadoc"
+ do
+ chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${P}/bin/$paxkills
+ done
+
+ # /opt/blackdown-jdk-1.4.1/jre/bin/java_vm
+ chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${P}/jre/bin/java_vm
+
+ einfo "you should have seen lots of chpax output above now"
+ ewarn "make sure the grsec ACL contains those entries also"
+ ewarn "because enabling it will override the chpax setting"
+ ewarn "on the physical files - help for PaX and grsecurity"
+ ewarn "can be given by #gentoo-hardened + hardened@gentoo.org"
+ fi
+}
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r12.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r12.ebuild
new file mode 100644
index 000000000000..cc33d0d93159
--- /dev/null
+++ b/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r12.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r12.ebuild,v 1.1 2006/06/25 16:47:40 nichoj Exp $
+
+inherit java-vm-2 versionator
+
+JREV=$(get_version_component_range 4- )
+JV=$(get_version_component_range 1-3 )
+J_URI="mirror://blackdown.org/JDK-${JV}"
+
+DESCRIPTION="Blackdown Java Development Kit"
+SRC_URI="amd64? ( ${J_URI}/amd64/${JREV}/j2sdk-${JV}-${JREV}-linux-amd64.bin )
+ x86? ( ${J_URI}/i386/${JREV}/j2sdk-${JV}-${JREV}-linux-i586.bin )"
+
+HOMEPAGE="http://www.blackdown.org"
+
+SLOT="1.4.2"
+LICENSE="sun-bcla-java-vm"
+KEYWORDS="-* ~x86 ~amd64"
+IUSE="doc nsplugin"
+
+DEPEND="virtual/libc
+ >=dev-java/java-config-1.2.11
+ doc? ( =dev-java/java-sdk-docs-1.4.2* )"
+
+PROVIDE="virtual/jdk
+ virtual/jre"
+JAVA_PROVIDE="jdbc-stdext"
+
+S="${WORKDIR}/j2sdk${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)
+
+ echo $offset
+}
+
+src_unpack() {
+ local offset=$(get_offset ${DISTDIR}/${A})
+
+ if [ -z "${offset}" ] ; then
+ die "Failed to get offset of tarball!"
+ fi
+
+ echo ">>> Unpacking ${A}..."
+ tail -n +${offset} ${DISTDIR}/${A} | tar --no-same-owner -jxpf - || die
+}
+
+unpack_jars() {
+ # New to 1.4.2
+ local PACKED_JARS="lib/tools.jar jre/lib/rt.jar jre/lib/jsse.jar jre/lib/charsets.jar jre/lib/ext/localedata.jar jre/lib/plugin.jar jre/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
+ ewarn "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 -pPR ${S}/{bin,jre,lib,man,include} ${D}/opt/${P} || die "failed to copy"
+
+ dodir /opt/${P}/share/java
+ cp -pPR ${S}/{demo,src.zip} ${D}/opt/${P}/share || die "failed to copy"
+
+ dodoc README
+ dohtml README.html
+
+ if use nsplugin; then
+ case ${ARCH} in
+ amd64) platform="amd64" ;;
+ x86) platform="i386" ;;
+ ppc) platform="ppc" ;;
+ sparc*) platform="sparc" ;;
+ esac
+
+ install_mozilla_plugin /opt/${P}/jre/plugin/${platform}/mozilla/libjavaplugin_oji.so
+ else
+ rm -f ${D}/opt/${P}/jre/plugin/${platform}/mozilla/libjavaplugin_oji.so
+ fi
+
+ find ${D}/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \;
+
+ sed -i "s/standard symbols l/symbol/g" ${D}/opt/${P}/jre/lib/font.properties
+
+ # install env into /etc/env.d
+ set_java_env
+
+ # Fix for bug 26629
+ if [[ "${PROFILE_ARCH}" == "sparc64" ]]; then
+ dosym /opt/${P}/jre/lib/sparc /opt/${P}/jre/lib/sparc64
+ fi
+
+ unpack_jars
+}
+
+pkg_postinst() {
+ # Set as default system VM if none exists
+ java-vm-2_pkg_postinst
+
+ # if chpax is on the target system, set the appropriate PaX flags
+ # this will not hurt the binary, it modifies only unused ELF bits
+ # but may confuse things like AV scanners and automatic tripwire
+ if has_version "sys-apps/chpax"
+ then
+ echo
+ einfo "setting up conservative PaX flags for jar and javac"
+
+ CHPAX_CONSERVATIVE_FLAGS="pemrxs"
+
+ for paxkills in "jar" "javac" "java" "javah" "javadoc"
+ do
+ chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${P}/bin/$paxkills
+ done
+
+ # /opt/blackdown-jdk-1.4.1/jre/bin/java_vm
+ chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${P}/jre/bin/java_vm
+
+ einfo "you should have seen lots of chpax output above now"
+ ewarn "make sure the grsec ACL contains those entries also"
+ ewarn "because enabling it will override the chpax setting"
+ ewarn "on the physical files - help for PaX and grsecurity"
+ ewarn "can be given by #gentoo-hardened + hardened@gentoo.org"
+ fi
+}
diff --git a/dev-java/blackdown-jdk/files/blackdown-jdk-1.3.env b/dev-java/blackdown-jdk/files/blackdown-jdk-1.3.env
new file mode 100644
index 000000000000..2f8b08058311
--- /dev/null
+++ b/dev-java/blackdown-jdk/files/blackdown-jdk-1.3.env
@@ -0,0 +1,17 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/files/blackdown-jdk-1.3.env,v 1.1 2006/06/25 16:47:40 nichoj Exp $
+
+VERSION="Blackdown JDK @PV@"
+JAVA_HOME=/opt/@P@
+JDK_HOME=/opt/@P@
+JAVAC=${JAVA_HOME}/bin/javac
+PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
+ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
+LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/jre/lib/@PLATFORM@/classic/"
+MANPATH=/opt/@P@/man
+PROVIDES_TYPE="JDK JRE"
+PROVIDES_VERSION="1.3"
+BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/sunrsasign.jar:${JAVA_HOME}/jre/lib/i18n.ja"
+ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
+GENERATION="2"
diff --git a/dev-java/blackdown-jdk/files/blackdown-jdk-1.4.1.env b/dev-java/blackdown-jdk/files/blackdown-jdk-1.4.1.env
new file mode 100644
index 000000000000..3a6ee758a2d8
--- /dev/null
+++ b/dev-java/blackdown-jdk/files/blackdown-jdk-1.4.1.env
@@ -0,0 +1,17 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/files/blackdown-jdk-1.4.1.env,v 1.1 2006/06/25 16:47:40 nichoj Exp $
+
+VERSION="Blackdown JDK @PV@"
+JAVA_HOME=/opt/@P@
+JDK_HOME=/opt/@P@
+JAVAC=${JAVA_HOME}/bin/javac
+PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
+ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
+LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/jre/lib/@PLATFORM@/classic/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
+MANPATH=/opt/@P@/man
+PROVIDES_TYPE="JDK JRE"
+PROVIDES_VERSION="1.4"
+BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/sunrsasign.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar"
+ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
+GENERATION="2"
diff --git a/dev-java/blackdown-jdk/files/blackdown-jdk-1.4.2.env b/dev-java/blackdown-jdk/files/blackdown-jdk-1.4.2.env
new file mode 100644
index 000000000000..b57f49707fa0
--- /dev/null
+++ b/dev-java/blackdown-jdk/files/blackdown-jdk-1.4.2.env
@@ -0,0 +1,17 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/files/blackdown-jdk-1.4.2.env,v 1.1 2006/06/25 16:47:40 nichoj Exp $
+
+VERSION="Blackdown JDK @PV@"
+JAVA_HOME=/opt/@P@
+JDK_HOME=/opt/@P@
+JAVAC=${JAVA_HOME}/bin/javac
+PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
+ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
+LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/jre/lib/@PLATFORM@/classic/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
+MANPATH=/opt/@P@/man
+PROVIDES_TYPE="JDK JRE"
+PROVIDES_VERSION="1.4"
+BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/sunrsasign.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar"
+ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
+GENERATION="2"
diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r23 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r23
new file mode 100644
index 000000000000..b859a55e3ea6
--- /dev/null
+++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r23
@@ -0,0 +1,5 @@
+MD5 de2f94766988c42f6197d33e1bc6eb56 j2sdk-1.3.1-02b-FCS-linux-ppc.bin 21380823
+MD5 25eda06ac225a995211ba4f28bb7260f j2sdk-1.3.1-02b-FCS-linux-sparc.bin 21154081
+MD5 142ddf0a54a06ad81a5df9a31e28431a j2sdk-1.3.1-FCS-linux-i386.tar.bz2 24560062
+RMD160 7f72fb8c52d4069a0a1b77ed5fcfcc8687cb49bb j2sdk-1.3.1-FCS-linux-i386.tar.bz2 24560062
+SHA256 4c247a6c6bb15f5082fb6b22301cdbf46fd70abeb8e75e135a745641303f591c j2sdk-1.3.1-FCS-linux-i386.tar.bz2 24560062
diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r8 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r8
index f718ec01a220..b859a55e3ea6 100644
--- a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r8
+++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r8
@@ -1,3 +1,5 @@
-MD5 142ddf0a54a06ad81a5df9a31e28431a j2sdk-1.3.1-FCS-linux-i386.tar.bz2 24560062
MD5 de2f94766988c42f6197d33e1bc6eb56 j2sdk-1.3.1-02b-FCS-linux-ppc.bin 21380823
MD5 25eda06ac225a995211ba4f28bb7260f j2sdk-1.3.1-02b-FCS-linux-sparc.bin 21154081
+MD5 142ddf0a54a06ad81a5df9a31e28431a j2sdk-1.3.1-FCS-linux-i386.tar.bz2 24560062
+RMD160 7f72fb8c52d4069a0a1b77ed5fcfcc8687cb49bb j2sdk-1.3.1-FCS-linux-i386.tar.bz2 24560062
+SHA256 4c247a6c6bb15f5082fb6b22301cdbf46fd70abeb8e75e135a745641303f591c j2sdk-1.3.1-FCS-linux-i386.tar.bz2 24560062
diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1-r1 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1-r1
index 992be0bc4817..928d1842c258 100644
--- a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1-r1
+++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1-r1
@@ -1,2 +1,6 @@
MD5 a0c7838233603fccb30641998195e8bc j2sdk-1.4.1-01-linux-i586-gcc3.2.bin 40813906
+RMD160 be15fbc9f22ed0fedf8eda2e83b8e67768b2a56e j2sdk-1.4.1-01-linux-i586-gcc3.2.bin 40813906
+SHA256 57bede4f3488ab410dad8fbcdaf1367418eb0e792bcd853375fdeb6f4a398e03 j2sdk-1.4.1-01-linux-i586-gcc3.2.bin 40813906
MD5 4e4d248a5b415e5d3e25f53fa682ed33 j2sdk-1.4.1-01-linux-sparc-gcc3.2.bin 40292565
+RMD160 a2672b91dfd8404addfaf61234d0bd7e224492ec j2sdk-1.4.1-01-linux-sparc-gcc3.2.bin 40292565
+SHA256 08b05043e1ee7451e8b6ec6cf08e3a57c94e739f716b19f8afd2425491dfb5e3 j2sdk-1.4.1-01-linux-sparc-gcc3.2.bin 40292565
diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1-r12 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1-r12
new file mode 100644
index 000000000000..928d1842c258
--- /dev/null
+++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1-r12
@@ -0,0 +1,6 @@
+MD5 a0c7838233603fccb30641998195e8bc j2sdk-1.4.1-01-linux-i586-gcc3.2.bin 40813906
+RMD160 be15fbc9f22ed0fedf8eda2e83b8e67768b2a56e j2sdk-1.4.1-01-linux-i586-gcc3.2.bin 40813906
+SHA256 57bede4f3488ab410dad8fbcdaf1367418eb0e792bcd853375fdeb6f4a398e03 j2sdk-1.4.1-01-linux-i586-gcc3.2.bin 40813906
+MD5 4e4d248a5b415e5d3e25f53fa682ed33 j2sdk-1.4.1-01-linux-sparc-gcc3.2.bin 40292565
+RMD160 a2672b91dfd8404addfaf61234d0bd7e224492ec j2sdk-1.4.1-01-linux-sparc-gcc3.2.bin 40292565
+SHA256 08b05043e1ee7451e8b6ec6cf08e3a57c94e739f716b19f8afd2425491dfb5e3 j2sdk-1.4.1-01-linux-sparc-gcc3.2.bin 40292565
diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03
index 9f25e6feb6e4..cf02f7bfd09d 100644
--- a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03
+++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03
@@ -1,2 +1,4 @@
MD5 fa1add887128fb01d255356680a09445 j2sdk-1.4.2-03-linux-amd64.bin 33997205
MD5 357e1b2c22abcef2db561a338f7dbfe3 j2sdk-1.4.2-03-linux-i586.bin 34375872
+RMD160 47e06e37867237106caf8e5a2c635055a5203d90 j2sdk-1.4.2-03-linux-i586.bin 34375872
+SHA256 728f661fdf9510de3c01a79259d492a98d9b636034d14e1c930118280dba9df9 j2sdk-1.4.2-03-linux-i586.bin 34375872
diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03-r12 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03-r12
new file mode 100644
index 000000000000..cf02f7bfd09d
--- /dev/null
+++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03-r12
@@ -0,0 +1,4 @@
+MD5 fa1add887128fb01d255356680a09445 j2sdk-1.4.2-03-linux-amd64.bin 33997205
+MD5 357e1b2c22abcef2db561a338f7dbfe3 j2sdk-1.4.2-03-linux-i586.bin 34375872
+RMD160 47e06e37867237106caf8e5a2c635055a5203d90 j2sdk-1.4.2-03-linux-i586.bin 34375872
+SHA256 728f661fdf9510de3c01a79259d492a98d9b636034d14e1c930118280dba9df9 j2sdk-1.4.2-03-linux-i586.bin 34375872
diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03-r2 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03-r2
index 9f25e6feb6e4..cf02f7bfd09d 100644
--- a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03-r2
+++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03-r2
@@ -1,2 +1,4 @@
MD5 fa1add887128fb01d255356680a09445 j2sdk-1.4.2-03-linux-amd64.bin 33997205
MD5 357e1b2c22abcef2db561a338f7dbfe3 j2sdk-1.4.2-03-linux-i586.bin 34375872
+RMD160 47e06e37867237106caf8e5a2c635055a5203d90 j2sdk-1.4.2-03-linux-i586.bin 34375872
+SHA256 728f661fdf9510de3c01a79259d492a98d9b636034d14e1c930118280dba9df9 j2sdk-1.4.2-03-linux-i586.bin 34375872