Browse Source

gnome/libsoup: Enabled use of TLS protocols.

slackware-14.2
Damien Goutte-Gattat 10 years ago
parent
commit
cf4f9b9174
  1. 12
      gnome/libsoup/libsoup-2.34.1-allow-tls.diff
  2. 4
      gnome/libsoup/libsoup.SlackBuild

12
gnome/libsoup/libsoup-2.34.1-allow-tls.diff

@ -0,0 +1,12 @@
diff -Naur libsoup-2.34.1.orig/libsoup/soup-socket.c libsoup-2.34.1/libsoup/soup-socket.c
--- libsoup-2.34.1.orig/libsoup/soup-socket.c 2011-04-20 17:50:34.000000000 +0200
+++ libsoup-2.34.1/libsoup/soup-socket.c 2011-09-25 13:40:37.327595071 +0200
@@ -934,7 +934,7 @@
"server-identity", identity,
"use-system-certdb", FALSE,
"require-close-notify", FALSE,
- "use-ssl3", TRUE,
+ "use-ssl3", FALSE,
NULL);
g_object_unref (identity);

4
gnome/libsoup/libsoup.SlackBuild

@ -35,7 +35,7 @@ WGET=${WGET:-ftp://ftp.gnome.org/pub/gnome/sources/libsoup/2.34/$ARCHIVE}
# Built package infos
NAMEPKG=${NAMEPKG:-libsoup}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -86,6 +86,8 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# Do not disable TLS protocols
patch -p1 < $CWD/libsoup-2.34.1-allow-tls.diff
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \

Loading…
Cancel
Save