BIND 10 trac1997, updated. 5b0f09471e155d0a8985b2d320c1a5f47667e2d7 [1997] Generate the zone file
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jun 7 16:54:18 UTC 2012
The branch, trac1997 has been updated
via 5b0f09471e155d0a8985b2d320c1a5f47667e2d7 (commit)
from ca3f9d967c0806859979ac5508939eb785d90e1d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5b0f09471e155d0a8985b2d320c1a5f47667e2d7
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Thu Jun 7 18:53:54 2012 +0200
[1997] Generate the zone file
The zone file is generated from the authors file and the current
version.
-----------------------------------------------------------------------
Summary of changes:
AUTHORS | 21 +++++++++++++++++++++
src/lib/datasrc/Makefile.am | 10 +++++++++-
src/lib/datasrc/static.zone.pre | 12 ++++++++++++
3 files changed, 42 insertions(+), 1 deletion(-)
create mode 100644 src/lib/datasrc/static.zone.pre
-----------------------------------------------------------------------
diff --git a/AUTHORS b/AUTHORS
index e69de29..67cb090 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -0,0 +1,21 @@
+Chen Zhengzhang
+Dmitriy Volodin
+Evan Hunt
+Haidong Wang
+Haikuo Zhang
+Han Feng
+Jelte Jansen
+Jeremy C. Reed
+Xie Jiagui
+Jin Jian
+JINMEI Tatuya
+Kazunori Fujiwara
+Michael Graff
+Michal Vaner
+Mukund Sivaraman
+Naoki Kambe
+Shane Kerr
+Shen Tingting
+Stephen Morris
+Yoshitaka Aharen
+Zhang Likun
diff --git a/src/lib/datasrc/Makefile.am b/src/lib/datasrc/Makefile.am
index 9a42c77..37efef0 100644
--- a/src/lib/datasrc/Makefile.am
+++ b/src/lib/datasrc/Makefile.am
@@ -12,8 +12,13 @@ pkglibdir = $(libexecdir)/@PACKAGE@/backends
datasrc_config.h: datasrc_config.h.pre
$(SED) -e "s|@@PKGLIBDIR@@|$(pkglibdir)|" datasrc_config.h.pre >$@
+static.zone: static.zone.pre
+ $(SED) -e "s|@@VERSION_STRING@@|$(PACKAGE_STRING)|" $(srcdir)/static.zone.pre >$@
+ $(SED) -e 's/\(.*\)/AUTHORS.BIND. 0 CH TXT "\1"/' $(top_srcdir)/AUTHORS >>$@
+
CLEANFILES = *.gcno *.gcda datasrc_messages.h datasrc_messages.cc
CLEANFILES += datasrc_config.h
+CLEANFILES += static.zone
lib_LTLIBRARIES = libdatasrc.la
libdatasrc_la_SOURCES = data_source.h data_source.cc
@@ -65,4 +70,7 @@ BUILT_SOURCES = datasrc_config.h datasrc_messages.h datasrc_messages.cc
datasrc_messages.h datasrc_messages.cc: Makefile datasrc_messages.mes
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/datasrc/datasrc_messages.mes
-EXTRA_DIST = datasrc_messages.mes
+EXTRA_DIST = datasrc_messages.mes static.zone.pre
+
+zonedir = $(pkgdatadir)
+zone_DATA = static.zone
diff --git a/src/lib/datasrc/static.zone.pre b/src/lib/datasrc/static.zone.pre
new file mode 100644
index 0000000..16a7379
--- /dev/null
+++ b/src/lib/datasrc/static.zone.pre
@@ -0,0 +1,12 @@
+;; This is the content of the BIND./CH zone. It contains the version and
+;; authors (called VERSION.BIND. and AUTHORS.BIND.). You can add more or
+;; modify the zone. Then you can reload the zone by issuing the command
+;;
+;; loadzone CH BIND
+;;
+;; in the bindctl.
+
+BIND. 0 CH SOA bind. authors.bind. 0 28800 7200 604800 86400
+
+VERSION.BIND. 0 CH TXT "@@VERSION_STRING@@"
+;; HOSTNAME.BIND 0 CH TXT "localhost"
More information about the bind10-changes
mailing list