From f2f9a6d6c3d79e84ef137045658e90c7a88c60a5 Mon Sep 17 00:00:00 2001 From: Kevin Rosenberg Date: Mon, 3 Aug 2009 14:33:41 -0600 Subject: [PATCH] Automated commit for upstream build of version 1.8.5 --- debian/changelog | 11 ++++++++++ debian/compat | 2 +- debian/control | 10 ++++++---- debian/postinst | 48 -------------------------------------------- debian/prerm | 42 -------------------------------------- debian/rules | 52 ++++++++++++++---------------------------------- 6 files changed, 33 insertions(+), 132 deletions(-) delete mode 100755 debian/postinst delete mode 100755 debian/prerm diff --git a/debian/changelog b/debian/changelog index cdca01d..a7ea921 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +cl-md5 (1.8.5-2) unstable; urgency=low + + * Build with debhelper extension dh-lisp + * debian/watch: New file + * debian/control: Require debhelper 7. Change to new lisp section. + Added Vcs-Git, Vcs-Browser and Homepage fields. + * debian/compat: Update to version 7 + * debian/rules: Update for debhelper 7, architecture-independent build + + -- Kevin M. Rosenberg Mon, 03 Aug 2009 14:28:20 -0600 + cl-md5 (1.8.5-1) unstable; urgency=low * Patch from John Desoi for Lispworks compatibility diff --git a/debian/compat b/debian/compat index b8626c4..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -4 +7 diff --git a/debian/control b/debian/control index 13ea53a..005e354 100644 --- a/debian/control +++ b/debian/control @@ -2,13 +2,15 @@ Source: cl-md5 Section: devel Priority: optional Maintainer: Kevin M. Rosenberg -Build-Depends-Indep: debhelper (>= 4.0.0) -Standards-Version: 3.6.1.1 +Build-Depends-Indep: dh-lisp +Build-Depends: debhelper (>= 7.0.0) +Standards-Version: 3.8.2.0 +Homepage: http://files.b9.com/md5/ +Vcs-Git: git://git.b9.com/md5.git Package: cl-md5 Architecture: all -Depends: ${shlibs:Depends}, common-lisp-controller (>= 3.37) +Depends: ${misc:Depends} Description: Common Lisp package for MD5 Message Digests This package contains a Common Lisp function to calculate the MD5 message digest of a string, stream, or file. - diff --git a/debian/postinst b/debian/postinst deleted file mode 100755 index 5b7af90..0000000 --- a/debian/postinst +++ /dev/null @@ -1,48 +0,0 @@ -#! /bin/sh -# postinst script for cl-md5 -# -# see: dh_installdeb(1) - -set -e - -# package name according to lisp -LISP_PKG=md5 - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# 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) - /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 - - diff --git a/debian/prerm b/debian/prerm deleted file mode 100755 index 6a45f40..0000000 --- a/debian/prerm +++ /dev/null @@ -1,42 +0,0 @@ -#! /bin/sh -# prerm script for cl-md5 -# -# see: dh_installdeb(1) - -set -e - -# package name according to lisp -LISP_PKG=md5 - -# summary of how this script can be called: -# * `remove' -# * `upgrade' -# * `failed-upgrade' -# * `remove' `in-favour' -# * `deconfigure' `in-favour' -# `removing' -# -# 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} - ;; - 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 - - diff --git a/debian/rules b/debian/rules index 72f0c71..49eb12a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,59 +1,34 @@ #!/usr/bin/make -f -pkg := md5 -debpkg := cl-md5 - +pkg := md5 +debpkg := cl-md5 clc-source := usr/share/common-lisp/source clc-systems := usr/share/common-lisp/systems -clc-md5 := $(clc-source)/$(pkg) - -doc-dir := usr/share/doc/$(debpkg) - - -configure: configure-stamp -configure-stamp: - dh_testdir - # Add here commands to configure the package. - - touch configure-stamp +clc-files := $(clc-source)/$(pkg) -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - # Add here commands to compile the package. - touch build-stamp +build: clean: dh_testdir dh_testroot - rm -f build-stamp configure-stamp - # Add here commands to clean up after the build process. - rm -f debian/cl-md5.postinst.* debian/cl-md5.prerm.* dh_clean install: build dh_testdir dh_testroot - dh_clean -k - # Add here commands to install the package into debian/md5. - dh_installdirs $(clc-systems) $(clc-md5) - dh_install md5.asd $(shell echo *.lisp) $(clc-md5) - dh_link $(clc-md5)/md5.asd $(clc-systems)/md5.asd - -# Build architecture-independent files here. -binary-indep: build install + dh_prep + dh_installdirs + dh_install md5.asd $(clc-files) + dh_install *.lisp $(clc-files) - -# Build architecture-dependent files here. -binary-arch: build install +binary-indep: install dh_testdir dh_testroot dh_installdocs dh_installchangelogs - dh_strip + dh_lisp dh_compress dh_fixperms dh_installdeb @@ -62,6 +37,9 @@ binary-arch: build install dh_md5sums dh_builddeb -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +binary-arch: + +binary: binary-indep + +.PHONY: build clean binary-indep binary-arch binary install -- 2.34.1