Index: Makefile =================================================================== --- Makefile (revision 506826) +++ Makefile (working copy) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= recursor -DISTVERSION= 4.1.14 -PORTREVISION= 1 +DISTVERSION= 4.2.0 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ PKGNAMEPREFIX= powerdns- @@ -14,7 +13,7 @@ LICENSE= GPLv2 -BROKEN_armv6= fails to compile: use of overloaded operator << is ambiguous +BROKEN_armv6= fails to compile: use of overloaded operator << is ambiguous BROKEN_armv7= fails to compile: use of overloaded operator << is ambiguous BROKEN_sparc64= fails to compile: json11.cpp: undefined reference to std::__throw_out_of_range_fmt @@ -37,26 +36,27 @@ SUB_FILES= pkg-message -OPTIONS_DEFINE= LUAJIT OPTALGO SETUID +OPTIONS_DEFINE= LUAJIT SETUID OPTIONS_DEFAULT= SETUID LUAJIT_DESC= Use LuaJIT instead of Lua -OPTALGO_DESC= Enable optional algorithms (12, 15 & 16) SETUID_DESC= Run as pdns_recursor user LUAJIT_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit LUAJIT_USES_OFF= lua -LUAJIT_CONFIGURE_WITH= luajit +LUAJIT_CONFIGURE_ON= --with-lua=luajit -OPTALGO_LIB_DEPENDS= libbotan-2.so:security/botan2 \ - libdecaf.so:security/libdecaf \ - libsodium.so:security/libsodium -OPTALGO_CONFIGURE_ON= --enable-botan \ - --enable-libdecaf \ - --enable-libsodium - SETUID_EXTRA_PATCHES= ${PATCHDIR}/extrapatch-setuid SETUID_VARS= GROUPS=pdns \ USERS=pdns_recursor -.include +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} != openssl111 +CONFIGURE_ARGS+= --enable-libdecaf \ + --enable-libsodium +LIB_DEPENDS+= libdecaf.so:security/libdecaf \ + libsodium.so:security/libsodium +.endif + +.include Index: distinfo =================================================================== --- distinfo (revision 506826) +++ distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1560505728 -SHA256 (pdns-recursor-4.1.14.tar.bz2) = 7fceb8fa3bea693aad49d137c801bb3ecc15525cc5a7dc84380321546e87bf14 -SIZE (pdns-recursor-4.1.14.tar.bz2) = 1249908 +TIMESTAMP = 1563267791 +SHA256 (pdns-recursor-4.2.0.tar.bz2) = f03c72c1816fdcc645cc539d8c16721d2ec294feac9b5179e78c3db311b7c2c2 +SIZE (pdns-recursor-4.2.0.tar.bz2) = 1316156 Index: files/patch-pdns_dns__random.cc =================================================================== --- files/patch-pdns_dns__random.cc (nonexistent) +++ files/patch-pdns_dns__random.cc (working copy) @@ -0,0 +1,12 @@ +--- dns_random.cc.orig 2018-11-29 12:53:42 UTC ++++ dns_random.cc +@@ -40,7 +40,9 @@ + #include + #endif + #if defined(HAVE_GETRANDOM) ++extern "C" { + #include ++} + #endif + + static enum DNS_RNG { Property changes on: files/patch-pdns_dns__random.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 Index: files/patch-rec__channel.cc =================================================================== --- files/patch-rec__channel.cc (revision 506826) +++ files/patch-rec__channel.cc (nonexistent) @@ -1,27 +0,0 @@ -$OpenBSD: patch-rec_channel_cc,v 1.1.1.1 2018/12/29 14:29:08 sthen Exp $ - -Index: rec_channel.cc ---- rec_channel.cc.orig 2019-01-31 19:43:44 UTC -+++ rec_channel.cc -@@ -54,6 +54,10 @@ int RecursorControlChannel::listen(const string& fname - if(bind(d_fd, (sockaddr*)&d_local,sizeof(d_local))<0) - throw PDNSException("Unable to bind to controlsocket '"+fname+"': "+stringerror()); - -+ int bufsz = 60*1024; -+ setsockopt(d_fd, SOL_SOCKET, SO_SNDBUF, &bufsz, sizeof(bufsz)); -+ bufsz = 64*1024; -+ setsockopt(d_fd, SOL_SOCKET, SO_RCVBUF, &bufsz, sizeof(bufsz)); - return d_fd; - } - -@@ -99,6 +103,10 @@ void RecursorControlChannel::connect(const string& pat - unlink(d_local.sun_path); - throw PDNSException("Unable to connect to remote '"+string(remote.sun_path)+"': "+stringerror()); - } -+ int bufsz = 60*1024; -+ setsockopt(d_fd, SOL_SOCKET, SO_SNDBUF, &bufsz, sizeof(bufsz)); -+ bufsz = 64*1024; -+ setsockopt(d_fd, SOL_SOCKET, SO_RCVBUF, &bufsz, sizeof(bufsz)); - - } catch (...) { - close(d_fd); Property changes on: files/patch-rec__channel.cc ___________________________________________________________________ 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