--- /dev/null
+# ChangeLog for dev-java/spice-jndikit
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/spice-jndikit/ChangeLog,v 1.1 2007/01/12 21:35:20 betelgeuse Exp $
+
+*spice-jndikit-1.2 (12 Jan 2007)
+
+ 12 Jan 2007; Petteri Räty <betelgeuse@gentoo.org> +metadata.xml,
+ +spice-jndikit-1.2.ebuild:
+ Initial addition. Ebuild done by me. Fixes bug #161526.
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST spice-jndikit-1.2-src.tar.gz 23084 RMD160 b920bb4df8f3bd2b0a368d9faac0d232b0355970 SHA1 7b9741ff3db4f4a2f5a9981ea4d818abf76fa78d SHA256 3001e72223786e25a132ce8c41ff5e1d9fd8826e98122d5b73517aefd908e11a
+EBUILD spice-jndikit-1.2.ebuild 1360 RMD160 464fcd097d1bf8eaa8923e0f7fa10e60c7fc2c8b SHA1 ab3b2f9ac14a6ca13eed1cdbf331d887f6dc5efd SHA256 856087ba8d5b8715b9d672afec6c5167279b5a355a9d6da8eef405b83f771fc0
+MD5 f28924a28d078fd0b243813c8e665114 spice-jndikit-1.2.ebuild 1360
+RMD160 464fcd097d1bf8eaa8923e0f7fa10e60c7fc2c8b spice-jndikit-1.2.ebuild 1360
+SHA256 856087ba8d5b8715b9d672afec6c5167279b5a355a9d6da8eef405b83f771fc0 spice-jndikit-1.2.ebuild 1360
+MISC ChangeLog 411 RMD160 930dabb680d1586430886dd5264118fe6ce342c6 SHA1 91173ae736237d07c38f3d565bbe5416bf393ef7 SHA256 b748636e2e31966c94264f2a48c91767218a32ccbd0ae46ea7ed624339105a37
+MD5 40e2007d839a10e86d63128f4da23a86 ChangeLog 411
+RMD160 930dabb680d1586430886dd5264118fe6ce342c6 ChangeLog 411
+SHA256 b748636e2e31966c94264f2a48c91767218a32ccbd0ae46ea7ed624339105a37 ChangeLog 411
+MISC metadata.xml 388 RMD160 d8bef82a52318949d0ca495ce201e41db3031749 SHA1 b6db9d02f95ffdcd5e6de9b2807342db55f9e6db SHA256 b03e7f90f36646c45007c3d5976f55850f026632f8a4feb5409198d92ad213a6
+MD5 17092269fcc08822ecebc387dafda468 metadata.xml 388
+RMD160 d8bef82a52318949d0ca495ce201e41db3031749 metadata.xml 388
+SHA256 b03e7f90f36646c45007c3d5976f55850f026632f8a4feb5409198d92ad213a6 metadata.xml 388
+MD5 a5c50cc7d90c06f74d9d5c0dd8f0fabc files/digest-spice-jndikit-1.2 262
+RMD160 485c9336eb42df63fcfa635370d4cb43ee3598bf files/digest-spice-jndikit-1.2 262
+SHA256 f4a8af238d7f38c6c2f347282618cf734462b336d997bcab4eaa44aa3e84e3d8 files/digest-spice-jndikit-1.2 262
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFFp/8acxLzpIGCsLQRAnk9AJ4hIXFZBmM/AaE/VLHoVGWH2gzAyQCfUPN6
+N79X3PTB8eId2kX/0dWA09M=
+=awsk
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 f70ee576be3c52126ed711c92a28360b spice-jndikit-1.2-src.tar.gz 23084
+RMD160 b920bb4df8f3bd2b0a368d9faac0d232b0355970 spice-jndikit-1.2-src.tar.gz 23084
+SHA256 3001e72223786e25a132ce8c41ff5e1d9fd8826e98122d5b73517aefd908e11a spice-jndikit-1.2-src.tar.gz 23084
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+
+<longdescription lang="en">
+ Spice JNDIKit: JNDI Kit is a toolkit designed to help with the
+ construction of JNDI providers. The toolkit also provides users
+ with ready made memory-based and RMI-based contexts.
+</longdescription>
+</pkgmetadata>
--- /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/spice-jndikit/spice-jndikit-1.2.ebuild,v 1.1 2007/01/12 21:35:20 betelgeuse Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="JNDI Kit is a toolkit designed to help with the construction of JNDI providers."
+HOMEPAGE="http://spice.codehaus.org/"
+SRC_URI="http://dist.codehaus.org/spice/distributions/${P}-src.tar.gz"
+LICENSE="Spice-1.1"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="doc source test"
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND="
+ >=dev-java/java-config-2.0.31
+ !doc? ( >=virtual/jdk-1.4 )
+ doc? ( || ( =virtual/jdk-1.4* =virtual/jdk-1.5* ) )
+ dev-java/ant-core
+ source? ( app-arch/zip )
+ test? ( dev-java/junit dev-java/ant-tasks )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ java-ant_ignore-system-classes
+ java-ant_rewrite-classpath
+}
+
+src_compile() {
+ java-pkg-2_src_compile
+ cd target/classes
+ rmic org.codehaus.spice.jndikit.rmi.server.RMINamingProviderImpl \
+ || die "rmic failed"
+}
+
+src_test() {
+ einfo "Tests need a network connection so they will fail without it"
+ eant test -DJunit.present=true \
+ -Dgentoo.classpath="$(java-pkg_getjars --build-only junit)"
+}
+
+src_install() {
+ java-pkg_newjar target/${P}.jar
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/*
+}