View | Details | Raw Unified | Return to bug 216136 | Differences between
and this patch

Collapse All | Expand All

(-)dns/powerdns/Makefile (-2 / +1 lines)
Lines 1-8 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	powerdns
3
PORTNAME=	powerdns
4
PORTVERSION=	4.0.1
4
PORTVERSION=	4.0.2
5
PORTREVISION=	3
6
CATEGORIES=	dns ipv6
5
CATEGORIES=	dns ipv6
7
MASTER_SITES=	http://downloads.powerdns.com/releases/
6
MASTER_SITES=	http://downloads.powerdns.com/releases/
8
DISTNAME=	pdns-${PORTVERSION}
7
DISTNAME=	pdns-${PORTVERSION}
(-)dns/powerdns/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1470038374
1
TIMESTAMP = 1484569687
2
SHA256 (pdns-4.0.1.tar.bz2) = d191eed4a6664430e85969f49835c59e810ecbb7b3eb506e64c6b2734091edd7
2
SHA256 (pdns-4.0.2.tar.bz2) = d051e53b63f586c924f00ce8a81662f7bd285b461d125d4991538f92cf7e629d
3
SIZE (pdns-4.0.1.tar.bz2) = 1304788
3
SIZE (pdns-4.0.2.tar.bz2) = 1314886
(-)dns/powerdns/files/patch-libressl (-31 lines)
Removed Link Here
1
--- pdns/dns_random.cc.orig	2016-07-29 14:32:32 UTC
2
+++ pdns/dns_random.cc
3
@@ -2,7 +2,7 @@
4
 #include "config.h"
5
 #endif
6
 #include <openssl/aes.h>
7
-#if OPENSSL_VERSION_NUMBER > 0x1000100fL
8
+#if OPENSSL_VERSION_NUMBER > 0x1000100fL && !defined LIBRESSL_VERSION_NUMBER
9
 // Older OpenSSL does not have CRYPTO_ctr128_encrypt. Before 1.1.0 the header
10
 // file did not have the necessary extern "C" wrapper. In 1.1.0, AES_ctr128_encrypt
11
 // was removed.
12
@@ -53,7 +53,7 @@ unsigned int dns_random(unsigned int n)
13
   if(!g_initialized)
14
     abort();
15
   uint32_t out;
16
-#if OPENSSL_VERSION_NUMBER > 0x1000100fL
17
+#if OPENSSL_VERSION_NUMBER > 0x1000100fL && !defined LIBRESSL_VERSION_NUMBER
18
   CRYPTO_ctr128_encrypt((const unsigned char*)&g_in, (unsigned char*) &out, sizeof(g_in), &aes_key, g_counter, g_stream, &g_offset, (block128_f) AES_encrypt);
19
 #else
20
   AES_ctr128_encrypt((const unsigned char*)&g_in, (unsigned char*) &out, sizeof(g_in), &aes_key, g_counter, g_stream, &g_offset);
21
--- pdns/opensslsigners.cc.orig	2016-07-29 14:32:32 UTC
22
+++ pdns/opensslsigners.cc
23
@@ -12,7 +12,7 @@
24
 #include "opensslsigners.hh"
25
 #include "dnssecinfra.hh"
26
 
27
-#if OPENSSL_VERSION_NUMBER < 0x1010000fL
28
+#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || defined LIBRESSL_VERSION_NUMBER)
29
 /* OpenSSL < 1.1.0 needs support for threading/locking in the calling application. */
30
 static pthread_mutex_t *openssllocks;
31
 

Return to bug 216136