summaryrefslogtreecommitdiff
path: root/dev-db/db-je
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-db/db-je
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-db/db-je')
-rw-r--r--dev-db/db-je/Manifest6
-rw-r--r--dev-db/db-je/db-je-3.3.75.ebuild38
-rw-r--r--dev-db/db-je/files/db-je-3.3.75-optional-test.patch45
-rw-r--r--dev-db/db-je/metadata.xml12
4 files changed, 101 insertions, 0 deletions
diff --git a/dev-db/db-je/Manifest b/dev-db/db-je/Manifest
new file mode 100644
index 000000000000..33c10b540731
--- /dev/null
+++ b/dev-db/db-je/Manifest
@@ -0,0 +1,6 @@
+AUX db-je-3.3.75-optional-test.patch 1791 SHA256 d7437fd7204aa3047c4d98eceebd95247513f1eac5d7864267dc6f3680f1ca1a SHA512 a33e2ae28fa121c68990b44f5441685d50b025db784d07ee6fb78ae9a19ec8c10ee1ec91fb0296507a94792fca86b9a54b5a3e8fd1c0e076f5dc6c0c28cceb1a WHIRLPOOL efa737026ddfd2628762982673b6f4064a5ef9c858dc674510af88152d695f469aa012ec4e0651e7052c5b6d525ef747603bfb4a93b595f79653cad2a0017671
+DIST je-3.3.75.tar.gz 5179709 SHA256 98bb5b374eac336329e4bb87f537355ba5128e697f2bfea5904eba46a5f1ee08 SHA512 e28648459a3a7dcf98e8865e6859544c656c3b58688b244df568cc8c006a74dda79aadfbfb279e099c1376914cca064734da490998a864c1bd2cc3209bc64ae4 WHIRLPOOL a86747a5a30444847e666fd82bd397ead06b4597200b82ce7e88301e6e8531faf267b1cebf2850bfc072916a3a1b903fe35012466a44a5c6bd5311cbce43455b
+EBUILD db-je-3.3.75.ebuild 914 SHA256 3521e2f028f1a71888d28d7ed9a502149676fda1d051d3e210388d1cd6692238 SHA512 101710c533e2dd1df633e0b82ef9d0d6cee5757a7ce476d16263deb5cbdff3ddb77d6e78eeb0917426d8d35e20a198e23e479f666e3c9af273a4a3ca1258d1e0 WHIRLPOOL b3b11de6d934895f53749d7c9d80e190f9829ed2ad180f9f431cd33898a251b809cc40bcbda4613ed535aeea38efea0f4669181c7f8d35638b75d64ff9a3949c
+MISC ChangeLog 2855 SHA256 74218c1d14b1495336b5cde0a469a9191f1528dce4337fd0322508218993316d SHA512 422601f4355eea690cb582cac938e6ccad22acf6916f050c09e10f11ea698c68a0c35f905a181ff74405273d102a7fcefbcd90cd729724209a13025437c6c43b WHIRLPOOL ec45ad046710f02fb9dab9881e508c741959448bc6173b22c3d47f4aac2841d70a5d1d21f1a2d379049da810c868155f4a154d29c2a7f477d704306e955c1a59
+MISC ChangeLog-2015 610 SHA256 d2e1e6c24edcf6e15560fd2b9ce687b50684be6a9d7123a9416b4db520b8ef36 SHA512 b5b6a68aae144181220f850453a4ecb7638af5caa3da41e33e3113cf9e5dcf2f80dcf70f8a09f8ad07968db322cb864b4c0db3ba2475e72a33aa6907b51aefa0 WHIRLPOOL d3d97f969703fdd80fc4128e4e3a33d9823150702a300f92fc7a08bc24dfb2d231d3531571fa2577c0c029abdc152d03db974d72dd67e224ba48621cd7f5c0d8
+MISC metadata.xml 352 SHA256 8c0d6e0f8946242af2c5b2513ca0b18d3408d428e6c84f63a93ee2dffd857194 SHA512 a3c6ce3cd97b39644238700277dd416e1ee79df975184de3429810ca4d77f7160112adef6a9b56f77243a003187f6642798b278cf8501d55da766ccfbaa861cf WHIRLPOOL 8a92408c9175845d852584035d1f33f0f032c5457ce8809d5f6c88710577ae6c958d55d2ab412d703e680d168fff0b00a41236472f8a866418a6d05b99335d57
diff --git a/dev-db/db-je/db-je-3.3.75.ebuild b/dev-db/db-je/db-je-3.3.75.ebuild
new file mode 100644
index 000000000000..20eabe5cf0a4
--- /dev/null
+++ b/dev-db/db-je/db-je-3.3.75.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A high performance, transactional storage engine written entirely in Java"
+HOMEPAGE="http://www.oracle.com/database/berkeley-db/je/index.html"
+SRC_URI="http://download.oracle.com/berkeley-db/${P/db-/}.tar.gz"
+
+LICENSE="Sleepycat BSD"
+SLOT="3.3"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.5"
+RDEPEND=">=virtual/jre-1.5"
+S=${WORKDIR}/${P/db-/}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}" || die
+ epatch "${FILESDIR}"/${P}-optional-test.patch
+ rm -rf docs
+ cd lib || die
+ rm -v *jar || die
+ java-pkg_jar-from --build-only ant-core ant.jar
+}
+
+EANT_DOC_TARGET="javadoc-all"
+EANT_EXTRA_ARGS="-Dnotest=true"
+
+src_install() {
+ java-pkg_dojar build/lib/je.jar
+ use doc && java-pkg_dojavadoc docs
+ use source && java-pkg_dosrc src/com
+}
diff --git a/dev-db/db-je/files/db-je-3.3.75-optional-test.patch b/dev-db/db-je/files/db-je-3.3.75-optional-test.patch
new file mode 100644
index 000000000000..e8f7600398e2
--- /dev/null
+++ b/dev-db/db-je/files/db-je-3.3.75-optional-test.patch
@@ -0,0 +1,45 @@
+--- build.xml 2008-06-11 05:25:20.000000000 +0200
++++ build.xml.new 2008-08-22 15:59:53.000000000 +0200
+@@ -102,6 +102,7 @@
+ <path id="empty.classpath"/>
+
+ <path id="class.path">
++ <fileset dir="lib" includes="*.jar"/>
+ <pathelement location="${specificjar}"/>
+ <pathelement location="."/>
+ </path>
+@@ -487,14 +488,14 @@
+ <!-- JUnit unit tests -->
+ <!-- ============================================================ -->
+
+- <target name="init-unittest" depends="init">
++ <target name="init-unittest" depends="init" unless="notest">
+ <delete dir="${unittest.datadir}"/>
+ <delete dir="${unittest.reportsdir}"/>
+ <mkdir dir="${unittest.datadir}"/>
+ <mkdir dir="${unittest.reportsdir}"/>
+ </target>
+
+- <target name="clean-unittest" depends="init-unittest">
++ <target name="clean-unittest" depends="init-unittest" unless="notest">
+ <delete dir="${unittest.destdir}"/>
+ <mkdir dir="${unittest.destdir}"/>
+ <delete dir="${unittest.testserialdir}"/>
+@@ -503,7 +504,7 @@
+ <mkdir dir="${unittest.testevolvedir}"/>
+ </target>
+
+- <target name="compile-unittest" depends="compile-src">
++ <target name="compile-unittest" depends="compile-src" unless="notest">
+ <ant antfile="ant/compile.xml" dir="." inheritall="false">
+ <property name="srcdir" value="${unittest.srcdir}"/>
+ <property name="destdir" value="${unittest.destdir}"/>
+@@ -597,7 +598,7 @@
+ </path>
+
+ <target name="test"
+- depends="compile-unittest, init-unittest, jar">
++ depends="compile-unittest, init-unittest, jar" unless="notest">
+
+ <!-- Determine which tests to run. -->
+ <condition property="alltests">
diff --git a/dev-db/db-je/metadata.xml b/dev-db/db-je/metadata.xml
new file mode 100644
index 000000000000..bc74090b9d62
--- /dev/null
+++ b/dev-db/db-je/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tommy@gentoo.org</email>
+ <name>Thomas Sachau (Tommy[D])</name>
+ </maintainer>
+<maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+</pkgmetadata>