From owner-svn-ports-head@freebsd.org Sun Mar 13 14:55:55 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F7DFACFA69; Sun, 13 Mar 2016 14:55:55 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 51C98E99; Sun, 13 Mar 2016 14:55:55 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2DEtsuK041920; Sun, 13 Mar 2016 14:55:54 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2DEtsci041919; Sun, 13 Mar 2016 14:55:54 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201603131455.u2DEtsci041919@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 13 Mar 2016 14:55:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r410981 - head/www/aria2/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.21 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: Sun, 13 Mar 2016 14:55:55 -0000 Author: sunpoet Date: Sun Mar 13 14:55:54 2016 New Revision: 410981 URL: https://svnweb.freebsd.org/changeset/ports/410981 Log: - Fix build on 9.x (OpenSSL 0.9.8) Added: head/www/aria2/files/patch-src-LibsslTLSContext.cc - copied, changed from r384841, head/www/aria2/files/patch-src-LibsslTLSContext.cc Copied and modified: head/www/aria2/files/patch-src-LibsslTLSContext.cc (from r384841, head/www/aria2/files/patch-src-LibsslTLSContext.cc) ============================================================================== --- head/www/aria2/files/patch-src-LibsslTLSContext.cc Mon Apr 27 14:57:48 2015 (r384841, copy source) +++ head/www/aria2/files/patch-src-LibsslTLSContext.cc Sun Mar 13 14:55:54 2016 (r410981) @@ -1,19 +1,19 @@ --- src/LibsslTLSContext.cc.orig 2015-02-23 14:34:01 UTC +++ src/LibsslTLSContext.cc -@@ -103,14 +103,20 @@ OpenSSLTLSContext::OpenSSLTLSContext(TLS +@@ -112,14 +112,20 @@ OpenSSLTLSContext::OpenSSLTLSContext(TLS long ver_opts = 0; - switch(minVer) { + switch (minVer) { +#ifdef SSL_OP_NO_TLSv1_1 case TLS_PROTO_TLS12: ver_opts |= SSL_OP_NO_TLSv1_1; +#endif // SSL_OP_NO_TLSv1_1 - // fall through + // fall through +#ifdef SSL_OP_NO_TLSv1 case TLS_PROTO_TLS11: ver_opts |= SSL_OP_NO_TLSv1; +#endif // SSL_OP_NO_TLSv1 - // fall through + // fall through +#ifdef SSL_OP_NO_SSLv3 case TLS_PROTO_TLS10: ver_opts |= SSL_OP_NO_SSLv3;