NetBSD/dist/ntp
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
..
adjtimed Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
clockstuff Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
conf Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
html Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
include Added code to run ntpd as a non root user and in a chroot jail. This should 2001-09-16 07:51:54 +00:00
kernel Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
libntp Format string cleanups by Bill Sommerfeld. 2000-10-09 14:52:15 +00:00
libparse Fix LP64 printf format problems. 2001-04-21 21:57:16 +00:00
librsaref Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
ntpd va_{start,end} audit: 2001-09-24 13:22:25 +00:00
ntpdate Add the -u flag to the usage message. 2001-02-02 03:35:24 +00:00
ntpdc Negative exit code cleanup: Replace exit(-x) with exit(x). 2001-04-06 11:13:45 +00:00
ntpq Negative exit code cleanup: Replace exit(-x) with exit(x). 2001-04-06 11:13:45 +00:00
ntptrace Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
parseutil Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
scripts Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
util Negative exit code cleanup: Replace exit(-x) with exit(x). 2001-04-06 11:13:45 +00:00
acconfig.h Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
aclocal.m4 Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
build Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
ChangeLog Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
config.guess Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
config.h.in Fix the <ieeefp.h> problem a different way - nothing actually uses the 2000-05-03 06:08:45 +00:00
config.sub Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
configure Fix the <ieeefp.h> problem a different way - nothing actually uses the 2000-05-03 06:08:45 +00:00
configure.in Fix the <ieeefp.h> problem a different way - nothing actually uses the 2000-05-03 06:08:45 +00:00
COPYRIGHT Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
depcomp Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
dot.emacs Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
excludes Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
flock-build Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
INSTALL Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
install-sh Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
Makefile.am Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
Makefile.in Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
missing Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
mkinstalldirs Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
NEWS Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
NOTES.y2kfixes Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
ntp2netbsd fix typo in instructions which had serious consequences as it seems 2001-04-19 17:46:38 +00:00
ntp_update Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
ntp-html2mdoc.pl Prefer long names for months; correct comment in resulting man page. 2001-04-27 00:02:23 +00:00
README Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
README.cvs Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
README.des Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
README.hackers Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
README.rsa Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
readme.y2kfixes Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
results.y2kfixes Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
stamp-h.in Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
TODO Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
WHERE-TO-START Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00

The ntp Distribution Base Directory

This directory and its subdirectories contain the Network Time Protocol
Version 4 (NTP) distribution for Unix and Windows/NT systems.  This release
may still work on VxWorks, too.

The contents of the base directory are given in this file. The contents of
subdirectories are given in the README files in each subdirectory.

A complete explanation of the configure, compile and install process, as
well as setting up an NTP subnet, is in the HTML pages in the ./html/
directory. For more information on NTP and how to get a working setup,
read WHERE-TO-START.

For Windows/NT, visit html/hints/winnt .

The base directory ./ contains the autoconfiguation files, source
directories and related stuff:

COPYRIGHT	Excerpt from the HTML file ./html/copyright.html. This file
		specifies copyright conditions, together with a list of
		major authors and electric addresses.

INSTALL		Generic installation instructions for autoconf-based programs.
		Unless you really know what you are doing, you should read the
		directions in the HTML pages, starting with ./html/index.htm.

NEWS		What's new in this release.

README		This file.

README.cvs	Instructions for folks who use the CVS-repository
		version of NTP.

README.des	If you *need* DES support.

README.hackers	Notes to folks who want to hack on the code.

TODO            List of items the NTP developers are working on.

WHERE-TO-START	Hints on what to read in order to get a working
		configuration.

Makefile.am	Automake file configuration file. Edit only if you have the
		GNU automake and autoconf utilities installed.

Makefile.in	Autoconf make file template for Unix.

acconfig.h	Autoconf template header file. Edit only if you
		have the GNU automake and autoconf utilities installed.

adjtimed        Directory containing the sources for the adjtime daemon
		for HP/UX systems prior to HP-UX 10.0.

authstuff       Directory containing sources for miscellaneous programs
		to test, calibrate and certify the cryptographic
		mechanisms for DES and MD5 based authentication. These
		programs do not include the cryptographic routines
		themselves, so are free of U.S. export restrictions.

build		A script to build the distribution in A.`config.guess`
		subdirectory (more or less).

clockstuff	Directory containing sources for miscellaneous programs
		to test certain auxiliary programs used with some kernel
		configurations, together with a program to calculate
		propagation delays for use with radio clocks and
		national time dissemination services such as WWV/WWVH,
		WWVB and CHU.

conf            Directory containing a motley collection of
		configuration files for various systems. For example only.

config.guess	Script used to identify the machine architecture and
		operating system.

config.h.in	Configuration file generated automatically from
		configure.in. Do not edit.

configure	Script used to configure the distribution. See the HTML pages
		(./html/index.htm) for a complete description of the options
		available.

configure.in	Master configuration template. Edit only if you have the
		GNU automake and autoconf utilities installed.

dot.emacs	C-mode indentation rules for code "Just the way Dave likes it".

flock_build	(UDel only) Build the distribution on a number of
		different platforms.

html            Directory containing a complete set of documentation on
		building and configuring a NTP server or client. The
		documentation is in the form of HTML files suitable for
		browsing and contains links to additional documentation
		at various web sites. If a browser is unavailable, an
		ordinary text editor can be used.

include		Directory containing include header files used by most
		programs in the distribution.

install-sh	Script to install a program, script or data file.

kernel		Directory containing sources for kernel programs such as
		line disciplines and STREAMS modules used with the CHU
		decoder and precision PPS signals.

libntp		Directory containing library source code used by most
		programs in the distribution.

librsaref	Staging directory for RSAREF.

ntp_update	Update an NTP CVS tree.

ntpdate		Directory containing sources for a program to set the
		local machine time from one or more remote machines
		running NTP.  Operates like rdate, but much more accurate.

ntpq            Directory containing sources for a utility program to
		query local and remote NTP peers for state variables and
		related timekeeping information. This program conforms
		to Appendix A of the NTP Version 3 Specification RFC 1305.

ntptrace        Directory containing sources for a utility program that
		can be used to reveal the chain of NTP peers from a
		designated peer to the primary server at the root of the
		timekeeping subnet.

parse		Directory containing files belonging to the generic
		parse reference clock driver. For reasonably simple
		clocks it is possible to get away with about 3-4Kb of
		code. additionally the SunOS 4.x/Solaris 5.3 streams
		module for parse squats here.

patches		Directory containing patches already applied to this
		distribution. These are included for record and to help
		in possible porting problems.

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.

stamp.h.in	Configuration file generated automatically from configure.in.
		Do not edit.

util            Directory containing sources for various utility and
		testing programs.

David L. Mills (mills@udel.edu)
21 June 1998