r19280 - in /packages/unstable/loudmouth/debian: changelog patches/01-fix-sasl-md5-digest-uri.patch

sjoerd at users.alioth.debian.org sjoerd at users.alioth.debian.org
Wed Apr 1 15:49:17 UTC 2009


Author: sjoerd
Date: Wed Apr  1 15:49:17 2009
New Revision: 19280

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=19280
Log:
* patches/01-fix-sasl-md5-digest-uri.patch
  - Added. Fix sasl md5 digest-uri when using SRV lookups, which prevented
    loudmouth from logging into recent versions of ejabberd

Added:
    packages/unstable/loudmouth/debian/patches/01-fix-sasl-md5-digest-uri.patch
Modified:
    packages/unstable/loudmouth/debian/changelog

Modified: packages/unstable/loudmouth/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/loudmouth/debian/changelog?rev=19280&op=diff
==============================================================================
--- packages/unstable/loudmouth/debian/changelog (original)
+++ packages/unstable/loudmouth/debian/changelog Wed Apr  1 15:49:17 2009
@@ -1,8 +1,11 @@
 loudmouth (1.4.3-1) UNRELEASED; urgency=low
 
   * New upstream release
-
- -- Sjoerd Simons <sjoerd at debian.org>  Wed, 01 Apr 2009 15:56:46 +0100
+  * patches/01-fix-sasl-md5-digest-uri.patch
+    - Added. Fix sasl md5 digest-uri when using SRV lookups, which prevented
+      loudmouth from logging into recent versions of ejabberd
+
+ -- Sjoerd Simons <sjoerd at debian.org>  Wed, 01 Apr 2009 16:36:18 +0100
 
 loudmouth (1.4.2-2) unstable; urgency=high
 

Added: packages/unstable/loudmouth/debian/patches/01-fix-sasl-md5-digest-uri.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/loudmouth/debian/patches/01-fix-sasl-md5-digest-uri.patch?rev=19280&op=file
==============================================================================
--- packages/unstable/loudmouth/debian/patches/01-fix-sasl-md5-digest-uri.patch (added)
+++ packages/unstable/loudmouth/debian/patches/01-fix-sasl-md5-digest-uri.patch Wed Apr  1 15:49:17 2009
@@ -1,0 +1,24 @@
+diff --git a/loudmouth/lm-connection.c b/loudmouth/lm-connection.c
+index 21c1bc2..ae8de94 100644
+--- a/loudmouth/lm-connection.c
++++ b/loudmouth/lm-connection.c
+@@ -1441,11 +1441,18 @@ lm_connection_authenticate (LmConnection      *connection,
+ 	connection->effective_jid = g_strdup_printf ("%s/%s", 
+ 		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,




More information about the pkg-gnome-commits mailing list