--- dns/powerdns/Makefile +++ dns/powerdns/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= powerdns -PORTVERSION= 4.0.1 -PORTREVISION= 3 +PORTVERSION= 4.0.2 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ DISTNAME= pdns-${PORTVERSION} --- dns/powerdns/distinfo +++ dns/powerdns/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1470038374 -SHA256 (pdns-4.0.1.tar.bz2) = d191eed4a6664430e85969f49835c59e810ecbb7b3eb506e64c6b2734091edd7 -SIZE (pdns-4.0.1.tar.bz2) = 1304788 +TIMESTAMP = 1484569687 +SHA256 (pdns-4.0.2.tar.bz2) = d051e53b63f586c924f00ce8a81662f7bd285b461d125d4991538f92cf7e629d +SIZE (pdns-4.0.2.tar.bz2) = 1314886 --- dns/powerdns/files/patch-libressl +++ /dev/null @@ -1,31 +0,0 @@ ---- pdns/dns_random.cc.orig 2016-07-29 14:32:32 UTC -+++ pdns/dns_random.cc -@@ -2,7 +2,7 @@ - #include "config.h" - #endif - #include --#if OPENSSL_VERSION_NUMBER > 0x1000100fL -+#if OPENSSL_VERSION_NUMBER > 0x1000100fL && !defined LIBRESSL_VERSION_NUMBER - // Older OpenSSL does not have CRYPTO_ctr128_encrypt. Before 1.1.0 the header - // file did not have the necessary extern "C" wrapper. In 1.1.0, AES_ctr128_encrypt - // was removed. -@@ -53,7 +53,7 @@ unsigned int dns_random(unsigned int n) - if(!g_initialized) - abort(); - uint32_t out; --#if OPENSSL_VERSION_NUMBER > 0x1000100fL -+#if OPENSSL_VERSION_NUMBER > 0x1000100fL && !defined LIBRESSL_VERSION_NUMBER - 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); - #else - AES_ctr128_encrypt((const unsigned char*)&g_in, (unsigned char*) &out, sizeof(g_in), &aes_key, g_counter, g_stream, &g_offset); ---- pdns/opensslsigners.cc.orig 2016-07-29 14:32:32 UTC -+++ pdns/opensslsigners.cc -@@ -12,7 +12,7 @@ - #include "opensslsigners.hh" - #include "dnssecinfra.hh" - --#if OPENSSL_VERSION_NUMBER < 0x1010000fL -+#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || defined LIBRESSL_VERSION_NUMBER) - /* OpenSSL < 1.1.0 needs support for threading/locking in the calling application. */ - static pthread_mutex_t *openssllocks; -