[ntpsec commit] Change name of update-leap and promote it to an installable.

Eric S. Raymond esr at ntpsec.org
Sun Oct 18 22:32:36 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    f864b676fbac93f495dacf8921f1d669bbe55da7
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=f864b676fbac93f495dacf8921f1d669bbe55da7

Author:    Eric S. Raymond <esr at thyrsus.com>
Date:      Sun Oct 18 18:31:49 2015 -0400

Change name of update-leap and promote it to an installable.

---

 devel-docs/TODO                                                |  2 +-
 docs/index.txt                                                 | 10 +++++-----
 .../update-leap-opts => ntpleapfetch/ntpleapfetch-opts         |  8 ++++----
 .../update-leap/update-leap.in => ntpleapfetch/ntpleapfetch.in |  2 +-
 .../update-leap/update-leap.sh => ntpleapfetch/ntpleapfetch.sh |  0
 .../update-leap.txt => ntpleapfetch/ntpleapfetch.txt           |  8 ++++----
 scripts/README                                                 |  6 +++---
 wscript                                                        |  2 +-
 8 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/devel-docs/TODO b/devel-docs/TODO
index 7b524b6..7098f7f 100644
--- a/devel-docs/TODO
+++ b/devel-docs/TODO
@@ -95,7 +95,7 @@ they are salvageable.
   scripts/summary.txt
   scripts/ntpsweep/ntpsweep.txt
   scripts/plot_summary.txt
-  scripts/update-leap/update-leap.txt
+  scripts/ntpleapfetch/ntpleapfetch.txt
 
 * The format and organization of the NEWS file needs a rethink.
 
diff --git a/docs/index.txt b/docs/index.txt
index 412c5f7..7c4d02c 100644
--- a/docs/index.txt
+++ b/docs/index.txt
@@ -84,15 +84,15 @@ few will be user-visible:
 
 * A number of obsolete refclocks have been removed.
 
-* The sntp program has been renamed {ntpdig} in order to make
+* The +sntp+ program has been renamed +{ntpdig}+ in order to make
   NTP installables have a uniform name prefix and take up less
-  namespace. Also, +ntp-keygen+ is now {ntpkeygen} and +ntp-wait+
-  is {ntpwait}.
+  namespace. Also, +ntp-keygen+ is now +{ntpkeygen}+, +ntp-wait+
+  is {ntpwait}, and +update-leap+ is now +ntpleapfetch+.
 
 * A new utility, {ntpfrob}, collects several small diagnostic functions
   for reading and tweaking the local clock hardware, including reading
-  the clock tick rate, precision, and jitter. Part of it was formerly
-  trsveled as +tickadj+.
+  the clock tick rate, precision, and jitter. Part of it formerly
+  traveled as +tickadj+.
 
 * The deprecated ntpdate program has been replaced with a shell
   wrapper around {ntpdig}.
diff --git a/scripts/update-leap/update-leap-opts b/ntpleapfetch/ntpleapfetch-opts
similarity index 90%
rename from scripts/update-leap/update-leap-opts
rename to ntpleapfetch/ntpleapfetch-opts
index 4f8f33e..2bfe98e 100644
--- a/scripts/update-leap/update-leap-opts
+++ b/ntpleapfetch/ntpleapfetch-opts
@@ -1,7 +1,7 @@
-# EDIT THIS FILE WITH CAUTION  (update-leap-opts)
+# EDIT THIS FILE WITH CAUTION  (ntpleapfetch-opts)
 #
 # It has been AutoGen-ed  June  3, 2015 at 11:53:37 AM by AutoGen 5.18.5
-# From the definitions    update-leap-opts.def
+# From the definitions    ntpleapfetch-opts.def
 # and the template file   perlopt
 
 use Getopt::Long qw(GetOptionsFromArray);
@@ -46,8 +46,8 @@ sub processOptions {
         'help|?', 'more-help'));
 
     $usage = <<'USAGE';
