rpms/libsoup/FC-3 gnome-bug-306877-soup-connection-ntlm.c.patch, NONE, 1.1 libsoup.spec, 1.16, 1.17

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jun 14 22:15:11 UTC 2005


Author: dmalcolm

Update of /cvs/dist/rpms/libsoup/FC-3
In directory cvs.devel.redhat.com:/tmp/cvs-serv1317

Modified Files:
	libsoup.spec 
Added Files:
	gnome-bug-306877-soup-connection-ntlm.c.patch 
Log Message:
* Tue Jun 14 2005 David Malcolm <dmalcolm at redhat.com> - 2.2.2-2.FC3
- add patch for NTLM domains (#159901)



gnome-bug-306877-soup-connection-ntlm.c.patch:
 soup-connection-ntlm.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

--- NEW FILE gnome-bug-306877-soup-connection-ntlm.c.patch ---
===================================================================
RCS file: /cvs/gnome/libsoup/libsoup/soup-connection-ntlm.c,v
retrieving revision 1.7.2.1
retrieving revision 1.7.2.1.2.1
diff -u -r1.7.2.1 -r1.7.2.1.2.1
--- soup-connection-ntlm.c	2005/01/12 04:35:52	1.7.2.1
+++ soup-connection-ntlm.c	2005/06/08 14:36:44	1.7.2.1.2.1
@@ -132,8 +132,10 @@
 	slash = strpbrk (domain_username, "\\/");
 	if (slash) {
 		g_free (domain);
-		domain = g_strdup (domain_username);
+		*slash = '\0';
+		domain = domain_username;
 		username = slash + 1;
+		domain_username = NULL;
 	} else
 		username = domain_username;
 


Index: libsoup.spec
===================================================================
RCS file: /cvs/dist/rpms/libsoup/FC-3/libsoup.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- libsoup.spec	21 Feb 2005 21:10:59 -0000	1.16
+++ libsoup.spec	14 Jun 2005 22:15:08 -0000	1.17
@@ -1,11 +1,15 @@
 Summary: Soup, an HTTP library implementation
 Name: libsoup
 Version: 2.2.2
-Release: 1.FC3
+Release: 2.FC3
 License: LGPL
 Group: Development/Libraries
 Source0: ftp://ftp.gnome.org/pub/gnome/sources/libsoup/2.2/%{name}-%{version}.tar.bz2
 URL:  ftp://ftp.gnome.org/pub/gnome/sources/libsoup/
+
+# Patch for bug #160071:
+Patch0: gnome-bug-306877-soup-connection-ntlm.c.patch
+
 BuildRoot: %{_tmppath}/%{name}-root
 Requires: glib2 >= 2.0, gnutls, libxml2
 BuildRequires: glib2-devel, pkgconfig, gtk-doc, gnutls-devel, libxml2-devel
@@ -33,6 +37,10 @@
 %prep
 %setup -q
 
+cd libsoup
+%patch0 -p0 -b .fix-for-160071
+cd ..
+
 %build
 %configure
 make
@@ -64,6 +72,9 @@
 %{_datadir}/gtk-doc/html/libsoup
 
 %changelog
+* Tue Jun 14 2005 David Malcolm <dmalcolm at redhat.com> - 2.2.2-2.FC3
+- add patch for NTLM domains (#159901)
+
 * Mon Feb 21 2005 David Malcolm <dmalcolm at redhat.com> - 2.2.2-1.FC3
 - update from 2.2.1 to 2.2.2
 




More information about the fedora-cvs-commits mailing list