pdns-recursor: update to 5.1.1

this switches the default config to the new yaml format

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
This commit is contained in:
Peter van Dijk 2024-06-27 10:26:42 +02:00 committed by Tianling Shen
parent e29aaab606
commit cccedece03
3 changed files with 1191 additions and 938 deletions

View File

@ -1,12 +1,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=pdns-recursor
PKG_VERSION:=5.0.7
PKG_VERSION:=5.1.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/
PKG_HASH:=700a825aa087f3f37888ccb65cec6291a1aa5345838af202dc19ebe5691451b9
PKG_HASH:=5b7ab793ace822294a3f38092fe72ee64748ff0cbb8a5283dc77f40780605ae9
PKG_MAINTAINER:=Peter van Dijk <peter.van.dijk@powerdns.com>, Remi Gacogne <remi.gacogne@powerdns.com>
PKG_LICENSE:=GPL-2.0-only

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,11 @@
--- a/Makefile.am
+++ b/Makefile.am
@@ -529,15 +529,6 @@ $(srcdir)/effective_tld_names.dat:
@@ -551,12 +551,6 @@ $(srcdir)/effective_tld_names.dat:
pubsuffix.cc: $(srcdir)/effective_tld_names.dat
$(AM_V_GEN)./mkpubsuffixcc
$(srcdir)/mkpubsuffixcc $< $@
-## Config file
-sysconf_DATA = recursor.conf-dist recursor.yml-dist
-
-recursor.conf-dist: pdns_recursor
- $(AM_V_GEN)./pdns_recursor --config=default > $@
-sysconf_DATA = recursor.yml-dist
-
-recursor.yml-dist: pdns_recursor
- dir=$$(mktemp -d) && touch "$$dir/recursor.yml" && ./pdns_recursor --config-dir="$$dir" --config=default 2> /dev/null > $@ && rm "$$dir/recursor.yml" && rmdir "$$dir"