rpms/krb5-auth-dialog/FC-5 krb5-auth-dialog-simmer-down.patch, NONE, 1.1 krb5-auth-dialog.spec, 1.18, 1.19

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Sep 13 22:57:48 UTC 2006


Author: caillon

Update of /cvs/dist/rpms/krb5-auth-dialog/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv12274

Modified Files:
	krb5-auth-dialog.spec 
Added Files:
	krb5-auth-dialog-simmer-down.patch 
Log Message:
* Wed Sep 13 2006 Christopher Aillon <caillon at redhat.com> - 0.6.cvs20060212-2
- Fix issue where krb5-auth-dialog sometimes pegs CPU and network


krb5-auth-dialog-simmer-down.patch:
 krb5-auth-dialog.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)

--- NEW FILE krb5-auth-dialog-simmer-down.patch ---
Index: krb5-auth-dialog/src/krb5-auth-dialog.c
===================================================================
RCS file: /cvs/gnome/krb5-auth-dialog/src/krb5-auth-dialog.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- krb5-auth-dialog/src/krb5-auth-dialog.c	2006/03/18 00:21:08	1.27
+++ krb5-auth-dialog/src/krb5-auth-dialog.c	2006/07/24 17:48:24	1.28
@@ -284,6 +284,7 @@
 			case GTK_RESPONSE_DELETE_EVENT:
 				break;
 			default:
+				g_warning ("Unknown Response: %d", response);
 				g_assert_not_reached ();
 		}
 
@@ -375,7 +376,11 @@
 				retval = grab_credentials (renewable);
 				give_up = canceled &&
 					  (creds_expiry == canceled_creds_expiry);
-			} while ((retval != 0) && !give_up);
+			} while ((retval != 0) && 
+			         (retval != KRB5_REALM_CANT_RESOLVE) &&
+			         (retval != KRB5_KDC_UNREACH) &&
+				 invalid_password &&
+			         !give_up);
 		}
 	}
 


Index: krb5-auth-dialog.spec
===================================================================
RCS file: /cvs/dist/rpms/krb5-auth-dialog/FC-5/krb5-auth-dialog.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- krb5-auth-dialog.spec	13 Feb 2006 07:16:55 -0000	1.18
+++ krb5-auth-dialog.spec	13 Sep 2006 22:57:45 -0000	1.19
@@ -6,11 +6,13 @@
 Summary: Kerberos 5 authentication dialog
 Name: krb5-auth-dialog
 Version: 0.6.cvs20060212
-Release: 1
+Release: 2
 License: GPL
 Group: User Interface/X
 URL: http://www.redhat.com/
 Source0: %{name}-%{version}.tar.bz2
+Patch1: krb5-auth-dialog-simmer-down.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
 BuildRequires: krb5-devel >= %{krb5_version}
@@ -25,6 +27,7 @@
 
 %prep
 %setup -q
+%patch1 -p1 -b .simmer-down
 
 %build
 %configure
@@ -49,6 +52,9 @@
 
 
 %changelog
+* Wed Sep 13 2006 Christopher Aillon <caillon at redhat.com> - 0.6.cvs20060212-2
+- Fix issue where krb5-auth-dialog sometimes pegs CPU and network
+
 * Sun Feb 12 2006 Christopher Aillon <caillon at redhat.com> - 0.6.cvs20060212-1
 - Update to latest CVS to get some of Nalin's fixes
 




More information about the fedora-cvs-commits mailing list