Date: Tue, 3 Apr 2018 12:50:31 +0000 (UTC) From: Bernard Spil <brnrd@FreeBSD.org> 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 Message-ID: <201804031250.w33CoVei021526@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <tremere cainites net> (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; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804031250.w33CoVei021526>