[ntpsec commit] Abolish scripts/ . All installables now have first-level subdirs.

Eric S. Raymond esr at ntpsec.org
Tue Oct 20 10:20:46 UTC 2015


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

Author:    Eric S. Raymond <esr at thyrsus.com>
Date:      Tue Oct 20 06:19:13 2015 -0400

Abolish scripts/. All installables now have first-level subdirs.

util/ is where everything uninstallable lives.

---

 NEWS                                               |  2 +-
 README                                             | 15 ++--
 {devel-docs => devel}/ChangeLog                    |  0
 {devel-docs => devel}/CommitLog-4.1.0              |  0
 {devel-docs => devel}/HISTORIC-NEWS                |  0
 {devel-docs => devel}/HISTORIC-README              |  0
 {devel-docs => devel}/HISTORIC-VERSIONS            |  0
 {devel-docs => devel}/README                       |  0
 {devel-docs => devel}/TODO                         |  0
 {devel-docs => devel}/dot.emacs                    |  0
 {devel-docs => devel}/hacking.txt                  |  0
 {devel-docs => devel}/ifdex-ignores                |  2 +-
 {devel-docs => devel}/release.nix                  |  2 +-
 {devel-docs => devel}/y2k.txt                      |  0
 scripts/README                                     | 28 -------
 util/README                                        | 88 +++++++++++++---------
 {scripts => util}/calc_tickadj/calc_tickadj        |  0
 {scripts => util}/calc_tickadj/calc_tickadj.txt    |  0
 {scripts => util}/monitoring/README                |  0
 .../monitoring/loopwatch.config.SAMPLE             |  0
 {scripts => util}/monitoring/lr.pl                 |  0
 {scripts => util}/monitoring/ntp.pl                |  0
 {scripts => util}/monitoring/ntploopstat           |  0
 {scripts => util}/monitoring/ntploopwatch          |  0
 {scripts => util}/monitoring/ntptrap               |  0
 {scripts => util}/monitoring/timelocal.pl          |  0
 {scripts => util}/ntpdate                          |  0
 {scripts => util}/ntpsweep/ntpsweep-man.txt        |  0
 {scripts => util}/ntpsweep/ntpsweep.in             |  0
 {scripts => util}/ntpver                           |  0
 {scripts => util}/plot_summary                     |  0
 {scripts => util}/plot_summary.txt                 |  0
 {scripts => util}/stats/README                     |  0
 {scripts => util}/stats/README.stats               |  0
 {scripts => util}/stats/README.timecodes           |  0
 {scripts => util}/stats/clock.awk                  |  0
 {scripts => util}/stats/dupe.awk                   |  0
 {scripts => util}/stats/ensemble.S                 |  0
 {scripts => util}/stats/ensemble.awk               |  0
 {scripts => util}/stats/etf.S                      |  0
 {scripts => util}/stats/etf.awk                    |  0
 {scripts => util}/stats/itf.S                      |  0
 {scripts => util}/stats/itf.awk                    |  0
 {scripts => util}/stats/loop.S                     |  0
 {scripts => util}/stats/loop.awk                   |  0
 {scripts => util}/stats/loop_summary               |  0
 {scripts => util}/stats/peer.awk                   |  0
 {scripts => util}/stats/psummary.awk               |  0
 {scripts => util}/stats/summary.sh                 |  0
 {scripts => util}/stats/tdata.S                    |  0
 {scripts => util}/stats/tdata.awk                  |  0
 {scripts => util}/summary                          |  0
 {scripts => util}/summary.txt                      |  0
 53 files changed, 62 insertions(+), 75 deletions(-)

diff --git a/NEWS b/NEWS
index 5f0da1b..d1792e1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,6 @@
 = NTPsec project news =
 
-For historic news from NTP Classic, see devel-docs/TODO in the distribution.
+For historic news from NTP Classic, see devel/TODO in the distribution.
 
 Much of the traditional function of a news file is now better addressed
 by browsing the comments in the revision history.  This file will focus
