--- libpgjava-6.5.orig/src/interfaces/jdbc/Makefile +++ libpgjava-6.5/src/interfaces/jdbc/Makefile @@ -10,10 +10,11 @@ FIND = find IDL2JAVA = idltojava -fno-cpp -fno-tie -JAR = jar -JAVA = java -JAVAC = javac -JAVADOC = javadoc +# invocation of the binaries of JDK 1.2: +JAR = jar2 +JAVA = java2 +JAVAC = javac2 +JAVADOC = javadoc2 RM = rm -f TOUCH = touch --- libpgjava-6.5.orig/debian/README.debian +++ libpgjava-6.5/debian/README.debian @@ -0,0 +1,8 @@ +libpgjava Debian package +======================== + +This package has been extracted from the postgresql package because of +its dependency on jdk, which is a non-free package. The source tree +reflects this; that is why the code is three levels down. + +Source dependencies: jdk 1.1, libpgsql (>= 6.4.2-4) --- libpgjava-6.5.orig/debian/rules +++ libpgjava-6.5/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f +# Copyright 1997 by Oliver Elphick. +# Available for use under the same licence terms as the upstream package, +# (mutatis mutandis). + +package= libpgjava +version= 6.5 + +HERE := $(shell pwd) +TMPFILE := $(shell mktemp /tmp/postgresql.XXXXXX) +debtmp= $(HERE)/debian/tmp +doctmp= $(HERE)/debian/postgresql-doc/usr/doc/postgresql-doc + +build-stamp: build + +build: + cd src/interfaces/jdbc && make all + touch build-stamp + +clean: + dh_testdir -v + -cd src/interfaces/jdbc && make clean + dh_clean -v + +binary-indep: + echo There is no architecture-independent binary for this package + +binary-arch: build-stamp + dh_testdir -v + dh_testroot -v + dh_clean -k -v + dh_installdirs -v + install -m 644 src/interfaces/jdbc/postgresql.jar \ + debian/tmp/usr/lib/postgresql/lib + dh_installdocs -v src/interfaces/jdbc/README + dh_installexamples -v src/interfaces/jdbc/example/* + dh_installchangelogs -v + dh_strip -v + dh_compress -v + dh_fixperms -v + chmod a-x debian/tmp/usr/lib/postgresql/lib/postgresql.jar + dh_installdeb -v + dh_shlibdeps -v + dh_gencontrol -v + dh_md5sums -v + dh_builddeb -v + + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +.PHONY: binary binary-arch binary-indep clean --- libpgjava-6.5.orig/debian/changelog +++ libpgjava-6.5/debian/changelog @@ -0,0 +1,41 @@ +libpgjava (6.5-1.1) unstable; urgency=low + + * compiled with JDK 1.2 + + -- Christian Leutloff Sun, 4 Jul 1999 15:39:42 +0200 + +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 + +Local variables: +mode: debian-changelog +add-log-mailing-address: "Oliver.Elphick@lfix.co.uk" +End: --- libpgjava-6.5.orig/debian/control +++ libpgjava-6.5/debian/control @@ -0,0 +1,16 @@ +Source: libpgjava +Section: contrib/misc +Priority: optional +Maintainer: Oliver Elphick +Standards-Version: 2.4.0.0 + +Package: libpgjava +Architecture: any +Section: contrib/libs +Depends: jdk1.1, libpgsql2 (>= 6.4.2) +Conflicts: postgresql (<< 6.4) +Suggests: postgresql-doc +Description: JDBC Java class archive for PostgreSQL. + A java class archive of classes that enable communication with + the PostgreSQL database backend using JDBC. + --- libpgjava-6.5.orig/debian/copyright +++ libpgjava-6.5/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Oliver Elphick olly@lfix.co.uk on +Tue Mar 31 22:14:59 BST 1998 + +It was downloaded from ; +this package is from src/interfaces/jdbc in the PostgreSQL distribution. + +Copyright. The following copyright applies to the entire distribution: + + PostgreSQL Data Base Management System (formerly known as Postgres, then + as Postgres95). + + Copyright (c) 1994-7 Regents of the University of California + + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose, without fee, and without a written agreement + is hereby granted, provided that the above copyright notice and this + paragraph and the following two paragraphs appear in all copies. + + IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR + DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS + DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS + ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO + PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + + --- libpgjava-6.5.orig/debian/dirs +++ libpgjava-6.5/debian/dirs @@ -0,0 +1,2 @@ +usr/lib/postgresql/lib +usr/doc/libpgjava