aboutsummaryrefslogtreecommitdiff
path: root/usr/share
diff options
context:
space:
mode:
Diffstat (limited to 'usr/share')
-rwxr-xr-xusr/share/ddtools/dhcpd-control.sh (renamed from usr/share/updatezone/dhcpd-control.sh)0
-rw-r--r--usr/share/ddtools/docs/README.txt (renamed from usr/share/updatezone/docs/README.txt)14
-rw-r--r--usr/share/ddtools/docs/ddtools.spec (renamed from usr/share/updatezone/docs/updatezone.spec)11
-rw-r--r--usr/share/ddtools/docs/files-for-versioning.txt3
-rw-r--r--usr/share/ddtools/examples/ipa.smith122.com.conf.example (renamed from usr/share/updatezone/examples/ipa.smith122.com.conf.example)0
-rwxr-xr-xusr/share/ddtools/inc/get-files (renamed from usr/share/updatezone/inc/get-files)2
-rwxr-xr-xusr/share/ddtools/inc/pack (renamed from usr/share/updatezone/inc/pack)2
-rwxr-xr-xusr/share/ddtools/updatezone.sh (renamed from usr/share/updatezone/updatezone.sh)0
-rw-r--r--usr/share/updatezone/docs/files-for-versioning.txt3
-rw-r--r--usr/share/updatezone/docs/packaging.txt1
10 files changed, 20 insertions, 16 deletions
diff --git a/usr/share/updatezone/dhcpd-control.sh b/usr/share/ddtools/dhcpd-control.sh
index a334a93..a334a93 100755
--- a/usr/share/updatezone/dhcpd-control.sh
+++ b/usr/share/ddtools/dhcpd-control.sh
diff --git a/usr/share/updatezone/docs/README.txt b/usr/share/ddtools/docs/README.txt
index 76bb4b4..db65caf 100644
--- a/usr/share/updatezone/docs/README.txt
+++ b/usr/share/ddtools/docs/README.txt
@@ -1,8 +1,8 @@
-File: usr/share/updatezone/docs/README.txt
-Package: updatezone
+File: usr/share/ddtools/docs/README.txt
+Package: ddtools
Author: bgstack15
Startdate: 2017-05-26
-Title: Readme file for updatezone
+Title: Readme file for ddtools
Purpose: All packages should come with a readme
Usage: Read it.
Reference: README.txt
@@ -10,16 +10,18 @@ Improve:
Document: Below this line
### WELCOME
+ddtools is a suite of shell scripts that help manage dns and dhcpd.
Updatezone provides an easy way to update dns zone files. Intended primarily for bind9 zone files, experimentation is encouraged.
Instead of running the series of commands manually: rndc freeze, vi zonefile, rndc thaw and so on, use updatezone.
+dhcpd-control helps manage paired dhcpd servers.
### CONFIGURATION
-The conf files belong in /etc/updatezone/. See example in /usr/share/updatezone/examples/.
+The conf files belong in /etc/ddtools/. See example in /usr/share/ddtools/examples/.
### USING THIS TOOL
$ updatezone ipa.smith122.com
-Where this file exists: /etc/updatezone/ipa.smith122.com.conf
+Where this file exists: /etc/ddtools/ipa.smith122.com.conf
UZ_ZONE_NAME=ipa.smith122.com
UZ_FORWARD_ZONE=ipa.smith122.com
@@ -42,5 +44,5 @@ $ updatezone ipa.smith122.com ad.smith122.com
### REFERENCE
### CHANGELOG
-2017-05-27 B Stack <bgstack15@gmail.com> 0.0-1
+2017-05-27 B Stack <bgstack15@gmail.com> 0.0-2
- Initial package construction
diff --git a/usr/share/updatezone/docs/updatezone.spec b/usr/share/ddtools/docs/ddtools.spec
index d08942e..2e614cf 100644
--- a/usr/share/updatezone/docs/updatezone.spec
+++ b/usr/share/ddtools/docs/ddtools.spec
@@ -1,20 +1,23 @@
# ref: http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html
-Summary: update dns zone files easily
-Name: updatezone
+Summary: suite of scripts for managing dns and dhcpd
+Name: ddtools
Version: 0.0
Release: 2
License: CC BY-SA 4.0
Group: Applications/System
-Source: updatezone.tgz
+Source: ddtools.tgz
URL: https://bgstack15.wordpress.com/
#Distribution:
#Vendor:
Packager: B Stack <bgstack15@gmail.com>
Requires: bgscripts-core >= 1.2-11
+Obsoletes: updatezone <= %{version}-%{release}
Buildarch: noarch
%description
-updatezone provides updatezone.sh which takes a simple config file for selecting the dns zone files to edit. Bind is the only supported dns server right now, but experimentation is encouraged.
+ddtools provides shell scripts that help manage dns and dhcpd.
+updatezone.sh takes a simple config file for selecting the dns zone files to edit. Bind is the only supported dns server right now, but experimentation is encouraged.
+dhcpd-control helps manage paired dhcpd servers.
#%global _python_bytecompile_errors_terminate_build 0
diff --git a/usr/share/ddtools/docs/files-for-versioning.txt b/usr/share/ddtools/docs/files-for-versioning.txt
new file mode 100644
index 0000000..f160609
--- /dev/null
+++ b/usr/share/ddtools/docs/files-for-versioning.txt
@@ -0,0 +1,3 @@
+docs/README.txt
+docs/ddtools.spec
+docs/debian-ddtools/control
diff --git a/usr/share/updatezone/examples/ipa.smith122.com.conf.example b/usr/share/ddtools/examples/ipa.smith122.com.conf.example
index 9f74dd8..9f74dd8 100644
--- a/usr/share/updatezone/examples/ipa.smith122.com.conf.example
+++ b/usr/share/ddtools/examples/ipa.smith122.com.conf.example
diff --git a/usr/share/updatezone/inc/get-files b/usr/share/ddtools/inc/get-files
index fd3e45a..3302cc5 100755
--- a/usr/share/updatezone/inc/get-files
+++ b/usr/share/ddtools/inc/get-files
@@ -6,7 +6,7 @@ if test -n "${package}"; then cd ${rpmbuilddir}/SOURCES/"${package}-${version}";
### for rpm
find * -type d -regextype grep \
- \( -regex 'usr\/share\/updatezone.*' -o -regex 'etc\/updatezone.*' \) \
+ \( -regex 'usr\/share\/ddtools*' -o -regex 'etc\/ddtools*' \) \
! -regex '.*gui.*' \
| sed -e 's/^/%dir \//;'
find * -mindepth 1 ! -name "${package}.spec.$$.swp" \
diff --git a/usr/share/updatezone/inc/pack b/usr/share/ddtools/inc/pack
index 6c5d72f..5173a22 100755
--- a/usr/share/updatezone/inc/pack
+++ b/usr/share/ddtools/inc/pack
@@ -19,7 +19,7 @@ esac
echo " $@ " | grep -qiE -- "help|usage|\s-h\s|\s-\?" 1>/dev/null 2>&1 && {
# display help and exit
less -F <<EOF
-pack utility version 2017-05-27a-updatezone
+pack utility version 2017-05-29a-ddtools
usage: pack [ rpm | deb | tar | scrub ] [ --debug | -d {0-10} ]
Provides a single command for building a package. This script is customized to each package.
optional arguments:
diff --git a/usr/share/updatezone/updatezone.sh b/usr/share/ddtools/updatezone.sh
index d6d01c0..d6d01c0 100755
--- a/usr/share/updatezone/updatezone.sh
+++ b/usr/share/ddtools/updatezone.sh
diff --git a/usr/share/updatezone/docs/files-for-versioning.txt b/usr/share/updatezone/docs/files-for-versioning.txt
deleted file mode 100644
index c08c65a..0000000
--- a/usr/share/updatezone/docs/files-for-versioning.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-docs/README.txt
-docs/updatezone.spec
-docs/debian-updatezone/control
diff --git a/usr/share/updatezone/docs/packaging.txt b/usr/share/updatezone/docs/packaging.txt
deleted file mode 100644
index beb1ccb..0000000
--- a/usr/share/updatezone/docs/packaging.txt
+++ /dev/null
@@ -1 +0,0 @@
-delete this file please.
bgstack15