--- cl-pg-0.19.orig/pg.asd +++ cl-pg-0.19/pg.asd @@ -17,6 +17,6 @@ :author "Eric Marsden" :version "0.19" :components ((:file "defpackage") - (:file "sysdep" :depends-on ("defpackage")) - (:pg-component "pg" :depends-on ("sysdep")))) + (:pg-component "sysdep" :depends-on ("defpackage")) + (:file "pg" :depends-on ("sysdep")))) --- cl-pg-0.19.orig/debian/changelog +++ cl-pg-0.19/debian/changelog @@ -0,0 +1,39 @@ +cl-pg (0.19-2) unstable; urgency=low + + * The pg-compent was defined for the wrong file! + Now it loads crypt at the right moment. Closes: #235884 + + -- Peter Van Eynde Wed, 3 Mar 2004 10:00:23 +0100 + +cl-pg (0.19-1) unstable; urgency=low + + * New upstream. + * Upstream has fixed write-sequence bug. Closes: #214963 + + -- Peter Van Eynde Wed, 22 Oct 2003 11:46:59 +0200 + +cl-pg (0.18-3) unstable; urgency=low + + * Now also supports sbcl. + + -- Peter Van Eynde Fri, 18 Jul 2003 09:45:55 +0200 + +cl-pg (0.18-2) unstable; urgency=low + + * Changed section from libs to devel + + -- Peter Van Eynde Tue, 3 Jun 2003 15:12:49 +0200 + +cl-pg (0.18-1) unstable; urgency=low + + * New upstream release. + + -- Peter Van Eynde Fri, 23 May 2003 10:01:42 +0200 + +cl-pg (0.16-1) unstable; urgency=low + + * Changed architecture to all + * Initial Release. Closes: #170774 + * Actually based on unreleased 0.16 with a fix for a few cmucl bugs + + -- Peter Van Eynde Tue, 3 Dec 2002 10:02:44 +0100 --- cl-pg-0.19.orig/debian/postinst +++ cl-pg-0.19/debian/postinst @@ -0,0 +1,46 @@ +#! /bin/sh +# postinst script for series +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + /usr/sbin/register-common-lisp-source pg + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- cl-pg-0.19.orig/debian/dirs +++ cl-pg-0.19/debian/dirs @@ -0,0 +1,2 @@ +/usr/share/common-lisp/systems/ +/usr/share/common-lisp/source/pg --- cl-pg-0.19.orig/debian/prerm +++ cl-pg-0.19/debian/prerm @@ -0,0 +1,35 @@ +#! /bin/sh +# prerm script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) + /usr/sbin/unregister-common-lisp-source pg + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- cl-pg-0.19.orig/debian/control +++ cl-pg-0.19/debian/control @@ -0,0 +1,16 @@ +Source: cl-pg +Section: devel +Priority: optional +Maintainer: Peter Van Eynde +Build-Depends-Indep: debhelper (>> 3.0.0) +Standards-Version: 3.6.1 + +Package: cl-pg +Architecture: all +Depends: common-lisp-controller (>= 3.45), cl-asdf +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 + protocol, so does not require interfacing with the libpq library. SQL + types are converted to the equivalent Common Lisp types where possible. + Supports large objects (BLOBs). --- cl-pg-0.19.orig/debian/links +++ cl-pg-0.19/debian/links @@ -0,0 +1 @@ +usr/share/common-lisp/source/pg/pg.asd usr/share/common-lisp/systems/pg.asd --- cl-pg-0.19.orig/debian/copyright +++ cl-pg-0.19/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Peter Van Eynde on +Tue, 26 Nov 2002 10:56:05 +0100. + +It was downloaded from http://www.chez.com/emarsden/downloads/ + +Upstream Author: Eric Marsden + +Copyright: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +On Debian GNU/Linux systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + --- cl-pg-0.19.orig/debian/rules +++ cl-pg-0.19/debian/rules @@ -0,0 +1,94 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=3 + + + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + #$(MAKE) + #/usr/bin/docbook-to-man debian/pg.sgml > pg.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + #-$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/pg. + $(MAKE) install DESTDIR=$(CURDIR)/debian/cl-pg + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs NEWS + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- cl-pg-0.19.orig/Makefile +++ cl-pg-0.19/Makefile @@ -0,0 +1,6 @@ +install: + install -g root -o root -m 0644 defpackage.lisp pg-tests.lisp pg.lisp sysdep.lisp \ + $(DESTDIR)/usr/share/common-lisp/source/pg + install -g root -o root -m 0644 pg.asd \ + $(DESTDIR)/usr/share/common-lisp/source/pg +