aboutsummaryrefslogtreecommitdiff
path: root/libraries/ptlib
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-17 17:17:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-19 22:47:36 +0700
commitb7771427ee1cbb1236e903215a8dc5d0b7b4f609 (patch)
treef848ba67dc2bb1d623c68915de76674c3a53c7ce /libraries/ptlib
parenta18c317ad57cb066e96edee40be7e9a9e1de307d (diff)
libraries/ptlib: Updated for version 2.10.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ptlib')
-rw-r--r--libraries/ptlib/ptlib.SlackBuild7
-rw-r--r--libraries/ptlib/ptlib.info6
-rw-r--r--libraries/ptlib/ssl3.patch19
3 files changed, 27 insertions, 5 deletions
diff --git a/libraries/ptlib/ptlib.SlackBuild b/libraries/ptlib/ptlib.SlackBuild
index c5ff9be60119..6af28cd288c4 100644
--- a/libraries/ptlib/ptlib.SlackBuild
+++ b/libraries/ptlib/ptlib.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ptlib
-VERSION=${VERSION:-2.10.10}
+VERSION=${VERSION:-2.10.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,12 +65,15 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix building with bison-3.0.4
# thanks to Dan Fandrich / OpalVOIP https://sourceforge.net/p/opalvoip/patches/259/
patch -p1 < $CWD/ptlib-2.10.10-mga-bison-parameter.patch
+# Disable SSLv3
+patch -p1 < $CWD/ssl3.patch
+
# The "LIBS" variable is set to fix OpenLDAP support
#
# The --disable-avc is here to avoid build problems when both libdv and
diff --git a/libraries/ptlib/ptlib.info b/libraries/ptlib/ptlib.info
index 6272dd4a0a8f..e5dea6728580 100644
--- a/libraries/ptlib/ptlib.info
+++ b/libraries/ptlib/ptlib.info
@@ -1,8 +1,8 @@
PRGNAM="ptlib"
-VERSION="2.10.10"
+VERSION="2.10.11"
HOMEPAGE="http://www.opalvoip.org/"
-DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/ptlib/2.10/ptlib-2.10.10.tar.xz"
-MD5SUM="1fd609e25f101393bb7e42fbf874c174"
+DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/ptlib/2.10/ptlib-2.10.11.tar.xz"
+MD5SUM="3ffdf89170dbfa6d29a015ef8741a4e4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/ptlib/ssl3.patch b/libraries/ptlib/ssl3.patch
new file mode 100644
index 000000000000..6fdb7cabea84
--- /dev/null
+++ b/libraries/ptlib/ssl3.patch
@@ -0,0 +1,19 @@
+diff -u -r ptlib-2.10.11/src/ptclib/pssl.cxx ptlib-2.10.11-nossl3/src/ptclib/pssl.cxx
+--- ptlib-2.10.11/src/ptclib/pssl.cxx 2013-08-15 01:20:27.000000000 +0200
++++ ptlib-2.10.11-nossl3/src/ptclib/pssl.cxx 2016-03-03 11:39:02.224835510 +0100
+@@ -805,13 +805,11 @@
+ SSL_METHOD * meth;
+
+ switch (method) {
+- case SSLv3:
+- meth = SSLv3_method();
+- break;
+ case TLSv1:
+ meth = TLSv1_method();
+ break;
+ case SSLv23:
++ case SSLv3:
+ default:
+ meth = SSLv23_method();
+ break;
+