debian/0000755000000000000000000000000012144331646007172 5ustar debian/libpostgresql-jdbc-java-doc.javadoc0000644000000000000000000000007712144005026015771 0ustar build/publicapi /usr/share/doc/libpostgresql-jdbc-java-doc/api debian/clean0000644000000000000000000000005212144005026010162 0ustar postgresql-jdbc3.jar postgresql-jdbc4.jar debian/watch0000644000000000000000000000013712144005026010212 0ustar version=3 http://jdbc.postgresql.org/download.html download/postgresql-jdbc-(.*)\.src\.tar\.gz debian/rules0000755000000000000000000000230312144005026010236 0ustar #!/usr/bin/make -f PACKAGE:=libpostgresql-jdbc-java POMFILE:=debian/$(PACKAGE).pom MAJOR_VERSION:=$(shell dpkg-parsechangelog | sed -n -e 's/^Version: *\([^-]\+\)-.*/\1/p') VJDBC3:=$(MAJOR_VERSION).jdbc3 VJDBC4:=$(MAJOR_VERSION).jdbc4 %: dh $@ --with javahelper override_dh_auto_build: # build JDBC 3 with java-gcj ant clean JAVA_HOME=/usr/lib/jvm/java-gcj ant -Djdbc3=true -Dtarget=1.4 -Dsource=1.4 -Dssl=true jar mv jars/postgresql.jar postgresql-jdbc3.jar # build JDBC 4 with default-java ant clean JAVA_HOME=/usr/lib/jvm/default-java ant -Djdbc4=true -Dtarget=1.6 -Dsource=1.6 -Dssl=true jar publicapi mv jars/postgresql.jar postgresql-jdbc4.jar override_dh_auto_install: # install jdbc4 first so that the postgresql.jar symlink points to jdbc3 mh_installpom -p$(PACKAGE) -e$(VJDBC4) --no-rules $(POMFILE) mh_installjar -p$(PACKAGE) -e$(VJDBC4) --java-lib --usj-name=postgresql-jdbc4 --usj-version=$(MAJOR_VERSION) $(POMFILE) postgresql-jdbc4.jar mh_installpom -p$(PACKAGE) -e$(VJDBC3) --no-rules $(POMFILE) mh_installjar -p$(PACKAGE) -e$(VJDBC3) --java-lib --usj-name=postgresql-jdbc3 --usj-version=$(MAJOR_VERSION) $(POMFILE) postgresql-jdbc3.jar override_dh_auto_clean: dh_auto_clean mh_clean debian/changelog0000644000000000000000000003325612144005026011043 0ustar libpgjava (9.2-1002-1) unstable; urgency=low * New upstream release. * Bump standards version to 3.9.4 (no changes). -- Andrew Ross Sun, 12 May 2013 18:05:06 +0100 libpgjava (9.1-902-1) experimental; urgency=low [ Thomas Koch ] * new upstream version * switch packaging to git * update debhelper and compat to 9 * use debian/clean * use PACKAGE.links to add symlink to *-jdbc3.jar * Install artifacts to /u/s/maven-repo (Closes: #683631) [ Andrew Ross ] * Update Vcs-Browser * Refresh patches * Remove Arnaud Vandyck from Uploaders -- Andrew Ross Fri, 17 Aug 2012 22:16:00 +0100 libpgjava (9.1-901-2) unstable; urgency=low * Provide transitional package libpg-java (closes: #659324) * Bump standards version to 3.9.3 (no changes). -- Andrew Ross Fri, 20 Jul 2012 21:09:40 -0400 libpgjava (9.1-901-1) unstable; urgency=low * New upstream release. (closes: #645854) * Change binary package name to libpostgresql-jdbc-java. (closes: #336245) * Remove Michael Koch from Uploaders. (closes: #654090) * Bump standards version to 3.9.2 (no changes). -- Andrew Ross Sat, 24 Dec 2011 23:33:56 +0000 libpgjava (8.4-702-1) unstable; urgency=low * New upstream release (closes: #612643) * Build JDBC4 libraries in addition to JDBC3. * Use debhelper and javahelper rather than cdbs * Updated Standards-Version to 3.9.1. * Don't depend on a jre (to match current java package policy) * Added myself to Uploaders. * Changed source format to 3.0 (quilt). * Added a package containing the public API documentation. -- Andrew Ross Sat, 12 Feb 2011 16:41:22 +0000 libpgjava (8.4-701-1) unstable; urgency=low * New upstream release. * Removed all old unused JDBC2 stuff. * Moved java-gcj-compat-dev and ant to Build-Depends. * Make libpg-java Depends on default-jre-headless and its headless friends. * Build-Depends on debhelper >= 7. * Moved package to section 'java'. * Updated Standards-Version to 3.8.3. -- Michael Koch Sat, 26 Sep 2009 13:39:36 +0200 libpgjava (8.2-504-2) unstable; urgency=low * Updated description to mention PostgreSQL 8.3 as supported. Closes: #398348 * Removed libpgjava transitional package. Closes: #477557 * Moved debhelper and cdbs from Build-Depends-Indep to Build-Depends. * Added Homepage, Vcs-Svn and Vcs-Browser fields. * Added watch file. * Added myself to Uploaders. * Removed Stafan and Wolfgang from Uploaders. * Updated Standards-Version to 3.7.3 * Updated debhelper level to 5. -- Michael Koch Sat, 26 Apr 2008 22:01:11 +0200 libpgjava (8.2-504-1) unstable; urgency=low * New upstream version, supporting Postgresql 8.2. * Build using java-gcj-compat-dev. -- Matthias Klose Sat, 6 Jan 2007 15:03:58 +0100 libpgjava (8.1-405-1) unstable; urgency=low * Drop support for the old jdbc2 driver (can be reverted if wanted) (closes: #358345). * New upstream (thanks to Wolfgang Baer). -- Arnaud Vandyck Tue, 25 Apr 2006 00:07:07 +0200 libpgjava (8.1-404-1) unstable; urgency=low * New upstream release (closes: #340739) * Removed build.compiler property in debian/rules as preset in kaffe -- Wolfgang Baer Tue, 29 Nov 2005 14:41:36 +0100 libpgjava (8.0-312-1) unstable; urgency=low * New upstream release + Supports Postgresql 7.2 up to 8.0 releases + Upstream supplies its own source packages for the jdbc driver starting with release 8.0 - no longer extracted from postgresql * Changed library name to comply with java policy (closes: #275417) + Added conflicts, replaces with old binary + Changed debian/rules and debhelper files accordingly + Added dummy package libpgjava for transition * Updated everything to the new source package structure * Updated copyright license and download location * Updated control file for minimum supported version 7.2 * Deleted README.Debian - no longer needed * Dropped patches: + 01_getInfo_exception_fix.patch - JDBC 1 no longer implemented + 02_jikes_jdbc2-optional_compilefix.patch - no longer needed * Modified/New patches: + Renamed 03_BuildXml.patch to 01_BuildXml.patch and updated + 02_PSQLException_JDK13.patch (depends on 01_BuildXml.patch) * postgresql.jar now links to the JDBC 3 jar (added NEWS) * Changed build-dep libant1.6-java to ant (control, rules) * Standards-Version: 3.6.2 - no changes * Upload sponsored by Petter Reinholdtsen -- Wolfgang Baer Wed, 10 Aug 2005 20:52:08 +0200 libpgjava (7.4.7-3) unstable; urgency=low * Built with sources... -- Arnaud Vandyck Thu, 21 Apr 2005 14:25:11 +0200 libpgjava (7.4.7-2) unstable; urgency=low * Build with free vm's: - Updated README.Debian - Included README.jdbc2-interface explaining why these old java.sql.* source files are included, why they are needed and from where they come. * Move to main (closes: #300753) * Added patch to fix jikes compile error in JDBC2 optional classes (02_jikes_jdbc2-optional_compilefix.patch) * Build JDBC2 with optional classes but without SSL support Building with SSL support would prevent running the JDBC2 driver on jdk1.3 runtimes without SSL extensions or using the -Xverify:none flag * Build.xml (03_BuildXml.patch): - Patched to allow explicit selection of JDBC specification with -Djdbc2=true or -Djdbc3=true arguments during build - Patched to allow explicit selection of SSL usage during compile time with -Dssl=true (JDBC2 build has to be built without SSL) - Patched to allow explicit selection of compile target version with -Dtarget=1.3 for JDBC2 and -Dtarget=1.4 for JDBC3 -- Wolfgang Baer Tue, 19 Apr 2005 20:28:25 +0200 libpgjava (7.4.7-1) unstable; urgency=medium * New upstream release (closes: #275154) Changelog mentions jdbc fixes for 7.4.3 and 7.4.4 * Changed debian/rules that only build once to prevent false compilation of jdbc2 driver with jdbc3 classes (closes: #302710) * avdyk: added Wolfgang and myself to the uploaders -- Wolfgang Baer Sat, 2 Apr 2005 18:14:29 +0200 libpgjava (7.4.2-1) unstable; urgency=low * New upstream release (closes: #242448) * Apply patch from Adam Heath to fix NullPointerException in org.postgresql.jdbc1.AbstractJdbc1DatabaseMetaData.getIndexInfo() (closes: #238961) * Updated debian/copyright * Use libant1.6-java instead of libant1.5-java for building * -- Stefan Gybas Mon, 19 Apr 2004 19:40:03 +0200 libpgjava (7.4-1) unstable; urgency=low * New upstream release (extracted from the source of PostgreSQL 7.4) + Fixes extraction of column width and decimal digits for numeric and decimal column types in AbstractJdbc1DatabaseMetaData (closes: #188510) + Fixes setting of FK_NAME in AbstractJdbc1DatabaseMetaData (closes: #197825) * Set Maintainer: to Debian Java Maintainers and added myself to uploaders * Switch debian/rules to CDBS, but not using the Ant class * Use the new libant1.5-java for building instead of calling the /usr/bin/ant script * Use the JDK 1.4 package from Blackdown for building and enable SSL support for the JDBC3 driver * Make the directory layout for the examples match the package name (closes: #205057) * Updated the long description * Fix a spelling error in the previous changelog entry * Standards-Version: 3.6.1 + Moved Build-Depends-Indep to Build-Depends -- Stefan Gybas Tue, 18 Nov 2003 23:35:23 +0100 libpgjava (7.3-1) unstable; urgency=low * New upstream release (extracted from the source of PostgreSQL 7.3) * Build a JDBC2 and a JDBC3 (with DataSource) version in serparate JARs and mention this in the long package description * Build with debhelper >= 4.1.0 to get rid of /usr/doc compatibility symlinks * Use Jikes 1.15 as Java compiler * Depend on java1-runtime | java2-runtime instead of java-common * Added Takashi Okamoto and Ola Lundqvist as uploaders * Standards-Version: 3.5.8 (no changes required) -- Stefan Gybas Mon, 2 Dec 2002 22:00:12 +0100 libpgjava (7.2-2) unstable; urgency=low * Fixed NullPointerException in DatabaseMetaData.getIndexInfo() - this is already fixed in upstream CVS (closes: #147100) * Note: There are no JDBC updates in PostgreSQL 7.2.1 so this is still the current release. * The package can now be compiled with j2sdk1.3 1.3.1-1.1 (which has JAVA_HOME set to /usr/lib/j2se/1.3) and 1.3.1-1 (which has JAVA_HOME set to /usr/lib/j2sdk1.3). -- Stefan Gybas Fri, 24 May 2002 16:24:58 +0200 libpgjava (7.2-1) unstable; urgency=low * New upstream release (extracted from the source of PostgreSQL 7.2) * Call ant directly instead of using the Makefile * Changed Build-Depends to Build-Depends-Indep (found by Lintian) * Install the JAR as postgresql-7.2.jar and create a symlink as suggested by the latest Java policy * Depend on java-common instead of java-virtual-machine as this package contains just a library * Compile the classes with optimization and debug symbols -- Stefan Gybas Wed, 6 Feb 2002 23:43:06 +0100 libpgjava (7.1.3-2) unstable; urgency=low * Added DEF_PGPORT to Makefile.global, this is used in Driver.java.in. A NumberFormatException was thrown when trying to open a JDBC connection without specifying a port. Thanks to Andreas Leitner for investigating this problem! * Adapted to new j2sdk1.3 JAVA_HOME (/usr/lib/j2se/1.3) -- Stefan Gybas Tue, 25 Sep 2001 22:27:28 +0200 libpgjava (7.1.3-1) unstable; urgency=low * New upstream release (extracted from the source of PostgreSQL 7.1.3) * Moved to contrib again as the build process requires ant from contrib * Now that we are in contrib, build using JDK 1.3 to get advanced JDBC 2.0 features * Standards-Version: 3.5.6 (no changes required) * Use debhelper V3 -- Stefan Gybas Thu, 13 Sep 2001 14:01:58 +0200 libpgjava (7.0.2-3) unstable; urgency=low * Don't build javadoc documentation any longer, so the package can be built using only free tools (the documentation is for internal classes only) * Moved from contrib/libs to libs (no longer depends on non-free packages) * Updated README.Debian -- Stefan Gybas Tue, 12 Sep 2000 16:45:58 +0200 libpgjava (7.0.2-2) unstable; urgency=low * This time really apply Adam's getTimestamp() patch (closes: #67670) -- Stefan Gybas Sun, 27 Aug 2000 18:42:56 +0200 libpgjava (7.0.2-1) unstable; urgency=low * New upstream release (extracted from the source of PostgreSQL 7.0.2) + getTimestamp() in ResultSet fixed (closes: #67670, thanks go to Adam Heath for the patch) * Added encoding support (closes: #66980, thanks go to Kaz Sasayama for the patch) * Standards-Version: 3.2.1 (no changes required) * Updated debian/rules to debhelper V2 -- Stefan Gybas Fri, 25 Aug 2000 15:41:23 +0200 libpgjava (7.0-1) unstable; urgency=low * New upstream release (extracted from the source of PostgreSQL 7.0) - The Driver class is now org.postgresql.Driver instead of postgresql.Driver - you need to change your sources! * Updated package description and README.Debian -- Stefan Gybas Wed, 17 May 2000 10:15:56 +0000 libpgjava (6.5.3-2) unstable; urgency=low * Now suggest instead of depend on postgresql since you can access a remote database (closes: #53322) -- Stefan Gybas Thu, 30 Dec 1999 23:54:45 +0100 libpgjava (6.5.3-1) unstable; urgency=low * New upstream release (extracted from the source of PostgreSQL 6.5.3) - The only change is that getDatabaseProductVersion() returns the new version number * Updated postgresql dependency to >= 6.5.3 * Standards-Version 3.1.1 (no changes required) * Fixed typo in previous changelog * Corrected build dependencies: jikes -> java-compiler -- Stefan Gybas Sun, 5 Dec 1999 15:37:25 +0100 libpgjava (6.5.2-1) unstable; urgency=low * New upstream release (extracted from the source of PostgreSQL 6.5.2) (closes: #45549) * New maintainer * The package is actually architecture independent * Standards-Version 3.1.0 - FHS (built using debhelper 2.0.40+) - Added build dependencies * Conforms to the Debian Java Policy 1.0 (closes: #44470, #45548) - Install JAR file in /usr/share/java - Depend on java-virtual-machine instead of jdk1.1 * Install upstream changelog and javadoc documentation -- Stefan Gybas Sun, 7 Nov 1999 13:49:32 +0100 libpgjava (6.5-1) unstable; urgency=low * New upstream release (extracted from the source of PostgreSQL 6.5) -- Oliver Elphick Wed, 30 Jun 1999 22:15:34 +0100 libpgjava (6.4.2-1) unstable; urgency=low * New upstream release (extracted from the source of PostgreSQL 6.4.2). -- Oliver Elphick Sat, 3 Oct 1998 11:13:42 +0100 libpgjava (6.3.2-2) unstable; urgency=low * Changed dependency from jdk-runtime to jdk1.1 -- Oliver Elphick Sat, 3 Oct 1998 11:13:42 +0100 libpgjava (6.3.2-1) frozen unstable; urgency=low * 6.3.2-1 Upstream bugfixing release -- Oliver Elphick Mon, 20 Apr 1998 17:17:30 +0100 libpgjava (6.3.1-5) frozen unstable; urgency=low * Separated libpgjava from postgresql because of its dependency for compilation on non-free jdk. -- Oliver Elphick Tue, 31 Mar 1998 22:58:25 +0100 debian/patches/0000755000000000000000000000000012144005026010607 5ustar debian/patches/link-javadoc.patch0000644000000000000000000000105212144005026014170 0ustar Modify the javadoc build process so it links against the JDK javadoc. Index: libpostgresql-jdbc-java/build.xml =================================================================== --- libpostgresql-jdbc-java.orig/build.xml 2012-08-17 21:12:35.493845322 +0100 +++ libpostgresql-jdbc-java/build.xml 2012-08-17 21:17:24.083845400 +0100 @@ -451,6 +451,7 @@ + debian/patches/series0000644000000000000000000000003712144005026012024 0ustar link-javadoc.patch jdbc3.patch debian/patches/jdbc3.patch0000644000000000000000000000127312144005026012620 0ustar Fix a double comma which has been fixed upstream so should be in the next release. At this point this patch will no longer be required. --- a/org/postgresql/jdbc3/Jdbc3Connection.java +++ b/org/postgresql/jdbc3/Jdbc3Connection.java @@ -20,7 +20,7 @@ */ public class Jdbc3Connection extends org.postgresql.jdbc3.AbstractJdbc3Connection implements java.sql.Connection { - public Jdbc3Connection(HostSpec[] hostSpecs,, String user, String database, Properties info, String url) throws SQLException { + public Jdbc3Connection(HostSpec[] hostSpecs, String user, String database, Properties info, String url) throws SQLException { super(hostSpecs, user, database, info, url); } debian/libpostgresql-jdbc-java.pom0000644000000000000000000000177712144005026014422 0ustar 4.0.0 postgresql postgresql jar PostgreSQL JDBC Driver BADVERSION The PostgreSQL Driver JDBC4 http://jdbc.postgresql.org davecramer Dave Cramer jurka Kris Jurka oliver Oliver Jowett BSD License http://jdbc.postgresql.org/license.html repo scm:cvs:pserver:anonymous@cvs.pgfoundry.org:/cvsroot/jdbc:pgjdbc http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/jdbc/pgjdbc/ debian/source/0000755000000000000000000000000012144005026010460 5ustar debian/source/format0000644000000000000000000000001412144005026011666 0ustar 3.0 (quilt) debian/libpostgresql-jdbc-java.docs0000644000000000000000000000000712144005026014540 0ustar README debian/libpostgresql-jdbc-java.links0000644000000000000000000000031212144005026014727 0ustar # add a symlink from postgresql.jar to postgresql-jdbc3.jar # This maintains compatibility with the previous version of # this package /usr/share/java/postgresql-jdbc3.jar /usr/share/java/postgresql.jardebian/compat0000644000000000000000000000000212144005026010356 0ustar 9 debian/copyright0000644000000000000000000000354112144005026011116 0ustar This package was debianized by Oliver Elphick olly@lfix.co.uk on Tue Mar 31 22:14:59 BST 1998 was previously maintained by Stefan Gybas and is now maintained by the Debian Java Maintainers team. The upstream archive was downloaded from Copyright: Copyright (c) 1997-2009, PostgreSQL Global Development Group All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the PostgreSQL Global Development Group nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/control0000644000000000000000000000420012144005026010557 0ustar Source: libpgjava Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Matthias Klose , Andrew Ross Build-Depends: debhelper (>= 9), java-gcj-compat-dev, ant, javahelper (>=0.32~), maven-repo-helper (>= 1.7.1) Build-Depends-Indep: libxerces2-java, default-jdk, default-jdk-doc Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-java/libpostgresql-jdbc-java.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/libpostgresql-jdbc-java.git Homepage: http://jdbc.postgresql.org/ Package: libpostgresql-jdbc-java Architecture: all Depends: ${java:Depends}, ${misc:Depends} Recommends: ${java:Recommends} Suggests: postgresql (>= 8.2) Conflicts: libpgjava (<= 7.4.7-3), libpg-java (<= 9.1-901-1) Provides: libpgjava, libpg-java Replaces: libpgjava, libpg-java (<= 9.1-901-1) Description: Java database (JDBC) driver for PostgreSQL Java classes for communication with the PostgreSQL 7.2 up to 9.1 database backend (local or remote) using JDBC. This package contains two Java archives (JARs), one that supports JDBC 3.0 and SSL (for JDK 1.4 and up) and one that supports JDBC 4.0 and SSL (for JDK 1.6 and up). Package: libpostgresql-jdbc-java-doc Section: doc Architecture: all Depends: ${java:Depends}, ${misc:Depends} Recommends: ${java:Recommends} Conflicts: libpg-java-doc (<= 8.4-702-1) Provides: libpg-java-doc Replaces: libpg-java-doc Description: Java database (JDBC) driver for PostgreSQL (documentation) Java classes for communication with the PostgreSQL 7.2 up to 8.4 database backend (local or remote) using JDBC. This package contains two Java archives (JARs), one that supports JDBC 3.0 and SSL (for JDK 1.4 and up) and one that supports JDBC 4.0 and SSL (for JDK 1.6 and up). . This package contains the documentation. Package: libpg-java Architecture: all Section: oldlibs Priority: extra Depends: libpostgresql-jdbc-java, ${misc:Depends} Description: Transitional package for libpostgresql-jdbc-java This is a transitional package for libpg-java, and can be safely removed after the installation is complete.