Index: head/dns/powerdns-recursor/Makefile =================================================================== --- head/dns/powerdns-recursor/Makefile (revision 456032) +++ head/dns/powerdns-recursor/Makefile (revision 456033) @@ -1,60 +1,60 @@ # Created by: sten@blinkenlights.nl # $FreeBSD$ PORTNAME= recursor -DISTVERSION= 4.0.7 +DISTVERSION= 4.1.0 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ PKGNAMEPREFIX= powerdns- DISTNAME= pdns-${PORTNAME}-${DISTVERSION} MAINTAINER= tremere@cainites.net COMMENT= Advanced DNS recursor LICENSE= GPLv2 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 BROKEN_powerpc64= fails to compile: dnslabeltext.cc: undefined reference to std::__cxx11::basic_string BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs LIB_DEPENDS= libboost_context.so:devel/boost-libs \ libprotobuf.so:devel/protobuf USES= compiler:c++11-lib cpe gmake localbase:ldflags pkgconfig ssl tar:bzip2 GNU_CONFIGURE= YES CXXFLAGS+= -D_GLIBCXX_USE_C99 CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pdns \ --with-protobuf CPE_VENDOR= powerdns USE_RC_SUBR= pdns-recursor OPTIONS_DEFINE= OPTALGO SETUID OPTIONS_DEFAULT= LUA SETUID OPTIONS_RADIO= LUA_RG OPTIONS_RADIO_LUA_RG= LUA LUAJIT LUAJIT_DESC= Enable LuaJIT LUA_RG_DESC= Lua Engine OPTALGO_DESC= Enable optional algorithms (12 & 15) SETUID_DESC= Run as pdns_recursor user LUA_CONFIGURE_WITH= lua LUA_USES= lua LUAJIT_CONFIGURE_WITH= luajit LUAJIT_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit OPTALGO_CONFIGURE_ON= --enable-botan \ --enable-libsodium OPTALGO_LIB_DEPENDS= libbotan-2.so:security/botan2 \ libsodium.so:security/libsodium SETUID_VARS= USERS=pdns_recursor GROUPS=pdns SETUID_EXTRA_PATCHES= ${PATCHDIR}/extrapatch-setuid SUB_FILES= pkg-message .include Index: head/dns/powerdns-recursor/distinfo =================================================================== --- head/dns/powerdns-recursor/distinfo (revision 456032) +++ head/dns/powerdns-recursor/distinfo (revision 456033) @@ -1,3 +1,3 @@ -TIMESTAMP = 1512117295 -SHA256 (pdns-recursor-4.0.7.tar.bz2) = 966d1654c32c72bd0cc9b301ae5b723a34e36f3c02e62c73a7643260122f94e7 -SIZE (pdns-recursor-4.0.7.tar.bz2) = 1107546 +TIMESTAMP = 1512394122 +SHA256 (pdns-recursor-4.1.0.tar.bz2) = 880b9d4cc57e2b11cae5bff9b20571fb3466f4385c010d06764296fef44f60a3 +SIZE (pdns-recursor-4.1.0.tar.bz2) = 1222751 Index: head/dns/powerdns-recursor/files/extrapatch-setuid =================================================================== --- head/dns/powerdns-recursor/files/extrapatch-setuid (revision 456032) +++ head/dns/powerdns-recursor/files/extrapatch-setuid (revision 456033) @@ -1,13 +1,13 @@ ---- pdns_recursor.cc.orig 2017-01-17 02:48:30 UTC -+++ pdns_recursor.cc -@@ -2969,8 +2969,8 @@ int main(int argc, char **argv) - ::arg().set("disable-syslog","Disable logging to syslog, useful when running inside a supervisor that logs stdout")="no"; +--- pdns_recursor.cc.orig 2017-12-11 13:13:52.274237000 +0100 ++++ pdns_recursor.cc 2017-12-11 13:18:42.339569000 +0100 +@@ -3325,8 +3325,8 @@ + ::arg().set("log-timestamp","Print timestamps in log lines, useful to disable when running with a tool that timestamps stdout already")="yes"; ::arg().set("log-common-errors","If we should log rather common errors")="no"; ::arg().set("chroot","switch to chroot jail")=""; - ::arg().set("setgid","If set, change group id to this gid for more security")=""; - ::arg().set("setuid","If set, change user id to this uid for more security")=""; + ::arg().set("setgid","If set, change group id to this gid for more security")="pdns"; + ::arg().set("setuid","If set, change user id to this uid for more security")="pdns_recursor"; - ::arg().set("network-timeout", "Wait this nummer of milliseconds for network i/o")="1500"; + ::arg().set("network-timeout", "Wait this number of milliseconds for network i/o")="1500"; ::arg().set("threads", "Launch this number of threads")="2"; ::arg().set("processes", "Launch this number of processes (EXPERIMENTAL, DO NOT CHANGE)")="1"; // if we un-experimental this, need to fix openssl rand seeding for multiple PIDs!