chiark / gitweb /
@@ -1,3 +1,10 @@ debian_version_2_2_0
authorianmdlvl <ianmdlvl>
Sat, 12 Jan 2002 00:47:31 +0000 (00:47 +0000)
committerianmdlvl <ianmdlvl>
Sat, 12 Jan 2002 00:47:31 +0000 (00:47 +0000)
+chiark-utils (2.2.0) unstable; urgency=low
+
+  * Add new chiark-named-conf script with manpage etc., and package it.
+  * Add new scripts directory with Makefile.
+
+ -- Ian Jackson <ian@davenant.greenend.org.uk>  Sat, 12 Jan 2002 00:47:10 +0000
+
 chiark-utils (2.1.1) unstable; urgency=low

   * add call to mt reten to full.

debian/changelog
debian/control
debian/rules
scripts/Makefile [new file with mode: 0644]

index a8050c1..f42819f 100644 (file)
@@ -1,3 +1,10 @@
+chiark-utils (2.2.0) unstable; urgency=low
+
+  * Add new chiark-named-conf script with manpage etc., and package it.
+  * Add new scripts directory with Makefile.
+
+ -- Ian Jackson <ian@davenant.greenend.org.uk>  Sat, 12 Jan 2002 00:47:10 +0000
+
 chiark-utils (2.1.1) unstable; urgency=low
 
   * add call to mt reten to full.
index 21910a2..1612c71 100644 (file)
@@ -15,6 +15,15 @@ Description: backup system for small systems and networks
   * Hard failures when individual systems fail, to encourage fixing !
  If you have a larger site you may wish to look at Amanda.
 
+Package: chiark-named-conf
+Architecture: all
+Description: chiark-named-conf: checks nameserver configuration
+ chiark-named-conf is a tool for managing nameserver configurations
+ and checking for suspected DNS problems.  Its main functions are to
+ check that delegations are appropriate and working, that secondary
+ zones are slaved from the right places, and to generate a
+ configuration for BIND, from its own input file.
+
 Package: chiark-rwbuffer
 Architecture: any
 Depends: ${shlibs:Depends}
index 8cc2a66..b9df6ce 100755 (executable)
@@ -2,7 +2,7 @@
 
 subdirs=       backup
 package=       chiark-utils
-packages_indep=        chiark-backup
+packages_indep=        chiark-backup chiark-named-conf
 packages_arch= chiark-rwbuffer
 packages=      $(packages_indep) $(packages_arch)
 
@@ -43,6 +43,12 @@ binary-prep:
                varlib=$t/chiark-backup/var/lib \
                mandir=$t/chiark-backup/usr/share/man
        #
+       $(MAKE) -C scripts install install-docs install-examples \
+               prefix=$t/chiark-named-conf/usr \
+               etcdir=$t/chiark-named-conf/etc \
+               varlib=$t/chiark-named-conf/var/lib \
+               mandir=$t/chiark-named-conf/usr/share/man
+       #
        install -d $t/chiark-rwbuffer/usr/bin
        install -d $t/chiark-rwbuffer/usr/share/man/man1
        cd $t/chiark-backup/usr/bin && \
@@ -53,6 +59,7 @@ binary-prep:
 
 binary-hook-chiark-backup:
 binary-hook-chiark-rwbuffer:
+binary-hook-chiark-named-conf:
 
 binary-one:
        set -e; for f in preinst postinst prerm postrm conffiles; do \
diff --git a/scripts/Makefile b/scripts/Makefile
new file mode 100644 (file)
index 0000000..c74a69f
--- /dev/null
@@ -0,0 +1,52 @@
+# Makefile
+
+# This file is part of chiark-utils, a collection of useful programs
+# used on chiark.greenend.org.uk.
+#
+# This file is:
+#  Copyright (C) 2001 Ian Jackson <ian@chiark.greenend.org.uk>
+#
+# This is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2, or (at your option) any later version.
+#
+# This is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+# details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+INSTALL=               install -c
+INSTALL_SHARE=         $(INSTALL) -m 644 -o root -g root
+INSTALL_SCRIPT=                $(INSTALL) -m 755 -o root -g root
+INSTALL_DIRECTORY=     $(INSTALL) -m 2755 -o root -g root -d
+
+prefix=/usr/local
+bindir=$(prefix)/bin
+mandir=${prefix}/man
+man8dir=${mandir}/man8
+
+SCRIPTS=       named-conf
+MANPAGES8=     named-conf
+
+all:
+
+install:
+               $(INSTALL_DIRECTORY) $(bindir)
+               set -e; for f in $(SCRIPTS); do \
+                       $(INSTALL_SCRIPT) $$f $(bindir)/chiark-$$f; done
+
+install-docs:
+               $(INSTALL_DIRECTORY) $(man8dir)
+               set -e; for f in $(MANPAGES8); do \
+                       $(INSTALL_SCRIPT) $$f.8 $(man8dir)/chiark-$$f.8; done
+
+install-examples:
+
+clean:
+               rm -f *~ ./#*#
+
+distclean realclean:   clean