Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2016 19:40:57 +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: r421634 - in head/benchmarks/polygraph: . files
Message-ID:  <201609091940.u89JevRg036246@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Sep  9 19:40:56 2016
New Revision: 421634
URL: https://svnweb.freebsd.org/changeset/ports/421634

Log:
  benchmarks/polygraph: Handle missing SSLv3
  
  Approved by:	SSL blanket

Added:
  head/benchmarks/polygraph/files/
  head/benchmarks/polygraph/files/patch-src_xstd_Ssl.cc   (contents, props changed)
Modified:
  head/benchmarks/polygraph/Makefile

Modified: head/benchmarks/polygraph/Makefile
==============================================================================
--- head/benchmarks/polygraph/Makefile	Fri Sep  9 19:40:50 2016	(r421633)
+++ head/benchmarks/polygraph/Makefile	Fri Sep  9 19:40:56 2016	(r421634)
@@ -35,7 +35,7 @@ LDNS_LIB_DEPENDS=	libldns.so:dns/ldns
 LDNS_CONFIGURE_ON=	--with-ldns=${LOCALBASE}/bin/ldns-config
 LDNS_CONFIGURE_OFF=	--without-ldns
 SSL_DESC=		SSL/HTTPS support
-SSL_USE=		openssl=yes
+SSL_USES=		ssl
 SSL_CONFIGURE_ON=	--with-ssl=${OPENSSLBASE}
 SSL_CONFIGURE_OFF=	--without-ssl
 PERL_DESC=		Install Perl for PolyGraph tools

Added: head/benchmarks/polygraph/files/patch-src_xstd_Ssl.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/polygraph/files/patch-src_xstd_Ssl.cc	Fri Sep  9 19:40:56 2016	(r421634)
@@ -0,0 +1,14 @@
+--- src/xstd/Ssl.cc.orig	2014-10-22 23:22:22 UTC
++++ src/xstd/Ssl.cc
+@@ -38,9 +38,11 @@ SslCtx::SslCtx(SslProtocol protocol, con
+ 		case TLSv1:
+ 			theCtx = ::SSL_CTX_new(::TLSv1_method());
+ 			break;
++#ifndef OPENSSL_NO_SSL3
+ 		case SSLv3:
+ 			theCtx = ::SSL_CTX_new(::SSLv3_method());
+ 			break;
++#endif
+ 		case SSLv23:
+ 			theCtx = ::SSL_CTX_new(::SSLv23_method());
+ 			break;



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