# ChangeLog for dev-java/randomguid
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/randomguid/ChangeLog,v 1.12 2007/01/05 23:34:55 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/randomguid/ChangeLog,v 1.13 2007/01/10 10:26:37 betelgeuse Exp $
+
+*randomguid-1.2.1-r1 (10 Jan 2007)
+
+ 10 Jan 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +randomguid-1.2.1-r1.ebuild:
+ Migrated to generation 2 and added wrapper installation.
05 Jan 2007; Vlastimil Babka <caster@gentoo.org> randomguid-1.2.1.ebuild:
Convert einfo to elog.
-DIST RandomGUID.tar 20480
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST RandomGUID.tar 20480 RMD160 040bdcd974770b6322761c50f41fbfd577389786 SHA1 95435991e830431e8269ee8b5c8b136aca7b8bac SHA256 1f5383a2cbb1fd51653d75770c2ccf0b16832c91e6c87f49e79b2ca715c97c3b
+EBUILD randomguid-1.2.1-r1.ebuild 1489 RMD160 63ee5f9cef8579c0cfab8f3fa605331265ec087e SHA1 4cf2deda65d83c45f75fcd050099b31a29fde7d5 SHA256 fb5dfba5308ec6f1a77f012ee49eb58342155eb87f282c5d0c15ac7ba40da6fd
+MD5 dd6ba8272d47fadf63da71bd6ee343c4 randomguid-1.2.1-r1.ebuild 1489
+RMD160 63ee5f9cef8579c0cfab8f3fa605331265ec087e randomguid-1.2.1-r1.ebuild 1489
+SHA256 fb5dfba5308ec6f1a77f012ee49eb58342155eb87f282c5d0c15ac7ba40da6fd randomguid-1.2.1-r1.ebuild 1489
EBUILD randomguid-1.2.1.ebuild 1530 RMD160 918bfd9a7c5818a49555f7a297a2811a3b7b73cc SHA1 bb60ef4c454161677bdd5ad7679a1b4438d53a33 SHA256 0c61a3d0236c89a87c25b4d9fbc807196beb08994611dbf0d4103e72f810ca3a
MD5 19ab54bab65c854e1f38267a7801988a randomguid-1.2.1.ebuild 1530
RMD160 918bfd9a7c5818a49555f7a297a2811a3b7b73cc randomguid-1.2.1.ebuild 1530
SHA256 0c61a3d0236c89a87c25b4d9fbc807196beb08994611dbf0d4103e72f810ca3a randomguid-1.2.1.ebuild 1530
-MISC ChangeLog 1090 RMD160 2471a94fb76d1fe1d6ae4873146c46ea80c4aa82 SHA1 a8ab7dfa2622a5d9916375c2353c7a34ca80e476 SHA256 72565a8ae7e0bc8e8ed56c8c3b89bc11f2a2d9efed5013ae9500066d4e466e99
-MD5 a1142ca2b47b4b758368fb9426b40154 ChangeLog 1090
-RMD160 2471a94fb76d1fe1d6ae4873146c46ea80c4aa82 ChangeLog 1090
-SHA256 72565a8ae7e0bc8e8ed56c8c3b89bc11f2a2d9efed5013ae9500066d4e466e99 ChangeLog 1090
+MISC ChangeLog 1274 RMD160 473b4a8dcdecda5c93d8e3eb1946eb6b627881a8 SHA1 9fff1aa6a2dc9c8cbe8b755503c411ff1a7184be SHA256 f114ca9075742919c0706fcd4c00b9af2bd5db023c9411ae00f49be2ec6a5ed9
+MD5 85c8db727d612ad9fd814515045644c8 ChangeLog 1274
+RMD160 473b4a8dcdecda5c93d8e3eb1946eb6b627881a8 ChangeLog 1274
+SHA256 f114ca9075742919c0706fcd4c00b9af2bd5db023c9411ae00f49be2ec6a5ed9 ChangeLog 1274
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata.xml 157
-MD5 a60d43cd2a306df09b970c7c3b69c529 files/digest-randomguid-1.2.1 58
-RMD160 91c8e9aaa607ffc02b79b212eab9ce9111d732d4 files/digest-randomguid-1.2.1 58
-SHA256 7e4906e96e81630727c5e40d80acd5524944929f29edf678c2bb3a11b9184cdf files/digest-randomguid-1.2.1 58
+MD5 8611c90eb8e61b7071796bfe2308e13b files/digest-randomguid-1.2.1 220
+RMD160 16d021b68c45d2095b5b9835355289b021455fde files/digest-randomguid-1.2.1 220
+SHA256 aa2dd02e26b385cda2b4ed5d5223edd91dd534e50b2a1a0d6920b874d8228f49 files/digest-randomguid-1.2.1 220
+MD5 8611c90eb8e61b7071796bfe2308e13b files/digest-randomguid-1.2.1-r1 220
+RMD160 16d021b68c45d2095b5b9835355289b021455fde files/digest-randomguid-1.2.1-r1 220
+SHA256 aa2dd02e26b385cda2b4ed5d5223edd91dd534e50b2a1a0d6920b874d8228f49 files/digest-randomguid-1.2.1-r1 220
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFFpL+bcxLzpIGCsLQRAjhRAJ9TQ0fiLddsO3kl4vQaBUDMljlRlQCeMzO2
+3IZy2G1Zx6GWSdN5kYiJza8=
+=qZYn
+-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/randomguid/randomguid-1.2.1-r1.ebuild,v 1.1 2007/01/10 10:26:37 betelgeuse Exp $
+
+inherit java-pkg-2
+
+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 ~amd64"
+IUSE=""
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4"
+
+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 <default> package for JSP files).
+ cd com/javaexchange
+ echo >RandomGUID.java "package com.javaexchange;"
+ cat RandomGUID.java~ >>RandomGUID.java
+
+ ejavac RandomGUID.java || die "compile problem"
+
+ # 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
+ java-pkg_dolauncher ${PN} \
+ --main com.javaexchange.RandomGUID
+ dodoc RandomGUIDdemo.java
+}
+
+pkg_postinst() {
+ elog "RandomGUID.class has been moved from the <default>"
+ elog "package into com.javaexchange, so the fully qualified"
+ elog "class name is now: com.javaexchange.RandomGUID"
+}