Commit 10de8bba authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[3391] Removed DNS specific folders from the tree.

Also, updated configure.ac to not reference removed files. The
--disable-dhcp and --disable-dns configuration flags have been removed.
parent 197f6749
......@@ -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.
......@@ -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
......@@ -1618,11 +1497,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 +1507,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 +1515,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 +1524,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 +1538,10 @@ 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 +1555,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
......
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":
{ "item_name": "list_element",
"item_type": "map",
"item_optional": true,
"item_default": { "origin": "", "file": "" },
"map_item_spec": [
{ "item_name": "origin",
"item_type": "string",
"item_optional": false,
"item_default": ""
},
{ "item_name": "file",
"item_type": "string",
"item_optional": false,
"item_default": ""
},
{ "item_name": "filetype",
"item_type": "string",
"item_optional": true
}]
}
}]
}
},
{
"item_name": "listen_on",
"item_type": "list",
"item_optional": false,
"item_default": [
{
"address": "::",
"port": 53
},
{
"address": "0.0.0.0",
"port": 53
}
],
"list_item_spec": {
"item_name": "address",
"item_type": "map",
"item_optional": false,
"item_default": {},
"map_item_spec": [
{
"item_name": "address",
"item_type": "string",
"item_optional": false,
"item_default": "::1"
},
{
"item_name": "port",
"item_type": "integer",
"item_optional": false,
"item_default": 53
}
]
}
},
{ "item_name": "tcp_recv_timeout",
"item_type": "integer",
"item_optional": false,
"item_default": 5000
}
],
"commands": [
{
"command_name": "shutdown",
"command_description": "Shut down authoritative DNS server",
"command_args": [
{
"item_name": "pid",
"item_type": "integer",
"item_optional": true
}
]
},
{
"command_name": "getstats",
"command_description": "Retrieve statistics data",
"command_args": []
},
{
"command_name": "loadzone",
"command_description": "(Re)load a specified zone",
"command_args": [
{
"item_name": "class", "item_type": "string",
"item_optional": true, "item_default": "IN"
},
{
"item_name": "origin", "item_type": "string",
"item_optional": false, "item_default": ""
}
]
},
{
"command_name": "start_ddns_forwarder",
"command_description": "(Re)start internal forwarding of DDNS Update messages. This is automatically called if b10-ddns is started, and is not expected to be called by administrators; it will be removed as a public command in the future.",
"command_args": []
},
{
"command_name": "stop_ddns_forwarder",
"command_description": "Stop internal forwarding of DDNS Update messages. This is automatically called if b10-ddns is stopped, and is not expected to be called by administrators; it will be removed as a public command in the future.",
"command_args": []
}
],
"statistics": [
]
}
}
// Copyright (C) 2010 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
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
// AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
#include <dns/name.h>
#include <dns/rrclass.h>
#include <cc/data.h>
#include <datasrc/factory.h>
#include <auth/auth_srv.h>
#include <auth/auth_config.h>
#include <auth/common.h>
#include <server_common/portconfig.h>
#include <boost/foreach.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/scoped_ptr.hpp>
#include <set>
#include <string>
#include <utility>
#include <vector>
using namespace std;
using namespace isc::dns;
using namespace isc::data;
using namespace isc::datasrc;
using namespace isc::server_common::portconfig;
namespace {
/// A derived \c AuthConfigParser for the version value