summaryrefslogtreecommitdiff
path: root/dev-java/spice-jndikit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/spice-jndikit
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/spice-jndikit')
-rw-r--r--dev-java/spice-jndikit/Manifest7
-rw-r--r--dev-java/spice-jndikit/metadata.xml16
-rw-r--r--dev-java/spice-jndikit/spice-jndikit-1.2.ebuild44
-rw-r--r--dev-java/spice-jndikit/spice-jndikit-1.4.ebuild40
4 files changed, 107 insertions, 0 deletions
diff --git a/dev-java/spice-jndikit/Manifest b/dev-java/spice-jndikit/Manifest
new file mode 100644
index 000000000000..1279a6bbce2f
--- /dev/null
+++ b/dev-java/spice-jndikit/Manifest
@@ -0,0 +1,7 @@
+DIST spice-jndikit-1.2-src.tar.gz 23084 SHA256 3001e72223786e25a132ce8c41ff5e1d9fd8826e98122d5b73517aefd908e11a SHA512 bdb508eac32c8dac05be45553a6877e214dce4135c9ae96b95764254df4c0e57f2a7be3905301b096f140014e04e4fe6b517b7757553de26d73a513f7ff06244 WHIRLPOOL 62206bd937c9a7d9660ebda84782edcd08e331e48e389135a7b708999166ab122ce318aeac14386bbd091407c24a0096c14b72f42a073413b21a2bc65086cc3b
+DIST spice-jndikit-1.4.zip 55185 SHA256 74bc8619ed53219c7498cb7ef180098fad8fdd0b9ab62ba201a903cc3438bdcc SHA512 798a1671cf79a9ecf7777a2b5b6caa0074dcca97cecb445c8dad9a44144cc71fed312f7a13d4b7e12f09eb23b0525b38bca62d67866db76f03ceb5a7a0501501 WHIRLPOOL b3d3236a37a037d8c6f51dc8940b9539f73d1803a5c935b0bd9a625afc443b54c9c737a96a49b08c123fe48800023f8d821b4345b374829c171e7136cf16f186
+EBUILD spice-jndikit-1.2.ebuild 1105 SHA256 cfd4e59e29f80752b4f295528f124692baea43fd4e45cc4ae47bdc5c0985ada6 SHA512 ebb2fe080801bd9e0e12e1fe7f8761331e992ff48a035867f54dcf1a63301eb95f65baceb3320fd292a4e031fa3500b14309413d60fe983f71e34ae54fb970a2 WHIRLPOOL 2ba7ec1054992ccf55ef5a95c6dfcbc6ba1c8680a169c39b6ea25cbfa3d0a3081f514440e1ce240ccb9f12a4b6b038dae7e04307d8041a9e5db5bd6c7e43e415
+EBUILD spice-jndikit-1.4.ebuild 868 SHA256 d0c82fc66c86706d4376904eb64bb69bc4e4cfd82fc2be148819bf2044589375 SHA512 c42bbb64c7e51c2f34aaf7d09c3f9a958f75acb85364f6b5e3e9f316f2aa4c57ac7feb70388fd3a6992d362b112fc57c8f4d1d01c873997cb756329e89c9011a WHIRLPOOL f443c0aecdad5d2fe24b05e6fd0ea9e03d5b5a3c6a5dd5d5e12c307241bcc9ef58c36b25b88a106f97dc1ed2f09d3ba617976ac215f2000712090bec60f0fe0a
+MISC ChangeLog 2621 SHA256 93d20e366f9eea3513dc0dd420ae9ab4ffc567ccccbd55972857531d7732986a SHA512 901767ab4abc22a8cb3ed12630751d9d666214e1123bcae0f39764d839ff9a9cad37751beb4f675290fde751620e462f3bff9b8715458355e5ccd92db8be58e7 WHIRLPOOL c309ee42108140d1fee51014b904805bfa04fc6f82c76ef5322140f87e675fbc4c430a03655abc1d588cf09d08262170c7569489e473266c70c3c4508b0a9fa5
+MISC ChangeLog-2015 889 SHA256 ed9e247fe4cacca8174110d2bd4750bf7e48b7a9ff9931d60a84b17193205468 SHA512 74781afdfc24f99b5d24b822d2d264604f0563d2dd729a1c7b9f1daa7f52364ef2e1e84acea0587f21ec4d2627ed074c5afc737c808e077fbfd637cfee557ae5 WHIRLPOOL 56176a726726e793f43c3174fffa4456a7e93249e3cbf68d121a6fc3be250184c747431b8ecae1b19c6c71500c47017b85aaaa1ff10621006640495ccfb9176f
+MISC metadata.xml 553 SHA256 466b8b0143ef9341f0c4c0d90917728232bc630e6ddf08bb18e7f82a67612862 SHA512 53926ae768029abd0e9bc1a4bd55c641c0a6547e0db60e0538bef4f020ac018ab2617cd925f1c81852e1b92d6da5f97ee792f3f400329dc750da77e533517976 WHIRLPOOL 79b633476c0d6dd8df4a43d2fa828e7412a6eb3bc261a136309553da1c4d9edf180549fe8f22f86767f602fb7facf26ae6d08ab103401b9b0c406e9fbc59815a
diff --git a/dev-java/spice-jndikit/metadata.xml b/dev-java/spice-jndikit/metadata.xml
new file mode 100644
index 000000000000..38b4a7041837
--- /dev/null
+++ b/dev-java/spice-jndikit/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <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>
+ <upstream>
+ <remote-id type="github">realityforge/jndikit</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild b/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
new file mode 100644
index 000000000000..5b5faa9594df
--- /dev/null
+++ b/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="JNDI Kit is a toolkit designed to help with the construction of JNDI providers"
+HOMEPAGE="https://github.com/codehaus"
+SRC_URI="http://dist.codehaus.org/spice/distributions/${P}-src.tar.gz"
+LICENSE="Spice-1.1"
+SLOT="0"
+KEYWORDS="~x86"
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND="
+ >=virtual/jdk-1.4
+ test? ( dev-java/ant-junit )"
+
+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"
+ ANT_TASKS="ant-junit" 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/*
+}
diff --git a/dev-java/spice-jndikit/spice-jndikit-1.4.ebuild b/dev-java/spice-jndikit/spice-jndikit-1.4.ebuild
new file mode 100644
index 000000000000..b2557cff7bdc
--- /dev/null
+++ b/dev-java/spice-jndikit/spice-jndikit-1.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_PN="${PN##*-}"
+
+DESCRIPTION="JNDI Kit is a toolkit designed to help with the construction of JNDI providers"
+HOMEPAGE="https://github.com/realityforge/jndikit"
+SRC_URI="https://github.com/realityforge/${MY_PN}/archive/${PV}.zip -> ${P}.zip"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=virtual/jre-1.6"
+
+DEPEND="
+ >=virtual/jdk-1.6
+ source? ( app-arch/zip )"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+JAVA_SRC_DIR="src"
+
+java_prepare() {
+ rm -rf src/test || die
+}
+
+src_compile() {
+ java-pkg-simple_src_compile
+ pushd target/classes > /dev/null || die
+ rmic org.realityforge.spice.jndikit.rmi.server.RMINamingProviderImpl \
+ || die "rmic failed"
+ popd > /dev/null || die
+}