From owner-svn-ports-all@FreeBSD.ORG Mon Mar 23 21:17:45 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 248E942E; Mon, 23 Mar 2015 21:17:45 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA056E9C; Mon, 23 Mar 2015 21:17:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2NLHiZT007901; Mon, 23 Mar 2015 21:17:44 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2NLHiBB007898; Mon, 23 Mar 2015 21:17:44 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201503232117.t2NLHiBB007898@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Mon, 23 Mar 2015 21:17:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382045 - in head/benchmarks/postal: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 21:17:45 -0000 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; + }