diff options
-rw-r--r-- | dns/powerdns/Makefile | 2 | ||||
-rw-r--r-- | dns/powerdns/files/patch-pdns_common__startup.cc | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile index c24a0011dfe4..b5986729cf01 100644 --- a/dns/powerdns/Makefile +++ b/dns/powerdns/Makefile @@ -2,7 +2,7 @@ PORTNAME= powerdns DISTVERSION= 4.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= https://downloads.powerdns.com/releases/ DISTNAME= pdns-${DISTVERSION} diff --git a/dns/powerdns/files/patch-pdns_common__startup.cc b/dns/powerdns/files/patch-pdns_common__startup.cc new file mode 100644 index 000000000000..85b3e1d6cd5d --- /dev/null +++ b/dns/powerdns/files/patch-pdns_common__startup.cc @@ -0,0 +1,13 @@ +--- pdns/common_startup.cc.orig 2020-02-24 14:34:14 UTC ++++ pdns/common_startup.cc +@@ -191,8 +191,8 @@ void declareArguments() + + ::arg().setSwitch("no-shuffle","Set this to prevent random shuffling of answers - for regression testing")="off"; + +- ::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")=""; ++ ::arg().set("setuid","If set, change user id to this uid for more security")="pdns"; ++ ::arg().set("setgid","If set, change group id to this gid for more security")="pdns"; + + ::arg().set("max-cache-entries", "Maximum number of entries in the query cache")="1000000"; + ::arg().set("max-packet-cache-entries", "Maximum number of entries in the packet cache")="1000000"; |