tags 543024 + patch
kthxbye

Hi Mateusz,

I've prepared the adjustments to make the package build with automake 1.11
and eliminated a few very inviting lintian warnings. I'll upload this as
an NMU in a few days if you don't want to prepare an upload yourself -
the NMU patch is attached.


Regards,

Jan
diff -u pam-shield-0.9.2/debian/rules pam-shield-0.9.2/debian/rules
--- pam-shield-0.9.2/debian/rules
+++ pam-shield-0.9.2/debian/rules
@@ -53,7 +53,8 @@
 
 clean: _clean unpatch
        rm -fr aclocal.m4 build-stamp config* missing \
-Makefile* stamp* .depend .deps/ .pc/ ltmain.sh libtool depcomp
+         Makefile* stamp* .depend .deps/ .pc/ ltmain.sh \
+         libtool depcomp install-sh
        - rm -fr $(CURDIR)/debian/libpam-shield
 
 install: build
diff -u pam-shield-0.9.2/debian/postrm pam-shield-0.9.2/debian/postrm
--- pam-shield-0.9.2/debian/postrm
+++ pam-shield-0.9.2/debian/postrm
@@ -7,7 +7,7 @@
     purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
     if [ -d /var/lib/pam_shield ];
     then
-    /bin/rm -fr /var/lib/pam_shield
+    rm -fr /var/lib/pam_shield
     fi
     ;;
 
@@ -23,2 +22,0 @@
-
-
diff -u pam-shield-0.9.2/debian/control pam-shield-0.9.2/debian/control
--- pam-shield-0.9.2/debian/control
+++ pam-shield-0.9.2/debian/control
@@ -2,7 +2,7 @@
 Section: admin
 Priority: optional
 Maintainer: Mateusz Kaduk <mate...@kaduk.net>
-Build-Depends: debhelper (>= 5), libgdbm-dev, libpam0g-dev, quilt, autoconf, 
automake (>= 1.10), libtool
+Build-Depends: debhelper (>= 5), libgdbm-dev, libpam0g-dev, quilt, autoconf, 
automake (>= 1.11), libtool
 Standards-Version: 3.7.3
 
 Package: libpam-shield
diff -u pam-shield-0.9.2/debian/postinst pam-shield-0.9.2/debian/postinst
--- pam-shield-0.9.2/debian/postinst
+++ pam-shield-0.9.2/debian/postinst
@@ -5,14 +5,14 @@
 case "$1" in
     configure)
     if [ ! -d /var/lib/pam_shield ]; then
-    /bin/mkdir /var/lib/pam_shield
+    mkdir /var/lib/pam_shield
     fi
-    /bin/touch /var/lib/pam_shield/db
+    touch /var/lib/pam_shield/db
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
     if [ -d /var/lib/pam_shield ]; then 
-    /bin/rm -fr /var/lib/pam_shield
+    rm -fr /var/lib/pam_shield
     fi
     ;;
 
@@ -28 +27,0 @@
-
diff -u pam-shield-0.9.2/debian/changelog pam-shield-0.9.2/debian/changelog
--- pam-shield-0.9.2/debian/changelog
+++ pam-shield-0.9.2/debian/changelog
@@ -1,3 +1,13 @@
+pam-shield (0.9.2-3.2) unstable; urgency=low
+
+  * NMU.
+  * Migrate to automake 1.11. Closes: #543024.
+  * Minor improvements to debian/rules (purge install-sh, too) and the
+    maintainer scripts (don't call binaries with full path), but don't
+    bump Standards version.
+
+ -- Jan Christoph Nordholz <he...@pool.math.tu-berlin.de>  Mon, 07 Sep 2009 
23:01:50 +0200
+
 pam-shield (0.9.2-3.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u pam-shield-0.9.2/debian/patches/automake.patch 
pam-shield-0.9.2/debian/patches/automake.patch
--- pam-shield-0.9.2/debian/patches/automake.patch
+++ pam-shield-0.9.2/debian/patches/automake.patch
@@ -42,8 +42,8 @@
 @@ -0,0 +1,6 @@
 +#!/bin/sh
 +
-+export AUTOMAKE=/usr/bin/automake-1.10
-+export ACLOCAL=/usr/bin/aclocal-1.10
++export AUTOMAKE=/usr/bin/automake-1.11
++export ACLOCAL=/usr/bin/aclocal-1.11
 +
 +exec autoreconf -fi;
 Index: pam-shield-0.9.2/configure.ac

Attachment: signature.asc
Description: Digital signature

Reply via email to