summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-04-20 11:53:30 +0000
committerVlastimil Babka <caster@gentoo.org>2007-04-20 11:53:30 +0000
commitc52d56571b71fb5203d45011095efbc3b19712a8 (patch)
tree0d05236822150d2148cbbc12eb778699aed565bb /dev-java
parentInitial import, ebuild by Cédric Krier <cedk at gentoo dot org>, bug 141332 (diff)
downloadgentoo-2-c52d56571b71fb5203d45011095efbc3b19712a8.tar.gz
gentoo-2-c52d56571b71fb5203d45011095efbc3b19712a8.tar.bz2
gentoo-2-c52d56571b71fb5203d45011095efbc3b19712a8.zip
Version bump, bug #175095. Thanks to Marat Radchenko <valder@yandex.ru> for initial work in the overlay. Introduces examples USE flag to install demos and doc flag that pulls java-sdk-docs, for consistency with other JDK's in the tree.
(Portage version: 2.1.2.4)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jrockit-jdk-bin/ChangeLog20
-rw-r--r--dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.4.2.136
-rw-r--r--dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.5.0.109
-rw-r--r--dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.4.2.13.ebuild85
-rw-r--r--dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.10.ebuild111
5 files changed, 230 insertions, 1 deletions
diff --git a/dev-java/jrockit-jdk-bin/ChangeLog b/dev-java/jrockit-jdk-bin/ChangeLog
index 5a20cb8a9d97..85576b8fc586 100644
--- a/dev-java/jrockit-jdk-bin/ChangeLog
+++ b/dev-java/jrockit-jdk-bin/ChangeLog
@@ -1,6 +1,24 @@
# ChangeLog for dev-java/jrockit-jdk-bin
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit-jdk-bin/ChangeLog,v 1.32 2007/01/05 16:39:35 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit-jdk-bin/ChangeLog,v 1.33 2007/04/20 11:53:30 caster Exp $
+
+*jrockit-jdk-bin-1.5.0.10 (20 Apr 2007)
+
+ 20 Apr 2007; Vlastimil Babka <caster@gentoo.org>
+ +jrockit-jdk-bin-1.4.2.13.ebuild, +jrockit-jdk-bin-1.5.0.10.ebuild:
+ Version bump, bug #175095. Thanks to Marat Radchenko <valder@yandex.ru> for
+ initial work in the overlay. Introduces examples USE flag to install demos
+ and doc flag that pulls java-sdk-docs, for consistency with other JDK's in
+ the tree.
+
+*jrockit-jdk-bin-1.4.2.13 (20 Apr 2007)
+
+ 20 Apr 2007; Vlastimil Babka <caster@gentoo.org>
+ +jrockit-jdk-bin-1.4.2.13.ebuild:
+ Version bump, bug #175095. Thanks to Marat Radchenko <valder@yandex.ru> for
+ initial work in the overlay. Introduces examples USE flag to install demos
+ and doc flag that pulls java-sdk-docs, for consistency with other JDK's in
+ the tree.
05 Jan 2007; Vlastimil Babka <caster@gentoo.org>
jrockit-jdk-bin-1.4.2.11.ebuild, jrockit-jdk-bin-1.5.0.06-r1.ebuild:
diff --git a/dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.4.2.13 b/dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.4.2.13
new file mode 100644
index 000000000000..f460ccb2317e
--- /dev/null
+++ b/dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.4.2.13
@@ -0,0 +1,6 @@
+MD5 8926398ff5286c15b98d1ff9e3068a0e jrockit-R27.2.0-jdk1.4.2_13-linux-ia32.bin 75189994
+RMD160 0297b05252c8d74a7ee3cc0c453499d8bf833a33 jrockit-R27.2.0-jdk1.4.2_13-linux-ia32.bin 75189994
+SHA256 9f5c5bae7a199b751c00017432ee37077c856ebf811044621b9af5ac0292d38d jrockit-R27.2.0-jdk1.4.2_13-linux-ia32.bin 75189994
+MD5 a7fcebe5b8a6efb9c50143abc10fa6b1 jrockit-R27.2.0-jdk1.4.2_13-linux-ipf.bin 47627876
+RMD160 2d5f9247a52ea8999378e6698ac1c754f76077b2 jrockit-R27.2.0-jdk1.4.2_13-linux-ipf.bin 47627876
+SHA256 acf95a26da94ed05bb99354e958996dbe76db6eb6374872e7add6d28e4de007b jrockit-R27.2.0-jdk1.4.2_13-linux-ipf.bin 47627876
diff --git a/dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.5.0.10 b/dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.5.0.10
new file mode 100644
index 000000000000..6f90e41da595
--- /dev/null
+++ b/dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.5.0.10
@@ -0,0 +1,9 @@
+MD5 92b290afd577d617e430bbcace13b756 jrockit-R27.2.0-jdk1.5.0_10-linux-ia32.bin 122196072
+RMD160 4dfea51f73f655332e0ec74bf4fccb541b3c6f10 jrockit-R27.2.0-jdk1.5.0_10-linux-ia32.bin 122196072
+SHA256 7405fbe7ea07581ef1368cc41165eb3eef9bda25450a7fc81fc9ef1cd29f5057 jrockit-R27.2.0-jdk1.5.0_10-linux-ia32.bin 122196072
+MD5 11c2b5ad5a55094e0bb0d0c8ede766f9 jrockit-R27.2.0-jdk1.5.0_10-linux-ipf.bin 93844561
+RMD160 f9f82fb7a36412ff1f1c4f8f291674919763e060 jrockit-R27.2.0-jdk1.5.0_10-linux-ipf.bin 93844561
+SHA256 e49f4bcb027294a4866b1ff428c5d1225161392d7f70624f25199bf429fd9e4e jrockit-R27.2.0-jdk1.5.0_10-linux-ipf.bin 93844561
+MD5 9ba2c1e0408c836f6520572a310f1549 jrockit-R27.2.0-jdk1.5.0_10-linux-x64.bin 122849203
+RMD160 c6a29c845fd9b5fb9fab8754be90c33351a88a68 jrockit-R27.2.0-jdk1.5.0_10-linux-x64.bin 122849203
+SHA256 82d1bda46bac794f65e7c97c03e332e318070cd20ca427cc73ca987f07cd72e8 jrockit-R27.2.0-jdk1.5.0_10-linux-x64.bin 122849203
diff --git a/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.4.2.13.ebuild b/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.4.2.13.ebuild
new file mode 100644
index 000000000000..b6e134cb5354
--- /dev/null
+++ b/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.4.2.13.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.4.2.13.ebuild,v 1.1 2007/04/20 11:53:30 caster Exp $
+
+# WARNING: This is the default VM on ia64, so treat this ebuild
+# with proper care.
+
+# The stripping of symbols seems to mess up the BEA code. Not sure why.
+RESTRICT="nostrip fetch"
+JAVA_SUPPORTS_GENERATION_1="true"
+inherit java-vm-2 versionator
+
+PV_MAJOR="$(get_version_component_range 1-3 ${PV})"
+PV_EXTRA="$(get_version_component_range 4 ${PV})"
+UPSTREAM_RELEASE="27.2.0"
+
+SRC_URI_BASE="jrockit-R${UPSTREAM_RELEASE}-jdk${PV_MAJOR}_${PV_EXTRA}-linux-"
+SRC_URI="ia64? ( ${SRC_URI_BASE}ipf.bin )
+ x86? ( ${SRC_URI_BASE}ia32.bin )"
+DESCRIPTION="BEA WebLogic's J2SE Development Kit, R${UPSTREAM_RELEASE}"
+
+HOMEPAGE="http://commerce.bea.com/products/weblogicjrockit/jrockit_prod_fam.jsp"
+LICENSE="jrockit"
+SLOT="1.4"
+KEYWORDS="-* ~ia64 ~x86"
+DEPEND="app-arch/unzip"
+RDEPEND="doc? ( =dev-java/java-sdk-docs-1.4.2* )"
+IUSE="doc examples"
+
+QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/jrockit/libjvm.so
+opt/${P}/jre/lib/i386/libjmapi.so
+opt/${P}/jre/lib/i386/libawt.so"
+
+QA_EXECSTACK_x86="opt/${P}/bin/*
+opt/${P}/jre/bin/*
+opt/${P}/jre/lib/i386/jrockit/libjvm.so
+opt/${P}/jre/lib/i386/libnet.so"
+
+pkg_nofetch() {
+ einfo "Please download ${A} from:"
+ einfo ${HOMEPAGE}
+ einfo "and move it to ${DISTDIR}"
+}
+
+src_unpack() {
+ # unpack cannot determine file format
+ # unzip to get more zips
+ unzip ${DISTDIR}/${A} || die
+
+ mkdir ${S} || die
+
+ # this is ugly but don't see any better way
+ # empty jre dir is part of the zip
+ unzip *sdk_no_jre.zip -d ${S} || die
+ # remove so it doesn't affect next unzip
+ rm *sdk_no_jre.zip || die
+ # unpack the jre into its dir
+ unzip *jre.zip -d ${S}/jre || die
+}
+
+src_install() {
+ local dirs="bin include jre lib missioncontrol src.zip"
+
+ insinto "/opt/${P}"
+ for i in ${dirs} ; do
+ doins -r $i || die
+ done
+
+ if use examples; then
+ doins -r demo || die
+ fi
+
+ newdoc README.txt README || die
+ dodoc LICENSE || die
+
+ chmod +x ${D}/opt/${P}/bin/* ${D}/opt/${P}/jre/bin/* || die "Could not chmod"
+ set_java_env
+}
+
+pkg_postinst () {
+ # Set as default VM if none exists
+ java-vm-2_pkg_postinst
+ elog "Please review the license agreement in /usr/share/doc/${PF}/LICENSE"
+ elog "If you do not agree to the terms of this license, please uninstall this package"
+}
diff --git a/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.10.ebuild b/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.10.ebuild
new file mode 100644
index 000000000000..c68e5ae5581f
--- /dev/null
+++ b/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.10.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.10.ebuild,v 1.1 2007/04/20 11:53:30 caster Exp $
+
+# WARNING: This is the default VM on ia64, so treat this ebuild
+# with proper care.
+
+# The stripping of symbols seems to mess up the BEA code. Not sure why.
+RESTRICT="nostrip fetch"
+
+inherit java-vm-2 versionator
+
+PV_MAJOR="$(get_version_component_range 1-3 ${PV})"
+PV_EXTRA="$(get_version_component_range 4 ${PV})"
+UPSTREAM_RELEASE="27.2.0"
+
+SRC_URI_BASE="jrockit-R${UPSTREAM_RELEASE}-jdk${PV_MAJOR}_${PV_EXTRA}-linux-"
+SRC_URI="x86? ( ${SRC_URI_BASE}ia32.bin )
+ amd64? ( ${SRC_URI_BASE}x64.bin )
+ ia64? ( ${SRC_URI_BASE}ipf.bin )"
+DESCRIPTION="BEA WebLogic's J2SE Development Kit, R${UPSTREAM_RELEASE}"
+
+HOMEPAGE="http://commerce.bea.com/products/weblogicjrockit/jrockit_prod_fam.jsp"
+
+LICENSE="jrockit"
+SLOT="1.5"
+KEYWORDS="-* ~amd64 ~ia64 ~x86"
+IUSE="doc examples"
+
+DEPEND="app-arch/unzip"
+RDEPEND="doc? ( =dev-java/java-sdk-docs-1.5.0* )"
+JAVA_PROVIDE="jdbc-stdext jdbc-rowset"
+
+QA_TEXTRELS_amd64="opt/${P}/mercuryprofiler/lib/sparc-sunos/libprobejni.so
+ opt/${P}/mercuryprofiler/lib/x86-linux/libprobejni.so"
+
+# not working for some reason...
+# because it probably needs WX_LOAD and not EXECSTACK
+QA_EXECSTACK_amd64="opt/${P}/mercuryprofiler/bin/sparc-sunos/systemmetrics
+ opt/${P}/mercuryprofiler/lib/sparc-sunos/libprobejni.so"
+
+QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/jrockit/libjvm.so
+opt/${P}/jre/lib/i386/motif21/libmawt.so
+opt/${P}/jre/lib/i386/libjmapi.so
+opt/${P}/mercuryprofiler/lib/x86-linux/libjvmti.so
+opt/${P}/mercuryprofiler/lib/x86-linux/libprobejni.so
+opt/${P}/mercuryprofiler/lib/sparc-sunos64/libjvmti.so
+opt/${P}/mercuryprofiler/lib/sparc-sunos64/libprobejni.so
+opt/${P}/mercuryprofiler/lib/sparc-sunos/libjvmti.so
+opt/${P}/mercuryprofiler/lib/sparc-sunos/libprobejni.so"
+
+QA_EXECSTACK_x86="opt/${P}/bin/*
+opt/${P}/jre/bin/*
+opt/${P}/jre/lib/i386/jrockit/libjvm.so
+opt/${P}/jre/lib/i386/libnet.so"
+
+QA_WX_LOAD_x86="opt/${P}/mercuryprofiler/bin/sparc-sunos/systemmetrics
+opt/${P}/mercuryprofiler/bin/sparc-sunos/reference_sort
+opt/${P}/mercuryprofiler/lib/sparc-sunos64/libjvmti.so
+opt/${P}/mercuryprofiler/lib/sparc-sunos64/libprobejni.so
+opt/${P}/mercuryprofiler/lib/sparc-sunos/libjvmti.so
+opt/${P}/mercuryprofiler/lib/sparc-sunos/libprobejni.so"
+
+pkg_nofetch() {
+ einfo "Please download ${A} from:"
+ einfo ${HOMEPAGE}
+ einfo "and move it to ${DISTDIR}"
+}
+
+src_unpack() {
+ # unpack cannot determine file format
+ # unzip to get more zips
+ unzip ${DISTDIR}/${A} || die
+
+ mkdir ${S} || die
+
+ # this is ugly but don't see any better way
+ # empty jre dir is part of the zip
+ unzip *sdk_no_jre.zip -d ${S} || die
+ # remove so it doesn't affect next unzip
+ rm *sdk_no_jre.zip || die
+ # unpack the jre into its dir
+ unzip *jre.zip -d ${S}/jre || die
+}
+
+src_install() {
+ local dirs="bin include jre lib mercuryprofiler missioncontrol src.zip"
+
+ insinto "/opt/${P}"
+ for i in ${dirs} ; do
+ doins -r $i || die
+ done
+
+ if use examples; then
+ doins -r demo || die
+ doins -r sample || die
+ fi
+
+ newdoc README.txt README || die
+ dodoc LICENSE || die
+
+ chmod +x ${D}/opt/${P}/bin/* ${D}/opt/${P}/jre/bin/* || die "Could not chmod"
+ set_java_env
+}
+
+pkg_postinst () {
+ # Set as default VM if none exists
+ java-vm-2_pkg_postinst
+ elog "Please review the license agreement in /usr/share/doc/${PF}/LICENSE"
+ elog "If you do not agree to the terms of this license, please uninstall this package"
+}