summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/jdbc-mysql/ChangeLog9
-rw-r--r--dev-java/jdbc-mysql/Manifest25
-rw-r--r--dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13-r53
-rw-r--r--dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r5.ebuild61
4 files changed, 93 insertions, 5 deletions
diff --git a/dev-java/jdbc-mysql/ChangeLog b/dev-java/jdbc-mysql/ChangeLog
index e449a6790f25..ba424d57d2c0 100644
--- a/dev-java/jdbc-mysql/ChangeLog
+++ b/dev-java/jdbc-mysql/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/jdbc-mysql
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/ChangeLog,v 1.40 2007/05/06 07:55:11 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/ChangeLog,v 1.41 2007/05/06 22:36:53 betelgeuse Exp $
+
+*jdbc-mysql-3.1.13-r5 (06 May 2007)
+
+ 06 May 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +jdbc-mysql-3.1.13-r5.ebuild:
+ Drop jdbc2-stdext dependency because it's only needed with virtual/jdk-1.3
+ which we don't support any more.
06 May 2007; Tobias Scherbaum <dertobi123@gentoo.org>
jdbc-mysql-3.1.13-r4.ebuild:
diff --git a/dev-java/jdbc-mysql/Manifest b/dev-java/jdbc-mysql/Manifest
index 9f4fd5be7c61..98c738172b1b 100644
--- a/dev-java/jdbc-mysql/Manifest
+++ b/dev-java/jdbc-mysql/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX compile-without-log4j.patch 682 RMD160 e2ec9338259d23d17a6a68235cf90f84d9acb0cc SHA1 e22c85b6ab0aefef5c1a6ac75d77571ccec0f176 SHA256 389c1b2c3467f39f52a7fb294ee88800431dd23e73a8ce165a04d0ee2d00a3db
MD5 9275519a591f40e7ab6b3746d884f67f files/compile-without-log4j.patch 682
RMD160 e2ec9338259d23d17a6a68235cf90f84d9acb0cc files/compile-without-log4j.patch 682
@@ -20,10 +23,14 @@ EBUILD jdbc-mysql-3.1.13-r4.ebuild 1630 RMD160 000105ad266f9a75fa70dfa75c2cbe8c6
MD5 0eed4d5db94423e0d78f21a4db8d8a87 jdbc-mysql-3.1.13-r4.ebuild 1630
RMD160 000105ad266f9a75fa70dfa75c2cbe8c67957ea4 jdbc-mysql-3.1.13-r4.ebuild 1630
SHA256 8b0eaf81db9ac075a6e2f293f7b986fb839a7310438f99744a5318996e5db24d jdbc-mysql-3.1.13-r4.ebuild 1630
-MISC ChangeLog 8884 RMD160 841b9e4a243c1add7f989207572a4b36a2a02543 SHA1 db05bc5aa4721d4e176b40276cba4a8d9ed21cfd SHA256 14530552ef0654e2b30555c0ac60e297e9fa80b496134cde1f25bb137486062b
-MD5 bda24038eecaec13dd1d55ed08669f41 ChangeLog 8884
-RMD160 841b9e4a243c1add7f989207572a4b36a2a02543 ChangeLog 8884
-SHA256 14530552ef0654e2b30555c0ac60e297e9fa80b496134cde1f25bb137486062b ChangeLog 8884
+EBUILD jdbc-mysql-3.1.13-r5.ebuild 1575 RMD160 b63a2348f01d698dc322f788ff0df839c1ad9f70 SHA1 693ac3ac27afd2fe1e27f640cb4568d3edcfe23b SHA256 284101edc52503f9b7265956188304449bff7b2c57067681af7eefd6dcdbfb60
+MD5 fb0f803b67a1874b89ee39c972a1d7f6 jdbc-mysql-3.1.13-r5.ebuild 1575
+RMD160 b63a2348f01d698dc322f788ff0df839c1ad9f70 jdbc-mysql-3.1.13-r5.ebuild 1575
+SHA256 284101edc52503f9b7265956188304449bff7b2c57067681af7eefd6dcdbfb60 jdbc-mysql-3.1.13-r5.ebuild 1575
+MISC ChangeLog 9119 RMD160 2b30af3e9bbd71f237c6ebc2797fa8c5719e1be9 SHA1 dac3525b4616d2ad36b0a4d174eb2e69a8555e36 SHA256 4fbd6bc1880f8eec91dbe694799915868ebbbeed4085ca5316d96303f47175e3
+MD5 7349b2283114c9ae28d7e42bad2f0ad6 ChangeLog 9119
+RMD160 2b30af3e9bbd71f237c6ebc2797fa8c5719e1be9 ChangeLog 9119
+SHA256 4fbd6bc1880f8eec91dbe694799915868ebbbeed4085ca5316d96303f47175e3 ChangeLog 9119
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
@@ -34,3 +41,13 @@ SHA256 2e43592d00cb188b079064d3b3b2d245097f26b2a9f7257e84883ad8c3490381 files/di
MD5 0b98ecbf341075a5406833bdbae31ac8 files/digest-jdbc-mysql-3.1.13-r4 289
RMD160 c0d8b65ce73718936a300bb49f116875e278fb75 files/digest-jdbc-mysql-3.1.13-r4 289
SHA256 850860f6a1f74e05c1555e65c965457866701d83ecfa9a0733f7b1041769ccb2 files/digest-jdbc-mysql-3.1.13-r4 289
+MD5 0b98ecbf341075a5406833bdbae31ac8 files/digest-jdbc-mysql-3.1.13-r5 289
+RMD160 c0d8b65ce73718936a300bb49f116875e278fb75 files/digest-jdbc-mysql-3.1.13-r5 289
+SHA256 850860f6a1f74e05c1555e65c965457866701d83ecfa9a0733f7b1041769ccb2 files/digest-jdbc-mysql-3.1.13-r5 289
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGPliMcxLzpIGCsLQRApsKAJ9IOtiVOdJidmUrlY+E+05kzknw0wCffU/j
+fbN4xwU5dyjy4l+GvPECZLo=
+=/M1V
+-----END PGP SIGNATURE-----
diff --git a/dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13-r5 b/dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13-r5
new file mode 100644
index 000000000000..9e1b9a4ef5e5
--- /dev/null
+++ b/dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13-r5
@@ -0,0 +1,3 @@
+MD5 b2fc8cc8990d85629b183f284a8f46d8 mysql-connector-java-3.1.13.tar.gz 10454933
+RMD160 2316969d32ce5944e4a6dc682fc29a2cf9129cf2 mysql-connector-java-3.1.13.tar.gz 10454933
+SHA256 afa911e3999d10777fd4fb8b19c7af1330c04c927bd6fda859cd7623eb05713f mysql-connector-java-3.1.13.tar.gz 10454933
diff --git a/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r5.ebuild b/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r5.ebuild
new file mode 100644
index 000000000000..8b3396460ffd
--- /dev/null
+++ b/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r5.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/jdbc-mysql-3.1.13-r5.ebuild,v 1.1 2007/05/06 22:36:53 betelgeuse Exp $
+
+JAVA_PKG_IUSE="source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_PN="mysql-connector-java"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="MySQL JDBC driver"
+HOMEPAGE="http://www.mysql.com/products/connector/j/"
+SRC_URI="mirror://mysql/Downloads/Connector-J/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="c3p0 test"
+COMMON_DEP="
+ dev-java/log4j
+ c3p0? ( dev-java/c3p0 )
+ dev-java/commons-logging"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+# FIXME doesn't like Java 1.6's JDBC API
+DEPEND="|| (
+ =virtual/jdk-1.5*
+ =virtual/jdk-1.4*
+ )
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # gcj hangs, but works for others -> why regexp over pictures?!
+ epatch ${FILESDIR}/do-not-filter-png.diff
+ # com.sun.* classes are used during testing
+ ! use test && epatch ${FILESDIR}/no-testsuite.diff
+ rm -v *.jar || die
+
+ sed -i 's,{buildDir}/MANIFEST.MF,{buildDir}/META-INF/MANIFEST.MF,' build.xml || die "sed failed"
+
+ mkdir src/lib-nodist # needed, or ant will fail
+ cd src/lib
+ rm -v *.jar || die
+ java-pkg_jar-from commons-logging
+ java-pkg_jar-from log4j
+ use c3p0 && java-pkg_jar-from c3p0
+}
+
+EANT_BUILD_TARGET="dist"
+
+#TODO add src_test
+
+src_install() {
+ java-pkg_newjar build/${MY_P}/${MY_P}-bin.jar ${PN}.jar
+ dodoc README CHANGES || die
+ use source && java-pkg_dosrc src/com src/org
+}