summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2008-08-22 15:09:17 +0000
committerThomas Sachau <tommy@gentoo.org>2008-08-22 15:09:17 +0000
commitfb653a2dc3adfe971c7abaca3d4f80935be8bb2d (patch)
tree6ca2cc1bf0416996fdf82a96bf100287afc70c6c /dev-java
parentmedia-radio/xastir: Readd RDEPEND as said by devmanual(see Runtime Dependencies) (diff)
downloadsunrise-fb653a2dc3adfe971c7abaca3d4f80935be8bb2d.tar.gz
sunrise-fb653a2dc3adfe971c7abaca3d4f80935be8bb2d.tar.bz2
sunrise-fb653a2dc3adfe971c7abaca3d4f80935be8bb2d.zip
dev-java/db-je: Add new slotted version, dont remove the old one
svn path=/sunrise/; revision=6787
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/db-je/ChangeLog4
-rw-r--r--dev-java/db-je/Manifest5
-rw-r--r--dev-java/db-je/db-je-3.3.69.ebuild38
-rw-r--r--dev-java/db-je/files/db-je-3.3.69-build.patch45
4 files changed, 91 insertions, 1 deletions
diff --git a/dev-java/db-je/ChangeLog b/dev-java/db-je/ChangeLog
index bb385c144..6c420e48b 100644
--- a/dev-java/db-je/ChangeLog
+++ b/dev-java/db-je/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 22 Aug 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ +db-je-3.3.69.ebuild, +files/db-je-3.3.69-build.patch:
+ Add new slotted version, dont remove the old one
+
04 May 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+files/db-je-3.2.74-build.patch:
Add missing patchfile
diff --git a/dev-java/db-je/Manifest b/dev-java/db-je/Manifest
index fe3208a6b..8d4a375d8 100644
--- a/dev-java/db-je/Manifest
+++ b/dev-java/db-je/Manifest
@@ -1,5 +1,8 @@
AUX db-je-3.2.74-build.patch 1844 RMD160 412d64cde21907bd61d8fda01c146a875eaa2985 SHA1 926203df693b56a328ad83174314488dbc1dfd03 SHA256 4ed4749dc44040d0839cae7af3b52e74f2e756ddf89a6acbddb3aad515277821
+AUX db-je-3.3.69-build.patch 1791 RMD160 84af57c52c0f4b32460c432cc67a286d35968704 SHA1 b4c2aad41878dfccf86d9b809bbb34489d7182eb SHA256 d7437fd7204aa3047c4d98eceebd95247513f1eac5d7864267dc6f3680f1ca1a
DIST je-3.2.74.tar.gz 4908896 RMD160 9fbc4285ac7e9a6b81f7a3cf463666f4631e6b95 SHA1 5e50ecea749a74f95339bbd20a16e2a7ba76ef05 SHA256 62acb592595e41117c2f23ba1dad41edb7f807d92ca65eedd5d79410c9841cb5
+DIST je-3.3.69.tar.gz 5163828 RMD160 fa80ea19802a9b28d189af3c10fb34f00c0f6810 SHA1 602e6c20bb7167d0b6d0125577d39bbb5caf63bf SHA256 5b3555a878ea3a8d8e8bfca6ce7b737a5ffa66af31dcd4eea7b43cec219edfa7
EBUILD db-je-3.2.74.ebuild 855 RMD160 31bf0ad19d04d31e0b42f2b001849c3eadc756fc SHA1 2f7d616fe81188ebd9dac5c434489d5d3cdd9d56 SHA256 3360eb59450f6c25e7f4d3075267117e3c683b62ee20add16a0196fe2bd236a0
-MISC ChangeLog 733 RMD160 d25f64f45bf95686d9fb0b855725d744a7e26970 SHA1 91030c6c9cfcc3f68f78200df342e5f7525165ce SHA256 f64624dd58cb6d2d419ca143d65614a129dc5bc12fb17ea75001dbd613033ca1
+EBUILD db-je-3.3.69.ebuild 855 RMD160 31bf0ad19d04d31e0b42f2b001849c3eadc756fc SHA1 2f7d616fe81188ebd9dac5c434489d5d3cdd9d56 SHA256 3360eb59450f6c25e7f4d3075267117e3c683b62ee20add16a0196fe2bd236a0
+MISC ChangeLog 901 RMD160 ffcd5af772e6724d95ee3a8c432fc68f6e34ffc0 SHA1 ac2f571468d132bdfe5e8a62b5a035b1ac9ea7ab SHA256 15e9c4f7d8dbf9d0b7f183f9232bc703e9bfb9fe719c82fe80fe81693a09019e
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-java/db-je/db-je-3.3.69.ebuild b/dev-java/db-je/db-je-3.3.69.ebuild
new file mode 100644
index 000000000..a67eaa1a5
--- /dev/null
+++ b/dev-java/db-je/db-je-3.3.69.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit base java-pkg-2 java-ant-2
+
+DESCRIPTION="Berkeley DB JE is 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="OracleDB"
+SLOT="3.2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.5
+ dev-java/ant-core"
+RDEPEND=">=virtual/jre-1.4"
+S="${WORKDIR}/${P/db-/}"
+
+# allows you to disable testing
+PATCHES=( "${FILESDIR}/${P}-build.patch" )
+
+src_unpack() {
+ base_src_unpack
+ cd "${S}"/lib
+ rm -v *jar
+ java-pkg_jar-from --build-only ant-core ant.jar
+}
+
+src_compile() {
+ eant jar -Dnotest=true
+}
+
+src_install() {
+ java-pkg_dojar build/lib/je.jar
+ dodoc README
+}
diff --git a/dev-java/db-je/files/db-je-3.3.69-build.patch b/dev-java/db-je/files/db-je-3.3.69-build.patch
new file mode 100644
index 000000000..e8f760039
--- /dev/null
+++ b/dev-java/db-je/files/db-je-3.3.69-build.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">