[Lunar-commits] <moonbase> pidgin: add a patch to fix msn with gnutls

Zachary McGrew zmcgrew at lunar-linux.org
Fri Feb 13 22:45:06 CET 2009


commit 4f3275486d437ad9f279bf8d0cc683dd5d4530be
Author: Zachary McGrew <zmcgrew at lunar-linux.org>
Date:   Fri Feb 13 13:45:06 2009 -0800

    pidgin: add a patch to fix msn with gnutls
---
 chat/pidgin/BUILD   |   10 +++++++++-
 chat/pidgin/DETAILS |    3 +++
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/chat/pidgin/BUILD b/chat/pidgin/BUILD
index 586fab8..23ae2d6 100644
--- a/chat/pidgin/BUILD
+++ b/chat/pidgin/BUILD
@@ -1,6 +1,14 @@
 (
 
-  OPTS+=" --disable-avahi --disable-meanwhile --disable-nm"
+  #MSN chokes on TLS 1.1, this lets pidgin retry the connection,
+  #but tries using TLS 1.0 instead. No more "Connecting..."
+  #NSS only supports TLS 1.0, so it never has problems
+  #Probably needs to be removed at the next version bump -zmcgrew
+  if in_depends $MODULE gnutls ; then
+    patch_it $SOURCE2 0
+  fi &&
+
+  OPTS+=" --disable-meanwhile --disable-nm"
   default_build
 
 ) > $C_FIFO 2>&1
diff --git a/chat/pidgin/DETAILS b/chat/pidgin/DETAILS
index 21a371f..11b0722 100644
--- a/chat/pidgin/DETAILS
+++ b/chat/pidgin/DETAILS
@@ -3,6 +3,9 @@
           SOURCE=$MODULE-$VERSION.tar.bz2
       SOURCE_URL=$SFORGE_URL/$MODULE
       SOURCE_VFY=sha1:80f7a9e311d4ed6f2438f2ee16a4bdc66edcc2ad
+         SOURCE2=$MODULE-2.5.4-gnutls.patch.bz2
+     SOURCE2_URL=$PATCH_URL
+     SOURCE2_VFY=sha1:c1b1c76d6b02385a61b90c6650b1c6c9e47db1c3
         WEB_SITE=http://pidgin.im
          ENTERED=20070506
          UPDATED=20090113


More information about the Lunar-commits mailing list