|
Tomas Hozza |
4fa997 |
diff --git a/bin/Makefile.in b/bin/Makefile.in
|
|
|
102df2 |
index 7d21984..015ff45 100644
|
|
Tomas Hozza |
4fa997 |
--- a/bin/Makefile.in
|
|
Tomas Hozza |
4fa997 |
+++ b/bin/Makefile.in
|
|
|
102df2 |
@@ -10,8 +10,8 @@ srcdir = @srcdir@
|
|
Adam Tkac |
f12e46 |
VPATH = @srcdir@
|
|
Adam Tkac |
f12e46 |
top_srcdir = @top_srcdir@
|
|
Adam Tkac |
f12e46 |
|
|
Tomas Hozza |
4fa997 |
-SUBDIRS = named named-pkcs11 rndc dig delv dnssec dnssec-pkcs11 tools tests nsupdate \
|
|
Michal Ruprich |
d886cd |
- check confgen @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@
|
|
Tomas Hozza |
4fa997 |
+SUBDIRS = named named-sdb named-pkcs11 rndc dig delv dnssec dnssec-pkcs11 tools tests nsupdate \
|
|
Michal Ruprich |
d886cd |
+ check confgen @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ sdb_tools
|
|
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
|
|
|
102df2 |
index 9c14b73..36e7916 100644
|
|
Tomas Hozza |
4fa997 |
--- a/bin/named-sdb/Makefile.in
|
|
Tomas Hozza |
4fa997 |
+++ b/bin/named-sdb/Makefile.in
|
|
|
102df2 |
@@ -23,10 +23,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 |
|
|
|
102df2 |
@@ -72,7 +72,7 @@ NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} \
|
|
Adam Tkac |
e99cc3 |
|
|
Adam Tkac |
f12e46 |
SUBDIRS = unix
|
|
Adam Tkac |
f12e46 |
|
|
Tomas Hozza |
4fa997 |
-TARGETS = named@EXEEXT@ lwresd@EXEEXT@
|
|
Tomas Hozza |
4fa997 |
+TARGETS = named-sdb@EXEEXT@
|
|
Adam Tkac |
f12e46 |
|
|
Tomas Hozza |
4fa997 |
GEOIPLINKOBJS = geoip.@O@
|
|
Adam Tkac |
f12e46 |
|
|
|
102df2 |
@@ -139,7 +139,7 @@ server.@O@: server.c
|
|
Michal Ruprich |
d886cd |
-DPRODUCT=\"${PRODUCT}\" \
|
|
Michal Ruprich |
d886cd |
-DVERSION=\"${VERSION}\" -c ${srcdir}/server.c
|
|
|
102df2 |
|
|
Tomas Hozza |
4fa997 |
-named@EXEEXT@: ${OBJS} ${UOBJS} ${DEPLIBS}
|
|
Tomas Hozza |
4fa997 |
+named-sdb@EXEEXT@: ${OBJS} ${UOBJS} ${DEPLIBS}
|
|
Tomas Hozza |
4fa997 |
export MAKE_SYMTABLE="yes"; \
|
|
Tomas Hozza |
4fa997 |
export BASEOBJS="${OBJS} ${UOBJS}"; \
|
|
Tomas Hozza |
4fa997 |
${FINALBUILDCMD}
|
|
|
102df2 |
@@ -166,22 +166,12 @@ 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 |
|
|
Tomas Hozza |
4fa997 |
-install:: named@EXEEXT@ lwresd@EXEEXT@ installdirs
|
|
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@)
|
|
Tomas Hozza |
4fa997 |
- ${INSTALL_DATA} ${srcdir}/named.8 ${DESTDIR}${mandir}/man8
|
|
Tomas Hozza |
4fa997 |
- ${INSTALL_DATA} ${srcdir}/lwresd.8 ${DESTDIR}${mandir}/man8
|
|
Tomas Hozza |
4fa997 |
- ${INSTALL_DATA} ${srcdir}/named.conf.5 ${DESTDIR}${mandir}/man5
|
|
Tomas Hozza |
4fa997 |
+install:: named-sdb@EXEEXT@ 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
|
|
|
102df2 |
index 00002a9..cb9b5f5 100644
|
|
Tomas Hozza |
4fa997 |
--- a/bin/named-sdb/main.c
|
|
Tomas Hozza |
4fa997 |
+++ b/bin/named-sdb/main.c
|
|
|
102df2 |
@@ -88,6 +88,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 |
/*
|
|
|
102df2 |
@@ -1052,6 +1056,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,
|
|
|
102df2 |
@@ -1173,6 +1182,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
|
|
|
102df2 |
@@ -1215,6 +1293,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
|
|
|
102df2 |
index 9c14b73..08318a2 100644
|
|
Tomas Hozza |
4fa997 |
--- a/bin/named/Makefile.in
|
|
Tomas Hozza |
4fa997 |
+++ b/bin/named/Makefile.in
|
|
|
102df2 |
@@ -38,9 +38,9 @@ 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} \
|
|
Tomas Hozza |
4fa997 |
- ${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES} @DST_OPENSSL_INC@
|
|
Tomas Hozza |
4fa997 |
+ @DST_OPENSSL_INC@
|
|
Adam Tkac |
300cfc |
|
|
Tomas Hozza |
4fa997 |
-CDEFINES = @CONTRIB_DLZ@ @CRYPTO@
|
|
Tomas Hozza |
4fa997 |
+CDEFINES = @CRYPTO@
|
|
Tomas Hozza |
4fa997 |
|
|
Tomas Hozza |
4fa997 |
CWARNINGS =
|
|
Tomas Hozza |
4fa997 |
|
|
|
102df2 |
@@ -64,11 +64,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 |
|
|
|
102df2 |
@@ -83,8 +83,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 |
|
|
|
102df2 |
@@ -99,8 +98,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 |
|
|
|
102df2 |
@@ -183,7 +181,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
|
|
Tomas Hozza |
4fa997 |
diff --git a/configure.in b/configure.in
|
|
|
102df2 |
index 6435274..5e614a7 100644
|
|
Tomas Hozza |
4fa997 |
--- a/configure.in
|
|
Tomas Hozza |
4fa997 |
+++ b/configure.in
|
|
|
102df2 |
@@ -5125,6 +5125,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
|
|
|
102df2 |
@@ -5149,6 +5151,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
|
|
Adam Tkac |
5bc2b4 |
bin/tests/atomic/Makefile
|
|
Adam Tkac |
5bc2b4 |
bin/tests/db/Makefile
|