diff --git a/net/pdns-recursor/patches/100-disable-recursor.conf-dist.patch b/net/pdns-recursor/patches/100-disable-recursor.conf-dist.patch new file mode 100644 index 00000000000000..c4199c4fc7fbe4 --- /dev/null +++ b/net/pdns-recursor/patches/100-disable-recursor.conf-dist.patch @@ -0,0 +1,18 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -529,15 +529,6 @@ $(srcdir)/effective_tld_names.dat: + pubsuffix.cc: $(srcdir)/effective_tld_names.dat + $(AM_V_GEN)./mkpubsuffixcc + +-## Config file +-sysconf_DATA = recursor.conf-dist recursor.yml-dist +- +-recursor.conf-dist: pdns_recursor +- $(AM_V_GEN)./pdns_recursor --config=default > $@ +- +-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" +- + ## Manpages + MANPAGES=pdns_recursor.1 \ + rec_control.1