--- mysql-connector-java-5.0.4+dfsg.orig/build.xml +++ mysql-connector-java-5.0.4+dfsg/build.xml @@ -697,7 +697,9 @@ deprecation="off" debug="${debug.enable}" includes="testsuite/**" - excludes="testsuite/requiresNonRedists/**"> + excludes="testsuite/requiresNonRedists/**, + testsuite/regression/AppletRegressionTest.java, + testsuite/regression/DataSourceRegressionTest.java"> --- mysql-connector-java-5.0.4+dfsg.orig/debian/copyright +++ mysql-connector-java-5.0.4+dfsg/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Takashi Okamoto on +Sat, 2 Nov 2002 22:04:45 +0900. + +It is currently maintained by the Debian Java Maintainers +. + +It was downloaded from . + +Upstream Author: Mark Matthews + +Copyright (C) 2002-2005 MySQL AB. + + This program is free software; you can redistribute it and/or modify + it under the terms of version 2 of the GNU General Public License + as published by the Free Software Foundation. + + There are special exceptions to the terms and conditions of the GPL + as it is applied to this software. View the full text of the + exception in file EXCEPTIONS-CONNECTOR-J in this directory. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +On Debian systems, the complete text of the GNU General Public License +version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +The contributions to the Debian packaging by Marcus Better are +Copyright (C) 2006 Marcus Better , and are licensed +under the GNU General Public License version 2. --- mysql-connector-java-5.0.4+dfsg.orig/debian/docs +++ mysql-connector-java-5.0.4+dfsg/debian/docs @@ -0,0 +1 @@ +EXCEPTIONS-CONNECTOR-J --- mysql-connector-java-5.0.4+dfsg.orig/debian/changelog +++ mysql-connector-java-5.0.4+dfsg/debian/changelog @@ -0,0 +1,101 @@ +mysql-connector-java (5.0.4+dfsg-2) unstable; urgency=low + + * Corrected the symlink `/usr/share/java/mysql.jar'. Thanks to Javier + Kohen. (Closes: #404858) + + -- Marcus Better Fri, 29 Dec 2006 13:29:04 +0100 + +mysql-connector-java (5.0.4+dfsg-1) unstable; urgency=low + + * New upstream release. (Closes: #404153, #366808, #394878) + - Supports MySQL 5. (Closes: #369379) + - Fixes a character set mapping problem. (Closes: #387382) + * debian/rules: Get rid of cdbs. Install `CHANGES' file in proper place. + * The jar file is now named `mysql-connector-java.jar' instead of + `mysql.jar'. Symlinks are provided for the old names for the time + being. + * debian/control: + - Replace Build-Depends-Indep by Build-Depends. + - Add missing dependency on ant-optional. + - Add XS-Vcs-* fields. + * debian/rules: Build with java-gcj-compat-dev instead of Kaffe. + * Removed README.Debian since the information on supported JDK versions + may be outdated. + + -- Marcus Better Fri, 22 Dec 2006 10:45:42 +0100 + +mysql-connector-java (3.1.11-1) unstable; urgency=low + + * New upstream release (closes: #338399) + * Removed Takashi from uploaders + * Removed setting of DEB_ANT_COMPILER variable as already preset in kaffe + * Updated build.xml patch once more to changed upstream build behaviour + + -- Wolfgang Baer Tue, 29 Nov 2005 14:07:49 +0100 + +mysql-connector-java (3.1.10-1) unstable; urgency=low + + * New upstream release + + Source structure changed - adapting package build to new structure + + Updated README.Debian-source how its repackaged + * libant1.6-java to ant transition + * Standards-Version 3.6.2 (no changes) + * Removed documentation as its explicitly marked as NOT GNU licensed. + + * Upload sponsored by Arnaud Vandyck + + -- Wolfgang Baer Sun, 11 Sep 2005 15:35:23 +0200 + +mysql-connector-java (3.1.7-2) unstable; urgency=low + + * Move to main + + -- Wolfgang Baer Tue, 19 Apr 2005 20:28:25 +0200 + +mysql-connector-java (3.1.7-1) unstable; urgency=low + + * New upstream release (closes: #282570,#293995) + * Now implements JDBC 3 specification - Updated README.Debian/Descriptions + * Built with free tools - but stay in contrib to get it into + sarge asap (old release does not support mysql 4.1 features) + Upload to main will follow afterwards + * Changed build system to cdbs: build depends now on kaffe, libant1.6-java, + liblog4j1.2-java, junit; Added liblog4j1.2-java as Suggests + * No more build depends on jars under /usr/local (closes: #262291) + * Patched build.xml (01_BuildXml.patch): + - Changed build directory property to a directory inside source tree + - Excluded test from testsuite which build depends on + sun internal stuff (AppletRegressionTest.java) + - Patched javac target to use target=1.3 so it is also usable with + JDK 1.3, -Xverify:none needs to be passed to the vm (see README.Debian) + * Standards-Version: 3.6.1 - no changes required + * Changed maintainer to Debian Java Maintainers as + requested by Takashi Okamoto for comaintaining + * avdyk: added Wolfgang and myself to the uploaders + + -- Wolfgang Baer Sat, 02 Apr 2005 20:30:09 +0200 + +mysql-connector-java (3.0.9-1) unstable; urgency=low + + * New upstream release + + -- Takashi Okamoto Tue, 30 Dec 2003 22:37:53 +0900 + +mysql-connector-java (3.0.8-1) unstable; urgency=low + + * New upstream release + + -- Takashi Okamoto Mon, 26 May 2003 10:42:20 +0900 + +mysql-connector-java (3.0.6-1) unstable; urgency=low + + * New upstream release + + -- Takashi Okamoto Sun, 23 Feb 2003 21:38:54 +0900 + +mysql-connector-java (2.0.14-1) unstable; urgency=low + + * Initial Release. + * close RFP (closes: #104765) + + -- Takashi Okamoto Sun, 10 Nov 2002 10:29:30 +0900 --- mysql-connector-java-5.0.4+dfsg.orig/debian/dirs +++ mysql-connector-java-5.0.4+dfsg/debian/dirs @@ -0,0 +1 @@ +usr/share/java --- mysql-connector-java-5.0.4+dfsg.orig/debian/rules +++ mysql-connector-java-5.0.4+dfsg/debian/rules @@ -0,0 +1,65 @@ +#!/usr/bin/make -f + +JAVA_HOME := /usr/lib/jvm/java-gcj +DEB_JARS_BASE := /usr/share/java +JAVACMD := $(JAVA_HOME)/bin/java + +DEB_JARS := ant ant-launcher ant-junit commons-logging log4j-1.2 junit +DEB_CLASSPATH = $(shell for jar in $(DEB_JARS); do \ + if [ -f "$$jar" ]; then echo -n "$${jar}:"; fi; \ + if [ -f "$$jar".jar ]; then echo -n "$${jar}.jar:"; fi; \ + if [ -f $(DEB_JARS_BASE)/"$$jar" ]; then echo -n "$(DEB_JARS_BASE)/$${jar}:"; fi; \ + if [ -f $(DEB_JARS_BASE)/"$$jar".jar ]; then echo -n "$(DEB_JARS_BASE)/$${jar}.jar:"; fi; \ + done; \ + if [ -f "$(JAVA_HOME)/lib/tools.jar" ]; then echo -n "$(JAVA_HOME)/lib/tools.jar"; fi) + + +ANT_INVOKE := $(JAVACMD) -classpath $(DEB_CLASSPATH) \ + org.apache.tools.ant.Main $(ANT_ARGS) + +PKGNAME := libmysql-java +LIBNAME := mysql-connector-java +INSTALL_DIR := $(CURDIR)/debian/$(PKGNAME) +JAVALIB_DIR := $(INSTALL_DIR)/usr/share/java +VERSION := $(shell dpkg-parsechangelog | grep ^Version: | sed 's/Version: //' | cut -f1 -d- | cut -f1 -d+) + +build: build-stamp +build-stamp: + dh_testdir + $(ANT_INVOKE) dist + touch build-stamp + +clean: + dh_testdir + dh_testroot + $(ANT_INVOKE) clean + rm -rf dist + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES + dh_installdocs + dh_install + install -m 644 build/$(LIBNAME)-$(VERSION)/$(LIBNAME)-$(VERSION)-bin.jar $(JAVALIB_DIR)/$(LIBNAME)-$(VERSION).jar + ln -s $(LIBNAME)-$(VERSION).jar $(JAVALIB_DIR)/$(LIBNAME).jar + ln -s $(LIBNAME)-$(VERSION).jar $(JAVALIB_DIR)/mysql-$(VERSION).jar + ln -s mysql-$(VERSION).jar $(JAVALIB_DIR)/mysql.jar + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- mysql-connector-java-5.0.4+dfsg.orig/debian/README.Debian-source +++ mysql-connector-java-5.0.4+dfsg/debian/README.Debian-source @@ -0,0 +1,11 @@ +MySQL Connector/J for Debian +---------------------------- + +The upstream sources were modified to comply with the Debian Free +Software Guidelines. The following changes were made: + + * The third-party jars in `src/lib' were removed. + * The two pre-compiled JDBC driver jars (debug and release version) + were removed. + + -- Marcus Better Fri, 22 Dec 2006 10:45:42 +0100 --- mysql-connector-java-5.0.4+dfsg.orig/debian/compat +++ mysql-connector-java-5.0.4+dfsg/debian/compat @@ -0,0 +1 @@ +5 --- mysql-connector-java-5.0.4+dfsg.orig/debian/control +++ mysql-connector-java-5.0.4+dfsg/debian/control @@ -0,0 +1,22 @@ +Source: mysql-connector-java +Section: libs +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Arnaud Vandyck , Wolfgang Baer , Marcus Better +Build-Depends: debhelper (>= 5), ant +Build-Depends-Indep: java-gcj-compat-dev, ant-optional, liblog4j1.2-java, libcommons-logging-java, junit +Standards-Version: 3.7.2 +XS-Vcs-Svn: svn://svn.debian.org/pkg-java/trunk/mysql-connector-java +XS-Vcs-Browse: http://svn.debian.org/wsvn/pkg-java/trunk/mysql-connector-java/ + +Package: libmysql-java +Architecture: all +Depends: java-gcj-compat-dev | java2-runtime +Suggests: liblog4j1.2-java, libcommons-logging-java, java-virtual-machine +Description: Java database (JDBC) driver for MySQL + MySQL Connector/J is a JDBC-3.0 Type 4 driver, which means that it is + pure Java, implements version 3.0 of the JDBC specification, and + communicates directly with the MySQL server using the MySQL + protocol. + . + Homepage: http://www.mysql.com/products/connector/j/