From owner-svn-ports-all@freebsd.org Tue Apr 3 12:50:31 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1799F7E4D3; Tue, 3 Apr 2018 12:50:31 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 750047B99D; Tue, 3 Apr 2018 12:50:31 +0000 (UTC) (envelope-from brnrd@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6BB0824992; Tue, 3 Apr 2018 12:50:31 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w33CoVL4021529; Tue, 3 Apr 2018 12:50:31 GMT (envelope-from brnrd@FreeBSD.org) Received: (from brnrd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w33CoVei021526; Tue, 3 Apr 2018 12:50:31 GMT (envelope-from brnrd@FreeBSD.org) Message-Id: <201804031250.w33CoVei021526@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brnrd set sender to brnrd@FreeBSD.org using -f From: Bernard Spil Date: Tue, 3 Apr 2018 12:50:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466346 - in head/dns: powerdns-recursor/files powerdns-recursor40 X-SVN-Group: ports-head X-SVN-Commit-Author: brnrd X-SVN-Commit-Paths: in head/dns: powerdns-recursor/files powerdns-recursor40 X-SVN-Commit-Revision: 466346 X-SVN-Commit-Repository: ports 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.25 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: Tue, 03 Apr 2018 12:50:31 -0000 Author: brnrd Date: Tue Apr 3 12:50:30 2018 New Revision: 466346 URL: https://svnweb.freebsd.org/changeset/ports/466346 Log: dns/powerdns-recursor: Fix build with LibreSSL 2.7 - LibreSSL 2.7 implements OpenSSL 1.1 API PR: 227183 Approved by: Ralf van der Enden (maintainer) Added: head/dns/powerdns-recursor/files/patch-opensslsigners.cc (contents, props changed) head/dns/powerdns-recursor40/patch-opensslsigners.cc (contents, props changed) Added: head/dns/powerdns-recursor/files/patch-opensslsigners.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/powerdns-recursor/files/patch-opensslsigners.cc Tue Apr 3 12:50:30 2018 (r466346) @@ -0,0 +1,12 @@ +--- opensslsigners.cc.orig 2018-01-22 13:39:07 UTC ++++ opensslsigners.cc +@@ -33,7 +33,8 @@ + #include "opensslsigners.hh" + #include "dnssecinfra.hh" + +-#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || defined LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || \ ++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)) + /* OpenSSL < 1.1.0 needs support for threading/locking in the calling application. */ + static pthread_mutex_t *openssllocks; + Added: head/dns/powerdns-recursor40/patch-opensslsigners.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/powerdns-recursor40/patch-opensslsigners.cc Tue Apr 3 12:50:30 2018 (r466346) @@ -0,0 +1,12 @@ +--- opensslsigners.cc.orig 2018-01-22 13:39:07 UTC ++++ opensslsigners.cc +@@ -33,7 +33,8 @@ + #include "opensslsigners.hh" + #include "dnssecinfra.hh" + +-#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || defined LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || \ ++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)) + /* OpenSSL < 1.1.0 needs support for threading/locking in the calling application. */ + static pthread_mutex_t *openssllocks; +