summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2005-12-25 17:37:08 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2005-12-25 17:37:08 +0000
commit5404f254d89d96e63afc534e7e5366e2fce75274 (patch)
tree9a5b4bb796f0da762606d1f0d33416ac3e679191 /dev-java/blackdown-jre
parentAdded perl IUSE flag. (diff)
downloadgentoo-2-5404f254d89d96e63afc534e7e5366e2fce75274.tar.gz
gentoo-2-5404f254d89d96e63afc534e7e5366e2fce75274.tar.bz2
gentoo-2-5404f254d89d96e63afc534e7e5366e2fce75274.zip
Version bump. Fixes bug #116466.
(Portage version: 2.1_pre2)
Diffstat (limited to 'dev-java/blackdown-jre')
-rw-r--r--dev-java/blackdown-jre/ChangeLog8
-rw-r--r--dev-java/blackdown-jre/Manifest13
-rw-r--r--dev-java/blackdown-jre/blackdown-jre-1.4.2.03.ebuild137
-rw-r--r--dev-java/blackdown-jre/files/blackdown-jre-1.4.2.0311
-rw-r--r--dev-java/blackdown-jre/files/digest-blackdown-jre-1.4.2.032
5 files changed, 160 insertions, 11 deletions
diff --git a/dev-java/blackdown-jre/ChangeLog b/dev-java/blackdown-jre/ChangeLog
index 07d900ffe899..c348fa1fae12 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.68 2005/10/18 20:20:51 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/ChangeLog,v 1.69 2005/12/25 17:37:08 betelgeuse Exp $
+
+*blackdown-jre-1.4.2.03 (25 Dec 2005)
+
+ 25 Dec 2005; Petteri Räty <betelgeuse@gentoo.org>
+ +files/blackdown-jre-1.4.2.03, +blackdown-jre-1.4.2.03.ebuild:
+ Version bump. Fixes bug #116466.
18 Oct 2005; Aron Griffis <agriffis@gentoo.org>
blackdown-jre-1.3.1-r9.ebuild, blackdown-jre-1.4.1-r1.ebuild,
diff --git a/dev-java/blackdown-jre/Manifest b/dev-java/blackdown-jre/Manifest
index e311b73fefbb..438f7cca7614 100644
--- a/dev-java/blackdown-jre/Manifest
+++ b/dev-java/blackdown-jre/Manifest
@@ -1,26 +1,19 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 f58bb74f11453d8cdcae2e2d54ab89c3 ChangeLog 11250
MD5 f46f38d24a8e09a0248800bbe8e7345b blackdown-jre-1.3.1-r9.ebuild 2142
MD5 7095ff1843f160ccb8c433a894cf131f blackdown-jre-1.4.1-r1.ebuild 3015
MD5 8c1b240e5c7f57f80947f7d1c8dcb76c blackdown-jre-1.4.2.01-r1.ebuild 3812
MD5 bcdb68fa4cd74925bffec10a676f3844 blackdown-jre-1.4.2.02-r1.ebuild 4055
MD5 6497d0dafadf32c00c7dccfbb0c5f9e2 blackdown-jre-1.4.2.02.ebuild 3811
+MD5 df3cc5b939df7fa3aad7118052827974 blackdown-jre-1.4.2.03.ebuild 4046
MD5 3facc5cbb2965471e9b1986926221552 files/blackdown-jre-1.3.1 429
MD5 271b1f89b9f0f70dd5154090978263b1 files/blackdown-jre-1.4.1 425
MD5 57462605c4cce61fe2ac166306c5b491 files/blackdown-jre-1.4.2.01 428
MD5 d807d4748f853aab768ead08cffd5454 files/blackdown-jre-1.4.2.02 428
+MD5 d807d4748f853aab768ead08cffd5454 files/blackdown-jre-1.4.2.03 428
MD5 44d855f52a687d922d2230b27bccad0f files/digest-blackdown-jre-1.3.1-r9 79
MD5 773e3dae29edd26397f43c1e1ab99dae files/digest-blackdown-jre-1.4.1-r1 248
MD5 7d186c2364cc118125d06076161306a8 files/digest-blackdown-jre-1.4.2.01-r1 151
MD5 71bbb04601fe32e845c98fab7f732ae4 files/digest-blackdown-jre-1.4.2.02 151
MD5 71bbb04601fe32e845c98fab7f732ae4 files/digest-blackdown-jre-1.4.2.02-r1 151
+MD5 04af3df8c78a9249bbe79570db1fefea files/digest-blackdown-jre-1.4.2.03 151
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFDVVk9JrHF4yAQTrARAuAKAJ9RLTtghOUy5pE+xNPq7ZA0aQZ1DwCfW64c
-4635vIIkpqqxFYde3PhCP28=
-=TNyg
------END PGP SIGNATURE-----
diff --git a/dev-java/blackdown-jre/blackdown-jre-1.4.2.03.ebuild b/dev-java/blackdown-jre/blackdown-jre-1.4.2.03.ebuild
new file mode 100644
index 000000000000..8c0cb7044daf
--- /dev/null
+++ b/dev-java/blackdown-jre/blackdown-jre-1.4.2.03.ebuild
@@ -0,0 +1,137 @@
+# 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.03.ebuild,v 1.1 2005/12/25 17:37:08 betelgeuse 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 Runtime Environment"
+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="browserplugin nsplugin mozilla"
+DEPEND="virtual/libc
+ >=dev-java/java-config-1.2.11
+ >=sys-apps/sed-4"
+PROVIDE="virtual/jre"
+
+S="${WORKDIR}/j2re${JV}"
+
+JAVAHOME="${D}/opt/${P}"
+
+# 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 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 -pPR ${S}/{bin,lib,man,plugin} ${JAVAHOME} || die "failed to copy"
+
+ newicon ${JAVAHOME}/plugin/desktop/sun_java.png ${PN}-${SLOT}.png || die "failed to install icon"
+ rm -fr ${JAVAHOME}/plugin/desktop
+ make_desktop_entry "ControlPanel" "Java Control Panel" "${PN}-${SLOT}.png" "Settings" \
+ || die "failed to make desktop entry"
+
+ dodoc COPYRIGHT README
+
+ # Install mozilla plugin
+ 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
+ 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 ${JAVAHOME} -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
+}
+
+pkg_postinst() {
+ java_pkg_postinst
+ 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-jre/files/blackdown-jre-1.4.2.03 b/dev-java/blackdown-jre/files/blackdown-jre-1.4.2.03
new file mode 100644
index 000000000000..efbc211280b2
--- /dev/null
+++ b/dev-java/blackdown-jre/files/blackdown-jre-1.4.2.03
@@ -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.03,v 1.1 2005/12/25 17:37:08 betelgeuse 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.03 b/dev-java/blackdown-jre/files/digest-blackdown-jre-1.4.2.03
new file mode 100644
index 000000000000..864b6ea3cefc
--- /dev/null
+++ b/dev-java/blackdown-jre/files/digest-blackdown-jre-1.4.2.03
@@ -0,0 +1,2 @@
+MD5 0785ca638962dc85a31dd8a6dc40007a j2re-1.4.2-03-linux-amd64.bin 13198020
+MD5 cf4f3c8c86f64fd532f074943b432285 j2re-1.4.2-03-linux-i586.bin 13541431