From: Pieter Lexis Date: Wed, 16 May 2018 14:08:18 +0000 (+0200) Subject: ixfrdist: dist and install example config X-Git-Tag: dnsdist-1.3.1~84^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1415809dad1813d689f1b2fdfa50008dd7435eaa;p=pdns ixfrdist: dist and install example config --- diff --git a/build-scripts/build-auth-rpm b/build-scripts/build-auth-rpm index 920d6b625..7c2006196 100755 --- a/build-scripts/build-auth-rpm +++ b/build-scripts/build-auth-rpm @@ -563,6 +563,7 @@ Furthermore, PowerDNS interfaces with almost any database. %package tools Summary: Extra tools for %{name} +BuildRequires: yaml-cpp-devel Group: System Environment/Daemons %description tools @@ -809,6 +810,7 @@ exit 0 %{_mandir}/man1/nsec3dig.1.gz %{_mandir}/man1/saxfr.1.gz %{_mandir}/man1/sdig.1.gz +%{_sysconfdir}/%{name}/ixfrdist.example.yml %{_unitdir}/ixfrdist.service %{_unitdir}/ixfrdist@.service @@ -1093,6 +1095,7 @@ exit 0 %{_mandir}/man1/nsec3dig.1.gz %{_mandir}/man1/saxfr.1.gz %{_mandir}/man1/sdig.1.gz +%{_sysconfdir}/%{name}/ixfrdist.example.yml %{_unitdir}/ixfrdist.service %{_unitdir}/ixfrdist@.service diff --git a/build-scripts/debian-authoritative/pdns-tools.install b/build-scripts/debian-authoritative/pdns-tools.install index be41da6eb..d2471f0ee 100644 --- a/build-scripts/debian-authoritative/pdns-tools.install +++ b/build-scripts/debian-authoritative/pdns-tools.install @@ -18,3 +18,4 @@ usr/bin/saxfr usr/bin/sdig lib/systemd/system/ixfrdist.service lib/systemd/system/ixfrdist@.service +etc/powerdns/ixfrdist.example.yml diff --git a/pdns/Makefile.am b/pdns/Makefile.am index 00be53ac9..ec22cc922 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -57,6 +57,7 @@ EXTRA_DIST = \ delaypipe.hh delaypipe.cc \ pdns.service.in \ ixfrdist.service.in \ + ixfrdist.example.yml \ lua-record.cc \ minicurl.cc \ minicurl.hh @@ -118,6 +119,9 @@ endif # TOOLS if IXFRDIST bin_PROGRAMS += \ ixfrdist + +sysconf_DATA += \ + ixfrdist.example.yml endif EXTRA_PROGRAMS = \