Updates for new debian standards debian-2.5.7-2
authorKevin Rosenberg <kevin@rosenberg.net>
Sun, 2 Aug 2009 09:19:27 +0000 (03:19 -0600)
committerKevin Rosenberg <kevin@rosenberg.net>
Sun, 2 Aug 2009 09:19:27 +0000 (03:19 -0600)
debian/changelog
debian/compat
debian/control
debian/postinst
debian/prerm
debian/rules
debian/watch [new file with mode: 0644]

index 134fe0eade3415e72118541fe277b9d99008a717..c4193c801d96d490476a3a8bb0fdc58deeafb541 100644 (file)
@@ -1,8 +1,19 @@
+cl-lml (2.5.7-2) unstable; urgency=low
+
+  * debian/watch: New file
+  * debian/control: Require debhelper 7. Change to new lisp section.
+  Add Vcs-Git and Homepage fields.
+  * debian/compat: Update to version 7
+  * debian/rules: Update for debhelper 7, architecture-independent build
+  * debian/{prerm,postrm}: Remove path from binary function
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sun, 02 Aug 2009 03:17:51 -0600
+
 cl-lml (2.5.7-1) unstable; urgency=low
 
   * Change default encoding and xhtml level
 
- -- Kevin M. Rosenberg <kmr@debian.org>  Sun,  9 Sep 2007 17:59:02 -0600
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sun, 02 Aug 2009 03:17:48 -0600
 
 cl-lml (2.5.6-1) unstable; urgency=low
 
index b8626c4cff2849624fb67f87cd0ad72b163671ad..7f8f011eb73d6043d2e6db9d2c101195ae2801f2 100644 (file)
@@ -1 +1 @@
-4
+7
index 4919e4cefcafa156043a646104e48183d6ef4a76..c739b4fb11d0c7bd03400793a19bb0446a370306 100644 (file)
@@ -1,16 +1,17 @@
 Source: cl-lml
-Section: devel
+Section: lisp
 Priority: optional
 Maintainer: Kevin M. Rosenberg <kmr@debian.org>
-Build-Depends: debhelper (>> 4.0.0)
-Standards-Version: 3.7.2.2
+Build-Depends: debhelper (>> 7.0.0)
+Standards-Version: 3.8.2.0
+Homepage: http://lml.b9.com/
+Vcs-Git: git://git.b9.com/lml.git
 
 Package: cl-lml
 Architecture: all
-Depends: ${shlibs:Depends}, common-lisp-controller (>= 3.37)
+Depends: common-lisp-controller (>= 3.37)
 Description: Lisp Markup Language
  LML provides a markup language for generation XHTML web pages. It is
  a different syntax than cl-lml2 which some people like better.
  In general, though, cl-lml2 is 
  faster at compiling and generating XHTML than this package.
-
index d9021dc697a469a1820c3e8177dfbef85aabc2a7..d878702c2478ac18f6e923bd27f6dcf2d7a93874 100644 (file)
@@ -1,50 +1,20 @@
 #! /bin/sh
-# postinst script for lml
-#
-# see: dh_installdeb(1)
-
 set -e
 
-# package name according to lisp
 LISP_PKG=lml
 
-# 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)
-       /usr/sbin/register-common-lisp-source ${LISP_PKG}
-
-    ;;
-
+       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
index 3911106c6d3a5312e788a20735c4c5bab30fe076..219d89c97fa6ebcb1498a4f544611ed2eee40570 100644 (file)
@@ -1,40 +1,20 @@
 #! /bin/sh
-# prerm script for lml
-#
-# see: dh_installdeb(1)
-
 set -e
 
-# package name according to lisp
 LISP_PKG=lml
 
-# 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}
+       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
index 980801e80a8b86bda98a7a18ba3d5a9ad566993f..805d78e8353710a8efe1318438efdf283e820d9c 100755 (executable)
@@ -3,79 +3,53 @@
 pkg    := lml
 debpkg  := cl-lml
 
-
 clc-source     := usr/share/common-lisp/source
 clc-systems    := usr/share/common-lisp/systems
-clc-lml        := $(clc-source)/$(pkg)
-
+clc-lml                := $(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
 
-
 build: build-stamp
 
 build-stamp: configure-stamp 
        dh_testdir
-       # Add here commands to compile the package.
        touch build-stamp
 
 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-lml.postinst.* debian/cl-lml.prerm.*
        dh_clean
 
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k
-       # Add here commands to install the package into debian/lml.
+       dh_prep
        dh_installdirs $(clc-systems) $(clc-lml) $(doc-dir)
        dh_install lml.asd $(shell echo *.lisp) $(clc-lml)
        dh_install $(shell echo doc/*.html) $(doc-dir)
        dh_link $(clc-lml)/lml.asd $(clc-systems)/lml.asd
 
-# 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 doc/Makefile doc/make.lisp $(shell echo doc/*.lml)
-#      dh_installmenu
-#      dh_installlogrotate
-#      dh_installemacsen
-#      dh_installpam
-#      dh_installmime
-#      dh_installinit
-#      dh_installcron
-#      dh_installman
-#      dh_installinfo
-#      dh_undocumented
-       dh_installchangelogs
-       dh_strip
-       dh_compress
-       dh_fixperms
-#      dh_makeshlibs
-       dh_installdeb
-#      dh_perl
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
+
+binary-indep: build install
+       dh_testdir -i
+       dh_testroot -i
+       dh_installdocs -i
+       dh_installexamples -i doc/Makefile doc/make.lisp $(shell echo doc/*.lml)
+       dh_installchangelogs -i
+       dh_strip -i
+       dh_compress -i
+       dh_fixperms -i
+       dh_installdeb -i
+       dh_gencontrol -i
+       dh_md5sums -i
+       dh_builddeb -i
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install configure
-
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..cc2a098
--- /dev/null
@@ -0,0 +1,3 @@
+version=3
+http://files.b9.com/lml/lml-([\d\.]*)\.tar\.gz
+