-update-leap - leap-seconds file manager/updater.
-USAGE: update-leap [ -<flag> [<val>] | --<name>[{=| }<val>] ]... 
+ntpleapfetch - leap-seconds file manager/updater.
+USAGE: ntpleapfetch [ -<flag> [<val>] | --<name>[{=| }<val>] ]... 
 
     -s, --source-url=str         The URL of the master copy of the leapseconds file
     -4, --ipv4                   Use only IPv4 addresses for DNS name resolution
diff --git a/scripts/update-leap/update-leap.in b/ntpleapfetch/ntpleapfetch.in
similarity index 99%
rename from scripts/update-leap/update-leap.in
rename to ntpleapfetch/ntpleapfetch.in
index ed3429a..8a04dcf 100644
--- a/scripts/update-leap/update-leap.in
+++ b/ntpleapfetch/ntpleapfetch.in
@@ -62,7 +62,7 @@ my $LOGFAC="daemon";
 
 # ###########################################
 
-=item update-leap
+=item ntpleapfetch
 
 Usage: $0 [options] [leapfile]
 
diff --git a/scripts/update-leap/update-leap.sh b/ntpleapfetch/ntpleapfetch.sh
similarity index 100%
rename from scripts/update-leap/update-leap.sh
rename to ntpleapfetch/ntpleapfetch.sh
diff --git a/scripts/update-leap/update-leap.txt b/ntpleapfetch/ntpleapfetch.txt
similarity index 92%
rename from scripts/update-leap/update-leap.txt
rename to ntpleapfetch/ntpleapfetch.txt
index 72ac288..5eef3ec 100644
--- a/scripts/update-leap/update-leap.txt
+++ b/ntpleapfetch/ntpleapfetch.txt
@@ -1,15 +1,15 @@
-== update-leap(1) ==
+== ntpleapfetch(1) ==
 :doctype: manpage
 
 == NAME == 
-update-leap - leap-seconds file manager/updater
+ntpleapfetch - leap-seconds file manager/updater
 
 == SYNOPSIS ==
-update-leap [-flags | -flag 'value' | --option-name='value']
+ntpleapfetch [-flags | -flag 'value' | --option-name='value']
 
 == DESCRIPTION ==
 
-`update-leap` will validate the file currently on the local system and
+`ntpleapfetch` will validate the file currently on the local system and
 if necessary, updates leap-second definition file.
 
 Ordinarily, the file is found using the "leapfile" directive in
diff --git a/scripts/README b/scripts/README
index 449dde5..12bc0dd 100644
--- a/scripts/README
+++ b/scripts/README
@@ -11,6 +11,9 @@ lib::		NTP interface package required to query Mode 6 packets
 monitoring::	Directory containing perl scripts useful for monitoring
                 operations
 
+ntpleapfetch::	Script to update the leap-second from the NIST leapsecond file.
+		Meant to be run from a cron job.
+
 ntpwait::	Blocks until ntpd is in state 4 (synchronized).
 		Useful at boot time, to delay the boot sequence
 		until after "ntpd -g" has set the time.
@@ -39,7 +42,4 @@ summary::	Generate summary files out of stat files produced by NTP
 
 t::		Tests for the scripts.
 
-update-leap::	Script to update the leap-second from the NIST leapsecond file.
-		Meant to be run from a cron job.
-
 // end
diff --git a/wscript b/wscript
index 5c0a96d..5a8119c 100644
--- a/wscript
+++ b/wscript
@@ -111,7 +111,7 @@ def build(ctx):
 		"scripts/ntpwait/ntpwait.in",
 		"scripts/ntpsweep/ntpsweep.in",
 		"scripts/ntptrace/ntptrace.in",
-		"scripts/update-leap/update-leap.in"
+		"ntpleapfetch/ntpleapfetch.in"
 	]
 
 	ctx(



More information about the vc mailing list