[Pkg-shadow-commits] r313 - in trunk/debian: . patches
Nicolas FRANCOIS
pkg-shadow-devel@lists.alioth.debian.org
Wed, 29 Jun 2005 00:30:50 +0000
Author: nekral-guest
Date: 2005-06-29 00:30:50 +0000 (Wed, 29 Jun 2005)
New Revision: 313
Modified:
trunk/debian/changelog
trunk/debian/patches/008_login_more_LOG_UNKFAIL_ENAB
Log:
Do not localize syslog messages.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2005-06-29 00:28:14 UTC (rev 312)
+++ trunk/debian/changelog 2005-06-29 00:30:50 UTC (rev 313)
@@ -5,6 +5,7 @@
compiled with PAM and when FAILLOG_ENAB is set to yes. And create the
faillog file if it does not exist on postinst (as on Woody).
Closes: #192849
+ - do not localize login's syslog messages.
* Debian packaging fixes:
- Fix FTBFS with new dpkg 1.13 and use a correct dpkg-architecture
invocation. Closes: #314407
Modified: trunk/debian/patches/008_login_more_LOG_UNKFAIL_ENAB
===================================================================
--- trunk/debian/patches/008_login_more_LOG_UNKFAIL_ENAB 2005-06-29 00:28:14 UTC (rev 312)
+++ trunk/debian/patches/008_login_more_LOG_UNKFAIL_ENAB 2005-06-29 00:30:50 UTC (rev 313)
@@ -100,7 +100,7 @@
+
+ if (retcode == PAM_MAXTRIES || failcount >= retries) {
+ syslog (LOG_NOTICE,
-+ _("TOO MANY LOGIN TRIES (%d)%s FOR `%s'"),
++ "TOO MANY LOGIN TRIES (%d)%s FOR `%s'",
+ failcount, fromhost, failent_user);
+ fprintf(stderr,
+ _("Maximum number of tries exceeded (%d)\n"),
@@ -110,11 +110,11 @@
+ } else if (retcode == PAM_ABORT) {
+ /* Serious problems, quit now */
+ fprintf(stderr,_("login: abort requested by PAM\n"));
-+ syslog(LOG_ERR,_("PAM_ABORT returned from pam_authenticate()"));
++ syslog(LOG_ERR,"PAM_ABORT returned from pam_authenticate()");
+ PAM_END;
+ exit(99);
+ } else if (retcode != PAM_SUCCESS) {
-+ syslog(LOG_NOTICE,_("FAILED LOGIN (%d)%s FOR `%s', %s"),
++ syslog(LOG_NOTICE,"FAILED LOGIN (%d)%s FOR `%s', %s",
+ failcount, fromhost, failent_user,
+ pam_strerror (pamh, retcode));
+ failed = 1;