summaryrefslogtreecommitdiff
path: root/dev-java/jisp
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/jisp
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jisp')
-rw-r--r--dev-java/jisp/Manifest6
-rw-r--r--dev-java/jisp/files/jisp-2.5.1-java15.patch46
-rw-r--r--dev-java/jisp/jisp-2.5.1-r3.ebuild35
-rw-r--r--dev-java/jisp/metadata.xml8
4 files changed, 95 insertions, 0 deletions
diff --git a/dev-java/jisp/Manifest b/dev-java/jisp/Manifest
new file mode 100644
index 000000000000..3390e178bc0c
--- /dev/null
+++ b/dev-java/jisp/Manifest
@@ -0,0 +1,6 @@
+AUX jisp-2.5.1-java15.patch 1828 SHA256 9c96ff406dce1572ad86461f662c41de8de4c8b1c0b9e3e274ecb050481e54be SHA512 b6221e375ad98ec8d4eb86b3a0d720b898358d9528966b31e8f4f39e8eba595424ecca3d5eaddb0866efbdc056d2dc68b1c1e4e7e09ab2bf637f7e7e00c4b039 WHIRLPOOL f464ad69245d6a35a06c6e1d85a5f5207c26738c8d266b994c80a0a1cd4a529ec5b08daa8724655d6434ea6639f61f14fde323492a775ab9b990b1983f019781
+DIST jisp-2.5.1-source.tar.gz 63282 SHA256 fc45285b818f69aa92cab72f8a87a070eba9e8ee2c199b9d0e170fb2cf7ab7ba SHA512 b82bea547e6725e37285a5d332daeb8ecf300a6f69004845a308a3ee87f143e7a7e8be34925fd288523e36eea64479010915306ac33871b3bf4310c54a1c26d0 WHIRLPOOL 850f0b617066c30f347ff2d5c0e78b423be3ef062bd481f5610f43774a64421df7ca59613b30deceb152b055479b6392a9474d82094f25acdaa4ca4dc6df21af
+EBUILD jisp-2.5.1-r3.ebuild 797 SHA256 1c24c936f8f4285d633047918692a43e247fb1c267605bc0d6a130903ebd4751 SHA512 26d5c32ff26de6b83c79e6bf302349f66db636273ff4a8d430075b1bcd55dfdfef00eff4f4e2e2f6a1df64aad2a5dd242aec92ea314494334b0f8eed183ce390 WHIRLPOOL c07874a89e9e08cff4c26178c67b30673c69b97a56610e6f3629a74e02fd6f91952ef7481fdd0940b5f2721c1edf9f45820817b155d3b19bc423e5528706eac3
+MISC ChangeLog 2920 SHA256 e8e7645ada8debe200e2105128649836b8b2412fadc76fb0bb91d2e7cbf62009 SHA512 2cbeabaa053d46618b90b7484ee89fd927a839b27d5f9a0f8ce8081e6e72d69d58ead5018762ee7e39383ff7b5958c06cdd53fcea97846dcff4c4f8b4e5c7c6e WHIRLPOOL afab0e577b18c35bbd3b602a5c525ec14959078fcc3b4e47aa74745e48d20b3d5ecc1779c000b8f596d1a8ea185adbe0e1979f57f97915130927a516adb7d3e4
+MISC ChangeLog-2015 1523 SHA256 c8c046aa5ba1a2b1d276d6c59e02d73eb0d921758d4729d9d3bb0e6a727e376d SHA512 d567211300025b1b5d4dab2863341b32444180d3e26309f5b2021815adf7383d08c1a6441943356e746bf5e6ba441e0883152df04f3b0dee70fa7bf6a1a07a96 WHIRLPOOL acb860adbc97f4b70f84a5d12f4cd103e175be665bbf51fe52afe754bb2a360419972c4a7ffd24d3a5cb9036edb67a3d1081051865f0e3846cc3543ecf2e4d9b
+MISC metadata.xml 242 SHA256 653cd0d34675fe6c6201752e96e6b035bad682c39a376c236b0a8f70dbdcc1c9 SHA512 50f4d6219b995b723d6ebbb4f2a18adbf558a685f862aea00f072254dcc0fe6c1388e4aeaf21fb3ce0fb840a2ef4851807536d037c9682b21cb1986198715a4f WHIRLPOOL 12c33e00040d7a3f4c26a8b7a6a6eaf10007a9e29af9904d192f89db5120a2760a7174fa40c40068eb6066d6a4f0dbbc57a12e852581de95cc956e210351b705
diff --git a/dev-java/jisp/files/jisp-2.5.1-java15.patch b/dev-java/jisp/files/jisp-2.5.1-java15.patch
new file mode 100644
index 000000000000..cfc0b7e2c93e
--- /dev/null
+++ b/dev-java/jisp/files/jisp-2.5.1-java15.patch
@@ -0,0 +1,46 @@
+diff -ru jisp-2.5.1/com/coyotegulch/jisp/SerialObjectOutputStream.java jisp-2.5.1-patched/com/coyotegulch/jisp/SerialObjectOutputStream.java
+--- jisp-2.5.1/com/coyotegulch/jisp/SerialObjectOutputStream.java 2003-03-27 13:02:19.000000000 -0500
++++ jisp-2.5.1-patched/com/coyotegulch/jisp/SerialObjectOutputStream.java 2005-11-06 15:24:33.000000000 -0500
+@@ -83,11 +83,11 @@
+ // Check if we have a list of m_buffers
+ if (m_buffers != null)
+ {
+- Iterator enum = m_buffers.iterator();
++ Iterator i = m_buffers.iterator();
+
+- while (enum.hasNext())
++ while (i.hasNext())
+ {
+- byte[] bytes = (byte[]) enum.next();
++ byte[] bytes = (byte[]) i.next();
+ out.write(bytes, 0, m_blockSize);
+ }
+ }
+@@ -101,10 +101,10 @@
+ // Check if we have a list of m_buffers
+ if (m_buffers != null)
+ {
+- Iterator enum = m_buffers.iterator();
+- while (enum.hasNext())
++ Iterator i = m_buffers.iterator();
++ while (i.hasNext())
+ {
+- byte[] bytes = (byte[]) enum.next();
++ byte[] bytes = (byte[]) i.next();
+ out.write(bytes, 0, m_blockSize);
+ }
+ }
+@@ -126,10 +126,10 @@
+ int pos = 0;
+ if (m_buffers != null)
+ {
+- Iterator enum = m_buffers.iterator();
+- while (enum.hasNext())
++ Iterator i = m_buffers.iterator();
++ while (i.hasNext())
+ {
+- byte[] bytes = (byte[]) enum.next();
++ byte[] bytes = (byte[]) i.next();
+ System.arraycopy(bytes,0,data,pos,m_blockSize);
+ pos+=m_blockSize;
+ }
diff --git a/dev-java/jisp/jisp-2.5.1-r3.ebuild b/dev-java/jisp/jisp-2.5.1-r3.ebuild
new file mode 100644
index 000000000000..6577ef618f4d
--- /dev/null
+++ b/dev-java/jisp/jisp-2.5.1-r3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 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 eutils
+
+DESCRIPTION="Java Indexed Serialization Package: A small, embedded database engine"
+HOMEPAGE="http://www.coyotegulch.com/products/jisp/"
+
+# TODO contact upstream about hosting jisp-2.5 on their site.
+# They only maintain 3.0 at the moment
+# This tarball is from jpackage's jisp2 source rpm
+SRC_URI="http://gentooexperimental.org/distfiles/${P}-source.tar.gz"
+
+LICENSE="SVFL"
+SLOT="2.5"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${P}"
+
+JAVA_SRC_DIR="src"
+
+java_prepare() {
+ epatch "${FILESDIR}"/${P}-java15.patch
+
+ mkdir src || die
+ mv com src || die
+}
diff --git a/dev-java/jisp/metadata.xml b/dev-java/jisp/metadata.xml
new file mode 100644
index 000000000000..37998bf40746
--- /dev/null
+++ b/dev-java/jisp/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>