diff --git a/README b/README
index 7271e7b..52c0856 100644
--- a/README
+++ b/README
@@ -22,7 +22,7 @@ NEWS::		What's new in this release.
 
 README::	This file.
 
-devel-docs/::	Documentation aimed at developers.
+devel/::	Documentation aimed at developers.
 
 docs/::		Directory containing a complete set of documentation on
 		building and configuring a NTP server or client. The files
@@ -99,16 +99,13 @@ pylib/::	A library of Python procedures used by the build sytem.
 
 README::	This file
 
-scripts/::	Directory containing scripts to build the configuration
-		files in this directory and then the makefiles used in
-		various dependent directories. the subdirectories
-		monitoring and support hold various perl and shell
-		scripts for visualizing synchronization and daemon startup.
-
 tests/::	Self-test code.
 
-util/::		Directory containing sources for various utility and
-		testing programs that are *not* part of a normal installation.
+util/:: 	Directory containing sources for various utility and testing
+		programs that are *not* part of a normal installation.
+		The subdirectories monitoring/ and support/ hold
+		various perl and shell scripts for visualizing
+		synchronization and daemon startup.
 
 VERSION::	The version stamp, to be used by scripts and programs.
 
diff --git a/devel-docs/ChangeLog b/devel/ChangeLog
similarity index 100%
rename from devel-docs/ChangeLog
rename to devel/ChangeLog
diff --git a/devel-docs/CommitLog-4.1.0 b/devel/CommitLog-4.1.0
similarity index 100%
rename from devel-docs/CommitLog-4.1.0
rename to devel/CommitLog-4.1.0
diff --git a/devel-docs/HISTORIC-NEWS b/devel/HISTORIC-NEWS
similarity index 100%
rename from devel-docs/HISTORIC-NEWS
rename to devel/HISTORIC-NEWS
diff --git a/devel-docs/HISTORIC-README b/devel/HISTORIC-README
similarity index 100%
rename from devel-docs/HISTORIC-README
rename to devel/HISTORIC-README
diff --git a/devel-docs/HISTORIC-VERSIONS b/devel/HISTORIC-VERSIONS
similarity index 100%
rename from devel-docs/HISTORIC-VERSIONS
rename to devel/HISTORIC-VERSIONS
diff --git a/devel-docs/README b/devel/README
similarity index 100%
rename from devel-docs/README
rename to devel/README
diff --git a/devel-docs/TODO b/devel/TODO
similarity index 100%
rename from devel-docs/TODO
rename to devel/TODO
diff --git a/devel-docs/dot.emacs b/devel/dot.emacs
similarity index 100%
rename from devel-docs/dot.emacs
rename to devel/dot.emacs
diff --git a/devel-docs/hacking.txt b/devel/hacking.txt
similarity index 100%
rename from devel-docs/hacking.txt
rename to devel/hacking.txt
diff --git a/devel-docs/ifdex-ignores b/devel/ifdex-ignores
similarity index 99%
rename from devel-docs/ifdex-ignores
rename to devel/ifdex-ignores
index 0c3aed7..0cb02ca 100644
--- a/devel-docs/ifdex-ignores
+++ b/devel/ifdex-ignores
@@ -6,7 +6,7 @@
 # interpret to exclude most of its config symbols. Thus, from the toplevel
 # directory:
 #
-# ifdex -X build/config.h devel-docs/ifdex-ignores .
+# ifdex -X build/config.h devel/ifdex-ignores .
 #
 # No output from this command means all symbols are accounted for
 
diff --git a/devel-docs/release.nix b/devel/release.nix
similarity index 97%
rename from devel-docs/release.nix
rename to devel/release.nix
index 85b29c0..f861d8f 100644
--- a/devel-docs/release.nix
+++ b/devel/release.nix
@@ -1,5 +1,5 @@
 # NTPsec derivation for Nix (https://nixos.org). To hack NTPsec on
