summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2006-10-07 23:14:48 +0000
committerVlastimil Babka <caster@gentoo.org>2006-10-07 23:14:48 +0000
commit9c2eb3b56ef52358e025f40137187a1209a2c651 (patch)
treeaff8bc90f5ce77946fe9a269fd824801da04c093 /dev-java/c3p0
parentVersion bump to 2.10.6. Remove older 2.10.4 which has crashing issues, and 2.... (diff)
downloadgentoo-2-9c2eb3b56ef52358e025f40137187a1209a2c651.tar.gz
gentoo-2-9c2eb3b56ef52358e025f40137187a1209a2c651.tar.bz2
gentoo-2-9c2eb3b56ef52358e025f40137187a1209a2c651.zip
Version bump, adds log4j support, closing bug #135884.
(Portage version: 2.1.2_pre2-r5)
Diffstat (limited to 'dev-java/c3p0')
-rw-r--r--dev-java/c3p0/ChangeLog7
-rw-r--r--dev-java/c3p0/c3p0-0.9.0.4.ebuild44
-rw-r--r--dev-java/c3p0/files/digest-c3p0-0.9.0.43
3 files changed, 53 insertions, 1 deletions
diff --git a/dev-java/c3p0/ChangeLog b/dev-java/c3p0/ChangeLog
index 2dd8d961edd0..521922ccb043 100644
--- a/dev-java/c3p0/ChangeLog
+++ b/dev-java/c3p0/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/c3p0
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/c3p0/ChangeLog,v 1.16 2006/07/22 21:49:12 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/c3p0/ChangeLog,v 1.17 2006/10/07 23:14:48 caster Exp $
+
+*c3p0-0.9.0.4 (07 Oct 2006)
+
+ 07 Oct 2006; Vlastimil Babka <caster@gentoo.org> +c3p0-0.9.0.4.ebuild:
+ Version bump, adds log4j support, closing bug #135884.
22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org>
c3p0-0.9.0_pre6-r1.ebuild:
diff --git a/dev-java/c3p0/c3p0-0.9.0.4.ebuild b/dev-java/c3p0/c3p0-0.9.0.4.ebuild
new file mode 100644
index 000000000000..dc1ec861cb03
--- /dev/null
+++ b/dev-java/c3p0/c3p0-0.9.0.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/c3p0/c3p0-0.9.0.4.ebuild,v 1.1 2006/10/07 23:14:48 caster Exp $
+
+inherit java-pkg-2 java-ant-2
+
+SRC_P="${P}.src"
+
+DESCRIPTION="Library for augmenting traditional (DriverManager-based) JDBC drivers with JNDI-bindable DataSources"
+HOMEPAGE="http://c3p0.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${SRC_P}.tgz"
+# Does not like Java 1.6's JDBC API
+RDEPEND="dev-java/log4j"
+DEPEND="|| ( =virtual/jdk-1.4* =virtual/jdk-1.5* )
+ dev-java/ant-core
+ source? ( app-arch/zip )
+ ${RDEPEND}"
+RDEPEND=">=virtual/jre-1.4
+ ${RDEPEND}"
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc source"
+
+S="${WORKDIR}/${SRC_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ echo "j2ee.jar.base.dir=${JAVA_HOME}" > build.properties
+ echo "log4j.jar.file=$(java-pkg_getjar log4j log4j.jar)" >> build.properties
+}
+
+src_compile() {
+ eant jar $(use_doc javadocs)
+}
+
+src_install() {
+ java-pkg_newjar build/${P}.jar
+ dodoc README-SRC
+ use doc && java-pkg_dojavadoc build/apidocs
+ use source && java-pkg_dosrc src/classes/com
+}
diff --git a/dev-java/c3p0/files/digest-c3p0-0.9.0.4 b/dev-java/c3p0/files/digest-c3p0-0.9.0.4
new file mode 100644
index 000000000000..6970459c5631
--- /dev/null
+++ b/dev-java/c3p0/files/digest-c3p0-0.9.0.4
@@ -0,0 +1,3 @@
+MD5 3f2c41198d40a92ecc5178b5c2740501 c3p0-0.9.0.4.src.tgz 297115
+RMD160 7f9132acf9237faf9a019a45c103dcd2d32be7ed c3p0-0.9.0.4.src.tgz 297115
+SHA256 eb4af48cb95345cc6deda1aefc8e8ad2796b10d7f736e15d06131b422a366947 c3p0-0.9.0.4.src.tgz 297115