--- cl-pg-20061216.orig/debian/README.building
+++ cl-pg-20061216/debian/README.building
@@ -0,0 +1,28 @@
+To build this package you need to get the git repository:
+
+git clone http://git.debian.org/git/pkg-common-lisp/cl-pg.git
+
+Get the upstream branch too:
+
+cd cl-pg
+git checkout -t -b upstream remotes/origin/upstream
+
+To update the package from upstream do:
+
+git checkout upstream
+git-cvsimport -v -d ":pserver:anonymous@common-lisp.net:/project/pg/cvsroot" .
+git whatchanged
+git tag upstream/<date>
+git checkout master
+git pull . upstream
+
+To build:
+
+git-buildpackage -uc -us
+
+please check your package with:
+
+lintian --verbose --info --display-info --md5sums *.changes
+
+Then commit any changes and either send me the diff or push this to somewhere were I can fetch it.
+
--- cl-pg-20061216.orig/debian/control
+++ cl-pg-20061216/debian/control
@@ -1,13 +1,17 @@
Source: cl-pg
-Section: devel
+Section: lisp
Priority: optional
-Maintainer: Peter Van Eynde <pvaneynd@debian.org>
-Build-Depends-Indep: debhelper (>> 4.0.0)
-Standards-Version: 3.6.2.1
+Maintainer: Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>
+Uploaders: Peter Van Eynde <pvaneynd@debian.org>
+Build-Depends: debhelper (>> 7)
+Build-Depends-Indep: dh-lisp
+Standards-Version: 3.8.3
+Homepage: http://common-lisp.net/project/pg/
+Vcs-Git: http://git.debian.org/git/pkg-common-lisp/cl-pg.git
Package: cl-pg
Architecture: all
-Depends: common-lisp-controller (>= 3.45), cl-asdf
+Depends: ${misc:Depends}
Description: Common Lisp library that provides a socket level postgresql interface
Pg is a socket-level interface to the PostgreSQL object-relational
Database. The Library implements the client part of the frontend/backend
--- cl-pg-20061216.orig/debian/watch
+++ cl-pg-20061216/debian/watch
@@ -0,0 +1 @@
+# package is using cvs
--- cl-pg-20061216.orig/debian/rules
+++ cl-pg-20061216/debian/rules
@@ -33,7 +33,7 @@
install: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs
--- cl-pg-20061216.orig/debian/changelog
+++ cl-pg-20061216/debian/changelog
@@ -1,8 +1,111 @@
-cl-pg (20061225-2) UNRELEASED; urgency=low
+cl-pg (1:20061216-5) unstable; urgency=low
- * token new version
+ * Added debian/README.building file
+ * Changed to the lisp Section
+ * Added dummy watch file
+ * Added ${misc:Depends} to Depends
+ * Now use debhelper v7
+ * Updated Standards-Version no real changes
- -- Peter Van Eynde <pvaneynd@debian.org> Thu, 26 Jan 2006 16:48:40 +0100
+ -- Peter Van Eynde <pvaneynd@debian.org> Wed, 02 Sep 2009 13:49:38 +0100
+
+cl-pg (1:20061216-4) unstable; urgency=low
+
+ * Added Build-Depends-Indep for dh-lisp (Closes: #470320)
+
+ -- Peter Van Eynde <pvaneynd@debian.org> Fri, 14 Mar 2008 23:16:54 +0100
+
+cl-pg (1:20061216-3) unstable; urgency=low
+
+ * Changed to group maintanance
+ * Added Vcs-Git control field
+ * debhelper is Build-Depends
+ * Updated standard version without real changes
+ * documented how to update
+
+ -- Peter Van Eynde <pvaneynd@debian.org> Sun, 24 Feb 2008 15:53:49 +0100
+
+cl-pg (1:20061216-2) unstable; urgency=low
+
+ * Upload to unstable.
+
+ -- Peter Van Eynde <pvaneynd@debian.org> Mon, 09 Apr 2007 01:04:52 +0200
+
+cl-pg (1:20061216-1) experimental; urgency=low
+
+ * New upstream. Major changes:
+
+ + Don't flush the network stream in SEND-PACKET, because it slows down
+ API calls that have multiple SEND-PACKET calls in them. From
+ attila.lendvai@gmail.com.
+
+ + Fix numeric parser for negative numbers. From
+ levente.meszaros@gmail.com
+
+ + Make sure we consume the ReadyForQuery packet that is generated when
+ closing a prepared statement or portal, or the packet can be
+ misinterpreted by a later query, leading to data loss. Fix from Robert J.
+ Macomber.
+
+ + Add an ABORT keyword argument to PG-DISCONNECT (from Robert J.
+ Macomber <pgsql@rojoma.com>), as per CL:CLOSE.
+
+ "I've run into a problem with pg-disconnect if something abnormal
+ happens to the database connection -- if the database goes away for a
+ restart while pg has a connection open, for example. When this
+ happens, pg-disconnect fails, and the socket file descriptor is left
+ open (presumably for a finalizer to clean up), also raising a new
+ error from the unwind-protect in with-pg-connection. To guard against
+ the possibility, I've added an :abort parameter to pg-disconnect, like
+ cl:close has, and made with-pg-connection call it with :abort t if the
+ body exits abnormally, in the same way that with-open-file operates.
+ When :abort is true, the modified pg-disconnect closes the database
+ connection ungracefully, including making the close call abort
+ (otherwise, sbcl at keast tries to flush the stream, raising another
+ error if the database isn't there anymore)."
+
+ + Allow encoding used for socket communication with the backend to be
+ specified as a keyword argument to PG-CONNECT, for cases where rebinding
+ *PG-CLIENT-ENCODING* is inconvenient.
+
+ Add a simple test for encoding support.
+
+ (From Attila Lendvai <attila.lendvai@gmail.com>)
+ * upload to experimental during the freeze
+
+ -- Peter Van Eynde <pvaneynd@debian.org> Tue, 6 Feb 2007 10:32:28 +0100
+
+cl-pg (1:20061022-1) unstable; urgency=low
+
+ * Added XS-X-Vcs-Darcs header
+ * modified S-X-Vcs-Darcs to XS-Vcs-Darcs field
+ * New upstream with many bugfixes
+
+ -- Peter Van Eynde <pvaneynd@debian.org> Tue, 24 Oct 2006 15:03:38 +0200
+
+cl-pg (1:20060919-1) unstable; urgency=low
+
+ * New upstream version with several important bugfixes
+ * Updated standards version without real changes.
+
+ -- Peter Van Eynde <pvaneynd@debian.org> Wed, 20 Sep 2006 20:29:49 +0200
+
+cl-pg (1:20060207-2) unstable; urgency=low
+
+ [ René van Bevern ]
+ * debian/control: get dependencies right: depend on ${misc:Depends}
+ instead of common-lisp-controller explicitly and put debhelper to
+ Build-Depends
+
+ -- Peter Van Eynde <pvaneynd@debian.org> Mon, 19 Jun 2006 07:58:55 +0200
+
+cl-pg (1:20060207-1) unstable; urgency=low
+
+ * Added missing Build-Depends on 'dh-lisp' (Closes: #351770)
+ * New upstream
+ * Added epoch to handle version stupidity
+
+ -- Peter Van Eynde <pvaneynd@debian.org> Tue, 7 Feb 2006 16:15:30 +0100
cl-pg (20061225-1) unstable; urgency=low
--- cl-pg-20061216.orig/debian/compat
+++ cl-pg-20061216/debian/compat
@@ -1 +1 @@
-4
+7