-# NixOS, use `nix-shell -A build.x86_64-linux devel-docs/release.nix`.
+# NixOS, use `nix-shell -A build.x86_64-linux devel/release.nix`.
 {
   ntpsecSrc ? { outPath = ../.; revCount = 1234; shortRev = "abcdef"; },
   officialRelease ? false
diff --git a/devel-docs/y2k.txt b/devel/y2k.txt
similarity index 100%
rename from devel-docs/y2k.txt
rename to devel/y2k.txt
diff --git a/scripts/README b/scripts/README
deleted file mode 100644
index 12df1b3..0000000
--- a/scripts/README
+++ /dev/null
@@ -1,28 +0,0 @@
-== README file for directory scripts/ ==
-
-This directory contains shell and perl script files for the configuration,
-monitoring and support of NTP installations.  These are not installed in
-a normal setup
-
-calc_tickadj::	Calculates "optimal" value for tick given ntp.drift file
-
-monitoring::	Directory containing perl scripts useful for monitoring
-                operations
-
-ntpsweep::	prints per host given in <file> the NTP stratum level, the
-		clock offset in seconds, the daemon version, the operating
-		system and the processor.
-
-ntpver::	Simple script using ntpq to print out the suite version.
-
-plot_summary::	Plot summaries generated by summary script.
-
-stats::		directory containing awk and shell scripts useful for
-		maintaining statistics summaries of clockstats, loopstats
-		and peerstats files
-
-summary::	Generate summary files out of stat files produced by NTP
-                daemon.
-
-
-// end
diff --git a/util/README b/util/README
index 1ff950f..4ec1dde 100644
--- a/util/README
+++ b/util/README
@@ -4,40 +4,58 @@ This directory contains the sources for the various utility programs.
 They are not installed by default. Not much documentation, alas.  Read
 the header comments.
 
-audio-pcm.c::
-    Probe the capabilities of your sound card.  Assumes the SADA (Sun
-    Audio Driver) interface from SunOS/Solaris/OpenSolaris, also
-    implemented by *BSD and in the old OSS Linux sound layer.
-
-hist.c::
-    This program can be used to calibrate the clock reading jitter of a
-    particular CPU and operating system. It first tickles every element
-    of an array, in order to force pages into memory, then repeatedly calls
-    gettimeofday() and, finally, writes out the time values for later
-    analysis. From this you can determine the jitter and if the clock ever
-    runs backwards.
-
-kern.c::
-   Header comment from deep in the mists of past time says: "This
-   program simulates a first-order, type-II phase-lock loop using
-   actual code segments from modified kernel distributions for SunOS,
-   Ultrix and OSF/1 kernels. These segments do not use any licensed
-   code."  Anybody who has a clue *why* it is doing this and what it's
-   supposed to be used for should explain it to us, please.
-
-propdelay.c::
-   Computes high frequency propagation delays, given the
-   longitude and latitude of the transmitter and receiver.  Use
-   this for WWV/H and CHU.  Don't use it for WWVB (the computation
-   is easier for that).
-
-sht.c::
-    Test program for shared memory refclock.
-
-tg2.c::
-    A tone generator; makes audio signals that emulate WWV/H or
-    IRIG. Should run on Solaris, FreeBSD, NetBSD and Linux provised
-    the platform supports the SADA API.  Read the source for the fine
-    print.  Has a help option available via -h.
+calc_tickadj::	Calculates "optimal" value for tick given ntp.drift file
+
+audio-pcm.c::	Probe the capabilities of your sound card.  Assumes the
+		SADA (Sun Audio Driver) interface from
+		SunOS/Solaris/OpenSolaris, also implemented by *BSD
+		and in the old OSS Linux sound layer.
+
+hist.c::	This program can be used to calibrate the clock reading
+		jitter of a particular CPU and operating system. It
+		first tickles every element of an array, in order to
+		force pages into memory, then repeatedly calls
+		gettimeofday() and, finally, writes out the time
+		values for later analysis. From this you can determine
+		the jitter and if the clock ever runs backwards.
+
+kern.c:: 	Header comment from deep in the mists of past time says:
+		"This program simulates a first-order, type-II
+		phase-lock loop using actual code segments from
+		modified kernel distributions for SunOS, Ultrix and
+		OSF/1 kernels. These segments do not use any licensed
+		code."  Anybody who has a clue *why* it is doing this
+		and what it's supposed to be used for should explain
+		it to us, please.
+
+monitoring::	Directory containing perl scripts useful for monitoring
+                operations
+
+ntpsweep::	prints per host given in <file> the NTP stratum level, the
+		clock offset in seconds, the daemon version, the operating
+		system and the processor.
+
+ntpver::	Simple script using ntpq to print out the suite version.
+
+plot_summary::	Plot summaries generated by summary script.
+
+propdelay.c::	Computes high frequency propagation delays, given the
+		longitude and latitude of the transmitter and receiver.  Use
+		this for WWV/H and CHU.  Don't use it for WWVB (the computation
+		is easier for that).
+
+sht.c::		Test program for shared memory refclock.
+
+stats::		directory containing awk and shell scripts useful for
+		maintaining statistics summaries of clockstats, loopstats
+		and peerstats files
+
+summary::	Generate summary files out of stat files produced by NTP
+                daemon.
+
+tg2.c::		A tone generator; makes audio signals that emulate WWV/H or
+		IRIG. Should run on Solaris, FreeBSD, NetBSD and Linux provised
+		the platform supports the SADA API.  Read the source for the fine
+		print.  Has a help option available via -h.
 
 // end
