Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions net/pdns/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=pdns
PKG_VERSION:=4.9.7
PKG_VERSION:=5.0.2
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/
PKG_HASH:=782875d210de20cee9f22f33ffc59ef1cdc6693c30efcb21f3ce8bf528fb09d4
PKG_HASH:=d360e1fa127a562a4ad0ff648aef56af76b678311c6553a7f7034677438a085d

PKG_MAINTAINER:=Peter van Dijk <peter.van.dijk@powerdns.com>, Remi Gacogne <remi.gacogne@powerdns.com>
PKG_LICENSE:=GPL-2.0-only
Expand Down
48 changes: 39 additions & 9 deletions net/pdns/files/pdns.conf-dist
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
#################################
# config-dir Location of configuration directory (pdns.conf)
#
# config-dir=/usr/local/etc
# config-dir=/etc/powerdns

#################################
# config-name Name of this virtual configuration - will rename the binary image
Expand Down Expand Up @@ -200,6 +200,11 @@
#
# direct-dnskey=no

#################################
# direct-dnskey-signature Fetch signature of DNSKEY RRs from backend directly
#
# direct-dnskey-signature=no

#################################
# disable-axfr Disable zonetransfers but do allow TCP queries
#
Expand All @@ -225,6 +230,11 @@
#
# dname-processing=no

#################################
# dnsproxy-udp-port-range Select DNS Proxy outgoing UDP port from given range (lower upper)
#
# dnsproxy-udp-port-range=10000 60000

#################################
# dnssec-key-cache-ttl Seconds to cache DNSSEC keys from the database
#
Expand Down Expand Up @@ -256,7 +266,7 @@
# edns-subnet-processing=no

#################################
# enable-lua-records Process LUA records for all zones (metadata overrides this)
# enable-lua-records Process Lua records for all zones (metadata overrides this)
#
# enable-lua-records=no

Expand Down Expand Up @@ -356,7 +366,7 @@
# lua-consistent-hashes-cleanup-interval=3600

#################################
# lua-consistent-hashes-expire-delay Cleanup pre-computed hashes that haven't been used for the given delay (in seconds). See pickchashed() LUA function
# lua-consistent-hashes-expire-delay Cleanup pre-computed hashes that haven't been used for the given delay (in seconds). See pickchashed() Lua function
#
# lua-consistent-hashes-expire-delay=86400

Expand All @@ -365,13 +375,18 @@
#
# lua-dnsupdate-policy-script=

#################################
# lua-global-include-dir Include *.lua files from this directory into Lua contexts
#
# lua-global-include-dir=

#################################
# lua-health-checks-expire-delay Stops doing health checks after the record hasn't been used for that delay (in seconds)
#
# lua-health-checks-expire-delay=3600

#################################
# lua-health-checks-interval LUA records health checks monitoring interval in seconds
# lua-health-checks-interval Lua records health checks monitoring interval in seconds
#
# lua-health-checks-interval=5

Expand All @@ -381,12 +396,12 @@
# lua-prequery-script=

#################################
# lua-records-exec-limit LUA records scripts execution limit (instructions count). Values <= 0 mean no limit
# lua-records-exec-limit Lua records scripts execution limit (instructions count). Values <= 0 mean no limit
#
# lua-records-exec-limit=1000

#################################
# lua-records-insert-whitespace Insert whitespace when combining LUA chunks
# lua-records-insert-whitespace Insert whitespace when combining Lua chunks
#
# lua-records-insert-whitespace=no

Expand Down Expand Up @@ -453,7 +468,7 @@
#################################
# module-dir Default directory for modules
#
# module-dir=/usr/local/lib/pdns
# module-dir=/usr/lib/powerdns/pdns

#################################
# negquery-cache-ttl Seconds to store negative query results in the QueryCache
Expand Down Expand Up @@ -530,6 +545,11 @@
#
# receiver-threads=1

#################################
# resolve-across-zones Resolve CNAME targets and other referrals across local zones
#
# resolve-across-zones=yes

#################################
# resolver Use this resolver for ALIAS and the internal stub resolver
#
Expand Down Expand Up @@ -596,7 +616,7 @@
# signing-threads=3

#################################
# socket-dir Where the controlsocket will live, /var/run/pdns when unset and not chrooted. Set to the RUNTIME_DIRECTORY environment variable when that variable has a value (e.g. under systemd).
# socket-dir Where the controlsocket will live, /var/run/pdns when unset and not chrooted
#
# socket-dir=

Expand Down Expand Up @@ -660,13 +680,18 @@
#
# version-string=full

#################################
# views Enable views (variants) of zones, for backends which support them
#
# views=no

#################################
# webserver Start a webserver for monitoring (api=yes also enables the HTTP listener)
#
# webserver=no

#################################
# webserver-address IP Address of webserver/API to listen on
# webserver-address IP Address or path to UNIX domain socket for webserver/API to listen on
#
# webserver-address=127.0.0.1

Expand All @@ -675,6 +700,11 @@
#
# webserver-allow-from=127.0.0.1,::1

#################################
# webserver-connection-timeout Webserver/API request/response timeout in seconds
#
# webserver-connection-timeout=5

#################################
# webserver-hash-plaintext-credentials Whether to hash passwords and api keys supplied in plaintext, to prevent keeping the plaintext version in memory at runtime
#
Expand Down
8 changes: 4 additions & 4 deletions net/pdns/patches/100-pdns-disable-pdns.conf-dist.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
--- a/pdns/Makefile.am
+++ b/pdns/Makefile.am
@@ -82,7 +82,6 @@ CLEANFILES = \
@@ -78,7 +78,6 @@ CLEANFILES = \
backends/gsql/gsqlbackend.gcda \
backends/gsql/gsqlbackend.gcno \
backends/gsql/gsqlbackend.gcov \
- pdns.conf-dist \
apidocfiles.h

if !HAVE_API_SWAGGER_JSON
@@ -116,8 +115,6 @@ apidocfiles.h: api-swagger.yaml api-swag
@@ -112,8 +111,6 @@ apidocfiles.h: api-swagger.yaml api-swag
$(AM_V_GEN)$(srcdir)/incfiles $^ > $@.tmp
@mv $@.tmp $@

Expand All @@ -17,7 +17,7 @@
sbin_PROGRAMS = pdns_server
bin_PROGRAMS = \
pdns_control \
@@ -157,7 +154,7 @@ if IXFRDIST
@@ -151,7 +148,7 @@ if IXFRDIST
bin_PROGRAMS += \
ixfrdist

Expand All @@ -26,7 +26,7 @@
ixfrdist.example.yml
endif

@@ -1342,9 +1339,6 @@ dnspcap2protobuf_LDADD = \
@@ -1333,9 +1330,6 @@ dnspcap2protobuf_LDADD = \
$(BOOST_PROGRAM_OPTIONS_LIBS) \
$(RT_LIBS)

Expand Down
Loading