[Pkg-cracklib-commits] r67 - cracklib2/trunk/debian

jandd-guest at alioth.debian.org jandd-guest at alioth.debian.org
Sun Oct 19 21:23:51 UTC 2008


Author: jandd-guest
Date: 2008-10-19 21:23:50 +0000 (Sun, 19 Oct 2008)
New Revision: 67

Modified:
   cracklib2/trunk/debian/changelog
   cracklib2/trunk/debian/update-cracklib
Log:
integrate Ubuntu LP #278743 bugfix

Modified: cracklib2/trunk/debian/changelog
===================================================================
--- cracklib2/trunk/debian/changelog	2008-10-16 19:59:33 UTC (rev 66)
+++ cracklib2/trunk/debian/changelog	2008-10-19 21:23:50 UTC (rev 67)
@@ -1,3 +1,15 @@
+cracklib2 (2.8.13-2) unstable; urgency=low
+
+  [ Steve Langasek ]
+  * debian/update-cracklib: don't rely on [ -nt ] to return true when
+    the second file is non-existent, since this fails under dash.
+    LP: #278743.
+
+  [ Jan Dittberner ]
+  * integrate Ubuntu bugfix
+
+ -- Jan Dittberner <jan at dittberner.info>  Sun, 19 Oct 2008 23:23:19 +0200
+
 cracklib2 (2.8.13-1) unstable; urgency=low
 
   * new upstream release

Modified: cracklib2/trunk/debian/update-cracklib
===================================================================
--- cracklib2/trunk/debian/update-cracklib	2008-10-16 19:59:33 UTC (rev 66)
+++ cracklib2/trunk/debian/update-cracklib	2008-10-19 21:23:50 UTC (rev 67)
@@ -24,7 +24,8 @@
 then
     for i in ${cracklib_dictpath_src}
     do
-        if [ "$i" -nt "${cracklib_dictpath}.pwd" ]
+        if ! [ -e "${cracklib_dictpath}.pwd" ] \
+	   || [ "$i" -nt "${cracklib_dictpath}.pwd" ]
         then
             /usr/sbin/cracklib-format ${cracklib_dictpath_src} | \
             /usr/sbin/cracklib-packer




More information about the Pkg-cracklib-commits mailing list