rpms/gq/devel gq-1.2.2-auth.patch,NONE,1.1 gq.spec,1.1,1.2

Terje Røsten (terjeros) fedora-extras-commits at redhat.com
Mon May 21 19:50:55 UTC 2007


Author: terjeros

Update of /cvs/extras/rpms/gq/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4954

Modified Files:
	gq.spec 
Added Files:
	gq-1.2.2-auth.patch 
Log Message:
Add auth patch: gq did not send password to LDAP server



gq-1.2.2-auth.patch:

--- NEW FILE gq-1.2.2-auth.patch ---
--- branches/gq-1-2/src/util.c	2006/09/14 14:13:15	981
+++ branches/gq-1-2/src/util.c	2007/05/14 16:33:52	1150
@@ -532,6 +532,7 @@
 	switch(gtk_dialog_run(GTK_DIALOG(glade_xml_get_widget(xml, "password_dialog")))) {
 	case GTK_RESPONSE_OK:
 		g_free_and_dup(server->bindpw, gtk_entry_get_text(GTK_ENTRY(glade_xml_get_widget(xml, "input_password"))));
+		string = g_strdup (server->bindpw);
 
 		// FIXME: store password only from successful connections
 		if(gnome_keyring_is_available() &&



Index: gq.spec
===================================================================
RCS file: /cvs/extras/rpms/gq/devel/gq.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gq.spec	24 Nov 2006 18:59:53 -0000	1.1
+++ gq.spec	21 May 2007 19:50:19 -0000	1.2
@@ -3,13 +3,14 @@
 Summary: Graphical LDAP directory browser and editor
 Name: gq
 Version: 1.2.2
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPL
 Group: Applications/Internet
 URL: http://www.gq-project.org/
 Source0: http://dl.sf.net/sourceforge/gqclient/%{name}-%{version}.tar.gz
 Source1: http://dl.sf.net/sourceforge/gqclient/%{name}-%{langver}-langpack-1.tar.gz
 Patch0: gq-1.2.1-desktop.patch
+Patch1: gq-1.2.2-auth.patch
 BuildRequires: libgcrypt-devel libglade2-devel
 BuildRequires: desktop-file-utils
 BuildRequires: gettext gnome-keyring-devel
@@ -25,6 +26,7 @@
 %prep
 %setup -q
 %patch -p1
+%patch1 -p2
 %setup -q -T -D -a 1
 
 %build
@@ -72,6 +74,9 @@
 %dir %{_datadir}/%{name}
 
 %changelog
+* Mon May 20 2007 Terje Røsten <terje.rosten at ntnu.no> - 1.2.2-3
+- Add auth patch
+
 * Mon Nov 20 2006 Terje Røsten <terje.rosten at ntnu.no> - 1.2.2-2
 - Fix patch/source naming
 - Add gettext to BuildReq




More information about the fedora-extras-commits mailing list