[Git][NTPsec/ntpsec][master] 3 commits: Fix typo

Eric S. Raymond gitlab at mg.gitlab.com
Sat Feb 27 19:50:18 UTC 2016


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


Commits:
9461b408 by Sanjeev Gupta at 2016-02-28T00:29:32+08:00
Fix typo

Thanks, Hal

- - - - -
f3070c8b by Sanjeev Gupta at 2016-02-28T01:17:02+08:00
Document that tg2.c may need to be rewritten, and is likely obsolete

The WWV family is gone.
Use this as a start to attempt a compile:
gcc -I ../build/ -I ../include/ -I ../libisc/unix/include/ \
	-I ../libisc/include/ tg2.c

- - - - -
52cdb44a by Sanjeev Gupta at 2016-02-28T02:36:00+08:00
Test, and update documentation, for ntpsweep

- - - - -


2 changed files:

- util/README
- util/ntpsweep/ntpsweep-man.txt


Changes:

=====================================
util/README
=====================================
--- a/util/README
+++ b/util/README
@@ -27,7 +27,7 @@ hist.c::	This program can be used to calibrate the clock reading
 		the jitter and if the clock ever runs backwards.
 		To compile in the util directory, run waf configure and:
 		gcc -I ../include/ -I ../build/ hist.c
-		There is no docimentation on how to interpret results.
+		There is no documentation on how to interpret results.
 		Tested: 20160226
 
 kern.c:: 	Header comment from deep in the mists of past time says:
@@ -49,6 +49,10 @@ ntpdate::	Wrapper script to maintain compatibility. Maps options
 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.
+		Needs -I <directory above NTP/Util.pm>
+		May not work on today's Internet, because servers do not
+		wish to be interrogated.
+		Tested: 20160228
 
 ntpver::	Simple script using ntpq to print out the suite version.
 		Tested: 20160226
@@ -70,8 +74,15 @@ 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.
+		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.
+		TRIED: 20160228
+		This program may no longer compile, or run, on anything
+		except a *BSD system.  It need lots of includes, including
+		a strlcpy implementaion, removal of multiple redifines of
+		included functions and headers, etc.
+		WWV and pals are gone, anyway.
 
 // end


=====================================
util/ntpsweep/ntpsweep-man.txt
=====================================
--- a/util/ntpsweep/ntpsweep-man.txt
+++ b/util/ntpsweep/ntpsweep-man.txt
@@ -13,6 +13,13 @@ ntpsweep - print various informations about given NTP servers
 seconds, the daemon version, the operating system and the processor.
 Optionally recursing through all peers.
 
+`ntpswwep` relies on `ntpq` and `ntpdig` to probe servers.  This depends
+on the remote host's _restrict_ configuration allowing this.
+
+`ntpsweep` is a perl script, and you may need to run it as:
+
++perl -I <directory above NTP/Util.pm> ntpsweep+
+
 == OPTIONS ==
 
 +-l+ string, +--host-list+=_string_::



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/a4257d83b15b79485f0f81c28fa4f18aa9bd3603...52cdb44a2bf3aaebc594ae6a71f67de734afc1ea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160227/9ce51ace/attachment.html>


More information about the vc mailing list