summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-01-25 16:26:40 +0000
committerFabian Groffen <grobian@gentoo.org>2010-01-25 16:26:40 +0000
commit419b93d4940a5557ddf65f72288bd4e97a8d4792 (patch)
tree52816b63248d8ec194cae220ee2dfd103869a0c0 /dev-java/apple-jdk-bin
parentVersion bump (fixes bug #299630, #302161 and #296830, thanks to Manu Wächter... (diff)
downloadhistorical-419b93d4940a5557ddf65f72288bd4e97a8d4792.tar.gz
historical-419b93d4940a5557ddf65f72288bd4e97a8d4792.tar.bz2
historical-419b93d4940a5557ddf65f72288bd4e97a8d4792.zip
Imported from Prefix tree
Package-Manager: portage-2.2.00.15200-prefix/cvs/Darwin powerpc
Diffstat (limited to 'dev-java/apple-jdk-bin')
-rw-r--r--dev-java/apple-jdk-bin/ChangeLog18
-rw-r--r--dev-java/apple-jdk-bin/Manifest8
-rw-r--r--dev-java/apple-jdk-bin/apple-jdk-bin-1.4.2.ebuild45
-rw-r--r--dev-java/apple-jdk-bin/apple-jdk-bin-1.5.0.ebuild45
-rw-r--r--dev-java/apple-jdk-bin/apple-jdk-bin-1.6.0.ebuild49
-rw-r--r--dev-java/apple-jdk-bin/files/apple-jdk-bin-1.4.env17
-rw-r--r--dev-java/apple-jdk-bin/files/apple-jdk-bin-1.5.env17
-rw-r--r--dev-java/apple-jdk-bin/files/apple-jdk-bin-1.6.env17
-rw-r--r--dev-java/apple-jdk-bin/metadata.xml5
9 files changed, 221 insertions, 0 deletions
diff --git a/dev-java/apple-jdk-bin/ChangeLog b/dev-java/apple-jdk-bin/ChangeLog
new file mode 100644
index 000000000000..3021104523f7
--- /dev/null
+++ b/dev-java/apple-jdk-bin/ChangeLog
@@ -0,0 +1,18 @@
+# ChangeLog for dev-java/apple-jdk-bin
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/apple-jdk-bin/ChangeLog,v 1.1 2010/01/25 16:26:39 grobian Exp $
+
+*apple-jdk-bin-1.6.0 (25 Jan 2010)
+*apple-jdk-bin-1.5.0 (25 Jan 2010)
+*apple-jdk-bin-1.4.2 (25 Jan 2010)
+
+ 25 Jan 2010; Fabian Groffen <grobian@gentoo.org>
+ +apple-jdk-bin-1.4.2.ebuild, +files/apple-jdk-bin-1.4.env,
+ +apple-jdk-bin-1.5.0.ebuild, +files/apple-jdk-bin-1.5.env,
+ +apple-jdk-bin-1.6.0.ebuild, +files/apple-jdk-bin-1.6.env, +metadata.xml:
+ Imported from Prefix tree
+
+ 19 Nov 2007; Fabian Groffen <grobian@gentoo.org> ChangeLog:
+ First shot at some symlinks to Apple's installed Java, as enabler for the
+ OSX platform
+
diff --git a/dev-java/apple-jdk-bin/Manifest b/dev-java/apple-jdk-bin/Manifest
new file mode 100644
index 000000000000..d9aa59fddeb0
--- /dev/null
+++ b/dev-java/apple-jdk-bin/Manifest
@@ -0,0 +1,8 @@
+AUX apple-jdk-bin-1.4.env 1073 RMD160 8f3ffe67792c9b001c9081c0ee8d001edbd4fa9a SHA1 2d480a25320a9011e9e700d0df313b37601d9e6d SHA256 6768e274bf7d64b1ab7547c2872941755eff1dada70e96c848e2e1e8d12437b8
+AUX apple-jdk-bin-1.5.env 1022 RMD160 03b7290ace45a27d15b8c4a8093d5aa179e33962 SHA1 76bd72e1636692474b91f13dfebc6ccb404d847a SHA256 a4f07ffb5e3fff6c5e800a406e6e10498626aeed52c9dd662e92f0a5cac04626
+AUX apple-jdk-bin-1.6.env 1022 RMD160 64762a7bde754d0c4addb956ea2a92eccf0bd7f7 SHA1 5ada1bdce344b8797e6390b2c5d7edc93ad3e739 SHA256 5dc55cdb0f2cf366e6cb83a70bb324978fd250142451108644f09c71f1558f52
+EBUILD apple-jdk-bin-1.4.2.ebuild 1415 RMD160 2b5dba57b91dd0593e1a8a1ef4bc07185f7f3a4e SHA1 4042a45967983e3ff89da6abd012bc2ff5e126df SHA256 40b2afd27934d2546dfa71bcff5f8fcd7d7b50f007859f41a364963e4bedb295
+EBUILD apple-jdk-bin-1.5.0.ebuild 1415 RMD160 84374ab49172a20e9e814a9d9897dd21d4079c0b SHA1 0a9455ee779b859b4e9db409ebcdc5dede04fb36 SHA256 e7feff090edaa9ec19033f7a889643e97ed8372315b284640244a3367a5a4ba1
+EBUILD apple-jdk-bin-1.6.0.ebuild 1495 RMD160 9cd49f96d8afda1e584cecc11bef57095b6157b0 SHA1 d3bcaa2120af5bc0c139bf6560c2407a3c221d31 SHA256 33adad9b48d46fc85ffc03add8d3685210ddee8c6097f72fe69ddcdfc68f01bd
+MISC ChangeLog 756 RMD160 4eb9a65ba56bb63f3bab7eeffffcb520b57a63ff SHA1 12313747ae6042cb0dab4bee0722c2971e722780 SHA256 48a1d5b0f6bdbb4e4abdcb33f4c52cf0fe34ee270784978005a57b1c73506572
+MISC metadata.xml 160 RMD160 baab82f4bc435813cfde4796d42840882a9a4f8f SHA1 144e248704973cfad031c92a930aad01a62a2fda SHA256 27667dd7db1d188c12342624ec5ff2155717821d646e442aef9a691c65539ac4
diff --git a/dev-java/apple-jdk-bin/apple-jdk-bin-1.4.2.ebuild b/dev-java/apple-jdk-bin/apple-jdk-bin-1.4.2.ebuild
new file mode 100644
index 000000000000..abcf9482ef3c
--- /dev/null
+++ b/dev-java/apple-jdk-bin/apple-jdk-bin-1.4.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/apple-jdk-bin/apple-jdk-bin-1.4.2.ebuild,v 1.1 2010/01/25 16:26:39 grobian Exp $
+
+JAVA_SUPPORTS_GENERATION_1="true"
+inherit java-vm-2 eutils
+
+DESCRIPTION="Links to Apple's version of Sun's J2SE Development Kit"
+HOMEPAGE="http://java.sun.com/j2se/1.4.2/"
+SLOT="1.4"
+LICENSE="as-is"
+KEYWORDS="-* ~ppc-macos ~x64-macos ~x86-macos"
+
+JAVA_PROVIDE="jdbc-stdext"
+
+APPLE_JAVA_DIR="/System/Library/Frameworks/JavaVM.framework/Versions/${PV}/Home"
+
+src_install() {
+ local dirs="bin include lib man"
+ dodir /opt/${P}
+
+ for d in ${dirs}; do
+ ln -s "${APPLE_JAVA_DIR}"/${d} "${ED}"/opt/${P}/${d}
+ done
+ # Apple just puts al JRE stuff in the Home dir next to the JDK stuff,
+ # "emulate" it to make the wrappers happy
+ ln -s "${APPLE_JAVA_DIR}" "${ED}"/opt/${P}/jre
+
+ # create dir for system preferences
+ dodir /opt/${P}/.systemPrefs
+ # Create files used as storage for system preferences.
+ touch "${ED}/opt/${P}/.systemPrefs/.system.lock"
+ chmod 644 "${ED}/opt/${P}/.systemPrefs/.system.lock"
+ touch "${ED}/opt/${P}/.systemPrefs/.systemRootModFile"
+ chmod 644 "${ED}/opt/${P}/.systemPrefs/.systemRootModFile"
+
+ set_java_env
+}
+
+pkg_postinst() {
+ # Set as default VM if none exists
+ java-vm-2_pkg_postinst
+
+ elog "Note: you're using your OSX (pre-)installed Java installation"
+}
diff --git a/dev-java/apple-jdk-bin/apple-jdk-bin-1.5.0.ebuild b/dev-java/apple-jdk-bin/apple-jdk-bin-1.5.0.ebuild
new file mode 100644
index 000000000000..fbf31f7fac04
--- /dev/null
+++ b/dev-java/apple-jdk-bin/apple-jdk-bin-1.5.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/apple-jdk-bin/apple-jdk-bin-1.5.0.ebuild,v 1.1 2010/01/25 16:26:39 grobian Exp $
+
+JAVA_SUPPORTS_GENERATION_1="true"
+inherit java-vm-2 eutils
+
+DESCRIPTION="Links to Apple's version of Sun's J2SE Development Kit"
+HOMEPAGE="http://java.sun.com/j2se/1.5.0/"
+SLOT="1.5"
+LICENSE="as-is"
+KEYWORDS="-* ~ppc-macos ~x64-macos ~x86-macos"
+
+JAVA_PROVIDE="jdbc-stdext"
+
+APPLE_JAVA_DIR="/System/Library/Frameworks/JavaVM.framework/Versions/${PV}/Home"
+
+src_install() {
+ local dirs="bin include lib man"
+ dodir /opt/${P}
+
+ for d in ${dirs}; do
+ ln -s "${APPLE_JAVA_DIR}"/${d} "${ED}"/opt/${P}/${d}
+ done
+ # Apple just puts al JRE stuff in the Home dir next to the JDK stuff,
+ # "emulate" it to make the wrappers happy
+ ln -s "${APPLE_JAVA_DIR}" "${ED}"/opt/${P}/jre
+
+ # create dir for system preferences
+ dodir /opt/${P}/.systemPrefs
+ # Create files used as storage for system preferences.
+ touch "${ED}/opt/${P}/.systemPrefs/.system.lock"
+ chmod 644 "${ED}/opt/${P}/.systemPrefs/.system.lock"
+ touch "${ED}/opt/${P}/.systemPrefs/.systemRootModFile"
+ chmod 644 "${ED}/opt/${P}/.systemPrefs/.systemRootModFile"
+
+ set_java_env
+}
+
+pkg_postinst() {
+ # Set as default VM if none exists
+ java-vm-2_pkg_postinst
+
+ elog "Note: you're using your OSX (pre-)installed Java installation"
+}
diff --git a/dev-java/apple-jdk-bin/apple-jdk-bin-1.6.0.ebuild b/dev-java/apple-jdk-bin/apple-jdk-bin-1.6.0.ebuild
new file mode 100644
index 000000000000..6ec47a303d2d
--- /dev/null
+++ b/dev-java/apple-jdk-bin/apple-jdk-bin-1.6.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/apple-jdk-bin/apple-jdk-bin-1.6.0.ebuild,v 1.1 2010/01/25 16:26:39 grobian Exp $
+
+JAVA_SUPPORTS_GENERATION_1="true"
+inherit java-vm-2 eutils
+
+DESCRIPTION="Links to Apple's version of Sun's J2SE Development Kit"
+HOMEPAGE="http://java.sun.com/j2se/1.6.0/"
+SLOT="1.6"
+LICENSE="as-is"
+KEYWORDS="-* ~ppc-macos ~x64-macos ~x86-macos"
+
+JAVA_PROVIDE="jdbc-stdext"
+
+APPLE_JAVA_DIR="/System/Library/Frameworks/JavaVM.framework/Versions/${PV}/Home"
+
+pkg_preinst() {
+ [[ ! -d ${APPLE_JAVA_DIR} ]] && die "Java 6 not installed!"
+}
+
+src_install() {
+ local dirs="bin include lib man"
+ dodir /opt/${P}
+
+ for d in ${dirs}; do
+ ln -s "${APPLE_JAVA_DIR}"/${d} "${ED}"/opt/${P}/${d}
+ done
+ # Apple just puts al JRE stuff in the Home dir next to the JDK stuff,
+ # "emulate" it to make the wrappers happy
+ ln -s "${APPLE_JAVA_DIR}" "${ED}"/opt/${P}/jre
+
+ # create dir for system preferences
+ dodir /opt/${P}/.systemPrefs
+ # Create files used as storage for system preferences.
+ touch "${ED}/opt/${P}/.systemPrefs/.system.lock"
+ chmod 644 "${ED}/opt/${P}/.systemPrefs/.system.lock"
+ touch "${ED}/opt/${P}/.systemPrefs/.systemRootModFile"
+ chmod 644 "${ED}/opt/${P}/.systemPrefs/.systemRootModFile"
+
+ set_java_env
+}
+
+pkg_postinst() {
+ # Set as default VM if none exists
+ java-vm-2_pkg_postinst
+
+ elog "Note: you're using your OSX (pre-)installed Java installation"
+}
diff --git a/dev-java/apple-jdk-bin/files/apple-jdk-bin-1.4.env b/dev-java/apple-jdk-bin/files/apple-jdk-bin-1.4.env
new file mode 100644
index 000000000000..aa9f6c14a5a4
--- /dev/null
+++ b/dev-java/apple-jdk-bin/files/apple-jdk-bin-1.4.env
@@ -0,0 +1,17 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/apple-jdk-bin/files/apple-jdk-bin-1.4.env,v 1.1 2010/01/25 16:26:40 grobian Exp $
+
+VERSION="Apple's Sun JDK @PV@"
+JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
+JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
+JAVAC=${JAVA_HOME}/bin/javac
+PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin:${JAVA_HOME}/jre/javaws"
+ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin:${JAVA_HOME}/jre/javaws"
+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="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/man"
+PROVIDES_TYPE="JDK JRE"
+PROVIDES_VERSION="1.4"
+BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/i18n.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"
+GENERATION="2"
+ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
diff --git a/dev-java/apple-jdk-bin/files/apple-jdk-bin-1.5.env b/dev-java/apple-jdk-bin/files/apple-jdk-bin-1.5.env
new file mode 100644
index 000000000000..5c2b6f8272c6
--- /dev/null
+++ b/dev-java/apple-jdk-bin/files/apple-jdk-bin-1.5.env
@@ -0,0 +1,17 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/apple-jdk-bin/files/apple-jdk-bin-1.5.env,v 1.1 2010/01/25 16:26:40 grobian Exp $
+
+VERSION="Apple's Sun JDK @PV@"
+JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
+JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/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@/xawt/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
+MANPATH="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/man"
+PROVIDES_TYPE="JDK JRE"
+PROVIDES_VERSION="1.5"
+BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/i18n.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"
+GENERATION="2"
+ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
diff --git a/dev-java/apple-jdk-bin/files/apple-jdk-bin-1.6.env b/dev-java/apple-jdk-bin/files/apple-jdk-bin-1.6.env
new file mode 100644
index 000000000000..c1b034e06c4d
--- /dev/null
+++ b/dev-java/apple-jdk-bin/files/apple-jdk-bin-1.6.env
@@ -0,0 +1,17 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/apple-jdk-bin/files/apple-jdk-bin-1.6.env,v 1.1 2010/01/25 16:26:40 grobian Exp $
+
+VERSION="Apple's Sun JDK @PV@"
+JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
+JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/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@/xawt/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
+MANPATH="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/man"
+PROVIDES_TYPE="JDK JRE"
+PROVIDES_VERSION="1.6"
+BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/i18n.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"
+GENERATION="2"
+ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
diff --git a/dev-java/apple-jdk-bin/metadata.xml b/dev-java/apple-jdk-bin/metadata.xml
new file mode 100644
index 000000000000..4561e552bd04
--- /dev/null
+++ b/dev-java/apple-jdk-bin/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>prefix</herd>
+</pkgmetadata>