[Pkg-shadow-commits] r2384 - in debian/trunk/debian: . patches

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Sep 13 17:19:31 UTC 2008


Author: nekral-guest
Date: 2008-09-13 17:19:29 +0000 (Sat, 13 Sep 2008)
New Revision: 2384

Modified:
   debian/trunk/debian/changelog
   debian/trunk/debian/patches/494_passwd_lock-no_account_lock
Log:
494_passwd_lock-no_account_lock updated for upstream 4.1.2.
Mention that it is fixed in 4.1.3.


Modified: debian/trunk/debian/changelog
===================================================================
--- debian/trunk/debian/changelog	2008-09-13 17:18:07 UTC (rev 2383)
+++ debian/trunk/debian/changelog	2008-09-13 17:19:29 UTC (rev 2384)
@@ -7,6 +7,7 @@
       + debian/patches/463_login_delay_obeys_to_PAM
       + debian/patches/579_chowntty_debug
       + debian/patches/200_Czech_binary_translation
+      + debian/patches/494_passwd_lock-no_account_lock
   * debian/patches/506_relaxed_usernames: Use an extra paragraph for the note
     on username with a '/'.
   * debian/patches/504_undef_USE_PAM.dpatch:

Modified: debian/trunk/debian/patches/494_passwd_lock-no_account_lock
===================================================================
--- debian/trunk/debian/patches/494_passwd_lock-no_account_lock	2008-09-13 17:18:07 UTC (rev 2383)
+++ debian/trunk/debian/patches/494_passwd_lock-no_account_lock	2008-09-13 17:19:29 UTC (rev 2384)
@@ -4,7 +4,7 @@
 
 Fixes: #492307 (and indirectly #412234).
 
-Status wrt upstream: Still not applied.
+Status wrt upstream: Applied upstream (for 4.1.3)
 
 Index: shadow-4.1.1/man/passwd.1.xml
 ===================================================================
@@ -64,18 +64,18 @@
 --- shadow-4.1.1.orig/src/passwd.c	2008-07-26 14:19:02.809439918 +0200
 +++ shadow-4.1.1/src/passwd.c	2008-07-26 16:17:14.104439588 +0200
 @@ -76,11 +76,11 @@
-     eflg = 0,			/* -e - force password change */
-     iflg = 0,			/* -i - set inactive days */
-     kflg = 0,			/* -k - change only if expired */
--    lflg = 0,			/* -l - lock account */
-+    lflg = 0,			/* -l - lock the user's password */
-     nflg = 0,			/* -n - set minimum days */
-     qflg = 0,			/* -q - quiet mode */
-     Sflg = 0,			/* -S - show password status */
--    uflg = 0,			/* -u - unlock account */
-+    uflg = 0,			/* -u - unlock the user's password */
-     wflg = 0,			/* -w - set warning days */
-     xflg = 0;			/* -x - set maximum days */
+     eflg = false,			/* -e - force password change */
+     iflg = false,			/* -i - set inactive days */
+     kflg = false,			/* -k - change only if expired */
+-    lflg = false,			/* -l - lock account */
++    lflg = false,			/* -l - lock the user's password */
+     nflg = false,			/* -n - set minimum days */
+     qflg = false,			/* -q - quiet mode */
+     Sflg = false,			/* -S - show password status */
+-    uflg = false,			/* -u - unlock account */
++    uflg = false,			/* -u - unlock the user's password */
+     wflg = false,			/* -w - set warning days */
+     xflg = false;			/* -x - set maximum days */
  
 @@ -155,13 +155,13 @@
  	         "  -k, --keep-tokens             change password only if expired\n"
@@ -94,9 +94,9 @@
  	         "  -x, --maxdays MAX_DAYS        set maximim number of days before password\n"
  	         "                                change to MAX_DAYS\n"
 @@ -570,15 +570,6 @@
- 		nsp->sp_inact = (inact * DAY) / SCALE;
- 	if (do_update_age)
+ 	if (do_update_age) {
  		nsp->sp_lstchg = time ((time_t *) 0) / SCALE;
+ 	}
 -	if (lflg) {
 -		/* Set the account expiry field to 1.
 -		 * Some PAM implementation consider zero as a non expired




More information about the Pkg-shadow-commits mailing list