Hello community,
here is the log from the commit of package libmsn for openSUSE:11.3
checked in at Thu Nov 17 17:30:29 CET 2011.
--- old-versions/11.3/all/libmsn/libmsn.changes 2010-04-18 19:47:46.0
+0200
+++ 11.3/libmsn/libmsn.changes 2011-11-16 16:00:31.0 +0100
@@ -1,0 +2,11 @@
+Wed Nov 16 14:58:23 UTC 2011 - idon...@suse.com
+
+- Add soap-redirect.patch to fix connection issues to new MSN
+ servers (bnc#729478)
+
+---
+Sun Aug 7 14:44:44 UTC 2011 - toddrme2...@gmail.com
+
+- Added BuildRequires: pkg-config (fix for RPMLINT warning)
+
+---
Package does not exist at destination yet. Using Fallback
old-versions/11.3/all/libmsn
Destination is old-versions/11.3/UPDATES/all/libmsn
calling whatdependson for 11.3-i586
New:
soap-redirect.patch
Other differences:
--
++ libmsn.spec ++
--- /var/tmp/diff_new_pack.qqffX7/_old 2011-11-17 17:29:44.0 +0100
+++ /var/tmp/diff_new_pack.qqffX7/_new 2011-11-17 17:29:44.0 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package libmsn (Version 4.1)
+# spec file for package libmsn
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,19 +19,20 @@
Name: libmsn
-BuildRequires: cmake gcc-c++ kde4-filesystem libopenssl-devel
+BuildRequires: cmake gcc-c++ kde4-filesystem libopenssl-devel pkg-config
License:BSD3c(or similar) ; GPLv2 or later with linking exception for
openssl
Group: Development/Libraries/C and C++
Summary:Reusable, open-source library for MSN Messenger
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url:http://sourceforge.net/projects/libmsn
Version:4.1
-Release:2
+Release:3.RELEASE2
%define tar_version 4.1
Source:
http://surfnet.dl.sourceforge.net/sourceforge/libmsn/libmsn-%{tar_version}.tar.bz2
Patch1: gcc-warnings.diff
Patch2: literal-string-compare.diff
Patch3: openssl1.patch
+Patch4: soap-redirect.patch
Source99: COPYING.LGPL
%define debug_package_requires libmsn0_1 = %{version}-%{release}
@@ -70,6 +71,7 @@
%patch1
%patch2
%patch3 -p1
+%patch4
cp %{S:99} .
%build
++ soap-redirect.patch ++
Index: msn/soap.h
===
--- msn/soap.h (revision 120)
+++ msn/soap.h (revision 121)
@@ -35,6 +35,8 @@
#include vector
#include map
+#include xmlParser.h
+
#include libmsn_export.h
namespace MSN
@@ -205,6 +207,8 @@
void changeDisplayName(std::string newDisplayName);
void parseChangeDisplayNameResponse(std::string);
+
+Soap* manageSoapRedirect(XMLNode response1, soapAction action);
virtual void dispatchCommand(std::vectorstd::string ) {};
virtual void connect(const std::string , unsigned int) {};
Index: msn/soap.cpp
===
--- msn/soap.cpp(revision 120)
+++ msn/soap.cpp(revision 121)
@@ -314,25 +314,17 @@
void Soap::parseGetTicketsResponse(std::string response)
{
- XMLNode domTree = XMLNode::parseString( response.c_str() );
-if(http_response_code == 301 )
+XMLNode response1 = XMLNode::parseString( response.c_str() );
+if(http_response_code == 301)
{
-const char *preferredHostName =
domTree.getChildNode(soap:Envelope).getChildNode(soap:Header).getChildNode(ServiceHeader).getChildNode(PreferredHostName).getText();
-if(preferredHostName)
-{
-Soap *soapConnection = new Soap(notificationServer,
sitesToAuthList);
-
-std::string newdomain(preferredHostName);
-soapConnection-actionDomains[AUTH] = newdomain;
-soapConnection-setMBI(mbi);
-soapConnection-getTickets(this-passport, this-password,
this-policy);
-}
+Soap *soapConnection = manageSoapRedirect(response1, AUTH);
+soapConnection-getTickets(this-passport, this-password,
this-policy);
return;
}
// get the header information from the DOM
- XMLNode tokens =
domTree.getChildNode(S:Envelope).getChildNode(S:Body).getChildNode(wst:RequestSecurityTokenResponseCollection);
- const char *reason =
domTree.getChildNode(S:Envelope).getChildNode(S:Fault).getChildNode(faultcode).getText();
+ XMLNode tokens =