summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-07-29 20:27:17 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-07-29 20:27:17 +0000
commitf73fe8787c9084099b409a19e55944120c232790 (patch)
treede7ac34e8cf68f5ae28c8d1e97f82543d3799c55 /dev-java
parentReorganize DEPEND and RDEPEND. (diff)
downloadgentoo-2-f73fe8787c9084099b409a19e55944120c232790.tar.gz
gentoo-2-f73fe8787c9084099b409a19e55944120c232790.tar.bz2
gentoo-2-f73fe8787c9084099b409a19e55944120c232790.zip
Added jconsole, for bug #141145
(Portage version: 2.1.1_pre3-r5)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/java-config/ChangeLog8
-rw-r--r--dev-java/java-config/files/digest-java-config-2.0.26-r53
-rw-r--r--dev-java/java-config/files/java-config-2.0.26-jconsole.patch12
-rw-r--r--dev-java/java-config/java-config-2.0.26-r5.ebuild50
4 files changed, 72 insertions, 1 deletions
diff --git a/dev-java/java-config/ChangeLog b/dev-java/java-config/ChangeLog
index 7d7142fce697..bed46d79a7f4 100644
--- a/dev-java/java-config/ChangeLog
+++ b/dev-java/java-config/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/java-config
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.99 2006/07/21 00:21:10 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.100 2006/07/29 20:27:17 nichoj Exp $
+
+*java-config-2.0.26-r5 (29 Jul 2006)
+
+ 29 Jul 2006; Joshua Nichols <nichoj@gentoo.org>
+ +files/java-config-2.0.26-jconsole.patch, +java-config-2.0.26-r5.ebuild:
+ Added jconsole, for bug #141145
21 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
java-config-1.3.0-r2.ebuild, java-config-2.0.26-r4.ebuild:
diff --git a/dev-java/java-config/files/digest-java-config-2.0.26-r5 b/dev-java/java-config/files/digest-java-config-2.0.26-r5
new file mode 100644
index 000000000000..56c0f4186bc9
--- /dev/null
+++ b/dev-java/java-config/files/digest-java-config-2.0.26-r5
@@ -0,0 +1,3 @@
+MD5 60221d65176ceb2e2ef4edf7c1724ad0 java-config-2.0.26.tar.bz2 15298
+RMD160 9f6724af6c6d274c02171aab992e9165e5abc738 java-config-2.0.26.tar.bz2 15298
+SHA256 03e828568b5f965a59a2db57597d1b45e14ba8e89acca65d3082fb7ee4ef578c java-config-2.0.26.tar.bz2 15298
diff --git a/dev-java/java-config/files/java-config-2.0.26-jconsole.patch b/dev-java/java-config/files/java-config-2.0.26-jconsole.patch
new file mode 100644
index 000000000000..ada57c7f13c5
--- /dev/null
+++ b/dev-java/java-config/files/java-config-2.0.26-jconsole.patch
@@ -0,0 +1,12 @@
+Index: config/symlink-tools
+===================================================================
+--- config/symlink-tools (revision 2480)
++++ config/symlink-tools (working copy)
+@@ -7,6 +7,7 @@
+ javah
+ javap
+ javaws
++jconsole
+ jdb
+ rmic
+ rmid
diff --git a/dev-java/java-config/java-config-2.0.26-r5.ebuild b/dev-java/java-config/java-config-2.0.26-r5.ebuild
new file mode 100644
index 000000000000..c421b8212eca
--- /dev/null
+++ b/dev-java/java-config/java-config-2.0.26-r5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/java-config-2.0.26-r5.ebuild,v 1.1 2006/07/29 20:27:17 nichoj Exp $
+
+inherit base distutils eutils
+
+DESCRIPTION="Java environment configuration tool"
+HOMEPAGE="http://www.gentoo.org/proj/en/java/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="virtual/python"
+RDEPEND="virtual/python
+ dev-java/java-config-wrapper"
+
+PATCHES="${FILESDIR}/${P}-nsplugin.patch ${FILESDIR}/${P}-set_number.patch \
+ ${FILESDIR}/${P}-nsplugin_ls_stderr.patch \
+ ${FILESDIR}/${P}-jconsole.patch"
+
+src_install() {
+ distutils_src_install
+
+ insinto /usr/share/java-config-2/config/
+ for i in alpha amd64 hppa ia64 ppc ppc64 sparc x86; do
+ if use ${i}; then
+ newins config/jdk-defaults-${i}.conf jdk-defaults.conf || die "arch config not found"
+ fi
+ done
+
+ for tool in $(< config/symlink-tools); do
+ dosym /usr/bin/run-java-tool /usr/bin/${tool}
+ done
+}
+
+
+pkg_postrm() {
+ python_mod_cleanup /usr/share/java-config-2/pym/java_config
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/share/java-config-2/pym/java_config
+ einfo "The way Java is handled on Gentoo has been recently updated."
+ einfo "If you have not done so already, you should follow the"
+ einfo "instructions available at:"
+ einfo "http://www.gentoo.org/proj/en/java/java-upgrade.xml"
+}