diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-09-23 04:11:14 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-09-23 04:11:14 +0000 |
commit | 6562c3727d1f559ec225506f99469e7c6bc397f0 (patch) | |
tree | 547725ca0c214b9997b6bca0c0f9b6067a52336a | |
parent | Remove old revision for bug #148719. (diff) | |
download | historical-6562c3727d1f559ec225506f99469e7c6bc397f0.tar.gz historical-6562c3727d1f559ec225506f99469e7c6bc397f0.tar.bz2 historical-6562c3727d1f559ec225506f99469e7c6bc397f0.zip |
Tweaked output to be similar to java-config-1. A notice is displayed when a user or system VM is set.
Package-Manager: portage-2.1.2_pre1
-rw-r--r-- | dev-java/java-config/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/java-config/files/digest-java-config-2.0.30 | 3 | ||||
-rw-r--r-- | dev-java/java-config/java-config-2.0.30.ebuild | 58 |
3 files changed, 70 insertions, 1 deletions
diff --git a/dev-java/java-config/ChangeLog b/dev-java/java-config/ChangeLog index f4b8f9a5cf70..8c9b09fcacbf 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.123 2006/09/22 17:16:48 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.124 2006/09/23 04:11:14 nichoj Exp $ + +*java-config-2.0.30 (23 Sep 2006) + + 23 Sep 2006; Joshua Nichols <nichoj@gentoo.org> + -files/java-config-2.0.28-classpath.patch, -java-config-2.0.29.ebuild, + +java-config-2.0.30.ebuild: + Tweaked output to be similar to java-config-1. A notice is displayed when a + user or system VM is set. 22 Sep 2006; Vlastimil Babka <caster@gentoo.org> java-config-2.0.29.ebuild: diff --git a/dev-java/java-config/files/digest-java-config-2.0.30 b/dev-java/java-config/files/digest-java-config-2.0.30 new file mode 100644 index 000000000000..e066405aaab1 --- /dev/null +++ b/dev-java/java-config/files/digest-java-config-2.0.30 @@ -0,0 +1,3 @@ +MD5 ee45cec6fd76b0cbb394d851db12cb40 java-config-2.0.30.tar.bz2 16515 +RMD160 8eefa3a8bca334c61c3cca1429fcdd0339167b6a java-config-2.0.30.tar.bz2 16515 +SHA256 934fd8fe9498e5158f91e6f48d604ee15750737918cddcd92c187ed3dfac36d4 java-config-2.0.30.tar.bz2 16515 diff --git a/dev-java/java-config/java-config-2.0.30.ebuild b/dev-java/java-config/java-config-2.0.30.ebuild new file mode 100644 index 000000000000..9d537fa7c060 --- /dev/null +++ b/dev-java/java-config/java-config-2.0.30.ebuild @@ -0,0 +1,58 @@ +# 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.30.ebuild,v 1.1 2006/09/23 04:11: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="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="dev-lang/python" +RDEPEND="${DEPEND} + dev-java/java-config-wrapper" + +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 + + # Install profile.d for setting JAVA_HOME + dodir /etc/profile.d + exeinto /etc/profile.d + newexe ${FILESDIR}/${PN}-${SLOT}.profiled ${PN}-${SLOT}.sh || die "newexe failed" +} + + +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 + + elog "The way Java is handled on Gentoo has been recently updated." + elog "If you have not done so already, you should follow the" + elog "instructions available at:" + elog "\thttp://www.gentoo.org/proj/en/java/java-upgrade.xml" + elog + elog "While we moving towards the new Java system, we only allow" + elog "1.3 or 1.4 JDKs to be used with java-config-1 to ensure" + elog "backwards compatibility with the old system." + elog "For more details about this, please see:" + elog "\thttps://overlays.gentoo.org/proj/java/wiki/Why_We_Need_Java14" +} |