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

jandd-guest at alioth.debian.org jandd-guest at alioth.debian.org
Wed Sep 10 21:28:30 UTC 2008


Author: jandd-guest
Date: 2008-09-10 21:28:29 +0000 (Wed, 10 Sep 2008)
New Revision: 46

Modified:
   cracklib2/trunk/debian/changelog
   cracklib2/trunk/debian/cracklib-runtime.cron.daily
   cracklib2/trunk/debian/cracklib-runtime.logcheck.ignore.paranoid
   cracklib2/trunk/debian/cracklib-runtime.logcheck.ignore.server
   cracklib2/trunk/debian/cracklib-runtime.logcheck.ignore.workstation
   cracklib2/trunk/debian/rules
Log:
fix for #498354, proper installation of logcheck rules


Modified: cracklib2/trunk/debian/changelog
===================================================================
--- cracklib2/trunk/debian/changelog	2008-09-08 22:18:53 UTC (rev 45)
+++ cracklib2/trunk/debian/changelog	2008-09-10 21:28:29 UTC (rev 46)
@@ -6,6 +6,10 @@
     - updated maintainer information
     - removed shared libraries and headers from Modifications as they are
       provided by upstream
+  * change cracklib-runtime's daily cron job's log output if no change
+    happens and update logcheck rules accordingly (Closes: #498354)
+  * debian/rules
+    - add dh_installlogcheck to binary-common
 
  -- Jan Dittberner <jan at dittberner.info>  Tue, 09 Sep 2008 00:17:52 +0200
 

Modified: cracklib2/trunk/debian/cracklib-runtime.cron.daily
===================================================================
--- cracklib2/trunk/debian/cracklib-runtime.cron.daily	2008-09-08 22:18:53 UTC (rev 45)
+++ cracklib2/trunk/debian/cracklib-runtime.cron.daily	2008-09-10 21:28:29 UTC (rev 46)
@@ -5,7 +5,12 @@
 if [ -x /usr/sbin/update-cracklib -a -r /etc/cracklib/cracklib.conf ]
 then
     status="$(/usr/sbin/update-cracklib)"
-    /usr/bin/logger -p cron.info -t cracklib "updated dictionary (read/written words: ${status})."
+    if [ -n "${status}" ]
+    then
+        /usr/bin/logger -p cron.info -t cracklib "updated dictionary (read/written words: ${status})."
+    else
+    	/usr/bin/logger -p cron.info -t cracklib "no dictionary update necessary."
+    fi
 fi
 
 exit 0

Modified: cracklib2/trunk/debian/cracklib-runtime.logcheck.ignore.paranoid
===================================================================
--- cracklib2/trunk/debian/cracklib-runtime.logcheck.ignore.paranoid	2008-09-08 22:18:53 UTC (rev 45)
+++ cracklib2/trunk/debian/cracklib-runtime.logcheck.ignore.paranoid	2008-09-10 21:28:29 UTC (rev 46)
@@ -1 +1,2 @@
 cracklib: updated dictionary \(read/written words: ([0-9]+) \1\)\.
+cracklib: no dictionary update necessary\.

Modified: cracklib2/trunk/debian/cracklib-runtime.logcheck.ignore.server
===================================================================
--- cracklib2/trunk/debian/cracklib-runtime.logcheck.ignore.server	2008-09-08 22:18:53 UTC (rev 45)
+++ cracklib2/trunk/debian/cracklib-runtime.logcheck.ignore.server	2008-09-10 21:28:29 UTC (rev 46)
@@ -1 +1,2 @@
 cracklib: updated dictionary \(read/written words: ([0-9]+) \1\)\.
+cracklib: no dictionary update necessary\.

Modified: cracklib2/trunk/debian/cracklib-runtime.logcheck.ignore.workstation
===================================================================
--- cracklib2/trunk/debian/cracklib-runtime.logcheck.ignore.workstation	2008-09-08 22:18:53 UTC (rev 45)
+++ cracklib2/trunk/debian/cracklib-runtime.logcheck.ignore.workstation	2008-09-10 21:28:29 UTC (rev 46)
@@ -1 +1,2 @@
 cracklib: updated dictionary \(read/written words: ([0-9]+) \1\)\.
+cracklib: no dictionary update necessary\.

Modified: cracklib2/trunk/debian/rules
===================================================================
--- cracklib2/trunk/debian/rules	2008-09-08 22:18:53 UTC (rev 45)
+++ cracklib2/trunk/debian/rules	2008-09-10 21:28:29 UTC (rev 46)
@@ -84,6 +84,7 @@
 	dh_installexamples
 	dh_installman
 	dh_installcron
+	dh_installlogcheck
 	dh_strip
 	dh_link
 	dh_compress




More information about the Pkg-cracklib-commits mailing list