[SCM] kmess packaging branch, master, updated. debian/2.0.2-1-23-g4c4a284

José Manuel Santamaría Lema santa-guest at alioth.debian.org
Wed Jan 16 21:49:01 UTC 2013


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kmess.git;a=commitdiff;h=4c4a284

The following commit has been merged in the master branch:
commit 4c4a2843196fcc703679a3d6e9203cb166849fca
Author: José Manuel Santamaría Lema <panfaust at gmail.com>
Date:   Wed Jan 16 22:29:52 2013 +0100

    Add use_ssl_v3.diff.
---
 debian/patches/series          |    1 +
 debian/patches/use_ssl_v3.diff |   31 +++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/debian/patches/series b/debian/patches/series
index eb24d19..afa2990 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 follow-location-redirects.diff
+use_ssl_v3.diff
diff --git a/debian/patches/use_ssl_v3.diff b/debian/patches/use_ssl_v3.diff
new file mode 100644
index 0000000..fcc83ab
--- /dev/null
+++ b/debian/patches/use_ssl_v3.diff
@@ -0,0 +1,31 @@
+Author: José Manuel Santamaría Lema <panfaust at gmail.com>
+Description: This patch forces KMess to use SSLv3.
+ This patch is needed because with recent versions of openssl kmess disconnects
+ and connects again each minute: http://bugs.debian.org/697918
+ Downgrading openssl to an older version solves the problem, however, this isn't
+ probably a bug in openssl but in the MSN servers, see:
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666012#31
+ .
+ For the record, emesene had the same problem and their upstream developers
+ solved the problem doing the same, just using SSLv3.
+--- a/src/network/soap/httpsoapconnection.cpp
++++ b/src/network/soap/httpsoapconnection.cpp
+@@ -31,6 +31,7 @@
+ #include <QNetworkRequest>
+ #include <QNetworkReply>
+ #include <QSslError>
++#include <QSslConfiguration>
+ 
+ #include <KLocale>
+ 
+@@ -353,6 +354,10 @@ void HttpSoapConnection::sendNextRequest
+     request.setRawHeader( "SOAPAction", quotedAction.toLatin1() );
+   }
+ 
++  QSslConfiguration ssl_config = request.sslConfiguration();
++  ssl_config.setProtocol(QSsl::SslV3);
++  request.setSslConfiguration(ssl_config);
++
+   http_->post( request, contents );
+ 
+   // Start the response timer

-- 
kmess packaging



More information about the pkg-kde-commits mailing list