diff --git a/scripts/calc_tickadj/calc_tickadj b/util/calc_tickadj/calc_tickadj
similarity index 100%
rename from scripts/calc_tickadj/calc_tickadj
rename to util/calc_tickadj/calc_tickadj
diff --git a/scripts/calc_tickadj/calc_tickadj.txt b/util/calc_tickadj/calc_tickadj.txt
similarity index 100%
rename from scripts/calc_tickadj/calc_tickadj.txt
rename to util/calc_tickadj/calc_tickadj.txt
diff --git a/scripts/monitoring/README b/util/monitoring/README
similarity index 100%
rename from scripts/monitoring/README
rename to util/monitoring/README
diff --git a/scripts/monitoring/loopwatch.config.SAMPLE b/util/monitoring/loopwatch.config.SAMPLE
similarity index 100%
rename from scripts/monitoring/loopwatch.config.SAMPLE
rename to util/monitoring/loopwatch.config.SAMPLE
diff --git a/scripts/monitoring/lr.pl b/util/monitoring/lr.pl
similarity index 100%
rename from scripts/monitoring/lr.pl
rename to util/monitoring/lr.pl
diff --git a/scripts/monitoring/ntp.pl b/util/monitoring/ntp.pl
similarity index 100%
rename from scripts/monitoring/ntp.pl
rename to util/monitoring/ntp.pl
diff --git a/scripts/monitoring/ntploopstat b/util/monitoring/ntploopstat
similarity index 100%
rename from scripts/monitoring/ntploopstat
rename to util/monitoring/ntploopstat
diff --git a/scripts/monitoring/ntploopwatch b/util/monitoring/ntploopwatch
similarity index 100%
rename from scripts/monitoring/ntploopwatch
rename to util/monitoring/ntploopwatch
diff --git a/scripts/monitoring/ntptrap b/util/monitoring/ntptrap
similarity index 100%
rename from scripts/monitoring/ntptrap
rename to util/monitoring/ntptrap
diff --git a/scripts/monitoring/timelocal.pl b/util/monitoring/timelocal.pl
similarity index 100%
rename from scripts/monitoring/timelocal.pl
rename to util/monitoring/timelocal.pl
diff --git a/scripts/ntpdate b/util/ntpdate
similarity index 100%
rename from scripts/ntpdate
rename to util/ntpdate
diff --git a/scripts/ntpsweep/ntpsweep-man.txt b/util/ntpsweep/ntpsweep-man.txt
similarity index 100%
rename from scripts/ntpsweep/ntpsweep-man.txt
rename to util/ntpsweep/ntpsweep-man.txt
diff --git a/scripts/ntpsweep/ntpsweep.in b/util/ntpsweep/ntpsweep.in
similarity index 100%
rename from scripts/ntpsweep/ntpsweep.in
rename to util/ntpsweep/ntpsweep.in
diff --git a/scripts/ntpver b/util/ntpver
similarity index 100%
rename from scripts/ntpver
rename to util/ntpver
diff --git a/scripts/plot_summary b/util/plot_summary
similarity index 100%
rename from scripts/plot_summary
rename to util/plot_summary
diff --git a/scripts/plot_summary.txt b/util/plot_summary.txt
similarity index 100%
rename from scripts/plot_summary.txt
rename to util/plot_summary.txt
diff --git a/scripts/stats/README b/util/stats/README
similarity index 100%
rename from scripts/stats/README
rename to util/stats/README
diff --git a/scripts/stats/README.stats b/util/stats/README.stats
similarity index 100%
rename from scripts/stats/README.stats
rename to util/stats/README.stats
diff --git a/scripts/stats/README.timecodes b/util/stats/README.timecodes
similarity index 100%
rename from scripts/stats/README.timecodes
rename to util/stats/README.timecodes
diff --git a/scripts/stats/clock.awk b/util/stats/clock.awk
similarity index 100%
rename from scripts/stats/clock.awk
rename to util/stats/clock.awk
diff --git a/scripts/stats/dupe.awk b/util/stats/dupe.awk
similarity index 100%
rename from scripts/stats/dupe.awk
rename to util/stats/dupe.awk
diff --git a/scripts/stats/ensemble.S b/util/stats/ensemble.S
similarity index 100%
rename from scripts/stats/ensemble.S
rename to util/stats/ensemble.S
diff --git a/scripts/stats/ensemble.awk b/util/stats/ensemble.awk
similarity index 100%
rename from scripts/stats/ensemble.awk
rename to util/stats/ensemble.awk
diff --git a/scripts/stats/etf.S b/util/stats/etf.S
similarity index 100%
rename from scripts/stats/etf.S
rename to util/stats/etf.S
diff --git a/scripts/stats/etf.awk b/util/stats/etf.awk
similarity index 100%
rename from scripts/stats/etf.awk
rename to util/stats/etf.awk
diff --git a/scripts/stats/itf.S b/util/stats/itf.S
similarity index 100%
rename from scripts/stats/itf.S
rename to util/stats/itf.S
diff --git a/scripts/stats/itf.awk b/util/stats/itf.awk
similarity index 100%
rename from scripts/stats/itf.awk
rename to util/stats/itf.awk
diff --git a/scripts/stats/loop.S b/util/stats/loop.S
similarity index 100%
rename from scripts/stats/loop.S
rename to util/stats/loop.S
diff --git a/scripts/stats/loop.awk b/util/stats/loop.awk
similarity index 100%
rename from scripts/stats/loop.awk
rename to util/stats/loop.awk
diff --git a/scripts/stats/loop_summary b/util/stats/loop_summary
similarity index 100%
rename from scripts/stats/loop_summary
rename to util/stats/loop_summary
diff --git a/scripts/stats/peer.awk b/util/stats/peer.awk
similarity index 100%
rename from scripts/stats/peer.awk
rename to util/stats/peer.awk
diff --git a/scripts/stats/psummary.awk b/util/stats/psummary.awk
similarity index 100%
rename from scripts/stats/psummary.awk
rename to util/stats/psummary.awk
diff --git a/scripts/stats/summary.sh b/util/stats/summary.sh
similarity index 100%
rename from scripts/stats/summary.sh
rename to util/stats/summary.sh
diff --git a/scripts/stats/tdata.S b/util/stats/tdata.S
similarity index 100%
rename from scripts/stats/tdata.S
rename to util/stats/tdata.S
diff --git a/scripts/stats/tdata.awk b/util/stats/tdata.awk
similarity index 100%
rename from scripts/stats/tdata.awk
rename to util/stats/tdata.awk
diff --git a/scripts/summary b/util/summary
similarity index 100%
rename from scripts/summary
rename to util/summary
diff --git a/scripts/summary.txt b/util/summary.txt
similarity index 100%
rename from scripts/summary.txt
rename to util/summary.txt



More information about the vc mailing list