%{_bindir}/dnsscope
%{_bindir}/dnswasher
%{_bindir}/dumresp
-%{_bindir}/ixfrdist
%{_bindir}/ixplore
%{_bindir}/pdns_notify
%{_bindir}/nproxy
%{_mandir}/man1/dnsscope.1.gz
%{_mandir}/man1/dnswasher.1.gz
%{_mandir}/man1/dumresp.1.gz
-%{_mandir}/man1/ixfrdist.1.gz
-%{_mandir}/man5/ixfrdist.yml.5.gz
%{_mandir}/man1/ixplore.1.gz
%{_mandir}/man1/pdns_notify.1.gz
%{_mandir}/man1/nproxy.1.gz
--with-lua=luajit \
--with-dynmodules='%{backends} random' \
--enable-tools \
+ --enable-ixfrdist \
--enable-libsodium \
--enable-unit-tests \
--enable-experimental-pkcs11 \
--with-lua \
--with-dynmodules='%{backends} random' \
--enable-tools \
+ --enable-ixfrdist \
--without-protobuf \
--enable-unit-tests \
--enable-systemd \
Standards-Version: 3.9.8
Maintainer: PowerDNS Autobuilder <powerdns.support@powerdns.com>
Origin: PowerDNS
-Build-Depends: debhelper (>= 9~), dh-autoreconf, dh-systemd, po-debconf, curl, libtool, flex, bison, libmysqlclient-dev, libpq-dev, libssl-dev, libgdbm-dev, libldap2-dev, libsqlite3-dev, dpkg-dev (>= 1.17.0~), libboost-dev, libboost-serialization-dev, libboost-program-options-dev, libboost-test-dev, autotools-dev, automake, autoconf, libluajit5.1-dev, pkg-config, ragel, libgmp-dev, libcurl4-openssl-dev, libzmq-dev, libyaml-cpp-dev (>= 0.5), libgeoip-dev, libmaxminddb-dev, libopendbx1-dev, libcdb-dev, unixodbc-dev (>= 2.3.1), libprotobuf-dev, protobuf-compiler, libp11-kit-dev @LIBSYSTEMDDEV@ @LIBSODIUMDEV@
+Build-Depends: debhelper (>= 9~), dh-autoreconf, dh-systemd, po-debconf, curl, libtool, flex, bison, libmysqlclient-dev, libpq-dev, libssl-dev, libgdbm-dev, libldap2-dev, libsqlite3-dev, dpkg-dev (>= 1.17.0~), libboost-dev, libboost-serialization-dev, libboost-program-options-dev, libboost-test-dev, autotools-dev, automake, autoconf, libluajit5.1-dev, pkg-config, ragel, libgmp-dev, libcurl4-openssl-dev, libzmq-dev, libyaml-cpp-dev (>= 0.5), libgeoip-dev, libmaxminddb-dev, libopendbx1-dev, libcdb-dev, unixodbc-dev (>= 2.3.1), libprotobuf-dev, protobuf-compiler, libp11-kit-dev, libyaml-cpp-dev, @LIBSYSTEMDDEV@ @LIBSODIUMDEV@
Homepage: http://www.powerdns.com/
Package: pdns-server
--with-dynmodules="$(backends)" \
--with-modules="" \
--enable-tools \
+ --enable-ixfrdist \
--enable-unit-tests \
--with-lua=luajit \
--enable-experimental-pkcs11 \
--enable-experimental-pkcs11 \
--enable-remotebackend-zeromq \
--enable-tools \
+ --enable-ixfrdist \
--enable-unit-tests \
--enable-backend-unit-tests \
--disable-dependency-tracking \
AC_MSG_RESULT([$enable_tools])
AM_CONDITIONAL([TOOLS], [test "x$enable_tools" != "xno"])
-AS_IF([test "x$enable_tools" != "xno"], [
- PKG_CHECK_MODULES([YAML], [yaml-cpp >= 0.5],[],
- AC_MSG_ERROR([Could not find yaml-cpp])
- )]
-)
+PDNS_ENABLE_IXFRDIST
PDNS_WITH_PROTOBUF
dnsscope.1 \
dnswasher.1 \
dumresp.1 \
- ixfrdist.1 \
- ixfrdist.yml.5 \
ixplore.1 \
nproxy.1 \
nsec3dig.1 \
saxfr.1 \
sdig.1
+MANPAGES_TARGET_IXFRDIST = ixfrdist.1 \
+ ixfrdist.yml.5
+
MANPAGES_DIST += $(MANPAGES_TARGET_TOOLS) \
+ $(MANPAGES_TARGET_IXFRDIST) \
dnsbulktest.1 \
dnstcpbench.1 \
dnspcap2protobuf.1
MANPAGES_INSTALL += $(MANPAGES_TARGET_TOOLS)
endif
+if IXFRDIST
+MANPAGES_INSTALL += $(MANPAGES_TARGET_IXFRDIST)
+endif
+
man_MANS = $(MANPAGES_INSTALL)
EXTRA_DIST = $(MANPAGES_DIST)
--- /dev/null
+AC_DEFUN([PDNS_ENABLE_IXFRDIST], [
+ AC_MSG_CHECKING([whether we will be building ixfrdist])
+ AC_ARG_ENABLE([ixfrdist], [
+ AS_HELP_STRING([--enable-ixfrdist], [if we should build and install ixfrdist @<:@default=no@:>@])
+ ], [
+ enable_ixfrdist=$enableval
+ ], [
+ enable_ixfrdist=no
+ ])
+
+ AC_MSG_RESULT([$enable_ixfrdist])
+ AM_CONDITIONAL([IXFRDIST], [test "x$enable_ixfrdist" != "xno"])
+ AS_IF([test "x$enable_ixfrdist" != "xno"], [
+ PKG_CHECK_MODULES([YAML], [yaml-cpp >= 0.5], [ : ], [
+ AC_MSG_ERROR([Could not find yaml-cpp >= 0.5, required for ixfrdist])
+ ])
+ ])
+])
saxfr \
stubquery \
ixplore \
- ixfrdist \
sdig
if HAVE_RECVMMSG
dnstcpbench
endif
+endif # TOOLS
+
+if IXFRDIST
+bin_PROGRAMS += \
+ ixfrdist
endif
EXTRA_PROGRAMS = \
pdns.service \
pdns@.service
-if TOOLS
+if IXFRDIST
ixfrdist.service: ixfrdist.service.in
$(AM_V_GEN)sed -e 's![@]bindir[@]!$(bindir)!' < $< > $@
systemdsystemunit_DATA += \
ixfrdist.service
-endif # TOOLS
+endif # IXFRDIST
CLEANFILES += \
ixfrdist.service