rpms/gnome-keyring/devel gnome-keyring-2.21.5-dont-ask-for-password.patch, 1.1, 1.2 gnome-keyring.spec, 1.79, 1.80

Ray Strode (rstrode) fedora-extras-commits at redhat.com
Wed Feb 6 21:28:32 UTC 2008


Author: rstrode

Update of /cvs/pkgs/rpms/gnome-keyring/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31156

Modified Files:
	gnome-keyring-2.21.5-dont-ask-for-password.patch 
	gnome-keyring.spec 
Log Message:
- Fix problem in patch for bug 430525


gnome-keyring-2.21.5-dont-ask-for-password.patch:

Index: gnome-keyring-2.21.5-dont-ask-for-password.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-keyring/devel/gnome-keyring-2.21.5-dont-ask-for-password.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gnome-keyring-2.21.5-dont-ask-for-password.patch	28 Jan 2008 17:02:11 -0000	1.1
+++ gnome-keyring-2.21.5-dont-ask-for-password.patch	6 Feb 2008 21:28:19 -0000	1.2
@@ -1,19 +1,24 @@
 diff -up gnome-keyring-2.21.5/pam/gkr-pam-module.c.dont-ask-for-password gnome-keyring-2.21.5/pam/gkr-pam-module.c
---- gnome-keyring-2.21.5/pam/gkr-pam-module.c.dont-ask-for-password	2008-01-28 11:53:45.000000000 -0500
-+++ gnome-keyring-2.21.5/pam/gkr-pam-module.c	2008-01-28 11:53:55.000000000 -0500
-@@ -775,6 +775,7 @@ pam_sm_authenticate (pam_handle_t *ph, i
- 		
+--- gnome-keyring-2.21.5/pam/gkr-pam-module.c.dont-ask-for-password	2007-12-01 16:28:35.000000000 -0500
++++ gnome-keyring-2.21.5/pam/gkr-pam-module.c	2008-02-06 14:02:16.000000000 -0500
+@@ -776,6 +776,7 @@ pam_sm_authenticate (pam_handle_t *ph, i
  	/* Look up the password */
  	ret = pam_get_item (ph, PAM_AUTHTOK, (const void**)&password);
-+#if 0
  	if (ret != PAM_SUCCESS || password == NULL) {
++#ifdef GKR_SHOULD_WRONGLY_ASK_FOR_PASSWORD
  		ret = prompt_password (ph);
  		if (ret != PAM_SUCCESS) {
-@@ -789,6 +790,7 @@ pam_sm_authenticate (pam_handle_t *ph, i
+ 			syslog (GKR_LOG_ERR, "gkr-pam: couldn't get the password from user: %s", 
+@@ -788,9 +789,11 @@ pam_sm_authenticate (pam_handle_t *ph, i
+ 			        ret == PAM_SUCCESS ? "password was null" : pam_strerror (ph, ret));
  			return PAM_AUTHTOK_RECOVER_ERR;
  		}
- 	}
++#else
++                return PAM_SUCCESS;
 +#endif
+ 	}
  
- 
+-
  	started_daemon = 0;
+ 
+ 	/* Should we start the daemon? */


Index: gnome-keyring.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-keyring/devel/gnome-keyring.spec,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- gnome-keyring.spec	29 Jan 2008 17:14:36 -0000	1.79
+++ gnome-keyring.spec	6 Feb 2008 21:28:19 -0000	1.80
@@ -8,7 +8,7 @@
 Summary: A framework for managing user passwords and other secrets
 Name: gnome-keyring
 Version: 2.21.90
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+ and LGPLv2+
 Group: System Environment/Libraries
 Source: http://download.gnome.org/sources/gnome-keyring/2.21/gnome-keyring-%{version}.tar.bz2
@@ -139,6 +139,9 @@
 
 
 %changelog
+* Wed Feb  6 2008 Ray Strode <rstrode at redhat.com> - 2.21.90-2
+- Fix problem in patch for bug 430525
+
 * Tue Jan 29 2008 Matthias Clasen <mclasen at redhat.com> - 2.21.90-1
 - Update to 2.21.90
 




More information about the fedora-extras-commits mailing list