svn commit: r466346 - in head/dns: powerdns-recursor/files powerdns-recursor40

Bernard Spil brnrd at FreeBSD.org
Tue Apr 3 12:50:31 UTC 2018


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;
+ 


More information about the svn-ports-head mailing list