summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-07-18 01:28:00 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-07-18 01:28:00 +0000
commitbca5d37438ead2b00a7c3323120fd14f2beaed7d (patch)
tree0cc880c74a0e7d43fe807871876c0312d4d494d1 /dev-java
parentForcing mb version (diff)
downloadhistorical-bca5d37438ead2b00a7c3323120fd14f2beaed7d.tar.gz
historical-bca5d37438ead2b00a7c3323120fd14f2beaed7d.tar.bz2
historical-bca5d37438ead2b00a7c3323120fd14f2beaed7d.zip
Version bump (bug #138421), which fixes bug #128290. Updated to use new Java system.
Package-Manager: portage-2.1.1_pre1
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jdbc-mysql/ChangeLog11
-rw-r--r--dev-java/jdbc-mysql/Manifest73
-rw-r--r--dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.133
-rw-r--r--dev-java/jdbc-mysql/jdbc-mysql-3.0.11.ebuild6
-rw-r--r--dev-java/jdbc-mysql/jdbc-mysql-3.0.16.ebuild6
-rw-r--r--dev-java/jdbc-mysql/jdbc-mysql-3.0.17.ebuild6
-rw-r--r--dev-java/jdbc-mysql/jdbc-mysql-3.1.10.ebuild4
-rw-r--r--dev-java/jdbc-mysql/jdbc-mysql-3.1.12.ebuild4
-rw-r--r--dev-java/jdbc-mysql/jdbc-mysql-3.1.13.ebuild57
9 files changed, 125 insertions, 45 deletions
diff --git a/dev-java/jdbc-mysql/ChangeLog b/dev-java/jdbc-mysql/ChangeLog
index 25aceedc7d07..2bd38deea5cd 100644
--- a/dev-java/jdbc-mysql/ChangeLog
+++ b/dev-java/jdbc-mysql/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-java/jdbc-mysql
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/ChangeLog,v 1.28 2006/03/14 04:47:24 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/ChangeLog,v 1.29 2006/07/18 01:28:00 nichoj Exp $
+
+*jdbc-mysql-3.1.13 (18 Jul 2006)
+
+ 18 Jul 2006; Joshua Nichols <nichoj@gentoo.org> jdbc-mysql-3.0.11.ebuild,
+ jdbc-mysql-3.0.16.ebuild, jdbc-mysql-3.0.17.ebuild,
+ jdbc-mysql-3.1.10.ebuild, jdbc-mysql-3.1.12.ebuild,
+ +jdbc-mysql-3.1.13.ebuild:
+ Version bump (bug #138421), which fixes bug #128290. Updated to use new Java
+ system.
14 Mar 2006; Joshua Nichols <nichoj@gentoo.org> jdbc-mysql-3.1.10.ebuild:
Stable on amd64.
diff --git a/dev-java/jdbc-mysql/Manifest b/dev-java/jdbc-mysql/Manifest
index ea37bbc30eb3..788416fc0793 100644
--- a/dev-java/jdbc-mysql/Manifest
+++ b/dev-java/jdbc-mysql/Manifest
@@ -1,12 +1,45 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 dadabbc03bebaf12fa43ea50a41dfe4b ChangeLog 6740
-RMD160 31b847a3ba1862d0706a8803d9af4d39cec0b8db ChangeLog 6740
-SHA256 1e950affcade346a8156f834685eeb7c6a0b82b9999409d2e427daaf8686b63f ChangeLog 6740
+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
SHA256 389c1b2c3467f39f52a7fb294ee88800431dd23e73a8ce165a04d0ee2d00a3db files/compile-without-log4j.patch 682
+DIST mysql-connector-java-3.0.11-stable.tar.gz 777018
+DIST mysql-connector-java-3.0.16-ga.tar.gz 1087566
+DIST mysql-connector-java-3.0.17-ga.tar.gz 1316942
+DIST mysql-connector-java-3.1.10.tar.gz 6892037 RMD160 30b54059ad0b5301a8fc4836d9ae1fb0a04fb6c4 SHA256 41ae162e8dd5a66b20cf3283d9a6d8d638acce0529783c99713e40d6bf7e8a87
+DIST mysql-connector-java-3.1.12.tar.gz 8014757 RMD160 f4c38716c79d0f9e2200f4446c7228e8e017672a SHA1 d194d6ff7614ea1c59e10ae9b4bd8e4e9c15945c SHA256 a23c73462260c6fad956c60ad814e3a48891ee601ae3cbeb0b9d94a2dd0ad726
+DIST mysql-connector-java-3.1.13.tar.gz 10454933 RMD160 2316969d32ce5944e4a6dc682fc29a2cf9129cf2 SHA1 09a0da29bc28b3cf0b1a78d0b3720ffdbb63073d SHA256 afa911e3999d10777fd4fb8b19c7af1330c04c927bd6fda859cd7623eb05713f
+EBUILD jdbc-mysql-3.0.11.ebuild 644 RMD160 31f93002114366e998fd4726c001a4e1e10f021f SHA1 553d9a64cb1ecc2dc65580475c79d762dab3e66b SHA256 975abf191d298390d55c10702d951f0e8e111874af0de29c79ae80e5b0f98503
+MD5 0e832fa23cdb900af23935fe145ccb5b jdbc-mysql-3.0.11.ebuild 644
+RMD160 31f93002114366e998fd4726c001a4e1e10f021f jdbc-mysql-3.0.11.ebuild 644
+SHA256 975abf191d298390d55c10702d951f0e8e111874af0de29c79ae80e5b0f98503 jdbc-mysql-3.0.11.ebuild 644
+EBUILD jdbc-mysql-3.0.16.ebuild 849 RMD160 1d535f9b35e3bbdc4a8778860fac2e881195a557 SHA1 a07d95c22f483c4327bae88585d6bf9b904859d0 SHA256 ea14f3fcffa81b7ae835da3ce299532e1fd30de8d5f1a5606c34241442d7fe13
+MD5 a40a5f0ad181e820673807292fff3ea8 jdbc-mysql-3.0.16.ebuild 849
+RMD160 1d535f9b35e3bbdc4a8778860fac2e881195a557 jdbc-mysql-3.0.16.ebuild 849
+SHA256 ea14f3fcffa81b7ae835da3ce299532e1fd30de8d5f1a5606c34241442d7fe13 jdbc-mysql-3.0.16.ebuild 849
+EBUILD jdbc-mysql-3.0.17.ebuild 989 RMD160 8bef10c80b3ab685aa2636112161640542f472a9 SHA1 bbb231c45bba9732143efc5420027f598ae79ea7 SHA256 a335634438e7bbdbe5cb0399647f26552bc92cacc4dc1c33f60e12f55e245794
+MD5 698aa6c832344bfa0be1e803e6a6b35e jdbc-mysql-3.0.17.ebuild 989
+RMD160 8bef10c80b3ab685aa2636112161640542f472a9 jdbc-mysql-3.0.17.ebuild 989
+SHA256 a335634438e7bbdbe5cb0399647f26552bc92cacc4dc1c33f60e12f55e245794 jdbc-mysql-3.0.17.ebuild 989
+EBUILD jdbc-mysql-3.1.10.ebuild 1225 RMD160 89013894bdc54460147cec148505d2a12c06dbf1 SHA1 212461f42849e22f793ed89e3fd2d7f19f45ef0f SHA256 30eb116dd8a8da4a0a5bf135b3f1c5a40b51f080ef5ea2f9a10b22925b5f6818
+MD5 ca4ddc0de46174a7b16011720bed22d6 jdbc-mysql-3.1.10.ebuild 1225
+RMD160 89013894bdc54460147cec148505d2a12c06dbf1 jdbc-mysql-3.1.10.ebuild 1225
+SHA256 30eb116dd8a8da4a0a5bf135b3f1c5a40b51f080ef5ea2f9a10b22925b5f6818 jdbc-mysql-3.1.10.ebuild 1225
+EBUILD jdbc-mysql-3.1.12.ebuild 1193 RMD160 2bae952b09f7db1d96c0e7f43081b97b06bbdde8 SHA1 b651cb358a7598f691c308cf68cfd5ab4c65ecf8 SHA256 5f5960c02f52e04b966ab6da2d66de37c54810c564d4c7c730b75ca791b8ad5e
+MD5 143060b9b6c0ce29be3b138fb1cd059a jdbc-mysql-3.1.12.ebuild 1193
+RMD160 2bae952b09f7db1d96c0e7f43081b97b06bbdde8 jdbc-mysql-3.1.12.ebuild 1193
+SHA256 5f5960c02f52e04b966ab6da2d66de37c54810c564d4c7c730b75ca791b8ad5e jdbc-mysql-3.1.12.ebuild 1193
+EBUILD jdbc-mysql-3.1.13.ebuild 1273 RMD160 b977814b600431dc9194ca735833d36f0367a39d SHA1 99248a8491c5452423b25d85ca957b08a7d28491 SHA256 c482116d9fee792b5041790a17a7d210ed86417a57d2707e5ba74bd096345877
+MD5 26f99f70f271c9aab462bfb5bdbd5842 jdbc-mysql-3.1.13.ebuild 1273
+RMD160 b977814b600431dc9194ca735833d36f0367a39d jdbc-mysql-3.1.13.ebuild 1273
+SHA256 c482116d9fee792b5041790a17a7d210ed86417a57d2707e5ba74bd096345877 jdbc-mysql-3.1.13.ebuild 1273
+MISC ChangeLog 7077 RMD160 75fb7d983b7122f6219f318efb885d8e0e5c1a64 SHA1 12e3592da62277cd73709c969a5a95cab7fe43f5 SHA256 d24d1a5f677147a40a77cd3967a5fb69dde5b3b1ddf67ad7f43e5fc7f47d9bd2
+MD5 90d00f56eaf2daaec5e735717d33fa1a ChangeLog 7077
+RMD160 75fb7d983b7122f6219f318efb885d8e0e5c1a64 ChangeLog 7077
+SHA256 d24d1a5f677147a40a77cd3967a5fb69dde5b3b1ddf67ad7f43e5fc7f47d9bd2 ChangeLog 7077
+MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
+SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata.xml 157
MD5 96778981695f92599ce9eac1c669a9b0 files/digest-jdbc-mysql-3.0.11 86
RMD160 4db60a6ddfb23f537d7e90df59eebc357007c90e files/digest-jdbc-mysql-3.0.11 86
SHA256 8623a9f677aa82326cf7fc5ec645341a2d4eb4dfd3637bf1571c008197e527b7 files/digest-jdbc-mysql-3.0.11 86
@@ -22,28 +55,6 @@ SHA256 2e43592d00cb188b079064d3b3b2d245097f26b2a9f7257e84883ad8c3490381 files/di
MD5 efa3c2c46fd264d929e4ac389de96b24 files/digest-jdbc-mysql-3.1.12 286
RMD160 d578a2363dc817998933d8ba813cfcf422d87b7d files/digest-jdbc-mysql-3.1.12 286
SHA256 2705923d8cae10fb921ace045a7c374fdc605d6cef413217b53fe87e4f309719 files/digest-jdbc-mysql-3.1.12 286
-MD5 195d60230c6e608837d0f52a9b1a7307 jdbc-mysql-3.0.11.ebuild 620
-RMD160 c91476d97e55c0ec583da636a435fbe827c16f74 jdbc-mysql-3.0.11.ebuild 620
-SHA256 e4aed4e5c5c30b01a72941a3c5ec5a8f83e0c547f9254da0f8cb95d0e8095c46 jdbc-mysql-3.0.11.ebuild 620
-MD5 18ff702419d20ada88479df002fe38a3 jdbc-mysql-3.0.16.ebuild 856
-RMD160 ab3b2f17d4fd406e38eca78b1a99787f5e1e6367 jdbc-mysql-3.0.16.ebuild 856
-SHA256 5bfd663d77194dd0caebd69ea582e245c384a3d31fc94e9a83e0e015e3328035 jdbc-mysql-3.0.16.ebuild 856
-MD5 50e2a09a23465da017d967d0dccac6bd jdbc-mysql-3.0.17.ebuild 967
-RMD160 ce8a4d917d280c1b6226e835b3b04a37ab6c56eb jdbc-mysql-3.0.17.ebuild 967
-SHA256 009323079bb97175dbfc458e8168800f3d04f91d899bd99977c0f0646e67bd4e jdbc-mysql-3.0.17.ebuild 967
-MD5 c7917f113af42777cd6fa0aa51eafe0e jdbc-mysql-3.1.10.ebuild 1203
-RMD160 5d5a3de7827518eb8135194348be067ef767133d jdbc-mysql-3.1.10.ebuild 1203
-SHA256 30f424bde2601f3888f189ab849047dc7b2e34fb5e5e87283869ff4c80e4dee3 jdbc-mysql-3.1.10.ebuild 1203
-MD5 481aa3391adbf3f09033a2f889fb357c jdbc-mysql-3.1.12.ebuild 1171
-RMD160 022efdef2a9c086463284353b412b3e5cedb522c jdbc-mysql-3.1.12.ebuild 1171
-SHA256 7334beb26ab4d774ac1e342fd495144c247df659edfbe9a354f1cf29eac6a7bb jdbc-mysql-3.1.12.ebuild 1171
-MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
-RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
-SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata.xml 157
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFEFkrundWRXhKOboURAqltAJ9+vGsEq5vokuAIhBZDP3I5Om9aOACg3p9u
-xzqMCwfUeaZ/EwzKY7gAC+8=
-=fC9p
------END PGP SIGNATURE-----
+MD5 0b98ecbf341075a5406833bdbae31ac8 files/digest-jdbc-mysql-3.1.13 289
+RMD160 c0d8b65ce73718936a300bb49f116875e278fb75 files/digest-jdbc-mysql-3.1.13 289
+SHA256 850860f6a1f74e05c1555e65c965457866701d83ecfa9a0733f7b1041769ccb2 files/digest-jdbc-mysql-3.1.13 289
diff --git a/dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13 b/dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13
new file mode 100644
index 000000000000..9e1b9a4ef5e5
--- /dev/null
+++ b/dev-java/jdbc-mysql/files/digest-jdbc-mysql-3.1.13
@@ -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.0.11.ebuild b/dev-java/jdbc-mysql/jdbc-mysql-3.0.11.ebuild
index 8262513564a2..9b5892e91204 100644
--- a/dev-java/jdbc-mysql/jdbc-mysql-3.0.11.ebuild
+++ b/dev-java/jdbc-mysql/jdbc-mysql-3.0.11.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 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.0.11.ebuild,v 1.6 2005/10/30 19:41:35 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/jdbc-mysql-3.0.11.ebuild,v 1.7 2006/07/18 01:28:00 nichoj Exp $
inherit java-pkg
At=mysql-connector-java-${PV}-stable
DESCRIPTION="MySQL JDBC driver"
-HOMEPAGE="http://www.mysql.com"
+HOMEPAGE="http://www.mysql.com/products/connector/j/"
SRC_URI="mirror://mysql/Downloads/Connector-J/${At}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/dev-java/jdbc-mysql/jdbc-mysql-3.0.16.ebuild b/dev-java/jdbc-mysql/jdbc-mysql-3.0.16.ebuild
index f1ea53d9d026..e19a08507738 100644
--- a/dev-java/jdbc-mysql/jdbc-mysql-3.0.16.ebuild
+++ b/dev-java/jdbc-mysql/jdbc-mysql-3.0.16.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 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.0.16.ebuild,v 1.5 2005/10/30 19:41:35 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/jdbc-mysql-3.0.16.ebuild,v 1.6 2006/07/18 01:28:00 nichoj Exp $
inherit java-pkg
DESCRIPTION="Connector/J: A MySQL JDBC connector"
-HOMEPAGE="http://dev.mysql.com/downloads/connector/j/3.0.html"
+HOMEPAGE="http://www.mysql.com/products/connector/j/"
SRC_URI="mirror://mysql/Downloads/Connector-J/mysql-connector-java-${PV}-ga.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/dev-java/jdbc-mysql/jdbc-mysql-3.0.17.ebuild b/dev-java/jdbc-mysql/jdbc-mysql-3.0.17.ebuild
index f57dd7ec12a7..d5bc4a4a8944 100644
--- a/dev-java/jdbc-mysql/jdbc-mysql-3.0.17.ebuild
+++ b/dev-java/jdbc-mysql/jdbc-mysql-3.0.17.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 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.0.17.ebuild,v 1.8 2005/12/23 02:19:16 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/jdbc-mysql-3.0.17.ebuild,v 1.9 2006/07/18 01:28:00 nichoj Exp $
inherit eutils java-pkg
At=mysql-connector-java-${PV}-ga
DESCRIPTION="MySQL JDBC driver"
-HOMEPAGE="http://www.mysql.com"
+HOMEPAGE="http://www.mysql.com/products/connector/j/"
SRC_URI="mirror://mysql/Downloads/Connector-J/${At}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/dev-java/jdbc-mysql/jdbc-mysql-3.1.10.ebuild b/dev-java/jdbc-mysql/jdbc-mysql-3.1.10.ebuild
index c762cd1f3a5c..af2adb39e3c0 100644
--- a/dev-java/jdbc-mysql/jdbc-mysql-3.1.10.ebuild
+++ b/dev-java/jdbc-mysql/jdbc-mysql-3.1.10.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2006 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.10.ebuild,v 1.8 2006/03/14 04:47:24 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/jdbc-mysql-3.1.10.ebuild,v 1.9 2006/07/18 01:28:00 nichoj Exp $
inherit eutils java-pkg
At=mysql-connector-java-${PV}
DESCRIPTION="MySQL JDBC driver"
-HOMEPAGE="http://www.mysql.com"
+HOMEPAGE="http://www.mysql.com/products/connector/j/"
SRC_URI="mirror://mysql/Downloads/Connector-J/${At}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/dev-java/jdbc-mysql/jdbc-mysql-3.1.12.ebuild b/dev-java/jdbc-mysql/jdbc-mysql-3.1.12.ebuild
index 145b7e496573..20565c071430 100644
--- a/dev-java/jdbc-mysql/jdbc-mysql-3.1.12.ebuild
+++ b/dev-java/jdbc-mysql/jdbc-mysql-3.1.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 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.12.ebuild,v 1.3 2006/03/14 01:34:04 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-mysql/jdbc-mysql-3.1.12.ebuild,v 1.4 2006/07/18 01:28:00 nichoj Exp $
inherit eutils java-pkg
@@ -8,7 +8,7 @@ MY_PN="mysql-connector-java"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="MySQL JDBC driver"
-HOMEPAGE="http://www.mysql.com"
+HOMEPAGE="http://www.mysql.com/products/connector/j/"
SRC_URI="mirror://mysql/Downloads/Connector-J/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/dev-java/jdbc-mysql/jdbc-mysql-3.1.13.ebuild b/dev-java/jdbc-mysql/jdbc-mysql-3.1.13.ebuild
new file mode 100644
index 000000000000..9b076f8c26de
--- /dev/null
+++ b/dev-java/jdbc-mysql/jdbc-mysql-3.1.13.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2006 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.ebuild,v 1.1 2006/07/18 01:28:00 nichoj Exp $
+
+inherit eutils java-pkg-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 ~x86"
+IUSE="c3p0"
+COMMON_DEP="
+ dev-java/log4j
+ c3p0? ( dev-java/c3p0 )
+ dev-java/jdbc2-stdext"
+RDEPEND=">=virtual/jre-1.2
+ ${COMMON_DEP}"
+# FIXME doesn't like Java 1.6's JDBC API
+DEPEND="|| (
+ =virtual/jdk-1.3*
+ =virtual/jdk-1.4*
+ =virtual/jdk-1.5*
+ )
+ ${COMMON_DEP}
+ sys-apps/sed
+ dev-java/ant-core
+ dev-java/junit"
+
+S="${WORKDIR}/${MY_P}"
+
+ant_src_unpack() {
+ unpack ${A}
+ cd ${S}
+ rm -f *.jar
+
+ 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 -f *.jar
+ java-pkg_jar-from jdbc2-stdext
+ use c3p0 && java-pkg_jar-from c3p0
+}
+
+src_compile() {
+ eant dist
+}
+
+src_install() {
+ java-pkg_newjar build/${MY_P}/${MY_P}-bin.jar ${PN}.jar
+ dodoc README CHANGES
+}