|
Tomas Hozza |
4fa997 |
diff --git a/bin/Makefile.in b/bin/Makefile.in
|
|
|
a38c25 |
index ce7a2da..4e6a824 100644
|
|
Tomas Hozza |
4fa997 |
--- a/bin/Makefile.in
|
|
Tomas Hozza |
4fa997 |
+++ b/bin/Makefile.in
|
|
|
a38c25 |
@@ -11,8 +11,8 @@ srcdir = @srcdir@
|
|
Adam Tkac |
f12e46 |
VPATH = @srcdir@
|
|
Adam Tkac |
f12e46 |
top_srcdir = @top_srcdir@
|
|
Adam Tkac |
f12e46 |
|
|
|
a38c25 |
-SUBDIRS = named named-pkcs11 rndc dig delv dnssec dnssec-pkcs11 tools nsupdate \
|
|
|
a38c25 |
- check confgen @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ tests
|
|
|
a38c25 |
+SUBDIRS = named named-sdb named-pkcs11 rndc dig delv dnssec dnssec-pkcs11 tools nsupdate \
|
|
|
a38c25 |
+ check confgen @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ sdb_tools tests
|
|
Adam Tkac |
f12e46 |
TARGETS =
|
|
Adam Tkac |
f12e46 |
|
|
Adam Tkac |
f12e46 |
@BIND9_MAKE_RULES@
|
|
Tomas Hozza |
4fa997 |
diff --git a/bin/named-sdb/Makefile.in b/bin/named-sdb/Makefile.in
|
|
|
841d88 |
index 4cfed4d..c6b42b2 100644
|
|
Tomas Hozza |
4fa997 |
--- a/bin/named-sdb/Makefile.in
|
|
Tomas Hozza |
4fa997 |
+++ b/bin/named-sdb/Makefile.in
|
|
|
a38c25 |
@@ -30,10 +30,10 @@ VERSION=@BIND9_VERSION@
|
|
Tomas Hozza |
4fa997 |
#
|
|
Tomas Hozza |
4fa997 |
# Add database drivers here.
|
|
Tomas Hozza |
4fa997 |
#
|
|
Tomas Hozza |
4fa997 |
-DBDRIVER_OBJS =
|
|
Tomas Hozza |
4fa997 |
-DBDRIVER_SRCS =
|
|
Tomas Hozza |
4fa997 |
+DBDRIVER_OBJS = ldapdb.@O@ pgsqldb.@O@ sqlitedb.@O@ dirdb.@O@
|
|
Tomas Hozza |
4fa997 |
+DBDRIVER_SRCS = ldapdb.c pgsqldb.c sqlitedb.c dirdb.c
|
|
Tomas Hozza |
4fa997 |
DBDRIVER_INCLUDES =
|
|
Tomas Hozza |
4fa997 |
-DBDRIVER_LIBS =
|
|
Tomas Hozza |
4fa997 |
+DBDRIVER_LIBS = -lldap -llber -lsqlite3 -lpq
|
|
Adam Tkac |
f12e46 |
|
|
Tomas Hozza |
4fa997 |
DLZ_DRIVER_DIR = ${top_srcdir}/contrib/dlz/drivers
|
|
Adam Tkac |
f12e46 |
|
|
|
371a1e |
@@ -80,7 +80,7 @@ NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
|
|
Adam Tkac |
e99cc3 |
|
|
Adam Tkac |
f12e46 |
SUBDIRS = unix
|
|
Adam Tkac |
f12e46 |
|
|
|
d0d728 |
-TARGETS = named@EXEEXT@ lwresd@EXEEXT@ feature-test@EXEEXT@
|
|
|
d0d728 |
+TARGETS = named-sdb@EXEEXT@ feature-test-sdb@EXEEXT@
|
|
Adam Tkac |
f12e46 |
|
|
Tomas Hozza |
4fa997 |
GEOIPLINKOBJS = geoip.@O@
|
|
|
371a1e |
GEOIP2LINKOBJS = geoip.@O@
|
|
|
371a1e |
@@ -154,7 +154,7 @@ server.@O@: server.c
|
|
Michal Ruprich |
d886cd |
-DPRODUCT=\"${PRODUCT}\" \
|
|
Michal Ruprich |
d886cd |
-DVERSION=\"${VERSION}\" -c ${srcdir}/server.c
|
|
|
102df2 |
|
|
|
cb2172 |
-named@EXEEXT@: ${OBJS} ${DEPLIBS}
|
|
|
cb2172 |
+named-sdb@EXEEXT@: ${OBJS} ${DEPLIBS}
|
|
Tomas Hozza |
4fa997 |
export MAKE_SYMTABLE="yes"; \
|
|
Tomas Hozza |
4fa997 |
export BASEOBJS="${OBJS} ${UOBJS}"; \
|
|
Tomas Hozza |
4fa997 |
${FINALBUILDCMD}
|
|
|
371a1e |
@@ -168,7 +168,7 @@ feature-test.@O@: ${top_srcdir}/bin/tests/system/feature-test.c
|
|
|
d0d728 |
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
|
d0d728 |
-c ${top_srcdir}/bin/tests/system/feature-test.c
|
|
|
d0d728 |
|
|
|
d0d728 |
-feature-test@EXEEXT@: feature-test.@O@
|
|
|
d0d728 |
+feature-test-sdb@EXEEXT@: feature-test.@O@
|
|
|
d0d728 |
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} \
|
|
|
d0d728 |
-o $@ feature-test.@O@ ${ISCLIBS} ${LIBS}
|
|
|
d0d728 |
|
|
|
371a1e |
@@ -190,8 +190,6 @@ statschannel.@O@: bind9.xsl.h
|
|
Adam Tkac |
c9b941 |
|
|
Tomas Hozza |
4fa997 |
installdirs:
|
|
Tomas Hozza |
4fa997 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
|
|
Tomas Hozza |
4fa997 |
- $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man5
|
|
Tomas Hozza |
4fa997 |
- $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
|
|
|
102df2 |
|
|
|
20ccb8 |
install-man5: named.conf.5
|
|
|
20ccb8 |
${INSTALL_DATA} $^ ${DESTDIR}${mandir}/man5
|
|
|
371a1e |
@@ -201,16 +199,11 @@ install-man8: named.8 lwresd.8
|
|
|
20ccb8 |
|
|
|
20ccb8 |
install-man: install-man5 install-man8
|
|
|
20ccb8 |
|
|
|
20ccb8 |
-install:: named@EXEEXT@ lwresd@EXEEXT@ installdirs install-man
|
|
Tomas Hozza |
4fa997 |
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named@EXEEXT@ ${DESTDIR}${sbindir}
|
|
Tomas Hozza |
4fa997 |
- (cd ${DESTDIR}${sbindir}; rm -f lwresd@EXEEXT@; @LN@ named@EXEEXT@ lwresd@EXEEXT@)
|
|
|
20ccb8 |
+install:: ${TARGETS} installdirs
|
|
Tomas Hozza |
4fa997 |
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-sdb@EXEEXT@ ${DESTDIR}${sbindir}
|
|
Tomas Hozza |
4fa997 |
|
|
|
102df2 |
uninstall::
|
|
|
102df2 |
- rm -f ${DESTDIR}${mandir}/man5/named.conf.5
|
|
|
102df2 |
- rm -f ${DESTDIR}${mandir}/man8/lwresd.8
|
|
|
102df2 |
- rm -f ${DESTDIR}${mandir}/man8/named.8
|
|
|
102df2 |
- rm -f ${DESTDIR}${sbindir}/lwresd@EXEEXT@
|
|
|
102df2 |
- ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named@EXEEXT@
|
|
|
102df2 |
+ ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named-sdb@EXEEXT@
|
|
|
102df2 |
|
|
Tomas Hozza |
4fa997 |
@DLZ_DRIVER_RULES@
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
diff --git a/bin/named-sdb/main.c b/bin/named-sdb/main.c
|
|
|
371a1e |
index 108b8d6..a943421 100644
|
|
Tomas Hozza |
4fa997 |
--- a/bin/named-sdb/main.c
|
|
Tomas Hozza |
4fa997 |
+++ b/bin/named-sdb/main.c
|
|
|
d0d728 |
@@ -93,6 +93,10 @@
|
|
Adam Tkac |
15c5cd |
* Include header files for database drivers here.
|
|
Adam Tkac |
15c5cd |
*/
|
|
Adam Tkac |
15c5cd |
/* #include "xxdb.h" */
|
|
Adam Tkac |
15c5cd |
+#include "ldapdb.h"
|
|
Adam Tkac |
15c5cd |
+#include "pgsqldb.h"
|
|
Tomas Hozza |
4fa997 |
+#include "sqlitedb.h"
|
|
Adam Tkac |
15c5cd |
+#include "dirdb.h"
|
|
Adam Tkac |
15c5cd |
|
|
Adam Tkac |
86c080 |
#ifdef CONTRIB_DLZ
|
|
Adam Tkac |
15c5cd |
/*
|
|
|
371a1e |
@@ -1069,6 +1073,11 @@ setup(void) {
|
|
Adam Tkac |
15c5cd |
ns_main_earlyfatal("isc_app_start() failed: %s",
|
|
Adam Tkac |
15c5cd |
isc_result_totext(result));
|
|
Adam Tkac |
15c5cd |
|
|
Adam Tkac |
15c5cd |
+ ldapdb_clear();
|
|
Adam Tkac |
15c5cd |
+ pgsqldb_clear();
|
|
Adam Tkac |
15c5cd |
+ dirdb_clear();
|
|
Tomas Hozza |
4fa997 |
+ sqlitedb_clear();
|
|
Adam Tkac |
15c5cd |
+
|
|
Adam Tkac |
15c5cd |
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Michal Ruprich |
d886cd |
ISC_LOG_NOTICE, "starting %s %s%s%s <id:%s>",
|
|
Tomas Hozza |
a3771c |
ns_g_product, ns_g_version,
|
|
|
371a1e |
@@ -1269,6 +1278,75 @@ setup(void) {
|
|
Adam Tkac |
15c5cd |
isc_result_totext(result));
|
|
Adam Tkac |
15c5cd |
#endif
|
|
Adam Tkac |
15c5cd |
|
|
Adam Tkac |
15c5cd |
+ result = ldapdb_init();
|
|
Adam Tkac |
15c5cd |
+ if (result != ISC_R_SUCCESS)
|
|
Adam Tkac |
15c5cd |
+ {
|
|
Adam Tkac |
15c5cd |
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Adam Tkac |
15c5cd |
+ ISC_LOG_ERROR,
|
|
Adam Tkac |
15c5cd |
+ "SDB ldap module initialisation failed: %s.",
|
|
Adam Tkac |
15c5cd |
+ isc_result_totext(result)
|
|
Adam Tkac |
15c5cd |
+ );
|
|
Adam Tkac |
15c5cd |
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Adam Tkac |
15c5cd |
+ ISC_LOG_ERROR,
|
|
Adam Tkac |
15c5cd |
+ "SDB ldap zone database will be unavailable."
|
|
Adam Tkac |
15c5cd |
+ );
|
|
Adam Tkac |
15c5cd |
+ }else
|
|
Adam Tkac |
15c5cd |
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Adam Tkac |
15c5cd |
+ ISC_LOG_NOTICE, "SDB ldap zone database module loaded."
|
|
Adam Tkac |
15c5cd |
+ );
|
|
Adam Tkac |
15c5cd |
+
|
|
Adam Tkac |
15c5cd |
+ result = pgsqldb_init();
|
|
Adam Tkac |
15c5cd |
+ if (result != ISC_R_SUCCESS)
|
|
Adam Tkac |
15c5cd |
+ {
|
|
Adam Tkac |
15c5cd |
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Adam Tkac |
15c5cd |
+ ISC_LOG_ERROR,
|
|
Adam Tkac |
15c5cd |
+ "SDB pgsql module initialisation failed: %s.",
|
|
Adam Tkac |
15c5cd |
+ isc_result_totext(result)
|
|
Adam Tkac |
15c5cd |
+ );
|
|
Adam Tkac |
15c5cd |
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Adam Tkac |
15c5cd |
+ ISC_LOG_ERROR,
|
|
Adam Tkac |
15c5cd |
+ "SDB pgsql zone database will be unavailable."
|
|
Adam Tkac |
15c5cd |
+ );
|
|
Adam Tkac |
15c5cd |
+ }else
|
|
Adam Tkac |
15c5cd |
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Adam Tkac |
15c5cd |
+ ISC_LOG_NOTICE, "SDB postgreSQL DB zone database module loaded."
|
|
Adam Tkac |
15c5cd |
+ );
|
|
Adam Tkac |
15c5cd |
+
|
|
Tomas Hozza |
4fa997 |
+ result = sqlitedb_init();
|
|
Tomas Hozza |
4fa997 |
+ if (result != ISC_R_SUCCESS)
|
|
Tomas Hozza |
4fa997 |
+ {
|
|
Tomas Hozza |
4fa997 |
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Tomas Hozza |
4fa997 |
+ ISC_LOG_ERROR,
|
|
Tomas Hozza |
4fa997 |
+ "SDB sqlite3 module initialisation failed: %s.",
|
|
Tomas Hozza |
4fa997 |
+ isc_result_totext(result)
|
|
Tomas Hozza |
4fa997 |
+ );
|
|
Tomas Hozza |
4fa997 |
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Tomas Hozza |
4fa997 |
+ ISC_LOG_ERROR,
|
|
Tomas Hozza |
4fa997 |
+ "SDB sqlite3 zone database will be unavailable."
|
|
Tomas Hozza |
4fa997 |
+ );
|
|
Tomas Hozza |
4fa997 |
+ }else
|
|
Tomas Hozza |
4fa997 |
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Tomas Hozza |
4fa997 |
+ ISC_LOG_NOTICE, "SDB sqlite3 DB zone database module loaded."
|
|
Tomas Hozza |
4fa997 |
+ );
|
|
Tomas Hozza |
4fa997 |
+
|
|
Adam Tkac |
15c5cd |
+ result = dirdb_init();
|
|
Adam Tkac |
15c5cd |
+ if (result != ISC_R_SUCCESS)
|
|
Adam Tkac |
15c5cd |
+ {
|
|
Adam Tkac |
15c5cd |
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Adam Tkac |
15c5cd |
+ ISC_LOG_ERROR,
|
|
Adam Tkac |
15c5cd |
+ "SDB directory DB module initialisation failed: %s.",
|
|
Adam Tkac |
15c5cd |
+ isc_result_totext(result)
|
|
Adam Tkac |
15c5cd |
+ );
|
|
Adam Tkac |
15c5cd |
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Adam Tkac |
15c5cd |
+ ISC_LOG_ERROR,
|
|
Adam Tkac |
15c5cd |
+ "SDB directory DB zone database will be unavailable."
|
|
Adam Tkac |
15c5cd |
+ );
|
|
Adam Tkac |
15c5cd |
+ }else
|
|
Adam Tkac |
15c5cd |
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Adam Tkac |
15c5cd |
+ ISC_LOG_NOTICE, "SDB directory DB zone database module loaded."
|
|
Adam Tkac |
15c5cd |
+ );
|
|
Adam Tkac |
15c5cd |
+
|
|
Tomas Hozza |
4fa997 |
+
|
|
Adam Tkac |
15c5cd |
ns_server_create(ns_g_mctx, &ns_g_server);
|
|
Adam Tkac |
15c5cd |
|
|
Tomas Hozza |
4fa997 |
#ifdef HAVE_LIBSECCOMP
|
|
|
371a1e |
@@ -1311,6 +1389,11 @@ cleanup(void) {
|
|
Adam Tkac |
15c5cd |
|
|
Adam Tkac |
15c5cd |
dns_name_destroy();
|
|
Adam Tkac |
15c5cd |
|
|
Tomas Hozza |
4fa997 |
+ ldapdb_clear();
|
|
Tomas Hozza |
4fa997 |
+ pgsqldb_clear();
|
|
Tomas Hozza |
4fa997 |
+ sqlitedb_clear();
|
|
Tomas Hozza |
4fa997 |
+ dirdb_clear();
|
|
Adam Tkac |
15c5cd |
+
|
|
Adam Tkac |
15c5cd |
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
Adam Tkac |
15c5cd |
ISC_LOG_NOTICE, "exiting");
|
|
Adam Tkac |
15c5cd |
ns_log_shutdown();
|
|
Tomas Hozza |
4fa997 |
diff --git a/bin/named/Makefile.in b/bin/named/Makefile.in
|
|
|
841d88 |
index 4cfed4d..f4bce7b 100644
|
|
Tomas Hozza |
4fa997 |
--- a/bin/named/Makefile.in
|
|
Tomas Hozza |
4fa997 |
+++ b/bin/named/Makefile.in
|
|
|
371a1e |
@@ -45,10 +45,10 @@ DLZDRIVER_LIBS = @DLZ_DRIVER_LIBS@
|
|
Tomas Hozza |
4fa997 |
CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include -I. \
|
|
Tomas Hozza |
4fa997 |
${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
|
|
Tomas Hozza |
4fa997 |
${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES} \
|
|
|
371a1e |
- ${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES} ${MAXMINDDB_CFLAGS} \
|
|
|
371a1e |
+ ${MAXMINDDB_CFLAGS} \
|
|
|
371a1e |
@DST_OPENSSL_INC@
|
|
Adam Tkac |
300cfc |
|
|
|
841d88 |
-CDEFINES = @CONTRIB_DLZ@ @USE_GSSAPI@ @CRYPTO@
|
|
|
841d88 |
+CDEFINES = @USE_GSSAPI@ @CRYPTO@
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
CWARNINGS =
|
|
Tomas Hozza |
4fa997 |
|
|
|
371a1e |
@@ -72,11 +72,11 @@ DEPLIBS = ${LWRESDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} \
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
|
|
Tomas Hozza |
4fa997 |
${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} \
|
|
Tomas Hozza |
4fa997 |
- ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@
|
|
Tomas Hozza |
4fa997 |
+ @LIBS@
|
|
Adam Tkac |
300cfc |
|
|
Tomas Hozza |
4fa997 |
NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
|
|
Tomas Hozza |
4fa997 |
${ISCCFGLIBS} ${ISCCCLIBS} ${ISCNOSYMLIBS} \
|
|
Tomas Hozza |
4fa997 |
- ${DLZDRIVER_LIBS} ${DBDRIVER_LIBS} @LIBS@
|
|
Tomas Hozza |
4fa997 |
+ @LIBS@
|
|
Adam Tkac |
300cfc |
|
|
Adam Tkac |
300cfc |
SUBDIRS = unix
|
|
Adam Tkac |
300cfc |
|
|
|
371a1e |
@@ -94,8 +94,7 @@ OBJS = builtin.@O@ client.@O@ config.@O@ control.@O@ \
|
|
Tomas Hozza |
4fa997 |
tkeyconf.@O@ tsigconf.@O@ update.@O@ xfrout.@O@ \
|
|
Tomas Hozza |
4fa997 |
zoneconf.@O@ \
|
|
Tomas Hozza |
4fa997 |
lwaddr.@O@ lwresd.@O@ lwdclient.@O@ lwderror.@O@ lwdgabn.@O@ \
|
|
Tomas Hozza |
4fa997 |
- lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@ \
|
|
Tomas Hozza |
4fa997 |
- ${DLZDRIVER_OBJS} ${DBDRIVER_OBJS}
|
|
Tomas Hozza |
4fa997 |
+ lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@
|
|
Adam Tkac |
300cfc |
|
|
Tomas Hozza |
4fa997 |
UOBJS = unix/os.@O@ unix/dlz_dlopen_driver.@O@
|
|
Adam Tkac |
300cfc |
|
|
|
371a1e |
@@ -113,8 +112,7 @@ SRCS = builtin.c client.c config.c control.c \
|
|
Tomas Hozza |
4fa997 |
tkeyconf.c tsigconf.c update.c xfrout.c \
|
|
Tomas Hozza |
4fa997 |
zoneconf.c \
|
|
Tomas Hozza |
4fa997 |
lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \
|
|
Tomas Hozza |
4fa997 |
- lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c \
|
|
Tomas Hozza |
4fa997 |
- ${DLZDRIVER_SRCS} ${DBDRIVER_SRCS}
|
|
Tomas Hozza |
4fa997 |
+ lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c
|
|
Adam Tkac |
300cfc |
|
|
Tomas Hozza |
4fa997 |
MANPAGES = named.8 lwresd.8 named.conf.5
|
|
Adam Tkac |
300cfc |
|
|
|
371a1e |
@@ -212,7 +210,5 @@ uninstall::
|
|
|
102df2 |
rm -f ${DESTDIR}${sbindir}/lwresd@EXEEXT@
|
|
|
102df2 |
${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named@EXEEXT@
|
|
Adam Tkac |
300cfc |
|
|
Tomas Hozza |
4fa997 |
-@DLZ_DRIVER_RULES@
|
|
Tomas Hozza |
4fa997 |
-
|
|
Tomas Hozza |
4fa997 |
named-symtbl.@O@: named-symtbl.c
|
|
Tomas Hozza |
4fa997 |
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -c named-symtbl.c
|
|
Tomas Hozza |
4fa997 |
diff --git a/bin/sdb_tools/Makefile.in b/bin/sdb_tools/Makefile.in
|
|
|
102df2 |
index c7e0868..95ab742 100644
|
|
Tomas Hozza |
4fa997 |
--- a/bin/sdb_tools/Makefile.in
|
|
Tomas Hozza |
4fa997 |
+++ b/bin/sdb_tools/Makefile.in
|
|
Tomas Hozza |
4fa997 |
@@ -32,11 +32,11 @@ DEPLIBS = ${LWRESDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} \
|
|
Tomas Hozza |
4fa997 |
LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
|
|
Tomas Hozza |
4fa997 |
${ISCCFGLIBS} ${ISCCCLIBS} ${ISCLIBS} ${DBDRIVER_LIBS} @LIBS@
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
-TARGETS = zone2ldap@EXEEXT@ zonetodb@EXEEXT@
|
|
Tomas Hozza |
4fa997 |
+TARGETS = zone2ldap@EXEEXT@ zonetodb@EXEEXT@ zone2sqlite@EXEEXT@
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
-OBJS = zone2ldap.@O@ zonetodb.@O@
|
|
Tomas Hozza |
4fa997 |
+OBJS = zone2ldap.@O@ zonetodb.@O@ zone2sqlite.@O@
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
-SRCS = zone2ldap.c zonetodb.c
|
|
Tomas Hozza |
4fa997 |
+SRCS = zone2ldap.c zonetodb.c zone2sqlite.c
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
MANPAGES = zone2ldap.1
|
|
Adam Tkac |
c9b941 |
|
|
Tomas Hozza |
4fa997 |
@@ -50,6 +50,9 @@ zone2ldap@EXEEXT@: zone2ldap.@O@ ${DEPLIBS}
|
|
Tomas Hozza |
4fa997 |
zonetodb@EXEEXT@: zonetodb.@O@ ${DEPLIBS}
|
|
Tomas Hozza |
4fa997 |
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ zonetodb.@O@ -lpq ${LIBS}
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
+zone2sqlite@EXEEXT@: zone2sqlite.@O@ ${DEPLIBS}
|
|
Tomas Hozza |
4fa997 |
+ ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ zone2sqlite.@O@ -lsqlite3 -lssl ${LIBS}
|
|
Tomas Hozza |
4fa997 |
+
|
|
Tomas Hozza |
4fa997 |
clean distclean manclean maintainer-clean::
|
|
Tomas Hozza |
4fa997 |
rm -f ${TARGETS} ${OBJS}
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
@@ -60,4 +63,5 @@ installdirs:
|
|
Tomas Hozza |
4fa997 |
install:: ${TARGETS} installdirs
|
|
Tomas Hozza |
4fa997 |
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} zone2ldap@EXEEXT@ ${DESTDIR}${sbindir}
|
|
Tomas Hozza |
4fa997 |
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} zonetodb@EXEEXT@ ${DESTDIR}${sbindir}
|
|
Tomas Hozza |
4fa997 |
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} zone2sqlite@EXEEXT@ ${DESTDIR}${sbindir}
|
|
Tomas Hozza |
4fa997 |
${INSTALL_DATA} ${srcdir}/zone2ldap.1 ${DESTDIR}${mandir}/man1/zone2ldap.1
|
|
|
1e4169 |
diff --git a/configure.ac b/configure.ac
|
|
|
841d88 |
index f6380b1..318e533 100644
|
|
|
1e4169 |
--- a/configure.ac
|
|
|
1e4169 |
+++ b/configure.ac
|
|
|
841d88 |
@@ -5416,6 +5416,8 @@ AC_CONFIG_FILES([
|
|
Tomas Hozza |
4fa997 |
bin/named/unix/Makefile
|
|
Tomas Hozza |
dce2d1 |
bin/named-pkcs11/Makefile
|
|
Tomas Hozza |
dce2d1 |
bin/named-pkcs11/unix/Makefile
|
|
Adam Tkac |
f12e46 |
+ bin/named-sdb/Makefile
|
|
Adam Tkac |
f12e46 |
+ bin/named-sdb/unix/Makefile
|
|
Adam Tkac |
f12e46 |
bin/nsupdate/Makefile
|
|
Adam Tkac |
2fc1c6 |
bin/pkcs11/Makefile
|
|
Adam Tkac |
d6323c |
bin/python/Makefile
|
|
|
841d88 |
@@ -5440,6 +5442,7 @@ AC_CONFIG_FILES([
|
|
Michal Ruprich |
d886cd |
bin/python/isc/tests/dnskey_test.py
|
|
Michal Ruprich |
d886cd |
bin/python/isc/tests/policy_test.py
|
|
Adam Tkac |
5bc2b4 |
bin/rndc/Makefile
|
|
Adam Tkac |
5bc2b4 |
+ bin/sdb_tools/Makefile
|
|
Adam Tkac |
5bc2b4 |
bin/tests/Makefile
|
|
|
a38c25 |
bin/tests/headerdep_test.sh
|
|
|
a38c25 |
bin/tests/optional/Makefile
|