Index: head/dns/powerdns-recursor/Makefile =================================================================== --- head/dns/powerdns-recursor/Makefile (revision 422594) +++ head/dns/powerdns-recursor/Makefile (revision 422595) @@ -1,55 +1,56 @@ # Created by: sten@blinkenlights.nl # $FreeBSD$ PORTNAME= recursor -PORTVERSION= 4.0.1 +PORTVERSION= 4.0.3 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ PKGNAMEPREFIX= powerdns- DISTNAME= pdns-${PORTNAME}-${PORTVERSION} MAINTAINER= tremere@cainites.net COMMENT= Advanced DNS recursor LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs +LIB_DEPENDS= libboost_context.so:devel/boost-libs BROKEN_sparc64= Does not compile on sparc64 BROKEN_FreeBSD_9= linker error USES= compiler:c++11-lib cpe gmake pkgconfig ssl tar:bzip2 GNU_CONFIGURE= YES CPE_VENDOR= powerdns OPTIONS_DEFINE= SETUID OPTIONS_DEFAULT= LUA SETUID OPTIONS_RADIO= LUA_RG OPTIONS_RADIO_LUA_RG= LUA LUAJIT LUAJIT_DESC= Enable LuaJIT LUA_RG_DESC= Lua Engine SETUID_DESC= Run as pdns_recursor user CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/pdns SUB_FILES= pkg-message LUA_CONFIGURE_WITH= lua LUA_USES= lua LUAJIT_CONFIGURE_WITH= luajit LUAJIT_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit SETUID_EXTRA_PATCHES= ${PATCHDIR}/extrapatch-setuid USE_RC_SUBR+= pdns-recursor .include .if ${PORT_OPTIONS:MSETUID} USERS= pdns_recursor GROUPS= pdns .endif .include Index: head/dns/powerdns-recursor/distinfo =================================================================== --- head/dns/powerdns-recursor/distinfo (revision 422594) +++ head/dns/powerdns-recursor/distinfo (revision 422595) @@ -1,3 +1,3 @@ -TIMESTAMP = 1470038617 -SHA256 (pdns-recursor-4.0.1.tar.bz2) = 472db541307c8ca83a846d260ecfc854fd8e879c1bb2ce5683a8df5d21e860b0 -SIZE (pdns-recursor-4.0.1.tar.bz2) = 1035584 +TIMESTAMP = 1473284590 +SHA256 (pdns-recursor-4.0.3.tar.bz2) = ae9813a64d13d9ebe4b44e89e8e4e44fc438693b6ce4c3a98e4cab1af22d9627 +SIZE (pdns-recursor-4.0.3.tar.bz2) = 1045041 Index: head/dns/powerdns-recursor/files/patch-libressl =================================================================== --- head/dns/powerdns-recursor/files/patch-libressl (revision 422594) +++ head/dns/powerdns-recursor/files/patch-libressl (nonexistent) @@ -1,31 +0,0 @@ ---- dns_random.cc.orig 2016-07-29 14:32:32 UTC -+++ 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); ---- opensslsigners.cc.orig 2016-07-29 14:32:32 UTC -+++ 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; - Property changes on: head/dns/powerdns-recursor/files/patch-libressl ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/dns/powerdns-recursor/files/patch-lua-recursor4.cc =================================================================== --- head/dns/powerdns-recursor/files/patch-lua-recursor4.cc (nonexistent) +++ head/dns/powerdns-recursor/files/patch-lua-recursor4.cc (revision 422595) @@ -0,0 +1,26 @@ +--- lua-recursor4.cc.orig 2016-09-06 12:50:29 UTC ++++ lua-recursor4.cc +@@ -263,8 +263,8 @@ RecursorLua4::RecursorLua4(const std::st + return DNSName(boost::get(dom)); + }); + d_lw->registerFunction("isPartOf", &DNSName::isPartOf); +- d_lw->registerFunction("countLabels", &DNSName::countLabels); +- d_lw->registerFunction("wirelength", &DNSName::wirelength); ++ d_lw->registerFunction("countLabels", [](const DNSName& name) { return name.countLabels(); }); ++ d_lw->registerFunction("wirelength", [](const DNSName& name) { return name.wirelength(); }); + d_lw->registerFunction( + "equal", + [](const DNSName& lhs, const std::string& rhs) { +@@ -285,9 +285,9 @@ RecursorLua4::RecursorLua4(const std::st + } ); + d_lw->registerFunction("isIPv4", [](const ComboAddress& ca) { return ca.sin4.sin_family == AF_INET; }); + d_lw->registerFunction("isIPv6", [](const ComboAddress& ca) { return ca.sin4.sin_family == AF_INET6; }); +- d_lw->registerFunction("isMappedIPv4", &ComboAddress::isMappedIPv4); +- d_lw->registerFunction("mapToIPv4", &ComboAddress::mapToIPv4); +- d_lw->registerFunction("truncate", &ComboAddress::truncate); ++ d_lw->registerFunction("isMappedIPv4", [](const ComboAddress& ca) { return ca.isMappedIPv4(); }); ++ d_lw->registerFunction("mapToIPv4", [](const ComboAddress& ca) { return ca.mapToIPv4(); }); ++ d_lw->registerFunction("truncate", [](ComboAddress& ca, unsigned int bits) { ca.truncate(bits); }); + + d_lw->writeFunction("newCA", [](const std::string& a) { return ComboAddress(a); }); + typedef std::unordered_set cas_t; Property changes on: head/dns/powerdns-recursor/files/patch-lua-recursor4.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property