summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-07-03 16:29:14 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-07-03 16:29:14 +0000
commite5fead6b36c210c477bda5a12b1f92c4c0781484 (patch)
tree19c774b7b458ebc5536c963b0df04258776900eb /dev-java/java-config
parentStable on ppc; bug #139010. (diff)
downloadhistorical-e5fead6b36c210c477bda5a12b1f92c4c0781484.tar.gz
historical-e5fead6b36c210c477bda5a12b1f92c4c0781484.tar.bz2
historical-e5fead6b36c210c477bda5a12b1f92c4c0781484.zip
Fix to java-nsplugin.eselect, so that it shows the right plugin as being current
Package-Manager: portage-2.1.1_pre1
Diffstat (limited to 'dev-java/java-config')
-rw-r--r--dev-java/java-config/ChangeLog10
-rw-r--r--dev-java/java-config/files/digest-java-config-2.0.26-r13
-rw-r--r--dev-java/java-config/files/java-config-2.0.26-nsplugin.patch12
-rw-r--r--dev-java/java-config/java-config-2.0.26-r1.ebuild50
4 files changed, 74 insertions, 1 deletions
diff --git a/dev-java/java-config/ChangeLog b/dev-java/java-config/ChangeLog
index 5df45d1b1450..4a416bccd4f0 100644
--- a/dev-java/java-config/ChangeLog
+++ b/dev-java/java-config/ChangeLog
@@ -1,6 +1,14 @@
# 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.93 2006/07/01 19:11:13 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.94 2006/07/03 16:29:14 nichoj Exp $
+
+*java-config-2.0.26-r1 (03 Jul 2006)
+
+ 03 Jul 2006; Joshua Nichols <nichoj@gentoo.org>
+ +files/java-config-2.0.26-nsplugin.patch, -java-config-2.0.26.ebuild,
+ +java-config-2.0.26-r1.ebuild:
+ Fix to java-nsplugin.eselect, so that it shows the right plugin as being
+ current
01 Jul 2006; Joshua Nichols <nichoj@gentoo.org>
java-config-1.3.0-r2.ebuild, java-config-2.0.26.ebuild:
diff --git a/dev-java/java-config/files/digest-java-config-2.0.26-r1 b/dev-java/java-config/files/digest-java-config-2.0.26-r1
new file mode 100644
index 000000000000..56c0f4186bc9
--- /dev/null
+++ b/dev-java/java-config/files/digest-java-config-2.0.26-r1
@@ -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-nsplugin.patch b/dev-java/java-config/files/java-config-2.0.26-nsplugin.patch
new file mode 100644
index 000000000000..35bb37f3fe04
--- /dev/null
+++ b/dev-java/java-config/files/java-config-2.0.26-nsplugin.patch
@@ -0,0 +1,12 @@
+Index: src/eselect/java-nsplugin.eselect
+===================================================================
+--- src/eselect/java-nsplugin.eselect (revision 2404)
++++ src/eselect/java-nsplugin.eselect (working copy)
+@@ -25,6 +25,7 @@
+
+ for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
+ local vm=${targets[${i}]}
++ local mark=""
+ if [[ ${vm} == ${system_name} ]]; then
+ mark="${mark} $(highlight 'current')"
+ fi
diff --git a/dev-java/java-config/java-config-2.0.26-r1.ebuild b/dev-java/java-config/java-config-2.0.26-r1.ebuild
new file mode 100644
index 000000000000..fc8ccc7cbda0
--- /dev/null
+++ b/dev-java/java-config/java-config-2.0.26-r1.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-r1.ebuild,v 1.1 2006/07/03 16:29:14 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"
+IUSE=""
+
+DEPEND="virtual/python"
+RDEPEND="virtual/python
+ dev-java/java-config-wrapper"
+
+PATCHES="${FILESDIR}/${P}-nsplugin.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_postinst() {
+ python_mod_optimize /usr/share/java-config-2/pym/java_config
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/share/java-config-2/pym/java_config
+}
+
+pkg_postinst() {
+ 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"
+}