--- mysql-connector-java-3.1.11.orig/debian/dirs +++ mysql-connector-java-3.1.11/debian/dirs @@ -0,0 +1 @@ +usr/share/java --- mysql-connector-java-3.1.11.orig/debian/changelog +++ mysql-connector-java-3.1.11/debian/changelog @@ -0,0 +1,79 @@ +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 + +Local variables: +mode: debian-changelog +End: --- mysql-connector-java-3.1.11.orig/debian/docs +++ mysql-connector-java-3.1.11/debian/docs @@ -0,0 +1 @@ +CHANGES --- mysql-connector-java-3.1.11.orig/debian/control +++ mysql-connector-java-3.1.11/debian/control @@ -0,0 +1,16 @@ +Source: mysql-connector-java +Section: libs +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Arnaud Vandyck , Wolfgang Baer +Build-Depends-Indep: debhelper (>= 4.2.30), cdbs, kaffe (>= 2:1.1.5-3), ant, liblog4j1.2-java, junit +Standards-Version: 3.6.2 + +Package: libmysql-java +Architecture: all +Depends: kaffe | java1-runtime | java2-runtime +Suggests: liblog4j1.2-java, java-virtual-machine +Description: Java database (JDBC) driver for MySQL + MySQL Connector is a Type-4 JDBC driver. It allows Java developers + to make connections to MySQL servers from both Java applications and + applets. MySQL supports JDBC 3.0 API. --- mysql-connector-java-3.1.11.orig/debian/rules +++ mysql-connector-java-3.1.11/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f +# debian/rules file for mysql-connector-java (uses cdbs) + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/ant.mk + +UPSTREAM_VERSION := $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-) + +JAVA_HOME := /usr/lib/kaffe +ANT_HOME := /usr/share/ant + +DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar log4j-1.2 junit +DEB_ANT_BUILD_TARGET := dist + +clean:: # remove the build/dist directory as the build.xml is not patched at this moment + rm -rf build + +install/libmysql-java:: + install -m 644 build/mysql-connector-java-$(UPSTREAM_VERSION)/mysql-connector-java-$(UPSTREAM_VERSION)-bin.jar debian/libmysql-java/usr/share/java/mysql-$(UPSTREAM_VERSION).jar + ln -s mysql-$(UPSTREAM_VERSION).jar debian/libmysql-java/usr/share/java/mysql.jar --- mysql-connector-java-3.1.11.orig/debian/copyright +++ mysql-connector-java-3.1.11/debian/copyright @@ -0,0 +1,12 @@ +This package was debianized by Takashi Okamoto on +Sat, 2 Nov 2002 22:04:45 +0900. + +It was downloaded from http://www.mysql.com/ + +Upstream Author: Mark Matthews + +Copyright: Copyright (c) 1998-1999 Mark Matthews + +This code is released under the terms of the GPL license version 2. + +See /usr/share/common-licenses/GPL for the full license. --- mysql-connector-java-3.1.11.orig/debian/README.Debian +++ mysql-connector-java-3.1.11/debian/README.Debian @@ -0,0 +1,21 @@ +MySQL JDBC Driver for Debian +---------- + +This package provides a JDBC 3.0 driver for the mysql database +system and supports all MySQL versions up to 4.1 release. + +This driver supports Java runtimes from JDK 1.2.x to 1.5.x +as well as the free runtimes like kaffe, sablevm or jamvm. + +This MySQL driver does not support JDK-1.1.x or JDK-1.0.x. + +Because of the implementation of java.sql.Savepoint this driver will +not run on non-free JDKs older than 1.4 unless the class verifier +is turned off (-Xverify:none), as the class verifier will try to load +the class definition for java.sql.Savepoint even though it is not accessed +by the driver unless you actually use savepoint functionality. + +This affects JDK 1.3.1 for example but NOT the free runtimes as they +already implement java.sql.Savepoint. + + -- Wolfgang Baer --- mysql-connector-java-3.1.11.orig/debian/compat +++ mysql-connector-java-3.1.11/debian/compat @@ -0,0 +1 @@ +4 --- mysql-connector-java-3.1.11.orig/debian/patches/01_BuildXml.patch +++ mysql-connector-java-3.1.11/debian/patches/01_BuildXml.patch @@ -0,0 +1,56 @@ +--- build.xml.orig 2005-11-29 14:32:47.000000000 +0100 ++++ build.xml 2005-11-29 14:32:33.000000000 +0100 +@@ -55,23 +55,15 @@ + + + +- ++ + + +- +- +- +- +- +- +- +- + + + +- ++ + + + +@@ -487,7 +479,7 @@ + debug="${debug.enable}" + excludes="testsuite/**, + com/mysql/jdbc/integration/**, +- com/mysql/jdbc/log/Log4JLogger.java"> ++ com/mysql/jdbc/log/Log4JLogger.java" target="1.3"> + + + +@@ -553,7 +545,7 @@ + destdir="${buildDir}/${fullProdName}" + deprecation="off" + debug="${debug.enable}" +- includes="com/mysql/jdbc/log/Log4JLogger.java"> ++ includes="com/mysql/jdbc/log/Log4JLogger.java" target="1.3"> + + + +@@ -567,7 +559,7 @@ + deprecation="off" + debug="${debug.enable}" + includes="testsuite/**" +- excludes="testsuite/requiresNonRedists/**"> ++ excludes="testsuite/requiresNonRedists/** **/AppletRegressionTest.java"> + + + --- mysql-connector-java-3.1.11.orig/debian/README.Debian-source +++ mysql-connector-java-3.1.11/debian/README.Debian-source @@ -0,0 +1,14 @@ +MySQL JDBC Driver for Debian +---------- + +The upstream supplied tar.gz package contains prebuild libraries +and binary jar files. Currently no clean source distribution exists. + +This is a step-by-step instruction how this package +was derived from upstream: + +- rm src/lib/* +- rm -r debug +- rm *.jar + + -- Wolfgang Baer