From dbe8e57c2c1abb0bac9c0daf41435700999f5598a4f6cbbac759c6be53eb4d1d Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Mon, 11 Aug 2014 10:30:20 +0000 Subject: [PATCH] Accepting request 243970 from GNOME:Apps - Add pidgin-ssl-cache.patch: Disable caching the SSL Session keys, as some (broken) IRC servers are not willing to re-use them upon a disconnect. OBS-URL: https://build.opensuse.org/request/show/243970 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pidgin?expand=0&rev=104 --- pidgin-ssl-cache.patch | 18 ++++++++++++++++++ pidgin.changes | 7 +++++++ pidgin.spec | 7 +++++-- 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 pidgin-ssl-cache.patch diff --git a/pidgin-ssl-cache.patch b/pidgin-ssl-cache.patch new file mode 100644 index 0000000..e0d8e01 --- /dev/null +++ b/pidgin-ssl-cache.patch @@ -0,0 +1,18 @@ +# +# old_revision [075c2902b90abb6349a6b689e26fa0ecf720ca04] +# +# patch "libpurple/plugins/ssl/ssl-nss.c" +# from [124c474174cbde7da43e375e4ffa1f47950ab95b] +# to [600583b354d9a94ed7aafa37460174404a9903aa] +# +============================================================ +--- libpurple/plugins/ssl/ssl-nss.c 124c474174cbde7da43e375e4ffa1f47950ab95b ++++ libpurple/plugins/ssl/ssl-nss.c 600583b354d9a94ed7aafa37460174404a9903aa +@@ -428,6 +428,7 @@ ssl_nss_connect(PurpleSslConnection *gsc + + SSL_OptionSet(nss_data->in, SSL_SECURITY, PR_TRUE); + SSL_OptionSet(nss_data->in, SSL_HANDSHAKE_AS_CLIENT, PR_TRUE); ++ SSL_OptionSet(nss_data->in, SSL_NO_CACHE, PR_TRUE); + + /* If we have our internal verifier set up, use it. Otherwise, + * use default. */ diff --git a/pidgin.changes b/pidgin.changes index ee882c3..8e1c196 100644 --- a/pidgin.changes +++ b/pidgin.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jul 6 23:00:00 UTC 2014 - tbehrens@suse.com + +- Add pidgin-ssl-cache.patch: Disable caching the SSL Session keys, + as some (broken) IRC servers are not willing to re-use them upon + a disconnect. + ------------------------------------------------------------------- Sun Jun 22 17:20:00 UTC 2014 - meissner@suse.com diff --git a/pidgin.spec b/pidgin.spec index cf89986..2aa72df 100644 --- a/pidgin.spec +++ b/pidgin.spec @@ -46,8 +46,10 @@ Patch14: pidgin-mono-buildfix.patch Patch15: pidgin-fix-perl-build.patch # PATCH-FEATURE-UPSTREAM pidgin-gstreamer1.patch https://developer.pidgin.im/ticket/15386 dimstar@opensuse.org -- Port to GStreamer 1.0 Patch17: pidgin-gstreamer1.patch +# PATCH-FIX-UPSTREAM pidgin-ssl-cache.patch pidgin.im#11568 tbehrens@suse.com -- Disable caching the SSL Session keys, as some (broken) IRC servers are not willing to re-use them upon a disconnect. +Patch18: pidgin-ssl-cache.patch # PATCH-FIX-UPSTREAM pidgin-crash-missing-gst-registry.patch bnc#866455 pidgin.im#16224 cxiong@suse.com -- fix crash when GST registry cache file is missing. -Patch18: pidgin-crash-missing-gst-registry.patch +Patch19: pidgin-crash-missing-gst-registry.patch # Can use external libzephyr BuildRequires: cyrus-sasl-devel BuildRequires: dbus-1-devel @@ -416,7 +418,8 @@ translation-update-upstream %patch15 -p1 %if 0%{?suse_version} >= 1310 %patch17 -p1 -%patch18 -p1 +%patch18 -p0 +%patch19 -p1 %endif # Change Myanmar/Myanmar to Myanmar: