svn commit: r421902 - in head/devel/ptlib: . files
John Marino
marino at FreeBSD.org
Mon Sep 12 03:21:16 UTC 2016
Author: marino
Date: Mon Sep 12 03:21:15 2016
New Revision: 421902
URL: https://svnweb.freebsd.org/changeset/ports/421902
Log:
devel/ptlib: Document SSL requirement, set flags, and support LibreSSL
Approved by: SSL blanket
Added:
head/devel/ptlib/files/patch-src_ptclib_pssl.cxx (contents, props changed)
Modified:
head/devel/ptlib/Makefile
Modified: head/devel/ptlib/Makefile
==============================================================================
--- head/devel/ptlib/Makefile Mon Sep 12 03:01:44 2016 (r421901)
+++ head/devel/ptlib/Makefile Mon Sep 12 03:21:15 2016 (r421902)
@@ -15,12 +15,11 @@ LIB_DEPENDS= libexpat.so:textproc/expat2
CONFLICTS= pwlib-1.*
-USES= autoreconf:build bison gmake pkgconfig tar:xz
+USES= autoreconf:build bison gmake pkgconfig ssl tar:xz
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
USE_LDCONFIG= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+CPPFLAGS+= -I${OPENSSLINC} -I${LOCALBASE}/include
+LDFLAGS+= -L${OPENSSLLIB} -L${LOCALBASE}/lib
CONFIGURE_ARGS+=--enable-audio \
--enable-ipv6 \
Added: head/devel/ptlib/files/patch-src_ptclib_pssl.cxx
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ptlib/files/patch-src_ptclib_pssl.cxx Mon Sep 12 03:21:15 2016 (r421902)
@@ -0,0 +1,15 @@
+--- src/ptclib/pssl.cxx.orig 2013-02-20 02:12:00 UTC
++++ src/ptclib/pssl.cxx
+@@ -805,9 +805,12 @@ void PSSLContext::Construct(Method metho
+ SSL_METHOD * meth;
+
+ switch (method) {
++#ifndef OPENSSL_NO_SSL3
++/* fall through to SSLv23_method if unsupported */
+ case SSLv3:
+ meth = SSLv3_method();
+ break;
++#endif
+ case TLSv1:
+ meth = TLSv1_method();
+ break;
More information about the svn-ports-head
mailing list