From owner-svn-ports-head@FreeBSD.ORG Mon Mar 23 22:35:43 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4FD24465; Mon, 23 Mar 2015 22:35:43 +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 3AFE894C; Mon, 23 Mar 2015 22:35:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2NMZhDe045434; Mon, 23 Mar 2015 22:35:43 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2NMZhGl045433; Mon, 23 Mar 2015 22:35:43 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201503232235.t2NMZhGl045433@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 22:35:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382053 - head/mail/courier/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-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 22:35:43 -0000 Author: jkim Date: Mon Mar 23 22:35:42 2015 New Revision: 382053 URL: https://svnweb.freebsd.org/changeset/ports/382053 QAT: https://qat.redports.org/buildarchive/r382053/ Log: Fix build on head with the base OpenSSL. SSLv2 is no longer available. Added: head/mail/courier/files/patch-tcpd__libcouriertls.c (contents, props changed) Added: head/mail/courier/files/patch-tcpd__libcouriertls.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/courier/files/patch-tcpd__libcouriertls.c Mon Mar 23 22:35:42 2015 (r382053) @@ -0,0 +1,15 @@ +--- tcpd/libcouriertls.c.orig 2009-11-21 15:07:32.000000000 -0500 ++++ tcpd/libcouriertls.c 2015-03-23 18:04:57.776710000 -0400 +@@ -551,8 +551,10 @@ + if (!protocol || !*protocol) + protocol="SSL23"; + +- ctx=SSL_CTX_new(protocol && strcmp(protocol, "SSL2") == 0 +- ? SSLv2_method(): ++ ctx=SSL_CTX_new( ++#ifndef OPENSSL_NO_SSL2 ++ protocol && strcmp(protocol, "SSL2") == 0 ? SSLv2_method(): ++#endif + protocol && strcmp(protocol, "SSL3") == 0 ? SSLv3_method(): + protocol && strcmp(protocol, "SSL23") == 0 ? SSLv23_method(): + TLSv1_method());