Hi,

I uploaded an NMU of your package.

Please see this as help to get the package into a releaseable condition for
etch.

Please find the used diff below.


Cheers,
Andi

diff -Nur ../lockdev-1.0.3~/debian/changelog ../lockdev-1.0.3/debian/changelog
--- ../lockdev-1.0.3~/debian/changelog  2006-11-27 13:11:21.000000000 +0100
+++ ../lockdev-1.0.3/debian/changelog   2006-11-27 13:23:57.000000000 +0100
@@ -1,3 +1,15 @@
+lockdev (1.0.3-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix postinst. Closes: #366384
+    + don't use numerical compares for version history, but
+      dpkg --compare-versions
+    + do never wait for someone entering a key - that could be in
+      non-interactive mode ...
+  * Add upgrade information into NEWS.Debian.
+
+ -- Andreas Barth <[EMAIL PROTECTED]>  Mon, 27 Nov 2006 13:11:32 +0100
+
 lockdev (1.0.3-1) unstable; urgency=low
 
   * New release
diff -Nur ../lockdev-1.0.3~/debian/liblockdev1.postinst 
../lockdev-1.0.3/debian/liblockdev1.postinst
--- ../lockdev-1.0.3~/debian/liblockdev1.postinst       2006-11-27 
13:11:21.000000000 +0100
+++ ../lockdev-1.0.3/debian/liblockdev1.postinst        2006-11-27 
13:22:27.000000000 +0100
@@ -1,20 +1,19 @@
 #!/bin/sh -e
 
-if [ "$1" = "configure" -a "`echo $2 | sed -e 's/[.-]//g'`" -lt 1031 ]
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl 1.0.3-1;
 then
-  echo "" >&2
-  echo "WARNING" >&2
-  echo "Format of device lock files have changed, you will need to restart 
all" >&2
-  echo "programs that have locked device files using the old version of 
liblockdev." >&2
-  echo "" >&2
+  echo
+  echo "WARNING"
+  echo "Format of device lock files have changed, you will need to restart all"
+  echo "programs that have locked device files using the old version of 
liblockdev."
+  echo
+
   if ls /var/lock/LCK.[0-9]* 2>/dev/null
   then
-    echo "Right now the following programs use old lockfiles:" >&2
-    echo "" >&2
+    echo "Right now the following programs use old lockfiles:"
+    echo
     ps -p `cat /var/lock/LCK.[0-9]*`
-    echo "" >&2
-    echo "Press ENTER to continue..." >&2
-    read foo
+    echo
   fi
 fi
 
diff -Nur ../lockdev-1.0.3~/debian/NEWS ../lockdev-1.0.3/debian/NEWS
--- ../lockdev-1.0.3~/debian/NEWS       1970-01-01 01:00:00.000000000 +0100
+++ ../lockdev-1.0.3/debian/NEWS        2006-11-27 13:14:33.000000000 +0100
@@ -0,0 +1,8 @@
+lockdev (1.0.3-1.1) unstable; urgency=low
+
+  The format of device lock files has changed.
+
+  All programs that have locked device files using the old version of
+  liblockdev needs to be restarted.
+
+ -- Andreas Barth <[EMAIL PROTECTED]>  Mon, 27 Nov 2006 13:13:37 +0100
-- 
  http://home.arcor.de/andreas-barth/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to