[Git][NTPsec/ntpsec][master] util/ -> attic/

Eric S. Raymond gitlab at mg.gitlab.com
Tue Nov 8 16:11:45 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
36761f33 by Eric S. Raymond at 2016-11-08T11:10:39-05:00
util/ -> attic/

It isn't a utilities directory any more.

- - - - -


13 changed files:

- README
- util/README → attic/README
- util/calc_tickadj/calc_tickadj → attic/calc_tickadj/calc_tickadj
- util/calc_tickadj/calc_tickadj.txt → attic/calc_tickadj/calc_tickadj.txt
- util/kern.c → attic/kern.c
- util/ntpdate → attic/ntpdate
- util/ntpver → attic/ntpver
- util/sht.c → attic/sht.c
- util/wscript → attic/wscript
- devel/TODO
- docs/index.txt
- wafhelpers/bin_test.py
- wscript


Changes:

=====================================
README
=====================================
--- a/README
+++ b/README
@@ -21,6 +21,10 @@ README::	This file.
 
 VERSION::	The version stamp, to be used by scripts and programs.
 
+attic/:: 	Directory containing source code that is *not* part of a
+		normal installation. Things can disappear from here at any
+		time.
+
 contrib/::	Directory containing contributed scripts, dragons dwell here.
 
 devel/::	Documentation and small tools aimed at developers.
@@ -96,12 +100,6 @@ pylib/::	Installable Python helper classes for scripts.
 
 tests/::	Self-test code.
 
-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 Python and shell scripts for visualizing
-		synchronization and daemon startup.
-
 waf::		A copy of the waf builder.  This is the engine used to configure
 		and build the codebase.
 


=====================================
util/README → attic/README
=====================================
--- a/util/README
+++ b/attic/README
@@ -1,8 +1,8 @@
-= README file for directory util/ =
+= README file for directory attic/ =
 
-This directory contains the sources for the various utility programs.
-They are not installed by default. Not much documentation, alas.  Read
-the header comments.
+This is a dusty attic containg code we have not quite decided to
+discard.  Programs in it are not installed by default. Not much
+documentation, alas.  Read the header comments.
 
 calc_tickadj::	Calculates "optimal" value for tick given ntp.drift file
 		Tested: 20160226


=====================================
util/calc_tickadj/calc_tickadj → attic/calc_tickadj/calc_tickadj
=====================================
--- a/util/calc_tickadj/calc_tickadj
+++ b/attic/calc_tickadj/calc_tickadj


=====================================
util/calc_tickadj/calc_tickadj.txt → attic/calc_tickadj/calc_tickadj.txt
=====================================
--- a/util/calc_tickadj/calc_tickadj.txt
+++ b/attic/calc_tickadj/calc_tickadj.txt


=====================================
util/kern.c → attic/kern.c
=====================================
--- a/util/kern.c
+++ b/attic/kern.c


=====================================
util/ntpdate → attic/ntpdate
=====================================
--- a/util/ntpdate
+++ b/attic/ntpdate


=====================================
util/ntpver → attic/ntpver
=====================================
--- a/util/ntpver
+++ b/attic/ntpver


=====================================
util/sht.c → attic/sht.c
=====================================
--- a/util/sht.c
+++ b/attic/sht.c


=====================================
util/wscript → attic/wscript
=====================================
--- a/util/wscript
+++ b/attic/wscript


=====================================
devel/TODO
=====================================
--- a/devel/TODO
+++ b/devel/TODO
@@ -86,7 +86,7 @@ Neither is ideal, easy pickings for someone to code on.
   (and multiple inbound NTP connections, and a hole in your firewall) even when
   it has a known-good local timesource like a GPS.  This should be fixed.
 
-* The code used for asynchronous DNS lookup is more general, moere complex,
+* The code used for asynchronous DNS lookup is more general, more complex,
   and more bug-prone than it should be.  Either our version should be
   rewritten and simplified or (better idea!) it should be replaced by
   a well-maintained third-party library like c_ares.
@@ -100,7 +100,7 @@ Neither is ideal, easy pickings for someone to code on.
 * We might be able to eliminate a lot of the Linux runtime
   droproot code by using file capabilities.
 
-* Use the snprintb in util/ntptime for flag words like flash
+* Use the snprintb in ntptime/ntptime.c for flag words like flash
   codes and use it systematically to make reports more readable.
 
 * Timer events need, as much as possible, to be eliminated - they eat


=====================================
docs/index.txt
=====================================
--- a/docs/index.txt
+++ b/docs/index.txt
@@ -96,7 +96,7 @@ few will be user-visible.
 * The deprecated and vulnerability-prone ntpdate program has been
   replaced with a shell wrapper around ntpdig.  Its -e and -p
   options are not implemented. It is no longer documented, but can be
-  found in the util/ directory of the source distribution.
+  found in the attic/ directory of the source distribution.
 
 * A large number of obsolete refclocks have been removed in order to
   reduce attack surface, code bulk, and documentation complexity.


=====================================
wafhelpers/bin_test.py
=====================================
--- a/wafhelpers/bin_test.py
+++ b/wafhelpers/bin_test.py
@@ -12,15 +12,15 @@ cmd_map = {
         ("main/ntpkeygen/ntpkeygen",    "-M"):              br'.*Generating new md5 file and link.*',
         ("main/ntpq/ntpq",              "-p"):              br'.*remote.*jitter.*',
         ("main/ntptime/ntptime",        None):              br'.*ntp_gettime\(\) returns code 0 \(OK\).*',
-        ("main/util/sht",               "2:r"):             br'.*reader.*',
+        ("main/attic/sht",               "2:r"):             br'.*reader.*',
 
 # XXX: Need to figure out how to test this.
-#       ("main/util/hist",                        ""):                                  br'',
+#       ("main/attic/hist",                        ""):                                  br'',
 
 # Perl library
 #       ("main/ntptrace/ntptrace",        ""):                                  br'',
 #       ("main/ntpwait/ntpwait",                  ""):                                  br'',
-#       ("main/util/ntpsweep/ntpsweep",   ""):                                  br'',
+#       ("main/ntpsweep/ntpsweep",   ""):                      br'',
 }
 
 


=====================================
wscript
=====================================
--- a/wscript
+++ b/wscript
@@ -177,7 +177,7 @@ def build(ctx):
 	ctx.recurse("ntpkeygen")
 	ctx.recurse("ntptime")
 	ctx.recurse("pylib")
-	ctx.recurse("util")
+	ctx.recurse("attic")
 	ctx.recurse("tests")
 
 	scripts = [



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/36761f3370ad96eafac5b4ba01b03e43eedea5a2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161108/befa6aa8/attachment.html>


More information about the vc mailing list