[Pkg-shadow-commits] r159 - trunk/debian/patches
Nicolas FRANCOIS
pkg-shadow-devel@lists.alioth.debian.org
Thu, 19 May 2005 22:48:18 +0000
Author: nekral-guest
Date: 2005-05-19 22:48:18 +0000 (Thu, 19 May 2005)
New Revision: 159
Added:
trunk/debian/patches/328_successful_password_change
Modified:
trunk/debian/patches/006_libmisc.dpatch
trunk/debian/patches/series
Log:
Remove a new chunk from 006 to create 328_successful_password_change.
Modified: trunk/debian/patches/006_libmisc.dpatch
===================================================================
--- trunk/debian/patches/006_libmisc.dpatch 2005-05-19 22:25:14 UTC (rev 158)
+++ trunk/debian/patches/006_libmisc.dpatch 2005-05-19 22:48:18 UTC (rev 159)
@@ -106,14 +106,3 @@
#endif
-diff -Nru shadow-4.0.3/libmisc/pam_pass.c shadow-4.0.3_30.4/libmisc/pam_pass.c
---- shadow-4.0.3/libmisc/pam_pass.c 2001-06-28 22:47:06.000000000 +0200
-+++ shadow-4.0.3_30.4/libmisc/pam_pass.c 2004-11-02 22:17:35.000000000 +0100
-@@ -51,6 +51,7 @@
- exit(10); /* XXX */
- }
-
-+ fputs("passwd: password updated successfully\n", stderr);
- pam_end(pamh, PAM_SUCCESS);
- }
- #else /* !USE_PAM */
Added: trunk/debian/patches/328_successful_password_change
===================================================================
--- trunk/debian/patches/328_successful_password_change 2005-05-19 22:25:14 UTC (rev 158)
+++ trunk/debian/patches/328_successful_password_change 2005-05-19 22:48:18 UTC (rev 159)
@@ -0,0 +1,18 @@
+Goal: passwd: print "success" on successful password change
+ (Ben Collins, 29 Apr 2000)
+Fixes: #58676
+
+Status wrt upstream: Upstream is even better, it uses gettext.
+
+Index: shadow-4.0.3/libmisc/pam_pass.c
+===================================================================
+--- shadow-4.0.3.orig/libmisc/pam_pass.c 2005-05-20 00:26:52.989079000 +0200
++++ shadow-4.0.3/libmisc/pam_pass.c 2005-05-20 00:30:45.529079000 +0200
+@@ -51,6 +51,7 @@
+ exit(10); /* XXX */
+ }
+
++ fputs("passwd: password updated successfully\n", stderr);
+ pam_end(pamh, PAM_SUCCESS);
+ }
+ #else /* !USE_PAM */
Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series 2005-05-19 22:25:14 UTC (rev 158)
+++ trunk/debian/patches/series 2005-05-19 22:48:18 UTC (rev 159)
@@ -64,6 +64,7 @@
325_gshadow_5_manpage
326_su.1_pwconv.8-typos
327_newgrp_162303
+328_successful_password_change
401_cppw_src.dpatch
403_sg_symlink_162339_163652.dpatch
404_undef_USE_PAM.dpatch