Commit a4991d9c authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[master] Merge branch 'trac3391'

parents 197f6749 446bdf5c
......@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.59])
AC_INIT(bind10, 20140313, bind10-dev@isc.org)
AC_INIT(bind10, 20140313, kea-dev@isc.org)
AC_CONFIG_SRCDIR(README)
# serial-tests is not available in automake version before 1.13, so
......@@ -24,55 +24,6 @@ AC_CONFIG_MACRO_DIR([m4macros])
# Checks for programs.
AC_PROG_CXX
want_dns=yes
AC_ARG_ENABLE(dns,
[AC_HELP_STRING([--disable-dns],
[disable DNS components])],
[want_dns=$enableval])
AM_CONDITIONAL([WANT_DNS], [test "$want_dns" = "yes"])
if test "$want_dns" = "yes"; then
WANT_DNS=yes
else
WANT_DNS=no
fi
AC_SUBST(WANT_DNS)
want_dhcp=yes
AC_ARG_ENABLE(dhcp,
[AC_HELP_STRING([--disable-dhcp],
[disable DHCP components])],
[want_dhcp=$enableval])
AM_CONDITIONAL([WANT_DHCP], [test "$want_dhcp" = "yes"])
if test "$want_dhcp" = "yes"; then
WANT_DHCP=yes
else
WANT_DHCP=no
fi
AC_SUBST(WANT_DHCP)
want_experimental_resolver=no
AC_ARG_ENABLE(experimental-resolver,
[AC_HELP_STRING([--enable-experimental-resolver],
[enable the experimental resolver [default=no]])],
[want_experimental_resolver=$enableval])
AM_CONDITIONAL([WANT_EXPERIMENTAL_RESOLVER], [test "$want_experimental_resolver" = "yes"])
if test "$want_experimental_resolver" = "yes"; then
WANT_EXPERIMENTAL_RESOLVER=yes
else
WANT_EXPERIMENTAL_RESOLVER=no
fi
AC_SUBST(WANT_EXPERIMENTAL_RESOLVER)
# At least DNS or DHCP components must be enabled
if test "$want_dns" != "yes" -a "$want_dhcp" != "yes"; then
AC_MSG_ERROR([At least one of DNS or DHCP components must be enabled to do a BIND 10 build.])
fi
# Experimental resolver requires DNS components to be enabled
if test "$want_experimental_resolver" = "yes" -a "$want_dns" != "yes"; then
AC_MSG_ERROR([You must also enable DNS components if you want to enable the experimental resolver.])
fi
# Enable low-performing debugging facilities? This option optionally
# enables some debugging aids that perform slowly and hence aren't built
# by default.
......@@ -514,7 +465,7 @@ if test "X$GXX" = "Xyes" -a "$werror_ok" = 1; then
PYTHON_CXXFLAGS="${PYTHON_CXXFLAGS} -Wno-unused-parameter"
AC_SUBST(PYTHON_CXXFLAGS)
],
[AC_MSG_ERROR([Can't compile against Python.h. If you're using MacOS X and have installed Python with Homebrew, see http://bind10.isc.org/wiki/SystemNotesMacOSX])]
[AC_MSG_ERROR([Can't compile against Python.h. If you're using MacOS X and have installed Python with Homebrew, see http://kea.isc.org/wiki/SystemNotesMacOSX])]
)
]
)
......@@ -926,10 +877,6 @@ elif test "${mysql_config}" != "no" ; then
fi
if test "$MYSQL_CONFIG" != "" ; then
if test "$want_dhcp" != "yes"; then
AC_MSG_ERROR([--with-dhcp-mysql should not be used when DHCP components are disabled])
fi
if test -d "$MYSQL_CONFIG" -o ! -x "$MYSQL_CONFIG" ; then
AC_MSG_ERROR([--with-dhcp-mysql should point to a mysql_config program])
fi
......@@ -1434,16 +1381,6 @@ AC_CONFIG_FILES([compatcheck/Makefile
ext/Makefile
m4macros/Makefile
Makefile
src/bin/auth/auth.spec.pre
src/bin/auth/benchmarks/Makefile
src/bin/auth/gen-statisticsitems.py.pre
src/bin/auth/Makefile
src/bin/auth/spec_config.h.pre
src/bin/auth/tests/Makefile
src/bin/auth/tests/testdata/example-base.zone
src/bin/auth/tests/testdata/example-nsec3.zone
src/bin/auth/tests/testdata/example.zone
src/bin/auth/tests/testdata/Makefile
src/bin/bind10/bind10
src/bin/bind10/init.py
src/bin/bind10/Makefile
......@@ -1473,15 +1410,6 @@ AC_CONFIG_FILES([compatcheck/Makefile
src/bin/d2/spec_config.h.pre
src/bin/d2/tests/Makefile
src/bin/d2/tests/test_data_files_config.h
src/bin/dbutil/dbutil.py
src/bin/dbutil/Makefile
src/bin/dbutil/run_dbutil.sh
src/bin/dbutil/tests/dbutil_test.sh
src/bin/dbutil/tests/Makefile
src/bin/dbutil/tests/testdata/Makefile
src/bin/ddns/ddns.py
src/bin/ddns/Makefile
src/bin/ddns/tests/Makefile
src/bin/dhcp4/Makefile
src/bin/dhcp4/spec_config.h.pre
src/bin/dhcp4/tests/Makefile
......@@ -1494,26 +1422,11 @@ AC_CONFIG_FILES([compatcheck/Makefile
src/bin/dhcp6/tests/marker_file.h
src/bin/dhcp6/tests/test_data_files_config.h
src/bin/dhcp6/tests/test_libraries.h
src/bin/loadzone/loadzone.py
src/bin/loadzone/Makefile
src/bin/loadzone/run_loadzone.sh
src/bin/loadzone/tests/correct/correct_test.sh
src/bin/loadzone/tests/correct/Makefile
src/bin/loadzone/tests/Makefile
src/bin/Makefile
src/bin/memmgr/Makefile
src/bin/memmgr/memmgr.py
src/bin/memmgr/memmgr.spec.pre
src/bin/memmgr/tests/Makefile
src/bin/msgq/Makefile
src/bin/msgq/msgq.py
src/bin/msgq/run_msgq.sh
src/bin/msgq/tests/Makefile
src/bin/resolver/bench/Makefile
src/bin/resolver/Makefile
src/bin/resolver/resolver.spec.pre
src/bin/resolver/spec_config.h.pre
src/bin/resolver/tests/Makefile
src/bin/sockcreator/Makefile
src/bin/sockcreator/tests/Makefile
src/bin/stats/Makefile
......@@ -1530,41 +1443,15 @@ AC_CONFIG_FILES([compatcheck/Makefile
src/bin/usermgr/Makefile
src/bin/usermgr/run_b10-cmdctl-usermgr.sh
src/bin/usermgr/tests/Makefile
src/bin/xfrin/Makefile
src/bin/xfrin/run_b10-xfrin.sh
src/bin/xfrin/tests/Makefile
src/bin/xfrin/tests/testdata/Makefile
src/bin/xfrin/tests/xfrin_test
src/bin/xfrin/xfrin.py
src/bin/xfrout/Makefile
src/bin/xfrout/run_b10-xfrout.sh
src/bin/xfrout/tests/Makefile
src/bin/xfrout/tests/xfrout_test
src/bin/xfrout/tests/xfrout_test.py
src/bin/xfrout/xfrout.py
src/bin/xfrout/xfrout.spec.pre
src/bin/zonemgr/Makefile
src/bin/zonemgr/run_b10-zonemgr.sh
src/bin/zonemgr/tests/Makefile
src/bin/zonemgr/tests/zonemgr_test
src/bin/zonemgr/zonemgr.py
src/bin/zonemgr/zonemgr.spec.pre
src/hooks/dhcp/Makefile
src/hooks/dhcp/user_chk/Makefile
src/hooks/dhcp/user_chk/tests/Makefile
src/hooks/dhcp/user_chk/tests/test_data_files_config.h
src/hooks/Makefile
src/lib/acl/Makefile
src/lib/acl/tests/Makefile
src/lib/asiodns/Makefile
src/lib/asiodns/tests/Makefile
src/lib/asiolink/Makefile
src/lib/asiolink/tests/Makefile
src/lib/bench/example/Makefile
src/lib/bench/Makefile
src/lib/bench/tests/Makefile
src/lib/cache/Makefile
src/lib/cache/tests/Makefile
src/lib/cc/Makefile
src/lib/cc/session_config.h.pre
src/lib/cc/tests/Makefile
......@@ -1575,14 +1462,6 @@ AC_CONFIG_FILES([compatcheck/Makefile
src/lib/config/tests/testdata/Makefile
src/lib/cryptolink/Makefile
src/lib/cryptolink/tests/Makefile
src/lib/datasrc/datasrc_config.h.pre
src/lib/datasrc/Makefile
src/lib/datasrc/memory/benchmarks/Makefile
src/lib/datasrc/memory/Makefile
src/lib/datasrc/tests/Makefile
src/lib/datasrc/tests/memory/Makefile
src/lib/datasrc/tests/memory/testdata/Makefile
src/lib/datasrc/tests/testdata/Makefile
src/lib/dhcp_ddns/Makefile
src/lib/dhcp_ddns/tests/Makefile
src/lib/dhcp/Makefile
......@@ -1590,7 +1469,6 @@ AC_CONFIG_FILES([compatcheck/Makefile
src/lib/dhcpsrv/tests/Makefile
src/lib/dhcpsrv/tests/test_libraries.h
src/lib/dhcp/tests/Makefile
src/lib/dns/benchmarks/Makefile
src/lib/dns/gen-rdatacode.py
src/lib/dns/Makefile
src/lib/dns/python/Makefile
......@@ -1618,11 +1496,7 @@ AC_CONFIG_FILES([compatcheck/Makefile
src/lib/log/tests/severity_test.sh
src/lib/log/tests/tempdir.h
src/lib/Makefile
src/lib/nsas/Makefile
src/lib/nsas/tests/Makefile
src/lib/python/bind10_config.py
src/lib/python/isc/acl/Makefile
src/lib/python/isc/acl/tests/Makefile
src/lib/python/isc/bind10/Makefile
src/lib/python/isc/bind10/tests/Makefile
src/lib/python/isc/cc/cc_generated/Makefile
......@@ -1632,11 +1506,6 @@ AC_CONFIG_FILES([compatcheck/Makefile
src/lib/python/isc/config/Makefile
src/lib/python/isc/config/tests/config_test
src/lib/python/isc/config/tests/Makefile
src/lib/python/isc/datasrc/Makefile
src/lib/python/isc/datasrc/tests/Makefile
src/lib/python/isc/datasrc/tests/testdata/Makefile
src/lib/python/isc/ddns/Makefile
src/lib/python/isc/ddns/tests/Makefile
src/lib/python/isc/dns/Makefile
src/lib/python/isc/log/Makefile
src/lib/python/isc/log_messages/Makefile
......@@ -1645,18 +1514,8 @@ AC_CONFIG_FILES([compatcheck/Makefile
src/lib/python/isc/log/tests/log_console.py
src/lib/python/isc/log/tests/Makefile
src/lib/python/isc/Makefile
src/lib/python/isc/memmgr/Makefile
src/lib/python/isc/memmgr/tests/Makefile
src/lib/python/isc/memmgr/tests/testdata/Makefile
src/lib/python/isc/net/Makefile
src/lib/python/isc/net/tests/Makefile
src/lib/python/isc/notify/Makefile
src/lib/python/isc/notify/tests/Makefile
src/lib/python/isc/notify/tests/notify_out_test
src/lib/python/isc/server_common/Makefile
src/lib/python/isc/server_common/tests/Makefile
src/lib/python/isc/statistics/Makefile
src/lib/python/isc/statistics/tests/Makefile
src/lib/python/isc/sysinfo/Makefile
src/lib/python/isc/sysinfo/tests/Makefile
src/lib/python/isc/testutils/Makefile
......@@ -1664,16 +1523,7 @@ AC_CONFIG_FILES([compatcheck/Makefile
src/lib/python/isc/util/cio/tests/Makefile
src/lib/python/isc/util/Makefile
src/lib/python/isc/util/tests/Makefile
src/lib/python/isc/xfrin/Makefile
src/lib/python/isc/xfrin/tests/Makefile
src/lib/python/Makefile
src/lib/resolve/Makefile
src/lib/resolve/tests/Makefile
src/lib/server_common/Makefile
src/lib/server_common/tests/data_path.h
src/lib/server_common/tests/Makefile
src/lib/statistics/Makefile
src/lib/statistics/tests/Makefile
src/lib/testutils/Makefile
src/lib/testutils/testdata/Makefile
src/lib/util/io/Makefile
......@@ -1687,14 +1537,8 @@ AC_CONFIG_FILES([compatcheck/Makefile
src/lib/util/threads/Makefile
src/lib/util/threads/tests/Makefile
src/lib/util/unittests/Makefile
src/lib/xfr/Makefile
src/lib/xfr/tests/Makefile
src/Makefile
tests/lettuce/Makefile
tests/lettuce/setup_intree_bind10.sh
tests/Makefile
tests/tools/badpacket/Makefile
tests/tools/badpacket/tests/Makefile
tests/tools/Makefile
tests/tools/perfdhcp/Makefile
tests/tools/perfdhcp/tests/Makefile
......@@ -1708,19 +1552,9 @@ AC_CONFIG_FILES([compatcheck/Makefile
chmod +x src/bin/bindctl/tests/bindctl_test
chmod +x src/bin/cmdctl/run_b10-cmdctl.sh
chmod +x src/bin/cmdctl/tests/cmdctl_test
chmod +x src/bin/dbutil/run_dbutil.sh
chmod +x src/bin/dbutil/tests/dbutil_test.sh
chmod +x src/bin/loadzone/run_loadzone.sh
chmod +x src/bin/loadzone/tests/correct/correct_test.sh
chmod +x src/bin/msgq/run_msgq.sh
chmod +x src/bin/sysinfo/run_sysinfo.sh
chmod +x src/bin/usermgr/run_b10-cmdctl-usermgr.sh
chmod +x src/bin/xfrin/run_b10-xfrin.sh
chmod +x src/bin/xfrin/tests/xfrin_test
chmod +x src/bin/xfrout/run_b10-xfrout.sh
chmod +x src/bin/xfrout/tests/xfrout_test
chmod +x src/bin/zonemgr/run_b10-zonemgr.sh
chmod +x src/bin/zonemgr/tests/zonemgr_test
chmod +x src/lib/dns/gen-rdatacode.py
chmod +x src/lib/log/tests/console_test.sh
chmod +x src/lib/log/tests/destination_test.sh
......@@ -1741,7 +1575,7 @@ dnl
cat > config.report << END
BIND 10 source configure results:
Kea source configure results:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Package:
......@@ -1833,11 +1667,6 @@ fi
cat >> config.report << END
Components:
DHCP: $want_dhcp
DNS: $want_dns
Experimental resolver: $want_experimental_resolver
Features:
$enable_features
......
......@@ -26,7 +26,7 @@ DOXYFILE_ENCODING = UTF-8
# identify the project. Note that if you do not use Doxywizard you need
# to put quotes around the project name if it contains spaces.
PROJECT_NAME = BIND10
PROJECT_NAME = Kea
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
# This could be handy for archiving the generated documentation or
......@@ -661,22 +661,15 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = ../src/bin/auth \
../src/bin/d2 \
INPUT = ../src/bin/d2 \
../src/bin/dhcp4 \
../src/bin/dhcp6 \
../src/bin/resolver \
../src/bin/sockcreator \
../src/hooks/dhcp/user_chk \
../src/lib/acl \
../src/lib/asiolink \
../src/lib/bench \
../src/lib/cache \
../src/lib/cc \
../src/lib/config \
../src/lib/cryptolink \
../src/lib/datasrc \
../src/lib/datasrc/memory \
../src/lib/dhcp \
../src/lib/dhcp_ddns \
../src/lib/dhcpsrv \
......@@ -685,10 +678,7 @@ INPUT = ../src/bin/auth \
../src/lib/hooks \
../src/lib/log \
../src/lib/log/compiler \
../src/lib/nsas \
../src/lib/resolve \
../src/lib/server_common \
../src/lib/statistics \
../src/lib/testutils \
../src/lib/util \
../src/lib/util/io \
......
/**
*
* @page dns BIND10 DNS
*
* @section dns-auth b10-auth
*
* @todo: Describe b10-auth here.
*
* @section b10-cfgmgr b10-cfgmgr Overview
*
* @todo: Describe b10-cfgmgr here.
*
*
*/
// Copyright (C) 2012-2013 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2012-2014 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
......@@ -13,29 +13,28 @@
// PERFORMANCE OF THIS SOFTWARE.
/**
* @mainpage BIND10 Developer's Guide
* @mainpage Kea Developer's Guide
*
* Welcome to BIND10 Developer's Guide. This documentation is addressed
* Welcome to Kea Developer's Guide. This documentation is addressed
* at existing and prospecting developers and programmers and provides
* information needed to both extend and maintain BIND 10.
*
* If you wish to write "hook" code - code that is loaded by BIND 10 at
* If you wish to write "hook" code - code that is loaded by Kea at
* run-time and modifies its behavior you should read the section
* @ref hooksdgDevelopersGuide.
*
* BIND 10 maintenance information is divided into a number of sections
* depending on focus. DNS-specific issues are covered in the
* @ref dnsMaintenanceGuide while information on DHCP-specific topics can
* be found in the @ref dhcpMaintenanceGuide. General BIND 10 topics, not
* specific to any protocol, are discussed in @ref miscellaneousTopics.
* Kea maintenance information is divided into a number of sections
* depending on focus. Information on DHCP-specific topics can be found
* in the @ref dhcpMaintenanceGuide. General topics, are discussed in
* @ref miscellaneousTopics.
*
* If you are a user or system administrator, rather than software engineer,
* you should read the
* <a href="http://bind10.isc.org/docs/bind10-guide.html">BIND10
* Guide (Administrator Reference for BIND10)</a> instead.
* <a href="http://kea.isc.org/docs/bind10-guide.html">Kea
* Guide (Administrator Reference for Kea)</a> instead.
*
* Regardless of your field of expertise, you are encouraged to visit the
* <a href="http://bind10.isc.org/">BIND10 webpage (http://bind10.isc.org)</a>
* <a href="http://kea.isc.org/">Kea webpage (http://kea.isc.org)</a>
*
* @section contrib Contributor's Guide
* - @subpage contributorGuide
......@@ -48,11 +47,6 @@
* - @subpage hooksmgMaintenanceGuide
* - @subpage libdhcp_user_chk
*
* @section dnsMaintenanceGuide DNS Maintenance Guide
* - Authoritative DNS (todo)
* - Recursive resolver (todo)
* - @subpage DataScrubbing
*
* @section dhcpMaintenanceGuide DHCP Maintenance Guide
* - @subpage dhcp4
* - @subpage dhcpv4Session
......
if WANT_DHCP
want_hooks = hooks
endif # WANT_DHCP
SUBDIRS = lib bin $(want_hooks)
SUBDIRS = lib bin hooks
EXTRA_DIST = \
cppcheck-suppress.lst \
......
if WANT_DHCP
want_d2 = d2
want_dhcp4 = dhcp4
want_dhcp6 = dhcp6
endif # WANT_DHCP
if WANT_DNS
want_auth = auth
want_dbutil = dbutil
want_ddns = ddns
want_loadzone = loadzone
want_xfrin = xfrin
want_xfrout = xfrout
want_zonemgr = zonemgr
if WANT_EXPERIMENTAL_RESOLVER
want_resolver = resolver
endif
if USE_SHARED_MEMORY
# Build the memory manager only if we have shared memory.
# It is useless without it.
want_memmgr = memmgr
endif
endif # WANT_DNS
# The following build order must be maintained. So we create the
# variables above and add directories in that order to SUBDIRS.
SUBDIRS = bind10 bindctl cfgmgr $(want_ddns) $(want_loadzone) msgq cmdctl \
$(want_auth) $(want_xfrin) $(want_xfrout) usermgr $(want_zonemgr) \
stats tests $(want_resolver) sockcreator $(want_dhcp4) $(want_dhcp6) \
$(want_d2) $(want_dbutil) sysinfo $(want_memmgr)
# The following build order must be maintained.
SUBDIRS = bind10 bindctl cfgmgr msgq cmdctl \
usermgr stats tests sockcreator dhcp4 dhcp6 \
d2 sysinfo
check-recursive: all-recursive
/auth.spec
/auth.spec.pre
/auth_messages.cc
/auth_messages.h
/b10-auth
/spec_config.h
/spec_config.h.pre
/b10-auth.8
/b10-auth.xml
/gen-statisticsitems.py
/gen-statisticsitems.py.pre
/statistics.cc
/statistics_items.h
/s-genstats
/s-messages
SUBDIRS = . tests benchmarks
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += -I$(top_srcdir)/src/bin -I$(top_builddir)/src/bin
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/dns -I$(top_builddir)/src/lib/dns
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/cc -I$(top_builddir)/src/lib/cc
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/asiolink
AM_CPPFLAGS += -I$(top_builddir)/src/lib/asiolink
AM_CPPFLAGS += $(BOOST_INCLUDES)
AM_CXXFLAGS = $(B10_CXXFLAGS)
if USE_STATIC_LINK
AM_LDFLAGS = -static
endif
pkglibexecdir = $(libexecdir)/@PACKAGE@
CLEANFILES = *.gcno *.gcda auth.spec spec_config.h
CLEANFILES += auth_messages.h auth_messages.cc
CLEANFILES += gen-statisticsitems.py
# auto-generated by gen-statisticsitems.py
CLEANFILES += statistics.cc statistics_items.h b10-auth.xml tests/statistics_unittest.cc s-genstats s-messages
man_MANS = b10-auth.8
DISTCLEANFILES = $(man_MANS)
EXTRA_DIST = $(man_MANS) b10-auth.xml
if GENERATE_DOCS
b10-auth.8: b10-auth.xml
@XSLTPROC@ --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(builddir)/b10-auth.xml
else
$(man_MANS):
@echo Man generation disabled. Creating dummy $@. Configure with --enable-generate-docs to enable it.
@echo Man generation disabled. Remove this file, configure with --enable-generate-docs, and rebuild BIND 10 > $@
endif
auth.spec: auth.spec.pre statistics_msg_items.def
b10-auth.xml: b10-auth.xml.pre statistics_msg_items.def
statistics_items.h: statistics_items.h.pre statistics_msg_items.def
statistics.cc: statistics.cc.pre statistics_msg_items.def
tests/statistics_unittest.cc: tests/statistics_unittest.cc.pre statistics_msg_items.def
gen-statisticsitems.py: gen-statisticsitems.py.pre Makefile
$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" gen-statisticsitems.py.pre >$@
chmod +x $@
auth.spec b10-auth.xml statistics_items.h statistics.cc tests/statistics_unittest.cc: s-genstats
s-genstats: gen-statisticsitems.py
./gen-statisticsitems.py
touch $@
spec_config.h: spec_config.h.pre
$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@
auth_messages.h auth_messages.cc: s-messages
s-messages: auth_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/auth/auth_messages.mes
touch $@
BUILT_SOURCES = spec_config.h auth_messages.h auth_messages.cc
# auto-generated by gen-statisticsitems.py
BUILT_SOURCES += statistics_items.h statistics.cc
pkglibexec_PROGRAMS = b10-auth
b10_auth_SOURCES = query.cc query.h
b10_auth_SOURCES += auth_srv.cc auth_srv.h
b10_auth_SOURCES += auth_log.cc auth_log.h
b10_auth_SOURCES += auth_config.cc auth_config.h
b10_auth_SOURCES += command.cc command.h
b10_auth_SOURCES += common.h common.cc
b10_auth_SOURCES += statistics.h
b10_auth_SOURCES += datasrc_clients_mgr.h
b10_auth_SOURCES += datasrc_config.h datasrc_config.cc
b10_auth_SOURCES += main.cc
nodist_b10_auth_SOURCES = auth_messages.h auth_messages.cc
nodist_b10_auth_SOURCES += statistics.cc statistics_items.h
EXTRA_DIST += auth_messages.mes
EXTRA_DIST += statistics_msg_items.def
EXTRA_DIST += b10-auth.xml.pre
EXTRA_DIST += statistics_items.h.pre statistics.cc.pre
EXTRA_DIST += tests/statistics_unittest.cc.pre
b10_auth_LDADD = $(top_builddir)/src/lib/datasrc/libb10-datasrc.la
b10_auth_LDADD += $(top_builddir)/src/lib/dns/libb10-dns++.la
b10_auth_LDADD += $(top_builddir)/src/lib/util/libb10-util.la
b10_auth_LDADD += $(top_builddir)/src/lib/util/io/libb10-util-io.la
b10_auth_LDADD += $(top_builddir)/src/lib/config/libb10-cfgclient.la
b10_auth_LDADD += $(top_builddir)/src/lib/cc/libb10-cc.la
b10_auth_LDADD += $(top_builddir)/src/lib/exceptions/libb10-exceptions.la
b10_auth_LDADD += $(top_builddir)/src/lib/asiodns/libb10-asiodns.la
b10_auth_LDADD += $(top_builddir)/src/lib/asiolink/libb10-asiolink.la
b10_auth_LDADD += $(top_builddir)/src/lib/log/libb10-log.la
b10_auth_LDADD += $(top_builddir)/src/lib/xfr/libb10-xfr.la
b10_auth_LDADD += $(top_builddir)/src/lib/server_common/libb10-server-common.la
b10_auth_LDADD += $(top_builddir)/src/lib/util/threads/libb10-threads.la
b10_auth_LDADD += $(SQLITE_LIBS)
# TODO: config.h.in is wrong because doesn't honor pkgdatadir
# and can't use @datadir@ because doesn't expand default ${prefix}
b10_authdir = $(pkgdatadir)
b10_auth_DATA = auth.spec
{
"module_spec": {
"module_name": "Auth",
"module_description": "Authoritative service",
"config_data": [
{ "item_name": "database_file",
"item_type": "string",
"item_optional": true,
"item_default": "@@LOCALSTATEDIR@@/@PACKAGE@/zone.sqlite3"
},
{ "item_name": "datasources",
"item_type": "list",
"item_optional": true,
"item_default": [],
"list_item_spec":
{ "item_name": "list_element",
"item_type": "map",
"item_optional": false,
"item_default": {},
"map_item_spec": [
{ "item_name": "type",
"item_type": "string",
"item_optional": false,
"item_default": ""
},
{ "item_name": "class",
"item_type": "string",
"item_optional": false,
"item_default": "IN"
},
{ "item_name": "zones",
"item_type": "list",
"item_optional": false,
"item_default": [],
"list_item_spec":