[Pkg-shadow-commits] r727 - trunk/debian/patches
Nicolas FRANCOIS
nekral-guest at costa.debian.org
Sun Dec 18 21:03:50 UTC 2005
Author: nekral-guest
Date: 2005-12-18 21:03:49 +0000 (Sun, 18 Dec 2005)
New Revision: 727
Modified:
trunk/debian/patches/008_login_log_failure_in_FTMP
trunk/debian/patches/429_login_FAILLOG_ENAB
trunk/debian/patches/433_login_more_LOG_UNKFAIL_ENAB
Log:
Reuse the same string as upstream. Otherwise, it won't be translated.
Modified: trunk/debian/patches/008_login_log_failure_in_FTMP
===================================================================
--- trunk/debian/patches/008_login_log_failure_in_FTMP 2005-12-18 21:02:49 UTC (rev 726)
+++ trunk/debian/patches/008_login_log_failure_in_FTMP 2005-12-18 21:03:49 UTC (rev 727)
@@ -11,7 +11,7 @@
@@ -711,6 +711,20 @@
#endif /* WITH_AUDIT */
- fprintf(stderr,"Login incorrect\n\n");
+ fprintf(stderr,"\nLogin incorrect\n");
+ if (getdef_str("FTMP_FILE") != NULL) {
+#if HAVE_UTMPX_H
+ failent = utxent;
Modified: trunk/debian/patches/429_login_FAILLOG_ENAB
===================================================================
--- trunk/debian/patches/429_login_FAILLOG_ENAB 2005-12-18 21:02:49 UTC (rev 726)
+++ trunk/debian/patches/429_login_FAILLOG_ENAB 2005-12-18 21:03:49 UTC (rev 727)
@@ -51,7 +51,7 @@
@@ -711,6 +720,8 @@
#endif /* WITH_AUDIT */
- fprintf(stderr,"Login incorrect\n\n");
+ fprintf(stderr,"\nLogin incorrect\n");
+ if (pwd && getdef_bool("FAILLOG_ENAB"))
+ failure (pwent.pw_uid, tty, &faillog);
if (getdef_str("FTMP_FILE") != NULL) {
Modified: trunk/debian/patches/433_login_more_LOG_UNKFAIL_ENAB
===================================================================
--- trunk/debian/patches/433_login_more_LOG_UNKFAIL_ENAB 2005-12-18 21:02:49 UTC (rev 726)
+++ trunk/debian/patches/433_login_more_LOG_UNKFAIL_ENAB 2005-12-18 21:03:49 UTC (rev 727)
@@ -151,7 +151,7 @@
- fprintf (stderr, "\nLogin incorrect\n");
- pam_end (pamh, retcode);
- exit (0);
-+ fprintf(stderr,"Login incorrect\n\n");
++ fprintf(stderr,"\nLogin incorrect\n");
+
+ /* Let's give it another go around */
+ pam_set_item(pamh,PAM_USER,NULL);
More information about the Pkg-shadow-commits
mailing list