svn commit: r421634 - in head/benchmarks/polygraph: . files
John Marino
marino at FreeBSD.org
Fri Sep 9 19:40:59 UTC 2016
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;
More information about the svn-ports-head
mailing list