rpms/loudmouth/F-11 loudmouth-1.4.3-fix-sasl-md5-digest-uri.patch, NONE, 1.1 loudmouth.spec, 1.46, 1.47

Brian Pepple bpepple at fedoraproject.org
Sun Jun 14 22:12:20 UTC 2009


Author: bpepple

Update of /cvs/pkgs/rpms/loudmouth/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv971

Modified Files:
	loudmouth.spec 
Added Files:
	loudmouth-1.4.3-fix-sasl-md5-digest-uri.patch 
Log Message:
* Fri Jun 12 2009 Brian Pepple <bpepple at fedoraproject.org> - 1.4.3-5
- Add patch to fix digest uri bug. (#503901)


loudmouth-1.4.3-fix-sasl-md5-digest-uri.patch:

--- NEW FILE loudmouth-1.4.3-fix-sasl-md5-digest-uri.patch ---
diff -urp loudmouth-1.4.3.OLD/loudmouth/lm-connection.c loudmouth-1.4.3/loudmouth/lm-connection.c
--- loudmouth-1.4.3.OLD/loudmouth/lm-connection.c	2008-10-29 16:38:26.000000000 -0400
+++ loudmouth-1.4.3/loudmouth/lm-connection.c	2009-06-12 19:13:03.183960144 -0400
@@ -1442,10 +1442,17 @@ lm_connection_authenticate (LmConnection
 		connection->jid, connection->resource);
 
 	if (connection->use_sasl) {
+		gchar *domain = NULL;
+
+		if (!connection_get_server_from_jid (connection->jid, &domain)) {
+			domain = g_strdup (connection->server);
+		}
+
 		lm_sasl_authenticate (connection->sasl,
 				      username, password,
-				      connection->server,
+				      domain,
 				      connection_sasl_auth_finished);
+		g_free (domain);
 
 		connection->features_cb  =
 			lm_message_handler_new (connection_features_cb,


Index: loudmouth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/loudmouth/F-11/loudmouth.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -p -r1.46 -r1.47
--- loudmouth.spec	25 Feb 2009 21:03:46 -0000	1.46
+++ loudmouth.spec	14 Jun 2009 22:11:48 -0000	1.47
@@ -3,7 +3,7 @@
 
 Name:           loudmouth
 Version:        1.4.3
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        XMPP/Jabber C programming library
 
 Group:          System Environment/Libraries
@@ -12,6 +12,7 @@ URL:            http://www.loudmouth-pro
 Source0:        http://ftp.imendio.com/pub/imendio/%{name}/src/%{name}-%{version}.tar.bz2
 Patch0:		%{name}-1.4.3-certs_location.patch
 Patch1:		%{name}-1.4.3-async_assertion.patch
+Patch2:		%{name}-1.4.3-fix-sasl-md5-digest-uri.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  glib2-devel >= 2.4.0
@@ -50,6 +51,7 @@ developing applications that use %{name}
 %setup -q
 %patch0 -p1 -b .certs
 %patch1 -p1 -b .async
+%patch2 -p1 -b .uri
 
 
 %build
@@ -104,6 +106,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Jun 12 2009 Brian Pepple <bpepple at fedoraproject.org> - 1.4.3-5
+- Add patch to fix digest uri bug. (#503901)
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.3-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list