diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/java-config/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/java-config/Manifest | 19 | ||||
-rw-r--r-- | dev-java/java-config/files/digest-java-config-2.0.27-r1 | 3 | ||||
-rw-r--r-- | dev-java/java-config/files/java-config-2.profiled | 17 | ||||
-rw-r--r-- | dev-java/java-config/java-config-2.0.27-r1.ebuild | 51 |
5 files changed, 93 insertions, 5 deletions
diff --git a/dev-java/java-config/ChangeLog b/dev-java/java-config/ChangeLog index cb87ed108a99..fc0f2b79ddfb 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.103 2006/08/25 00:35:18 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.104 2006/08/25 02:13:17 nichoj Exp $ + +*java-config-2.0.27-r1 (25 Aug 2006) + + 25 Aug 2006; Joshua Nichols <nichoj@gentoo.org> + +files/java-config-2.profiled, +java-config-2.0.27-r1.ebuild: + Added missing profile.d file. *java-config-1.3.1-r1 (25 Aug 2006) diff --git a/dev-java/java-config/Manifest b/dev-java/java-config/Manifest index 567782e2df96..c1cfeb84f787 100644 --- a/dev-java/java-config/Manifest +++ b/dev-java/java-config/Manifest @@ -6,6 +6,10 @@ AUX java-config-1.3.1-no20java.patch 442 RMD160 1503372c629889537c2c36cd06e7a595 MD5 eb3ef22e8c274e9794ed0409e2463d83 files/java-config-1.3.1-no20java.patch 442 RMD160 1503372c629889537c2c36cd06e7a59527a71de3 files/java-config-1.3.1-no20java.patch 442 SHA256 7506e7fccae674f9a1d32029fef7013cdda7818f0b60811924d21f1242e41818 files/java-config-1.3.1-no20java.patch 442 +AUX java-config-2.profiled 768 RMD160 e508794760c446b93b96e8a069596f3037502280 SHA1 39c8cd3e1cdb5adf04420e8ef403f13091cdf422 SHA256 d9e589021787bcb136955330934c8bda58cc5591974d369954e60d63b98bc3c3 +MD5 2b71dd63c02f35f5f55ed2d0dbd03b91 files/java-config-2.profiled 768 +RMD160 e508794760c446b93b96e8a069596f3037502280 files/java-config-2.profiled 768 +SHA256 d9e589021787bcb136955330934c8bda58cc5591974d369954e60d63b98bc3c3 files/java-config-2.profiled 768 DIST java-config-1.2.11.tar.bz2 15743 RMD160 e1175474e87f234f9428d7db6827a3a4435e6aba SHA1 fd2ffdda515005ef7a9358b650f59674c13bc0b7 SHA256 f17bdce2b97dca14daf77dbefb6d6c0935fbc444b67e9a0d7cc68538575a6b83 DIST java-config-1.3.1.tar.bz2 14732 RMD160 5fd14ce884f6c6de83c899d25d73e779cf94e923 SHA1 6bf5b70d3583c9d5f6efa5f5107afb1c7dad15bf SHA256 d23fe3f521e547eb319d8e04cd578a8803324c8fbff91b17567924a2c7f9f9ac DIST java-config-2.0.27.tar.bz2 15522 RMD160 e830fda4b8ecfe6061207cada34d39083807f8f6 SHA1 66687409031ae0b39b3757696b2103f598ed4c25 SHA256 ff01124a0fd97a293f3f34d772c5280ffb6390f6e2f5d796b6d1b3728417133c @@ -17,14 +21,18 @@ EBUILD java-config-1.3.1-r1.ebuild 1039 RMD160 075eaa0a53b46ff164392943cc19822c9 MD5 0c0cc17f5ed246607b66f467febcff0d java-config-1.3.1-r1.ebuild 1039 RMD160 075eaa0a53b46ff164392943cc19822c98fb0162 java-config-1.3.1-r1.ebuild 1039 SHA256 d78a0fe504ec1e1b6bc75228ffe54a0142528708f76285731152e7598df012fb java-config-1.3.1-r1.ebuild 1039 +EBUILD java-config-2.0.27-r1.ebuild 1509 RMD160 f16b1475695b25dd38f532b7b4b18c5851f8e56b SHA1 51ab5f23b172373a76fad4cef31e0d8c8a7a6e3a SHA256 0b2e23b8773ef4271b6b0cbbc70de61cf3be4ce10ebfd426a5180dd3bffbed74 +MD5 75b6d9fe9d4a6a05698b2f67efcd53b0 java-config-2.0.27-r1.ebuild 1509 +RMD160 f16b1475695b25dd38f532b7b4b18c5851f8e56b java-config-2.0.27-r1.ebuild 1509 +SHA256 0b2e23b8773ef4271b6b0cbbc70de61cf3be4ce10ebfd426a5180dd3bffbed74 java-config-2.0.27-r1.ebuild 1509 EBUILD java-config-2.0.27.ebuild 1475 RMD160 e75abf88c122505299d8464d94c4085bcfdb234d SHA1 740b5955157e544f7d64da68ee0f07fd30407ecf SHA256 8c9b2d80acfb8a279504167cd2ee8814f39ba017f4b144680f532b70301eb418 MD5 eb0056d4fcf97408ecdf95024b9aef93 java-config-2.0.27.ebuild 1475 RMD160 e75abf88c122505299d8464d94c4085bcfdb234d java-config-2.0.27.ebuild 1475 SHA256 8c9b2d80acfb8a279504167cd2ee8814f39ba017f4b144680f532b70301eb418 java-config-2.0.27.ebuild 1475 -MISC ChangeLog 18169 RMD160 0d5241ec22699ace7a8e315d85425090ef8aad25 SHA1 f1f9462947d3df32776b53e59fdc6acfd5c400cd SHA256 6cf7416b37585cf8ebb5c491aac77c013432240b3ee40c61184e88c2f5cfbf1f -MD5 1f865dd0c6f9ddaa545c6e77d50d76ad ChangeLog 18169 -RMD160 0d5241ec22699ace7a8e315d85425090ef8aad25 ChangeLog 18169 -SHA256 6cf7416b37585cf8ebb5c491aac77c013432240b3ee40c61184e88c2f5cfbf1f ChangeLog 18169 +MISC ChangeLog 18354 RMD160 b80946546a823372f0b1f1a9825c8988ba04f0c5 SHA1 d4ad7bf2c11d6bf47c6120815710069288ae51c5 SHA256 d76351e12e802f9c8a10d7d47f37e1592efb79e564e8d27e811ddd921fc9ab86 +MD5 c304e1fc0c20c2cf8ec2ce4751489b37 ChangeLog 18354 +RMD160 b80946546a823372f0b1f1a9825c8988ba04f0c5 ChangeLog 18354 +SHA256 d76351e12e802f9c8a10d7d47f37e1592efb79e564e8d27e811ddd921fc9ab86 ChangeLog 18354 MISC metadata.xml 486 RMD160 158f1d9652c83644739d40c8014d65d487dca4e6 SHA1 1561f2727694d8312adbda18294f690116ab3c84 SHA256 5d3e4a1780efad67e6265b82a4397a2b4fe26c2c0785ee65a3390dd8218c82ce MD5 ff83dbd41edf207798f367c723ab813f metadata.xml 486 RMD160 158f1d9652c83644739d40c8014d65d487dca4e6 metadata.xml 486 @@ -38,3 +46,6 @@ SHA256 120d46d06097c2de8902b5d4962b71814b4a963be519f309be8619095ac5afb8 files/di MD5 1357ec25e19a873bdc1f7c3cb3e4f2db files/digest-java-config-2.0.27 256 RMD160 7f10fd3d5c792fd693eb171407af65849be4badc files/digest-java-config-2.0.27 256 SHA256 e63d4b0790075be20dc5ea3a8700d2833f7974553569b6e69072ef1014e77875 files/digest-java-config-2.0.27 256 +MD5 1357ec25e19a873bdc1f7c3cb3e4f2db files/digest-java-config-2.0.27-r1 256 +RMD160 7f10fd3d5c792fd693eb171407af65849be4badc files/digest-java-config-2.0.27-r1 256 +SHA256 e63d4b0790075be20dc5ea3a8700d2833f7974553569b6e69072ef1014e77875 files/digest-java-config-2.0.27-r1 256 diff --git a/dev-java/java-config/files/digest-java-config-2.0.27-r1 b/dev-java/java-config/files/digest-java-config-2.0.27-r1 new file mode 100644 index 000000000000..6200959c4157 --- /dev/null +++ b/dev-java/java-config/files/digest-java-config-2.0.27-r1 @@ -0,0 +1,3 @@ +MD5 a95fa1fcabce415f7144b7a1dd84d2b2 java-config-2.0.27.tar.bz2 15522 +RMD160 e830fda4b8ecfe6061207cada34d39083807f8f6 java-config-2.0.27.tar.bz2 15522 +SHA256 ff01124a0fd97a293f3f34d772c5280ffb6390f6e2f5d796b6d1b3728417133c java-config-2.0.27.tar.bz2 15522 diff --git a/dev-java/java-config/files/java-config-2.profiled b/dev-java/java-config/files/java-config-2.profiled new file mode 100644 index 000000000000..1576def2b5c3 --- /dev/null +++ b/dev-java/java-config/files/java-config-2.profiled @@ -0,0 +1,17 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/files/java-config-2.profiled,v 1.3 2006/08/25 02:13:17 nichoj Exp $ + +# If we have a current-user-vm (and aren't root)... set it to JAVA_HOME +gentoo_user_vm="${HOME}/.gentoo/java-config-2/current-user-vm" +gentoo_system_vm="/etc/java-config-2/current-system-vm" + +if [[ ${UID} != 0 && -L ${gentoo_user_vm} ]]; then + export JAVA_HOME=${gentoo_user_vm} +# Otherwise set to the current system vm +elif [[ -L /etc/java-config-2/current-system-vm ]]; then + export JAVA_HOME=${gentoo_system_vm} +fi +export JDK_HOME=${JAVA_HOME} +export JAVAC=${JDK_HOME}/bin/javac +unset gentoo_user_vm gentoo_system_vm diff --git a/dev-java/java-config/java-config-2.0.27-r1.ebuild b/dev-java/java-config/java-config-2.0.27-r1.ebuild new file mode 100644 index 000000000000..1e722e88dc98 --- /dev/null +++ b/dev-java/java-config/java-config-2.0.27-r1.ebuild @@ -0,0 +1,51 @@ +# 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.27-r1.ebuild,v 1.1 2006/08/25 02:13: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" + +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 + 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" +} |