diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-10-18 03:37:56 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-10-18 03:37:56 +0000 |
commit | 6fbcf25a8ecb64ec70e9080efae43019b1258f50 (patch) | |
tree | 2463e246343da1d47347b48b3d6424159145f938 /dev-java | |
parent | Stable for HPPA (bug #151762). (diff) | |
download | historical-6fbcf25a8ecb64ec70e9080efae43019b1258f50.tar.gz historical-6fbcf25a8ecb64ec70e9080efae43019b1258f50.tar.bz2 historical-6fbcf25a8ecb64ec70e9080efae43019b1258f50.zip |
Direct to stable bump. Adds a patch to improve output of java-check-environment, to help avoid stumbling blocks during an upgrade. Specifically, when checking the generation-1 system-vm, we now see if java-config-1 -L actually lists anything. If it doesn\'t, then we suggest to emerge =virtual/jdk-1.4*. Otherwise, we list possible choices (from java-config-1 -L), and prompt the user to select one.
Package-Manager: portage-2.1.2_pre3-r4
Diffstat (limited to 'dev-java')
5 files changed, 92 insertions, 5 deletions
diff --git a/dev-java/java-config-wrapper/ChangeLog b/dev-java/java-config-wrapper/ChangeLog index 3c00452b57cf..5eb7be480aa7 100644 --- a/dev-java/java-config-wrapper/ChangeLog +++ b/dev-java/java-config-wrapper/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for dev-java/java-config-wrapper # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config-wrapper/ChangeLog,v 1.23 2006/10/15 18:26:45 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config-wrapper/ChangeLog,v 1.24 2006/10/18 03:37:56 nichoj Exp $ + +*java-config-wrapper-0.12-r1 (18 Oct 2006) + + 18 Oct 2006; Joshua Nichols <nichoj@gentoo.org> + +files/java-config-wrapper-0.12-generation_1_system_vm.patch, + +java-config-wrapper-0.12-r1.ebuild: + Direct to stable bump. Adds a patch to improve output of + java-check-environment, to help avoid stumbling blocks during an upgrade. + Specifically, when checking the generation-1 system-vm, we now see if + java-config-1 -L actually lists anything. If it doesn't, then we suggest to + emerge =virtual/jdk-1.4*. Otherwise, we list possible choices (from + java-config-1 -L), and prompt the user to select one. 15 Oct 2006; Tobias Scherbaum <dertobi123@gentoo.org> java-config-wrapper-0.12.ebuild: diff --git a/dev-java/java-config-wrapper/Manifest b/dev-java/java-config-wrapper/Manifest index 941ff703e73e..ead73ba1a8a7 100644 --- a/dev-java/java-config-wrapper/Manifest +++ b/dev-java/java-config-wrapper/Manifest @@ -1,12 +1,20 @@ +AUX java-config-wrapper-0.12-generation_1_system_vm.patch 1619 RMD160 21cca5ede77887760a2825b7a3e78ca684f17a21 SHA1 c0ebe8a525337428c25a8471860c32ae1a1c13f2 SHA256 c275ac81f9e8d0329237b9a63cf8940c0e11fb329e574f8e4cd6bb0863f48f4a +MD5 de44672e9efce8ddce493ad0ed48e9f1 files/java-config-wrapper-0.12-generation_1_system_vm.patch 1619 +RMD160 21cca5ede77887760a2825b7a3e78ca684f17a21 files/java-config-wrapper-0.12-generation_1_system_vm.patch 1619 +SHA256 c275ac81f9e8d0329237b9a63cf8940c0e11fb329e574f8e4cd6bb0863f48f4a files/java-config-wrapper-0.12-generation_1_system_vm.patch 1619 DIST java-config-wrapper-0.12.tar.bz2 7808 RMD160 9cfa95dc96039f051f9f7ae034d14209ca2ac180 SHA1 ba9abac07e1113abd7275e67c1fa34ef76a99b70 SHA256 0c50136cc82b180258364272b24d90702760cb05b39bc239e7cb2fef01718003 +EBUILD java-config-wrapper-0.12-r1.ebuild 725 RMD160 90d835017b3184dca96d043db25ef16081c8e9ef SHA1 ec3e592cb96afeec37d2d98dac24d626e05f7418 SHA256 022e6baa84577f06452fb684e5808f70aefb779eaab5612e0dbe48286297f854 +MD5 537f01d130054858a5b659a13bf52fcd java-config-wrapper-0.12-r1.ebuild 725 +RMD160 90d835017b3184dca96d043db25ef16081c8e9ef java-config-wrapper-0.12-r1.ebuild 725 +SHA256 022e6baa84577f06452fb684e5808f70aefb779eaab5612e0dbe48286297f854 java-config-wrapper-0.12-r1.ebuild 725 EBUILD java-config-wrapper-0.12.ebuild 589 RMD160 810c7c9343b8b767da1ef7f4087cc2926b934df4 SHA1 9ba1fedd6f8be5d5675033ebd6c1a8b21a75d0af SHA256 3bad9eacc3bdd2049ec89c1c5d7fd60154eff1e8e0fd78b526a522838a03dac8 MD5 4ee88feb0ce856d28e81133e64bd7cdc java-config-wrapper-0.12.ebuild 589 RMD160 810c7c9343b8b767da1ef7f4087cc2926b934df4 java-config-wrapper-0.12.ebuild 589 SHA256 3bad9eacc3bdd2049ec89c1c5d7fd60154eff1e8e0fd78b526a522838a03dac8 java-config-wrapper-0.12.ebuild 589 -MISC ChangeLog 5141 RMD160 74b2d6ffe86a7d394c573305d656f766d3d8d9d5 SHA1 93be25847fa17c7e702b814136b13c1f61375625 SHA256 4c27fc110257808fdb6158a3fd1f66017dafb2a65f4694d6bb31ae001537d039 -MD5 613115492aca024f9b14a84fee6fd20e ChangeLog 5141 -RMD160 74b2d6ffe86a7d394c573305d656f766d3d8d9d5 ChangeLog 5141 -SHA256 4c27fc110257808fdb6158a3fd1f66017dafb2a65f4694d6bb31ae001537d039 ChangeLog 5141 +MISC ChangeLog 5750 RMD160 9e1746bf20499abb13be5642f51fc6c842b4f232 SHA1 35fab7dce1d0e85907919a31c756f1237b0e133d SHA256 1d4f32f2f08a1227e3b09039f1fe7caa7c5fca43671153895cd03f3db812abcf +MD5 91d7b7ca17807ea1bc134377f3377e9c ChangeLog 5750 +RMD160 9e1746bf20499abb13be5642f51fc6c842b4f232 ChangeLog 5750 +SHA256 1d4f32f2f08a1227e3b09039f1fe7caa7c5fca43671153895cd03f3db812abcf ChangeLog 5750 MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158 @@ -14,3 +22,6 @@ SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb metadata MD5 9017b86641edfde738f748b0aecfde74 files/digest-java-config-wrapper-0.12 271 RMD160 190ee99f4c6376c7a78a835b1078796a14dc2916 files/digest-java-config-wrapper-0.12 271 SHA256 c4dd0019991bf5cd61e5980287d67991a224562d93aecb3cafd3f79e4b93686b files/digest-java-config-wrapper-0.12 271 +MD5 9017b86641edfde738f748b0aecfde74 files/digest-java-config-wrapper-0.12-r1 271 +RMD160 190ee99f4c6376c7a78a835b1078796a14dc2916 files/digest-java-config-wrapper-0.12-r1 271 +SHA256 c4dd0019991bf5cd61e5980287d67991a224562d93aecb3cafd3f79e4b93686b files/digest-java-config-wrapper-0.12-r1 271 diff --git a/dev-java/java-config-wrapper/files/digest-java-config-wrapper-0.12-r1 b/dev-java/java-config-wrapper/files/digest-java-config-wrapper-0.12-r1 new file mode 100644 index 000000000000..4ed577186fce --- /dev/null +++ b/dev-java/java-config-wrapper/files/digest-java-config-wrapper-0.12-r1 @@ -0,0 +1,3 @@ +MD5 39a073be74d730bd618e5a3d4d4b0e23 java-config-wrapper-0.12.tar.bz2 7808 +RMD160 9cfa95dc96039f051f9f7ae034d14209ca2ac180 java-config-wrapper-0.12.tar.bz2 7808 +SHA256 0c50136cc82b180258364272b24d90702760cb05b39bc239e7cb2fef01718003 java-config-wrapper-0.12.tar.bz2 7808 diff --git a/dev-java/java-config-wrapper/files/java-config-wrapper-0.12-generation_1_system_vm.patch b/dev-java/java-config-wrapper/files/java-config-wrapper-0.12-generation_1_system_vm.patch new file mode 100644 index 000000000000..f86fe88ada79 --- /dev/null +++ b/dev-java/java-config-wrapper/files/java-config-wrapper-0.12-generation_1_system_vm.patch @@ -0,0 +1,34 @@ +Index: src/shell/java-check-environment +=================================================================== +--- src/shell/java-check-environment (revision 2757) ++++ src/shell/java-check-environment (working copy) +@@ -182,18 +182,19 @@ + local this_result=0 + local env="/etc/env.d/20java" + # Make sure a generation-1 VM is set +- if [[ ! -f "${env}" ]]; then ++ if [[ ! -f "${env}" || -z $(java-config-1 -f) ]]; then + qeerror "No Generation-1 System VM is set! (no /etc/env.d/20java)" +- qeerror "Run 'java-config-1 -L' to see a list of available VMs" +- qeerror "Then run 'java-config-1 -S <VM choice>'" +- qeerror "Then run 'env-update && source /etc/profile" ++ local vm_list=$(java-config-1 -L) ++ if [[ ! ${vm_list} =~ "]" ]]; then ++ qeerror "It doesn't look like java-config-1 sees any installed VMs." ++ qeerror "It is most likely because you don't have a 1.4 JDK installed" ++ qeerror "This is required for generation-1 to work properly." ++ qeerror "You will want to emerge =virtual/jdk-1.4*" ++ else ++ java-config-1 -L ++ qeerror "Choose one, and run 'java-config-1 ---set-system-vm <VM choice>'" ++ fi + this_result=1 +- elif [[ -z $(java-config-1 -f) ]]; then +- qeerror "No Generation-1 System VM is set! (no java-config-1 -f output)" +- qeerror "Run 'java-config-1 -L' to see a list of available VMs" +- qeerror "Then run 'java-config-1 -S <VM choice>'" +- qeerror "Then run 'env-update && source /etc/profile" +- this_result=1 + # Make sure the generation-1 VM set is generation-2 compatible, not set long before migration + else + # We need to unset GENERATION, because this ends up being in diff --git a/dev-java/java-config-wrapper/java-config-wrapper-0.12-r1.ebuild b/dev-java/java-config-wrapper/java-config-wrapper-0.12-r1.ebuild new file mode 100644 index 000000000000..acb95295e64e --- /dev/null +++ b/dev-java/java-config-wrapper/java-config-wrapper-0.12-r1.ebuild @@ -0,0 +1,27 @@ +# 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-wrapper/java-config-wrapper-0.12-r1.ebuild,v 1.1 2006/10/18 03:37:56 nichoj Exp $ + +inherit base eutils +DESCRIPTION="Wrapper for java-config" +HOMEPAGE="http://www.gentoo.org/proj/en/java" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ia64 ppc ppc64 x86 ~x86-fbsd" +DEPEND="!<dev-java/java-config-1.3" +RDEPEND="app-portage/portage-utils" + +IUSE="" + +# Patch to improve output of generation_1_system_vm +PATCHES="${FILESDIR}/${P}-generation_1_system_vm.patch" + +src_compile() { + :; +} + +src_install() { + dobin src/shell/* +} |