From 3d26c91f301358bda28b44e082735513024914e7 Mon Sep 17 00:00:00 2001 From: Chris Aniszczyk Date: Sun, 7 Mar 2004 02:50:38 +0000 Subject: Version bump and clean up. --- dev-java/randomguid/ChangeLog | 5 ++- dev-java/randomguid/Manifest | 6 ++- dev-java/randomguid/files/digest-randomguid-1.2 | 1 - dev-java/randomguid/files/digest-randomguid-1.2.1 | 1 + dev-java/randomguid/randomguid-1.2.1.ebuild | 54 +++++++++++++++++++++++ dev-java/randomguid/randomguid-1.2.ebuild | 53 ---------------------- 6 files changed, 63 insertions(+), 57 deletions(-) delete mode 100644 dev-java/randomguid/files/digest-randomguid-1.2 create mode 100644 dev-java/randomguid/files/digest-randomguid-1.2.1 create mode 100644 dev-java/randomguid/randomguid-1.2.1.ebuild delete mode 100644 dev-java/randomguid/randomguid-1.2.ebuild (limited to 'dev-java/randomguid') diff --git a/dev-java/randomguid/ChangeLog b/dev-java/randomguid/ChangeLog index 98d15e71b5f4..00aa94f1a197 100644 --- a/dev-java/randomguid/ChangeLog +++ b/dev-java/randomguid/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/randomguid # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/randomguid/ChangeLog,v 1.4 2004/01/17 04:20:53 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/randomguid/ChangeLog,v 1.5 2004/03/07 02:50:38 zx Exp $ + + 09 Mar 2004; Chris Aniszczyk randomguid-1.2.ebuild: + Version bump and clean up. 17 Jan 2004; Adrian Almenar randomguid-1.2.ebuild: Removed keywords with non-java support. diff --git a/dev-java/randomguid/Manifest b/dev-java/randomguid/Manifest index 877e7bba1f3e..f35ffd0cee9c 100644 --- a/dev-java/randomguid/Manifest +++ b/dev-java/randomguid/Manifest @@ -1,4 +1,6 @@ -MD5 0d9658599f8e8c8f8c4bd5be29c07ff3 randomguid-1.2.ebuild 1514 -MD5 c7fb79ab61aac108ae64f5111ec32c74 ChangeLog 458 +MD5 5a282857645701484977443cc11cb851 randomguid-1.2.1.ebuild 1539 +MD5 a9b5df59282bd76826a07a018fc37ed9 randomguid-1.2.ebuild 1513 +MD5 1d5cf153db0fc56ddc6636ec62d42614 ChangeLog 457 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 6bdfb93cdfa356c8719cd1731135b151 files/digest-randomguid-1.2 58 +MD5 0ba309c1a7d728217d2b8cf9cf859077 files/digest-randomguid-1.2.1 58 diff --git a/dev-java/randomguid/files/digest-randomguid-1.2 b/dev-java/randomguid/files/digest-randomguid-1.2 deleted file mode 100644 index 96c406a60e15..000000000000 --- a/dev-java/randomguid/files/digest-randomguid-1.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 fadb02b0419b8ed024ffc845fcfd7864 RandomGUID.tar 20480 diff --git a/dev-java/randomguid/files/digest-randomguid-1.2.1 b/dev-java/randomguid/files/digest-randomguid-1.2.1 new file mode 100644 index 000000000000..a1e3154a162b --- /dev/null +++ b/dev-java/randomguid/files/digest-randomguid-1.2.1 @@ -0,0 +1 @@ +MD5 c8924e2beb6e96b6e3be9215bbd7bb00 RandomGUID.tar 20480 diff --git a/dev-java/randomguid/randomguid-1.2.1.ebuild b/dev-java/randomguid/randomguid-1.2.1.ebuild new file mode 100644 index 000000000000..ed76ed3258ce --- /dev/null +++ b/dev-java/randomguid/randomguid-1.2.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/randomguid/randomguid-1.2.1.ebuild,v 1.1 2004/03/07 02:50:38 zx Exp $ + +inherit java-pkg + +DESCRIPTION="Generate truly random, cryptographically strong GUIDs" +HOMEPAGE="http://www.javaexchange.com" +SRC_URI="ftp://www.javaexchange.com/javaexchange/RandomGUID.tar" +LICENSE="as-is" +SLOT="0" +KEYWORDS="x86 ppc sparc" +IUSE="jikes" +RDEPEND=">=virtual/jdk-1.2" +DEPEND="${RDEPEND} + jikes? ( >=dev-java/jikes-1.15 )" + +S=${WORKDIR} + +src_compile() { + mkdir -p com/javaexchange + mv RandomGUID.java com/javaexchange/RandomGUID.java~ + + # We need to move RandomGUID.class into the + # com.javaexchange package. This is necessary to prevent + # class lookup failures, such as when used with Tomcat + # (which has a different package for JSP files). + cd com/javaexchange + echo >RandomGUID.java "package com.javaexchange;" + cat RandomGUID.java~ >>RandomGUID.java + + if [ `use jikes` ] ; then + jikes RandomGUID.java || die "compile problem" + else + javac RandomGUID.java || die "compile problem" + fi + + # don't want .java files in jar + rm RandomGUID.java* + + cd ${S} + jar cf RandomGUID.jar com || die "jar problem" +} + +src_install() { + java-pkg_dojar RandomGUID.jar + dodoc RandomGUIDdemo.java +} + +pkg_postinst() { + einfo "RandomGUID.class has been moved from the " + einfo "package into com.javaexchange, so the fully qualified" + einfo "class name is now: com.javaexchange.RandomGUID" +} diff --git a/dev-java/randomguid/randomguid-1.2.ebuild b/dev-java/randomguid/randomguid-1.2.ebuild deleted file mode 100644 index 20fc31366c90..000000000000 --- a/dev-java/randomguid/randomguid-1.2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/randomguid/randomguid-1.2.ebuild,v 1.6 2004/01/17 04:20:53 strider Exp $ - -IUSE="jikes" - -S=${WORKDIR} -DESCRIPTION="Generate truly random, cryptographically strong GUIDs" -HOMEPAGE="http://www.javaexchange.com" -SRC_URI="ftp://www.javaexchange.com/javaexchange/RandomGUID.tar" -LICENSE="as-is" -SLOT="0" -KEYWORDS="x86 ppc sparc" - -RDEPEND=">=virtual/jdk-1.2" -DEPEND="${RDEPEND} - jikes? ( >=dev-java/jikes-1.15 )" - -src_compile() { - mkdir -p com/javaexchange - mv RandomGUID.java com/javaexchange/RandomGUID.java~ - - # We need to move RandomGUID.class into the - # com.javaexchange package. This is necessary to prevent - # class lookup failures, such as when used with Tomcat - # (which has a different package for JSP files). - cd com/javaexchange - echo >RandomGUID.java "package com.javaexchange;" - cat RandomGUID.java~ >>RandomGUID.java - - if [ `use jikes` ] ; then - jikes RandomGUID.java || die "compile problem" - else - javac RandomGUID.java || die "compile problem" - fi - - # don't want .java files in jar - rm RandomGUID.java* - - cd ${S} - jar cf RandomGUID.jar com || die "jar problem" -} - -src_install() { - dojar RandomGUID.jar - dodoc RandomGUIDdemo.java -} - -pkg_postinst() { - einfo "RandomGUID.class has been moved from the " - einfo "package into com.javaexchange, so the fully qualified" - einfo "class name is now: com.javaexchange.RandomGUID" -} -- cgit v1.2.3-65-gdbad