2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[1997] Generate the zone file

The zone file is generated from the authors file and the current
version.
This commit is contained in:
Michal 'vorner' Vaner
2012-06-07 18:53:54 +02:00
parent ca3f9d967c
commit 5b0f09471e
3 changed files with 42 additions and 1 deletions

21
AUTHORS
View File

@@ -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

View File

@@ -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

View File

@@ -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"