diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile index 3cc81814b871..37a468371b74 100644 --- a/dns/powerdns-recursor/Makefile +++ b/dns/powerdns-recursor/Makefile @@ -1,62 +1,61 @@ PORTNAME= recursor -DISTVERSION= 4.8.4 -PORTREVISION= 1 +DISTVERSION= 4.9.0 CATEGORIES= dns MASTER_SITES= http://downloads.powerdns.com/releases/ PKGNAMEPREFIX= powerdns- DISTNAME= pdns-${PORTNAME}-${DISTVERSION} MAINTAINER= tremere@cainites.net COMMENT= Advanced DNS recursor WWW= https://www.PowerDNS.com/recursor.html LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_armv6= fails to compile: use of overloaded operator << is ambiguous BROKEN_armv7= fails to compile: use of overloaded operator << is ambiguous BROKEN_FreeBSD_12_powerpc64= fails to compile: Assembler messages: unaligned opcodes detected in executable segment NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= archs with 32-bits time_t are no longer supported by upstream BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs LIB_DEPENDS= libboost_context.so:devel/boost-libs USES= autoreconf compiler:c++11-lib cpe gmake libtool \ localbase:ldflags pkgconfig ssl tar:bzip2 CPE_VENDOR= powerdns USE_RC_SUBR= pdns-recursor GNU_CONFIGURE= YES CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pdns \ --with-libsodium=no \ --without-net-snmp \ --without-systemd SUB_FILES= pkg-message USERS= pdns_recursor GROUPS= pdns OPTIONS_DEFINE= DNSTAP OPTIONS_DEFAULT= LUA OPTIONS_SINGLE= EXTLUA OPTIONS_SINGLE_EXTLUA= LUA LUAJIT DNSTAP_DESC= dnstap support (see dnstap.info) LUAJIT_DESC= Use luajit LUA_DESC= Use lang/lua DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm DNSTAP_CONFIGURE_ENABLE= dnstap LUAJIT_USES= luajit LUAJIT_CONFIGURE_ON= --with-lua=luajit LUA_USES= lua post-install: @${MKDIR} ${STAGEDIR}/var/run/pdns-recursor .include diff --git a/dns/powerdns-recursor/distinfo b/dns/powerdns-recursor/distinfo index 33830e4d7c02..861c97590877 100644 --- a/dns/powerdns-recursor/distinfo +++ b/dns/powerdns-recursor/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1680094921 -SHA256 (pdns-recursor-4.8.4.tar.bz2) = f0a63fd08e03da82fa20d333ea5179d1b9259f4264546cf4995286677d9458c7 -SIZE (pdns-recursor-4.8.4.tar.bz2) = 1528092 +TIMESTAMP = 1688122340 +SHA256 (pdns-recursor-4.9.0.tar.bz2) = d36f162843e367646a661a785ca0becde9b68552855bf40532aebafa103966f3 +SIZE (pdns-recursor-4.9.0.tar.bz2) = 1551436 diff --git a/dns/powerdns-recursor/files/patch-rec-main.cc b/dns/powerdns-recursor/files/patch-rec-main.cc index d233469daf42..abec8d2677d4 100644 --- a/dns/powerdns-recursor/files/patch-rec-main.cc +++ b/dns/powerdns-recursor/files/patch-rec-main.cc @@ -1,18 +1,18 @@ ---- rec-main.cc.orig 2022-12-09 10:46:42 UTC +--- rec-main.cc.orig 2023-06-30 06:58:36 UTC +++ rec-main.cc -@@ -2609,13 +2609,13 @@ int main(int argc, char** argv) - SYSTEMD_SETID_MSG +@@ -2829,13 +2829,13 @@ static void initArgs() + SYSTEMD_SETID_MSG #endif - ) -- = ""; -+ = "pdns"; - ::arg().set("setuid", "If set, change user id to this uid for more security" + ) +- = ""; ++ = "pdns"; + ::arg().set("setuid", "If set, change user id to this uid for more security" #ifdef HAVE_SYSTEMD - SYSTEMD_SETID_MSG + SYSTEMD_SETID_MSG #endif - ) -- = ""; -+ = "pdns_recursor"; - ::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("distributor-threads", "Launch this number of distributor threads, distributing queries to other threads") = "0"; + ) +- = ""; ++ = "pdns_recursor"; + ::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("distributor-threads", "Launch this number of distributor threads, distributing queries to other threads") = "0";