--- /dev/null
+cl-sql
+files
+cl-sql.prerm.debhelper
+cl-sql.postinst.debhelper
--- /dev/null
+The Debian Package CL-SQL
+--------------------------
+
+This is the CLSQL Common Lisp system packaged for Debian.
+
+Anonymous CVS for this code is available at:
+:pserver:anoncvs@cvs.med-info.com:/pubcvs clsql
+
+Kevin Rosenberg <kevin@rosenberg.net>, Thu, 25 Apr 2002 19:13:41 -0600
--- /dev/null
+cl-sql (0.7.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Kevin Rosenberg <kevin@rosenberg.net> Thu, 25 Apr 2002 19:13:41 -0600
+
--- /dev/null
+Document: cl-sql
+Title: CLSQL Manual
+Author: Kevin M. Rosenberg
+Abstract: Describes the
+ use the CLSQL Common Lisp library.
+Section: lisp
+
+Format: postscript
+Files: /usr/share/doc/cl-sql/cl-sql.ps.gz
+
+Format: HTML
+Index: /usr/share/doc/cl-sql/html/index.html
+Files: /usr/share/doc/cl-sql/html/*.html
+
+
--- /dev/null
+Source: cl-uffi
+Section: devel
+Priority: optional
+Maintainer: Kevin Rosenberg <kevin@rosenberg.net>
+Build-Depends-Indep: debhelper (>> 3.0.0)
+Standards-Version: 3.5.2
+
+Package: cl-uffi
+Architecture: all
+Depends: common-lisp-controller, cmucl | lisp-compiler
+Description: Universal Foreign Function Library for Common Lisp
+ UFFI provides a universal foreign function interface (FFI) for Common Lisp.
+ UFFI supports CMUCL, Lispworks, and AllegroCL.
--- /dev/null
+The home site for UFFI is http://uffi.med-info.com. The package
+may be downloaded from that site.
+
+UFFI has been packaged by Kevin M. Rosenberg who is also the
+upstream author.
+
+Copyright:
+
+UFFI is written and Copyright (c) 2002 by Kevin M. Rosenberg.
+
+UFFI is licensed under the terms of the Lisp Lesser GNU
+Public License (http://opensource.franz.com/preamble.html), known as
+the LLGPL. The LLGPL consists of a preamble (see above URL) and the
+LGPL. Where these conflict, the preamble takes precedence.
+UFFI is referenced in the preamble as the "LIBRARY."
+
+UFFI 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.
+
+
+
--- /dev/null
+NEWS
+README
+TODO
--- /dev/null
+#! /bin/sh
+# postinst script for uffi
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# package name according to lisp
+LISP_PKG=uffi
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+# 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)
+ ln -sf ../repositories/uffi /usr/share/common-lisp/source/uffi
+ /usr/sbin/register-common-lisp-source ${LISP_PKG}
+
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- /dev/null
+#! /bin/sh
+# prerm script for uffi
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# package name according to lisp
+LISP_PKG=uffi
+
+# summary of how this script can be called:
+# * <prerm> `remove'
+# * <old-prerm> `upgrade' <new-version>
+# * <new-prerm> `failed-upgrade' <old-version>
+# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+# * <deconfigured's-prerm> `deconfigure' `in-favour'
+# <package-being-installed> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ remove|upgrade|deconfigure)
+ /usr/sbin/unregister-common-lisp-source ${LISP_PKG}
+ rm -rf /usr/share/common-lisp/source/uffi /usr/share/common-lisp/repositories/uffi
+ ;;
+ failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- /dev/null
+#!/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
+
+pkg := cl-uffi
+prefix := debian/$(pkg)
+
+INSTALL := install
+INSTALLFLAGS := -g root -o root -m 0644
+INSTALLDIRFLAGS := -d -g root -o root -m 0755
+
+SOURCEDIR := $(prefix)/usr/share/common-lisp/source
+REPOSITORYDIR := $(prefix)/usr/share/common-lisp/repositories/uffi
+SYSDIR := $(prefix)/usr/share/common-lisp/systems
+DOCDIR := $(prefix)/usr/share/doc/cl-uffi
+
+
+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) doc
+ #/usr/bin/docbook-to-man debian/uffi.sgml > uffi.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/uffi.
+ $(INSTALL) $(INSTALLDIRFLAGS) $(REPOSITORYDIR) $(REPOSITORYDIR)/mcl $(SYSDIR) $(DOCDIR) $(DOCDIR)/html $(SOURCEDIR)
+ $(INSTALL) $(INSTALLFLAGS) uffi.system.debian $(SYSDIR)
+ mv $(SYSDIR)/uffi.system.debian $(SYSDIR)/uffi.system
+ $(INSTALL) $(INSTALLFLAGS) $(shell echo src/*.cl) $(REPOSITORYDIR)
+ $(INSTALL) $(INSTALLFLAGS) $(shell echo src/mcl/*.cl) $(REPOSITORYDIR)/mcl
+ $(INSTALL) $(INSTALLFLAGS) doc/html/* $(DOCDIR)/html
+ cp doc/uffi.ps doc/cl-uffi.ps
+ rm -f doc/cl-uffi.ps.gz
+ gzip doc/cl-uffi.ps
+ $(INSTALL) $(INSTALLFLAGS) doc/cl-uffi.ps.gz $(DOCDIR)
+ rm -f doc/cl-uffi.ps.gz
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs
+ dh_installexamples examples/*.cl
+# dh_installmenu
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installman
+# dh_installinfo
+# dh_undocumented
+ dh_installchangelogs ChangeLog
+ 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
+
--- /dev/null
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site Directory Pattern Version Script
+ftp.med-info.com /pub/uffi uffi-(.*)\.tar\.gz debian uupdate
--- /dev/null
+#!/bin/sh
+
+# Creates debian and system-independent archive files
+# Programmer: Kevin Rosenberg based on script used by onShore Development
+
+set -e
+
+VERSION=`cat VERSION`
+DEBPKG=cl-sql
+PKG=clsql
+TOPDIR=`basename $PWD`
+
+DISTDIR=${PKG}-${VERSION}
+DEBDIR=${DEBPKG}-${VERSION}
+
+TAG=upstream_version_`echo $VERSION | tr . _`
+echo "(re)tagging with release tag '$TAG'"
+cvs -q rtag -d $TAG $PKG
+cvs -q tag -F $TAG
+
+
+# build the tarball
+echo "building tarballs"
+cd ..
+rm -f ${PKG}_${VERSION}.tar.gz ${DEBPKG}_${VERSION}.orig.tar.gz
+rm -rf ${DISTDIR} ${DEBDIR} ${DISTDIR}.zip
+cp -a ${TOPDIR} ${DISTDIR}
+
+# Remove junk from distribution dir
+find ${DISTDIR} -type f -name .cvsignore -exec rm {} \;
+find ${DISTDIR} -type d -name CVS | xargs rm -r
+find ${DISTDIR}/doc -type f -name \*.tex -or -name \*.aux -or \
+ -name \*.log -or -name \*.out -or -name \*.dvi -or \
+ -name \*~ -or -name .\#\* -or -name \#*\# |xargs rm -f
+
+# Copy dist dir to debian directory
+cp -a ${DISTDIR} ${DEBDIR}
+rm -f ${DEBDIR}/${PKG}.system
+mv ${DEBDIR}/${PKG}.system.debian ${DEBDIR}/${PKG}.system
+
+# Create original distribution archive
+rm -rf ${DISTDIR}/debian ${DISTDIR}/*.system.debian
+
+GZIP=-9 tar czf ${DISTDIR}.tar.gz ${DISTDIR}
+
+cp ${DISTDIR}.tar.gz ${DEBPKG}_${VERSION}.orig.tar.gz
+find ${DISTDIR} -type f -and -name \*.cl -or -name \*.list -or \
+ -name \*.system -or -name Makefile -or -name ChangeLog -or \
+ -name COPYRIGHT -or -name TODO -or -name README -or -name INSTALL \
+ -or -name NEWS -or -name \*.sgml -or -name COPYING\* -or -name catalog \
+ | xargs unix2dos
+zip -rq ${DISTDIR}.zip ${DISTDIR}
+
+
+cp ${TOPDIR}/${PKG}.system.debian ${DEBDIR}
+cd ${DEBDIR}
+dpkg-buildpackage -rfakeroot -kkevin@b9.com
+
+cd ..
+rm -rf ${DISTDIR}
+rm -rf ${DEBDIR}
+
+lintian ${DEBPKG}_${VERSION}-*.changes
+
+cd ${TOPDIR}
+exit 0