summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2006-01-23 05:56:39 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2006-01-23 05:56:39 +0000
commit3f074cb6b9d29f73450f08a6f8c312814919c0bf (patch)
tree83b9c75d286c9f46ae8b1c0b25ddc0e59f32cd35 /dev-java/blackdown-jdk
parentRemoved old revisions. (diff)
downloadgentoo-2-3f074cb6b9d29f73450f08a6f8c312814919c0bf.tar.gz
gentoo-2-3f074cb6b9d29f73450f08a6f8c312814919c0bf.tar.bz2
gentoo-2-3f074cb6b9d29f73450f08a6f8c312814919c0bf.zip
Removed old revisions.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-java/blackdown-jdk')
-rw-r--r--dev-java/blackdown-jdk/ChangeLog6
-rw-r--r--dev-java/blackdown-jdk/blackdown-jdk-1.4.2.02.ebuild160
-rw-r--r--dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r1.ebuild178
-rw-r--r--dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.022
-rw-r--r--dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03-r12
5 files changed, 5 insertions, 343 deletions
diff --git a/dev-java/blackdown-jdk/ChangeLog b/dev-java/blackdown-jdk/ChangeLog
index c15d85eec056..bffbd7050b4d 100644
--- a/dev-java/blackdown-jdk/ChangeLog
+++ b/dev-java/blackdown-jdk/ChangeLog
@@ -1,6 +1,10 @@
# 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.98 2006/01/19 03:57:06 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/ChangeLog,v 1.99 2006/01/23 05:56:39 karltk Exp $
+
+ 23 Jan 2006; Karl Trygve Kalleberg <karltk@gentoo.org>
+ -blackdown-jdk-1.4.2.02.ebuild, -blackdown-jdk-1.4.2.03-r1.ebuild:
+ Removed old revisions.
*blackdown-jdk-1.4.2.03-r2 (19 Jan 2006)
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.02.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.02.ebuild
deleted file mode 100644
index 529ca26a0360..000000000000
--- a/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.02.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# 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.02.ebuild,v 1.9 2006/01/14 21:46:11 nichoj Exp $
-
-inherit java versionator
-
-JREV="02"
-JV=${PV%_*}
-JV=$(get_version_component_range 1-3 ${JV})
-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 browserplugin nsplugin mozilla"
-
-DEPEND="virtual/libc
- doc? ( =dev-java/java-sdk-docs-1.4.2* )"
-
-PROVIDE="virtual/jdk
- virtual/jre"
-
-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 || # global useflag for netscape-compat plugins
- use browserplugin || # deprecated but honor for now
- use mozilla; then # wrong but used to honor it
- 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 ${FILESDIR}/${VMHANDLE} || die
-
- # 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_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
- if ! use nsplugin && ( use browserplugin || use mozilla ); then
- echo
- ewarn "The 'browserplugin' and 'mozilla' useflags will not be honored in"
- ewarn "future jdk/jre ebuilds for plugin installation. Please"
- ewarn "update your USE to include 'nsplugin'."
- fi
-}
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r1.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r1.ebuild
deleted file mode 100644
index 6ea21cb9230a..000000000000
--- a/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r1.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# 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-r1.ebuild,v 1.1 2006/01/16 03:44:56 nichoj Exp $
-
-inherit java 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="-* ~amd64 ~x86"
-IUSE="X alsa doc browserplugin nsplugin mozilla"
-
-DEPEND="doc? ( =dev-java/java-sdk-docs-1.4.2* )"
-
-RDEPEND="${DEPEND}
- sys-libs/glibc
- alsa? ( media-libs/alsa-lib )
- X? ( || ( (
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXi
- x11-libs/libXp
- x11-libs/libXt
- x11-libs/libXtst
- )
- virtual/x11
- )
- )"
-
-PROVIDE="virtual/jdk
- virtual/jre"
-
-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 || # global useflag for netscape-compat plugins
- use browserplugin || # deprecated but honor for now
- use mozilla; then # wrong but used to honor it
- 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 ${FILESDIR}/${VMHANDLE} || die
-
- # Fix for bug 26629
- if [[ "${PROFILE_ARCH}" == "sparc64" ]]; then
- dosym /opt/${P}/jre/lib/sparc /opt/${P}/jre/lib/sparc64
- fi
-
-
- use !alsa && java_remove-libjsoundalsa /opt/${P}/jre/
-
- unpack_jars
-}
-
-pkg_postinst() {
- # Set as default system VM if none exists
- java_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
- if ! use nsplugin && ( use browserplugin || use mozilla ); then
- echo
- ewarn "The 'browserplugin' and 'mozilla' useflags will not be honored in"
- ewarn "future jdk/jre ebuilds for plugin installation. Please"
- ewarn "update your USE to include 'nsplugin'."
- fi
-}
diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.02 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.02
deleted file mode 100644
index 841dc541cfa7..000000000000
--- a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.02
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 71a00fbf52e39987790c3216a219c281 j2sdk-1.4.2-02-linux-amd64.bin 34055135
-MD5 a65733528562794b7838407084cabd9a j2sdk-1.4.2-02-linux-i586.bin 34361479
diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03-r1 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03-r1
deleted file mode 100644
index 9f25e6feb6e4..000000000000
--- a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.2.03-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 fa1add887128fb01d255356680a09445 j2sdk-1.4.2-03-linux-amd64.bin 33997205
-MD5 357e1b2c22abcef2db561a338f7dbfe3 j2sdk-1.4.2-03-linux-i586.bin 34375872