Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2016 03:21:15 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421902 - in head/devel/ptlib: . files
Message-ID:  <201609120321.u8C3LFCO015788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609120321.u8C3LFCO015788>