Date: Mon, 23 Mar 2015 21:17:44 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382045 - in head/benchmarks/postal: . files Message-ID: <201503232117.t2NLHiBB007898@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Mon Mar 23 21:17:43 2015 New Revision: 382045 URL: https://svnweb.freebsd.org/changeset/ports/382045 QAT: https://qat.redports.org/buildarchive/r382045/ Log: Use SSLv3 instead of SSLv2 when OpenSSL is used. This fixes build on head. Added: head/benchmarks/postal/files/patch-basictcp.cpp (contents, props changed) head/benchmarks/postal/files/patch-tcp.cpp (contents, props changed) Modified: head/benchmarks/postal/Makefile Modified: head/benchmarks/postal/Makefile ============================================================================== --- head/benchmarks/postal/Makefile Mon Mar 23 21:17:34 2015 (r382044) +++ head/benchmarks/postal/Makefile Mon Mar 23 21:17:43 2015 (r382045) @@ -3,7 +3,7 @@ PORTNAME= postal PORTVERSION= 0.73 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= benchmarks mail MASTER_SITES= http://www.coker.com.au/postal/ Added: head/benchmarks/postal/files/patch-basictcp.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/benchmarks/postal/files/patch-basictcp.cpp Mon Mar 23 21:17:43 2015 (r382045) @@ -0,0 +1,15 @@ +--- basictcp.cpp.orig 2012-01-01 06:36:27.000000000 -0500 ++++ basictcp.cpp 2015-03-23 17:06:40.355148000 -0400 +@@ -102,10 +102,10 @@ + m_sslMeth = NULL; + m_sslCtx = NULL; + m_ssl = NULL; +- m_sslMeth = SSLv2_client_method(); ++ m_sslMeth = SSLv3_client_method(); + if(m_sslMeth == NULL) + { +- fprintf(stderr, "Can't get SSLv2_client_method.\n"); ++ fprintf(stderr, "Can't get SSLv3_client_method.\n"); + return 2; + } + m_sslCtx = SSL_CTX_new(m_sslMeth); Added: head/benchmarks/postal/files/patch-tcp.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/benchmarks/postal/files/patch-tcp.cpp Mon Mar 23 21:17:43 2015 (r382045) @@ -0,0 +1,15 @@ +--- tcp.cpp.orig 2012-01-01 06:24:45.000000000 -0500 ++++ tcp.cpp 2015-03-23 17:06:52.611229000 -0400 +@@ -178,10 +178,10 @@ + #ifdef USE_OPENSSL + m_sslCtx = NULL; + m_ssl = NULL; +- m_sslMeth = SSLv2_client_method(); ++ m_sslMeth = SSLv3_client_method(); + if(m_sslMeth == NULL) + { +- fprintf(stderr, "Can't get SSLv2_client_method.\n"); ++ fprintf(stderr, "Can't get SSLv3_client_method.\n"); + error(); + return 2; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503232117.t2NLHiBB007898>