summaryrefslogtreecommitdiff
path: root/dev-java/jisp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/jisp
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/jisp')
-rw-r--r--dev-java/jisp/Manifest4
-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, 93 insertions, 0 deletions
diff --git a/dev-java/jisp/Manifest b/dev-java/jisp/Manifest
new file mode 100644
index 000000000000..7a040f275dca
--- /dev/null
+++ b/dev-java/jisp/Manifest
@@ -0,0 +1,4 @@
+AUX jisp-2.5.1-java15.patch 1828 BLAKE2B fe995052b054f43498911df78b4776c4df7b9a047b5e1f1a6f5c7b99d1d67cba12bb9459dd573e51c1e00c0c94d058f03caef5e0a4b8f524b1ac8cc88c6f830e SHA512 b6221e375ad98ec8d4eb86b3a0d720b898358d9528966b31e8f4f39e8eba595424ecca3d5eaddb0866efbdc056d2dc68b1c1e4e7e09ab2bf637f7e7e00c4b039
+DIST jisp-2.5.1-source.tar.gz 63282 BLAKE2B d2e8bbc91f2db1fbe1c8411dade375a8934f3cc662f1c7604097341ba1f0430b4e450dac7e77f1479d4078be4cb4c2878c243c3d1c84b36f6bd1ee9318046b90 SHA512 b82bea547e6725e37285a5d332daeb8ecf300a6f69004845a308a3ee87f143e7a7e8be34925fd288523e36eea64479010915306ac33871b3bf4310c54a1c26d0
+EBUILD jisp-2.5.1-r3.ebuild 797 BLAKE2B fdbab9e2af85fc29ffc0d56bfce9a2295f3fd885b724ee63f82e70e2f2c7979ee7e7fbba6840f5a7c5e84201e2e85d06ce09fff5778e201b57c3401dab9ae61a SHA512 26d5c32ff26de6b83c79e6bf302349f66db636273ff4a8d430075b1bcd55dfdfef00eff4f4e2e2f6a1df64aad2a5dd242aec92ea314494334b0f8eed183ce390
+MISC metadata.xml 242 BLAKE2B 6bf5b48906c64a18d9f27e7ecec168ed039f8d390792d62aedb8c86627a13ff09d583a736982057d245fe5db27c4016257125d69792d6bbe424e7d2a35067675 SHA512 50f4d6219b995b723d6ebbb4f2a18adbf558a685f862aea00f072254dcc0fe6c1388e4aeaf21fb3ce0fb840a2ef4851807536d037c9682b21cb1986198715a4f
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>