Import ntp 4.2.4p5

This commit is contained in:
kardel 2008-08-23 07:38:09 +00:00
parent 3806612bc7
commit 835928de57
48 changed files with 1594 additions and 200 deletions

2
dist/ntp/COPYRIGHT vendored
View File

@ -13,7 +13,7 @@ This file is automatically generated from html/copyright.html
applies as if the text was explicitly included in the file.
***********************************************************************
* *
* Copyright (c) David L. Mills 1992-2007 *
* Copyright (c) David L. Mills 1992-2008 *
* *
* Permission to use, copy, modify, and distribute this software and *
* its documentation for any purpose with or without fee is hereby *

150
dist/ntp/ChangeLog vendored
View File

@ -1,4 +1,73 @@
(4.2.4p5) 2008/08/17 Released by Harlan Stenn <stenn@ntp.org>
---
(4.2.4p5) 2008/08/17 Released by Harlan Stenn <stenn@ntp.org>
(4.2.4p5) 2008/08/17 Released by Harlan Stenn <stenn@ntp.org>
* [BUG 1051] Month off by one in leap second message written to clockstats
file fixed.
* [Bug 450] Windows only: Under original Windows NT we must not discard the
wildcard socket to workaround a bug in NT's getsockname().
* [Bug 1038] Built-in getpass() function also prompts for password if
not built with DEBUG.
* [Bug 841] Obsolete the "dynamic" keyword and make deferred binding
to local interfaces the default.
Emit a warning if that keyword is used for configuration.
* [Bug 959] Refclock on Windows not properly releasing recvbuffs.
* [Bug 993] Fix memory leak when fetching system messages.
* [Bug 987] Wake up the resolver thread/process when a new interface has
become available.
* Correctly apply negative-sawtooth for oncore 12 channel receiver.
* Startup code for original LinuxPPS removed. LinuxPPS now conforms to
the PPSAPI.
* [Bug 1000] allow implicit receive buffer allocation for Windows.
fixes startup for windows systems with many interfaces.
reduces dropped packets on network bursts.
additionally fix timer() starvation during high load.
* [Bug 990] drop minimum time restriction for interface update interval.
* [Bug 977] Fix mismatching #ifdefs for builds without IPv6.
* Update the copyright year.
* Build system cleanup (make autogen-generated files writable).
* [Bug 957] Windows only: Let command line parameters from the Windows SCM GUI
override the standard parameters from the ImagePath registry key.
* Fixes for ntpdate:
* [Bug 532] nptdate timeout is too long if several servers are supplied.
* [Bug 698] timeBeginPeriod is called without timeEndPeriod in some NTP tools.
* [Bug 857] ntpdate debug mode adjusts system clock when it shouldn't.
* [Bug 908] ntpdate crashes sometimes.
* [Bug 982] ntpdate(and ntptimeset) buffer overrun if HAVE_POLL_H isn't set
(dup of 908).
* [Bug 997] ntpdate buffer too small and unsafe.
* ntpdate.c: Under Windows check whether NTP port in use under same conditions
as under other OSs.
* ntpdate.c: Fixed some typos and indents (tabs/spaces).
---
(4.2.4p4) Released by Harlan Stenn <stenn@ntp.org>
* [Bug 902] Fix problems with the -6 flag.
* Updated include/copyright.def (owner and year).
* [Bug 878] Avoid ntpdc use of refid value as unterminated string.
* [Bug 881] Corrected display of pll offset on 64bit systems.
* [Bug 886] Corrected sign handling on 64bit in ntpdc loopinfo command.
* [Bug 889] avoid malloc() interrupted by SIGIO risk
* ntpd/refclock_parse.c: cleanup shutdown while the file descriptor is still open.
* [Bug 885] use emalloc() to get a message at the end of the memory
unsigned types cannot be less than 0
default_ai_family is a short
lose trailing , from enum list
clarify ntp_restrict.c for easier automated analysis
* [Bug 884] don't access recv buffers after having them passed to the free list.
* [Bug 882] allow loopback interfaces to share addresses with other interfaces.
---
(4.2.4p3) Released by Harlan Stenn <stenn@ntp.org>
* [Bug 863] unable to stop ntpd on Windows as the handle reference for events
changed
---
(4.2.4p2) Released by Harlan Stenn <stenn@ntp.org>
* [Bug 854] Broadcast address was not correctly set for interface addresses
* [Bug 829] reduce syslog noise, while there fix Enabled/Disable logging
to reflect the actual configuration.
@ -11,8 +80,13 @@
* [Bug 527] Don't write from source address length to wrong location
* Upgraded autogen and libopts.
* [Bug 811] ntpd should not read a .ntprc file.
---
(4.2.4p1) (skipped)
---
(4.2.4p0) Released by Harlan Stenn <stenn@ntp.org>
* [Bug 793] Update Hans Lambermont's email address in ntpsweep.
* [Bug 776] Remove unimplemented "rate" flag from ntpdate.
* [Bug 586] Avoid lookups if AI_NUMERICHOST is set.
@ -23,7 +97,10 @@
* [Bug 753] make union timestamp anonymous (Philip Prindeville).
* confopt.html: move description for "dynamic" keyword into the right section.
* pick the right type for the recv*() length argument.
---
(4.2.4) Released by Harlan Stenn <stenn@ntp.org>
* monopt.html fixes from Dave Mills.
* [Bug 452] Do not report kernel PLL/FLL flips.
* [Bug 746] Expert mouseCLOCK USB v2.0 support added.'
@ -89,12 +166,16 @@
* Support separate PPS devices for PARSE refclocks.
* [Bug 637, 51?] Dynamic interface scanning can now be done.
* Options processing now uses GNU AutoGen.
---
(4.2.2p4) Released by Harlan Stenn <stenn@ntp.org>
* [Bug 710] compat getnameinfo() has off-by-one error
* [Bug 690] Buffer overflow in Windows when doing DNS Lookups
---
(4.2.2p3) Released by Harlan Stenn <stenn@ntp.org>
* Make the ChangeLog file cleaner and easier to read
* [Bug 601] ntpq's decodeint uses an extra level of indirection
* [Bug 657] Different OSes need different sized args for IP_MULTICAST_LOOP
@ -102,10 +183,14 @@
* Documentation fixes
* Get sntp working under AIX-5
---
(4.2.2p2) (broken)
* Get sntp working under AIX-5
---
(4.2.2p1)
* [Bug 661] Use environment variable to specify the base path to openssl.
* Resolve an ambiguity in the copyright notice
* Added some new documentation files
@ -119,7 +204,9 @@
* [Bug 633] Avoid writing files in srcdir
* release engineering/build changes
---
(4.2.2)
* SNTP
* Many bugfixes
* Implements the current "goal state" of NTPv4
@ -129,16 +216,20 @@
* [Bug 239] Fix intermittent autokey failure with multicast clients.
* Rewrite of the multicast code
* New version numbering scheme
---
(4.2.0)
* More stuff than I have time to document
* IPv6 support
* Bugfixes
* call-gap filtering
* wwv and chu refclock improvements
* OpenSSL integration
---
(4.1.2)
* clock state machine bugfix
* Lose the source port check on incoming packets
* (x)ntpdc compatibility patch
@ -157,9 +248,12 @@
* Dynix PTX port fixes
* Document conversion from CVS to BK
* readline support for ntpq
---
(4.1.0)
* CERT problem fixed (99k23)
* Huff-n-Puff filter
* Preparation for OpenSSL support
* Resolver changes/improvements are not backward compatible with mode 7
@ -179,8 +273,10 @@
* New/updated drivers: Forum Graphic GPS, WWV/H, Heath GC-100 II, HOPF
serial and PCI, ONCORE, ulink331
* Rewrite of the audio drivers
---
(4.0.99)
* Driver updates: CHU, DCF, GPS/VME, Oncore, PCF, Ulink, WWVB, burst
If you use the ONCORE driver with a HARDPPS kernel module,
you *must* have a properly specified:
@ -191,8 +287,10 @@
* ntpd, ntpq, ntpdate cleanup and fixes
* NT port improvements
* AIX, BSDI, DEC OSF, FreeBSD, NetBSD, Reliant, SCO, Solaris port improvements
---
(4.0.98)
* Solaris kernel FLL bug is fixed in 106541-07
* Bug/lint cleanup
* PPS cleanup
@ -202,32 +300,42 @@
* Trimble OEM Ace-II support
* DCF77 power choices
* Oncore improvements
---
(4.0.97)
* NT patches
* AIX,SunOS,IRIX portability
* NeXT portability
* ntptimeset utility added
* cygwin portability patches
---
(4.0.96)
* -lnsl, -lsocket, -lgen configuration patches
* Y2K patches from AT&T
* Linux portability cruft
---
(4.0.95)
* NT port cleanup/replacement
* a few portability fixes
* VARITEXT Parse clock added
---
(4.0.94)
* PPS updates (including ntp.config options)
* Lose the old DES stuff in favor of the (optional) RSAREF stuff
* html cleanup/updates
* numerous drivers cleaned up
* numerous portability patches and code cleanup
---
(4.0.93)
* Oncore refclock needs PPS or one of two ioctls.
* Don't make ntptime under Linux. It doesn't compile for too many folks.
* Autokey cleanup
@ -244,8 +352,10 @@
* New clock state machine
* SCO cleanup
* Skip alias interfaces
---
(4.0.92)
* chronolog and dumbclock refclocks
* SCO updates
* Cleanup/bugfixes
@ -257,8 +367,10 @@
* NMEA clock improvements
* PPS improvements
* AIX portability patches
---
(4.0.91)
* New ONCORE driver
* New MX4200 driver
* Palisade improvements
@ -267,19 +379,25 @@
* HP-UX, IRIX lint cleanup
* AIX portability patches
* NT cleanup
---
(4.0.90)
* Nanoseconds
* New palisade driver
* New Oncore driver
---
(4.0.73)
* README.hackers added
* PARSE driver is working again
* Solaris 2.6 has nasty kernel bugs. DO NOT enable pll!
* DES is out of the distribution.
---
(4.0.72)
* K&R C compiling should work again.
* IRIG patches.
* MX4200 driver patches.

1228
dist/ntp/CommitLog vendored

File diff suppressed because it is too large Load Diff

40
dist/ntp/NEWS vendored
View File

@ -1,3 +1,41 @@
NTP 4.2.4p5 (Harlan Stenn <stenn@ntp.org>, 2008/08/17)
Focus: Minor Bugfixes
This release fixes a number of Windows-specific ntpd bugs and
platform-independent ntpdate bugs. A logging bugfix has been applied
to the ONCORE driver.
The "dynamic" keyword and is now obsolete and deferred binding to local
interfaces is the new default. The minimum time restriction for the
interface update interval has been dropped.
A number of minor build system and documentation fixes are included.
This is a recommended upgrade for Windows.
---
NTP 4.2.4p4 (Harlan Stenn <stenn@ntp.org>, 2007/09/10)
Focus: Minor Bugfixes
This release updates certain copyright information, fixes several display
bugs in ntpdc, avoids SIGIO interrupting malloc(), cleans up file descriptor
shutdown in the parse refclock driver, removes some lint from the code,
stops accessing certain buffers immediately after they were freed, fixes
a problem with non-command-line specification of -6, and allows the loopback
interface to share addresses with other interfaces.
---
NTP 4.2.4p3 (Harlan Stenn <stenn@ntp.org>, 2007/06/29)
Focus: Minor Bugfixes
This release fixes a bug in Windows that made it difficult to
terminate ntpd under windows.
This is a recommended upgrade for Windows.
---
NTP 4.2.4p2 (Harlan Stenn <stenn@ntp.org>, 2007/06/19)
Focus: Minor Bugfixes
@ -8,6 +46,7 @@ ntpd crashing, and several other minor bugs. Handling of
multicast interfaces and logging configuration were improved.
The required versions of autogen and libopts were incremented.
This is a recommended upgrade for Windows and multicast users.
---
NTP 4.2.4 (Harlan Stenn <stenn@ntp.org>, 2006/12/31)
@ -23,6 +62,7 @@ and bug fixes.
K&R C is no longer supported as of NTP-4.2.4. We are now aiming for ANSI
C support.
---
NTP 4.2.0 (Harlan Stenn <stenn@ntp.org>, 2003/10/15)

20
dist/ntp/bootstrap vendored
View File

@ -27,9 +27,25 @@
set -e
scripts/genver
# autoreconf says:
# The environment variables AUTOCONF, AUTOHEADER, AUTOMAKE, ACLOCAL,
# AUTOPOINT, LIBTOOLIZE, M4 are honored.
AUTORECONF=${AUTORECONF:-autoreconf}
scripts/genver
case `hostname` in
pogo.udel.edu)
if fgrep -q 4.2.4 version.m4; then
AUTOCONF=autoconf-2.59
AUTOHEADER=autoheader-2.59
AUTOMAKE=automake-1.9
ACLOCAL=aclocal-1.9
export AUTOCONF AUTOHEADER AUTOMAKE ACLOCAL
fi
;;
esac
# 20060629: HMS: Let's try checking in libopts and the autogen-generated files
## The copy for ntp...
@ -101,4 +117,4 @@ ${AUTORECONF} -i -v
## we get the correct srcdir path in sntp/libopts/Makefile.in
#rm -rf sntp/autom4te.cache
#
#(cd sntp && ${AUTORECONF} -f -i -v)
#(cd sntp && ${AUTORECONF} -i -v)

View File

@ -60,7 +60,11 @@ case "$host" in
LIBS="$LIBS -lcurses"
;;
*-*-solaris*)
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__"
# see "man standards".
# -D_XOPEN_SOURCE=500 is probably OK for c89 and before
# -D_XOPEN_SOURCE=600 seems OK for c99
#CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__"
CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
libxnet=-lxnet
;;
esac

View File

@ -1,8 +1,8 @@
/* -*- Mode: Text -*- */
copyright = {
date = "1970-2006";
owner = "ntp.org";
date = "1970-2008";
owner = "David L. Mills and/or others";
eaddr = "http://bugs.ntp.isc.org, bugs@ntp.org";
type = note;
text = "see html/copyright.html";

View File

@ -1 +1 @@
version = '4.2.4p2';
version = '4.2.4p5';

View File

@ -34,7 +34,7 @@ ETAGS_ARGS = Makefile.am
### Y2Kfixes
check_PROGRAMS = @MAKE_CHECK_Y2K@
EXTRA_PROGRAMS = check_y2k ntpdsim
run_ag = cd $(srcdir) && autogen -L ../include
run_ag = cd $(srcdir) && autogen -L ../include --writable
std_def_list= $(top_srcdir)/include/debug-opt.def \
$(top_srcdir)/include/autogen-version.def \
$(top_srcdir)/include/copyright.def \

View File

@ -291,7 +291,7 @@ EXTRA_DIST = ntpd-opts.def ntpdbase-opts.def ntpdsim-opts.def \
$(BUILT_SOURCES)
ETAGS_ARGS = Makefile.am
run_ag = cd $(srcdir) && autogen -L ../include
run_ag = cd $(srcdir) && autogen -L ../include --writable
std_def_list = $(top_srcdir)/include/debug-opt.def \
$(top_srcdir)/include/autogen-version.def \
$(top_srcdir)/include/copyright.def \

View File

@ -1,10 +1,9 @@
/* $NetBSD: ntpd-opts.c,v 1.1.1.2 2007/06/24 15:50:18 kardel Exp $ */
/* $NetBSD: ntpd-opts.c,v 1.1.1.3 2008/08/23 07:38:52 kardel Exp $ */
/* -*- buffer-read-only: t -*- vi: set ro:
/*
* EDIT THIS FILE WITH CAUTION (ntpd-opts.c)
*
* DO NOT EDIT THIS FILE (ntpd-opts.c)
*
* It has been AutoGen-ed Wednesday June 20, 2007 at 07:37:23 AM EDT
* It has been AutoGen-ed Sunday August 17, 2008 at 05:20:10 AM EDT
* From the definitions ntpd-opts.def
* and the template file options
*
@ -22,7 +21,7 @@
*
* This source file is copyrighted and licensed under the following terms:
*
* ntpd copyright 1970-2006 ntp.org - all rights reserved
* ntpd copyright 1970-2008 David L. Mills and/or others - all rights reserved
*
* see html/copyright.html
*/
@ -37,7 +36,7 @@
extern "C" {
#endif
tSCC zCopyright[] =
"ntpd copyright (c) 1970-2006 ntp.org, all rights reserved";
"ntpd copyright (c) 1970-2008 David L. Mills and/or others, all rights reserved";
tSCC zCopyrightNotice[] =
/* extracted from ../include/copyright.def near line 8 */
@ -838,7 +837,7 @@ static tOptDesc optDesc[ OPTION_CT ] = {
*/
tSCC zPROGNAME[] = "NTPD";
tSCC zUsageTitle[] =
"ntpd - NTP daemon program - Ver. 4.2.4p2\n\
"ntpd - NTP daemon program - Ver. 4.2.4p5\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
#define zRcName NULL
#define apzHomeList NULL

View File

@ -1,10 +1,9 @@
/* $NetBSD: ntpd-opts.h,v 1.1.1.2 2007/06/24 15:50:18 kardel Exp $ */
/* $NetBSD: ntpd-opts.h,v 1.1.1.3 2008/08/23 07:38:52 kardel Exp $ */
/* -*- buffer-read-only: t -*- vi: set ro:
/*
* EDIT THIS FILE WITH CAUTION (ntpd-opts.h)
*
* DO NOT EDIT THIS FILE (ntpd-opts.h)
*
* It has been AutoGen-ed Wednesday June 20, 2007 at 07:37:22 AM EDT
* It has been AutoGen-ed Sunday August 17, 2008 at 05:20:09 AM EDT
* From the definitions ntpd-opts.def
* and the template file options
*
@ -22,7 +21,7 @@
*
* This source file is copyrighted and licensed under the following terms:
*
* ntpd copyright 1970-2006 ntp.org - all rights reserved
* ntpd copyright 1970-2008 David L. Mills and/or others - all rights reserved
*
* see html/copyright.html
*/
@ -90,8 +89,8 @@ typedef enum {
} teOptIndex;
#define OPTION_CT 32
#define NTPD_VERSION "4.2.4p2"
#define NTPD_FULL_VERSION "ntpd - NTP daemon program - Ver. 4.2.4p2"
#define NTPD_VERSION "4.2.4p5"
#define NTPD_FULL_VERSION "ntpd - NTP daemon program - Ver. 4.2.4p5"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED

View File

@ -3,11 +3,10 @@
@pindex ntpd
@cindex NTP daemon program
@ignore
# -*- buffer-read-only: t -*- vi: set ro:
#
# DO NOT EDIT THIS FILE (ntpd-opts.texi)
# EDIT THIS FILE WITH CAUTION (ntpd-opts.texi)
#
# It has been AutoGen-ed Wednesday June 20, 2007 at 07:37:26 AM EDT
# It has been AutoGen-ed Sunday August 17, 2008 at 05:20:12 AM EDT
# From the definitions ntpd-opts.def
# and the template file aginfo.tpl
@end ignore
@ -61,7 +60,7 @@ This is the automatically generated usage text for ntpd:
@exampleindent 0
@example
ntpd - NTP daemon program - Ver. 4.2.5p52
ntpd - NTP daemon program - Ver. 4.2.5p113
USAGE: ntpd [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
@ -81,8 +80,7 @@ USAGE: ntpd [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
- may appear multiple times
-f Str driftfile frequency drift file name
-g no panicgate Allow the first adjustment to be Big
-i Str jaildir Jail directory
-I Str interface Listen on interface
-I Str interface Listen on the specified interface or IP
- may appear multiple times
-k Str keyfile path to symmetric keys
-l Str logfile path to the log file
@ -93,17 +91,16 @@ USAGE: ntpd [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
-P Num priority Process priority
-q no quit Set the time and quit
-r Str propagationdelay Broadcast/propagation delay
-U Num updateinterval interval in seconds between scans for new or dropped interfaces
-s Str statsdir Statistics file location
-t Str trustedkey Trusted key number
- may appear multiple times
-u Str user Run as userid (or userid:groupid)
-U Num updateinterval interval in seconds between scans for new or dropped interfaces
Str var make ARG an ntp variable (RW)
- may appear multiple times
Str dvar make ARG an ntp variable (RW|DEF)
- may appear multiple times
-x no slew Slew up to 600 seconds
-v opt version Output version information and exit
opt version Output version information and exit
-? no help Display usage information and exit
-! no more-help Extended usage information passed thru pager
@ -115,7 +112,7 @@ The following option preset mechanisms are supported:
please send bug reports to: http://bugs.ntp.isc.org, bugs@@ntp.org
please send bug reports to: http://bugs.ntp.org, bugs@@ntp.org
@end example
@exampleindent 4
@ -405,7 +402,7 @@ This is the ``interval in seconds between scans for new or dropped interfaces''
Give the time in seconds between two scans for new or dropped interfaces.
For systems with routing socket support the scans will be performed shortly after the interface change
has been detected by the system.
Use 0 to disable scanning. 60 seconds is the minimum time between scans.
Use 0 to disable scanning.
@node ntpd statsdir
@subsection statsdir option (-s)

10
dist/ntp/ntpd/ntpd.1 vendored
View File

@ -1,7 +1,7 @@
.TH NTPD 1 2007-06-20 "( 4.2.4p2)" "Programmer's Manual"
.\" DO NOT EDIT THIS FILE (ntpd.1)
.TH NTPD 1 2008-08-17 "( 4.2.4p5)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpd.1)
.\"
.\" It has been AutoGen-ed Wednesday June 20, 2007 at 07:37:24 AM EDT
.\" It has been AutoGen-ed Sunday August 17, 2008 at 05:20:11 AM EDT
.\" From the definitions ntpd-opts.def
.\" and the template file agman1.tpl
.\"
@ -207,7 +207,7 @@ This option takes an integer number as its argument.
Give the time in seconds between two scans for new or dropped interfaces.
For systems with routing socket support the scans will be performed shortly after the interface change
has been detected by the system.
Use 0 to disable scanning. 60 seconds is the minimum time between scans.
Use 0 to disable scanning.
.TP
.BR \-s " \fIstring\fP, " \--statsdir "=" \fIstring\fP
Statistics file location.
@ -281,7 +281,7 @@ by loading values from environment variables named:
.fi
.aj
.SH AUTHOR
ntp.org
David L. Mills and/or others
.br
Please send bug reports to: http://bugs.ntp.isc.org, bugs@ntp.org

View File

@ -312,7 +312,7 @@ flag = {
Give the time in seconds between two scans for new or dropped interfaces.
For systems with routing socket support the scans will be performed shortly after the interface change
has been detected by the system.
Use 0 to disable scanning. 60 seconds is the minimum time between scans.
Use 0 to disable scanning.
_EndOfDoc_;
};

View File

@ -1,10 +1,9 @@
/* $NetBSD: ntpdsim-opts.c,v 1.1.1.2 2007/06/24 15:50:19 kardel Exp $ */
/* $NetBSD: ntpdsim-opts.c,v 1.1.1.3 2008/08/23 07:38:52 kardel Exp $ */
/* -*- buffer-read-only: t -*- vi: set ro:
/*
* EDIT THIS FILE WITH CAUTION (ntpdsim-opts.c)
*
* DO NOT EDIT THIS FILE (ntpdsim-opts.c)
*
* It has been AutoGen-ed Wednesday June 20, 2007 at 07:37:28 AM EDT
* It has been AutoGen-ed Sunday August 17, 2008 at 05:20:14 AM EDT
* From the definitions ntpdsim-opts.def
* and the template file options
*
@ -22,7 +21,7 @@
*
* This source file is copyrighted and licensed under the following terms:
*
* ntpdsim copyright 1970-2006 ntp.org - all rights reserved
* ntpdsim copyright 1970-2008 David L. Mills and/or others - all rights reserved
*
* see html/copyright.html
*/
@ -37,7 +36,7 @@
extern "C" {
#endif
tSCC zCopyright[] =
"ntpdsim copyright (c) 1970-2006 ntp.org, all rights reserved";
"ntpdsim copyright (c) 1970-2008 David L. Mills and/or others, all rights reserved";
tSCC zCopyrightNotice[] =
/* extracted from ../include/copyright.def near line 8 */
@ -1075,7 +1074,7 @@ static tOptDesc optDesc[ OPTION_CT ] = {
*/
tSCC zPROGNAME[] = "NTPDSIM";
tSCC zUsageTitle[] =
"ntpdsim - NTP daemon simulation program - Ver. 4.2.4p2\n\
"ntpdsim - NTP daemon simulation program - Ver. 4.2.4p5\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {

View File

@ -1,10 +1,9 @@
/* $NetBSD: ntpdsim-opts.h,v 1.1.1.2 2007/06/24 15:50:20 kardel Exp $ */
/* $NetBSD: ntpdsim-opts.h,v 1.1.1.3 2008/08/23 07:38:53 kardel Exp $ */
/* -*- buffer-read-only: t -*- vi: set ro:
/*
* EDIT THIS FILE WITH CAUTION (ntpdsim-opts.h)
*
* DO NOT EDIT THIS FILE (ntpdsim-opts.h)
*
* It has been AutoGen-ed Wednesday June 20, 2007 at 07:37:27 AM EDT
* It has been AutoGen-ed Sunday August 17, 2008 at 05:20:13 AM EDT
* From the definitions ntpdsim-opts.def
* and the template file options
*
@ -22,7 +21,7 @@
*
* This source file is copyrighted and licensed under the following terms:
*
* ntpdsim copyright 1970-2006 ntp.org - all rights reserved
* ntpdsim copyright 1970-2008 David L. Mills and/or others - all rights reserved
*
* see html/copyright.html
*/
@ -101,8 +100,8 @@ typedef enum {
} teOptIndex;
#define OPTION_CT 43
#define NTPDSIM_VERSION "4.2.4p2"
#define NTPDSIM_FULL_VERSION "ntpdsim - NTP daemon simulation program - Ver. 4.2.4p2"
#define NTPDSIM_VERSION "4.2.4p5"
#define NTPDSIM_FULL_VERSION "ntpdsim - NTP daemon simulation program - Ver. 4.2.4p5"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED

View File

@ -3,11 +3,10 @@
@pindex ntpdsim
@cindex NTP daemon simulation program
@ignore
# -*- buffer-read-only: t -*- vi: set ro:
#
# DO NOT EDIT THIS FILE (ntpdsim-opts.texi)
# EDIT THIS FILE WITH CAUTION (ntpdsim-opts.texi)
#
# It has been AutoGen-ed Wednesday June 20, 2007 at 07:37:30 AM EDT
# It has been AutoGen-ed Sunday August 17, 2008 at 05:20:17 AM EDT
# From the definitions ntpdsim-opts.def
# and the template file aginfo.tpl
@end ignore
@ -388,7 +387,7 @@ This is the ``interval in seconds between scans for new or dropped interfaces''
Give the time in seconds between two scans for new or dropped interfaces.
For systems with routing socket support the scans will be performed shortly after the interface change
has been detected by the system.
Use 0 to disable scanning. 60 seconds is the minimum time between scans.
Use 0 to disable scanning.
@node ntpdsim statsdir
@subsection statsdir option (-s)

View File

@ -1,7 +1,7 @@
.TH NTPDSIM 1 2007-06-20 "( 4.2.4p2)" "Programmer's Manual"
.\" DO NOT EDIT THIS FILE (ntpdsim.1)
.TH NTPDSIM 1 2008-08-17 "( 4.2.4p5)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpdsim.1)
.\"
.\" It has been AutoGen-ed Wednesday June 20, 2007 at 07:37:29 AM EDT
.\" It has been AutoGen-ed Sunday August 17, 2008 at 05:20:16 AM EDT
.\" From the definitions ntpdsim-opts.def
.\" and the template file agman1.tpl
.\"
@ -227,7 +227,7 @@ This option takes an integer number as its argument.
Give the time in seconds between two scans for new or dropped interfaces.
For systems with routing socket support the scans will be performed shortly after the interface change
has been detected by the system.
Use 0 to disable scanning. 60 seconds is the minimum time between scans.
Use 0 to disable scanning.
.TP
.BR \-s " \fIstring\fP, " \--statsdir "=" \fIstring\fP
Statistics file location.
@ -342,7 +342,7 @@ The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
If any of these are directories, then the file \fI.ntprc\fP
is searched for within those directories.
.SH AUTHOR
ntp.org
David L. Mills and/or others
.br
Please send bug reports to: http://bugs.ntp.isc.org, bugs@ntp.org

View File

@ -19,7 +19,7 @@ EXTRA_DIST= nl_in.c nl.pl layout.std \
BUILT_SOURCES+= ntpdc-opts.c ntpdc-opts.h ntpdc.1 ntpdc-opts.texi \
ntpdc-opts.menu
man_MANS= ntpdc.1
run_ag= cd $(srcdir) && autogen -L ../include
run_ag= cd $(srcdir) && autogen -L ../include --writable
std_def_list= $(top_srcdir)/include/debug-opt.def \
$(top_srcdir)/include/autogen-version.def \
$(top_srcdir)/include/copyright.def \

View File

@ -240,7 +240,7 @@ EXTRA_DIST = nl_in.c nl.pl layout.std \
ntpdc-opts.def ntpdc.1 ntpdc-opts.texi ntpdc-opts.menu
man_MANS = ntpdc.1
run_ag = cd $(srcdir) && autogen -L ../include
run_ag = cd $(srcdir) && autogen -L ../include --writable
std_def_list = $(top_srcdir)/include/debug-opt.def \
$(top_srcdir)/include/autogen-version.def \
$(top_srcdir)/include/copyright.def \

View File

@ -1,10 +1,9 @@
/* $NetBSD: ntpdc-opts.c,v 1.1.1.2 2007/06/24 15:49:05 kardel Exp $ */
/* $NetBSD: ntpdc-opts.c,v 1.1.1.3 2008/08/23 07:38:35 kardel Exp $ */
/* -*- buffer-read-only: t -*- vi: set ro:
/*
* EDIT THIS FILE WITH CAUTION (ntpdc-opts.c)
*
* DO NOT EDIT THIS FILE (ntpdc-opts.c)
*
* It has been AutoGen-ed Wednesday June 20, 2007 at 07:43:48 AM EDT
* It has been AutoGen-ed Sunday August 17, 2008 at 05:26:25 AM EDT
* From the definitions ntpdc-opts.def
* and the template file options
*
@ -22,7 +21,7 @@
*
* This source file is copyrighted and licensed under the following terms:
*
* ntpdc copyright 1970-2006 ntp.org - all rights reserved
* ntpdc copyright 1970-2008 David L. Mills and/or others - all rights reserved
*
* see html/copyright.html
*/
@ -37,7 +36,7 @@
extern "C" {
#endif
tSCC zCopyright[] =
"ntpdc copyright (c) 1970-2006 ntp.org, all rights reserved";
"ntpdc copyright (c) 1970-2008 David L. Mills and/or others, all rights reserved";
tSCC zCopyrightNotice[] =
/* extracted from ../include/copyright.def near line 8 */
@ -465,7 +464,7 @@ static tOptDesc optDesc[ OPTION_CT ] = {
*/
tSCC zPROGNAME[] = "NTPDC";
tSCC zUsageTitle[] =
"ntpdc - vendor-specific NTP query program - Ver. 4.2.4p2\n\
"ntpdc - vendor-specific NTP query program - Ver. 4.2.4p5\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {

View File

@ -1,10 +1,9 @@
/* $NetBSD: ntpdc-opts.h,v 1.1.1.2 2007/06/24 15:49:05 kardel Exp $ */
/* $NetBSD: ntpdc-opts.h,v 1.1.1.3 2008/08/23 07:38:35 kardel Exp $ */
/* -*- buffer-read-only: t -*- vi: set ro:
/*
* EDIT THIS FILE WITH CAUTION (ntpdc-opts.h)
*
* DO NOT EDIT THIS FILE (ntpdc-opts.h)
*
* It has been AutoGen-ed Wednesday June 20, 2007 at 07:43:47 AM EDT
* It has been AutoGen-ed Sunday August 17, 2008 at 05:26:25 AM EDT
* From the definitions ntpdc-opts.def
* and the template file options
*
@ -22,7 +21,7 @@
*
* This source file is copyrighted and licensed under the following terms:
*
* ntpdc copyright 1970-2006 ntp.org - all rights reserved
* ntpdc copyright 1970-2008 David L. Mills and/or others - all rights reserved
*
* see html/copyright.html
*/
@ -73,8 +72,8 @@ typedef enum {
} teOptIndex;
#define OPTION_CT 15
#define NTPDC_VERSION "4.2.4p2"
#define NTPDC_FULL_VERSION "ntpdc - vendor-specific NTP query program - Ver. 4.2.4p2"
#define NTPDC_VERSION "4.2.4p5"
#define NTPDC_FULL_VERSION "ntpdc - vendor-specific NTP query program - Ver. 4.2.4p5"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED

View File

@ -3,11 +3,10 @@
@pindex ntpdc
@cindex vendor-specific NTP query program
@ignore
# -*- buffer-read-only: t -*- vi: set ro:
#
# DO NOT EDIT THIS FILE (ntpdc-opts.texi)
# EDIT THIS FILE WITH CAUTION (ntpdc-opts.texi)
#
# It has been AutoGen-ed Wednesday June 20, 2007 at 07:43:50 AM EDT
# It has been AutoGen-ed Sunday August 17, 2008 at 05:26:27 AM EDT
# From the definitions ntpdc-opts.def
# and the template file aginfo.tpl
@end ignore
@ -59,7 +58,7 @@ This is the automatically generated usage text for ntpdc:
@exampleindent 0
@example
ntpdc - vendor-specific NTP query program - Ver. 4.2.5p52
ntpdc - vendor-specific NTP query program - Ver. 4.2.5p113
USAGE: ntpdc [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
@ -87,7 +86,7 @@ USAGE: ntpdc [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
-D Str set-debug-level Set the output debug message level
- may appear multiple times
-n no numeric numeric host addresses
-v opt version Output version information and exit
opt version Output version information and exit
-? no help Display usage information and exit
-! no more-help Extended usage information passed thru pager
-> opt save-opts Save the option state to a config file
@ -120,7 +119,7 @@ configuration options which can be specified at startup using
ntpd's configuration file may also be specified at run time using
[= prog-name =] .
please send bug reports to: http://bugs.ntp.isc.org, bugs@@ntp.org
please send bug reports to: http://bugs.ntp.org, bugs@@ntp.org
@end example
@exampleindent 4

View File

@ -1,7 +1,7 @@
.TH NTPDC 1 2007-06-20 "( 4.2.4p2)" "Programmer's Manual"
.\" DO NOT EDIT THIS FILE (ntpdc.1)
.TH NTPDC 1 2008-08-17 "( 4.2.4p5)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpdc.1)
.\"
.\" It has been AutoGen-ed Wednesday June 20, 2007 at 07:43:49 AM EDT
.\" It has been AutoGen-ed Sunday August 17, 2008 at 05:26:27 AM EDT
.\" From the definitions ntpdc-opts.def
.\" and the template file agman1.tpl
.\"
@ -143,7 +143,7 @@ The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
If any of these are directories, then the file \fI.ntprc\fP
is searched for within those directories.
.SH AUTHOR
ntp.org
David L. Mills and/or others
.br
Please send bug reports to: http://bugs.ntp.isc.org, bugs@ntp.org

View File

@ -11,7 +11,7 @@ ETAGS_ARGS= Makefile.am
EXTRA_DIST= ntpq-opts.def ntpq.1 ntpq-opts.texi ntpq-opts.menu
BUILT_SOURCES= ntpq-opts.c ntpq-opts.h ntpq.1 ntpq-opts.texi ntpq-opts.menu
man_MANS= ntpq.1
run_ag= cd $(srcdir) && autogen -L ../include
run_ag= cd $(srcdir) && autogen -L ../include --writable
std_def_list= $(top_srcdir)/include/debug-opt.def \
$(top_srcdir)/include/autogen-version.def \
$(top_srcdir)/include/copyright.def \

View File

@ -225,7 +225,7 @@ ETAGS_ARGS = Makefile.am
EXTRA_DIST = ntpq-opts.def ntpq.1 ntpq-opts.texi ntpq-opts.menu
BUILT_SOURCES = ntpq-opts.c ntpq-opts.h ntpq.1 ntpq-opts.texi ntpq-opts.menu
man_MANS = ntpq.1
run_ag = cd $(srcdir) && autogen -L ../include
run_ag = cd $(srcdir) && autogen -L ../include --writable
std_def_list = $(top_srcdir)/include/debug-opt.def \
$(top_srcdir)/include/autogen-version.def \
$(top_srcdir)/include/copyright.def \

View File

@ -1,10 +1,9 @@
/* $NetBSD: ntpq-opts.c,v 1.1.1.2 2007/06/24 15:50:25 kardel Exp $ */
/* $NetBSD: ntpq-opts.c,v 1.1.1.3 2008/08/23 07:38:54 kardel Exp $ */
/* -*- buffer-read-only: t -*- vi: set ro:
/*
* EDIT THIS FILE WITH CAUTION (ntpq-opts.c)
*
* DO NOT EDIT THIS FILE (ntpq-opts.c)
*
* It has been AutoGen-ed Wednesday June 20, 2007 at 07:44:19 AM EDT
* It has been AutoGen-ed Sunday August 17, 2008 at 05:26:55 AM EDT
* From the definitions ntpq-opts.def
* and the template file options
*
@ -22,7 +21,7 @@
*
* This source file is copyrighted and licensed under the following terms:
*
* ntpq copyright 1970-2006 ntp.org - all rights reserved
* ntpq copyright 1970-2008 David L. Mills and/or others - all rights reserved
*
* see html/copyright.html
*/
@ -37,7 +36,7 @@
extern "C" {
#endif
tSCC zCopyright[] =
"ntpq copyright (c) 1970-2006 ntp.org, all rights reserved";
"ntpq copyright (c) 1970-2008 David L. Mills and/or others, all rights reserved";
tSCC zCopyrightNotice[] =
/* extracted from ../include/copyright.def near line 8 */
@ -413,7 +412,7 @@ static tOptDesc optDesc[ OPTION_CT ] = {
*/
tSCC zPROGNAME[] = "NTPQ";
tSCC zUsageTitle[] =
"ntpq - standard NTP query program - Ver. 4.2.4p2\n\
"ntpq - standard NTP query program - Ver. 4.2.4p5\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {

View File

@ -1,10 +1,9 @@
/* $NetBSD: ntpq-opts.h,v 1.1.1.2 2007/06/24 15:50:25 kardel Exp $ */
/* $NetBSD: ntpq-opts.h,v 1.1.1.3 2008/08/23 07:38:54 kardel Exp $ */
/* -*- buffer-read-only: t -*- vi: set ro:
/*
* EDIT THIS FILE WITH CAUTION (ntpq-opts.h)
*
* DO NOT EDIT THIS FILE (ntpq-opts.h)
*
* It has been AutoGen-ed Wednesday June 20, 2007 at 07:44:19 AM EDT
* It has been AutoGen-ed Sunday August 17, 2008 at 05:26:55 AM EDT
* From the definitions ntpq-opts.def
* and the template file options
*
@ -22,7 +21,7 @@
*
* This source file is copyrighted and licensed under the following terms:
*
* ntpq copyright 1970-2006 ntp.org - all rights reserved
* ntpq copyright 1970-2008 David L. Mills and/or others - all rights reserved
*
* see html/copyright.html
*/
@ -71,8 +70,8 @@ typedef enum {
} teOptIndex;
#define OPTION_CT 13
#define NTPQ_VERSION "4.2.4p2"
#define NTPQ_FULL_VERSION "ntpq - standard NTP query program - Ver. 4.2.4p2"
#define NTPQ_VERSION "4.2.4p5"
#define NTPQ_FULL_VERSION "ntpq - standard NTP query program - Ver. 4.2.4p5"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED

View File

@ -3,11 +3,10 @@
@pindex ntpq
@cindex standard NTP query program
@ignore
# -*- buffer-read-only: t -*- vi: set ro:
#
# DO NOT EDIT THIS FILE (ntpq-opts.texi)
# EDIT THIS FILE WITH CAUTION (ntpq-opts.texi)
#
# It has been AutoGen-ed Wednesday June 20, 2007 at 07:44:21 AM EDT
# It has been AutoGen-ed Sunday August 17, 2008 at 05:26:58 AM EDT
# From the definitions ntpq-opts.def
# and the template file aginfo.tpl
@end ignore
@ -47,7 +46,7 @@ This is the automatically generated usage text for ntpq:
@exampleindent 0
@example
ntpq - standard NTP query program - Ver. 4.2.5p52
ntpq - standard NTP query program - Ver. 4.2.5p113
USAGE: ntpq [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
@ -67,7 +66,7 @@ USAGE: ntpq [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
command
peers
-n no numeric numeric host addresses
-v opt version Output version information and exit
opt version Output version information and exit
-? no help Display usage information and exit
-! no more-help Extended usage information passed thru pager
-> opt save-opts Save the option state to a config file
@ -92,7 +91,7 @@ information about current state and/or changes in that state.
The same formats are used in NTPv4, although some of the
variables have changed and new ones added.
please send bug reports to: http://bugs.ntp.isc.org, bugs@@ntp.org
please send bug reports to: http://bugs.ntp.org, bugs@@ntp.org
@end example
@exampleindent 4

View File

@ -1,7 +1,7 @@
.TH NTPQ 1 2007-06-20 "( 4.2.4p2)" "Programmer's Manual"
.\" DO NOT EDIT THIS FILE (ntpq.1)
.TH NTPQ 1 2008-08-17 "( 4.2.4p5)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpq.1)
.\"
.\" It has been AutoGen-ed Wednesday June 20, 2007 at 07:44:20 AM EDT
.\" It has been AutoGen-ed Sunday August 17, 2008 at 05:26:57 AM EDT
.\" From the definitions ntpq-opts.def
.\" and the template file agman1.tpl
.\"
@ -370,7 +370,7 @@ The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
If any of these are directories, then the file \fI.ntprc\fP
is searched for within those directories.
.SH AUTHOR
ntp.org
David L. Mills and/or others
.br
Please send bug reports to: http://bugs.ntp.isc.org, bugs@ntp.org

View File

@ -9,7 +9,7 @@ version=${proto}.${major}.${minor}
# - Numeric values increment
# - empty 'increments' to 1
# - NEW 'increments' to empty
point=2
point=5
# Special. Normally unused. A suffix.
#special=ag
special=

View File

@ -12,8 +12,8 @@ NULL=
bindir= ${exec_prefix}/${BINSUBDIR}
bin_PROGRAMS= sntp
#run_ag= cd $(srcdir) && autogen -L $(top_srcdir)/include
run_ag= cd $(srcdir) && autogen
#run_ag= cd $(srcdir) && autogen --writable -L $(top_srcdir)/include
run_ag= cd $(srcdir) && autogen --writable
SUBDIRS=
if NEED_LIBOPTS

View File

@ -218,8 +218,8 @@ ACLOCAL_AMFLAGS = -I libopts/m4
AM_CPPFLAGS = $(LIBOPTS_CFLAGS)
LDADD = $(LIBOPTS_LDADD)
NULL =
#run_ag= cd $(srcdir) && autogen -L $(top_srcdir)/include
run_ag = cd $(srcdir) && autogen
#run_ag= cd $(srcdir) && autogen --writable -L $(top_srcdir)/include
run_ag = cd $(srcdir) && autogen --writable
SUBDIRS = $(am__append_1) .
sntp_SOURCES = \
header.h \

View File

@ -1,4 +1,4 @@
/* $NetBSD: save.c,v 1.1.1.2 2007/06/24 15:51:22 kardel Exp $ */
/* $NetBSD: save.c,v 1.1.1.3 2008/08/23 07:39:06 kardel Exp $ */
/*
@ -439,8 +439,17 @@ optionSaveFile( tOptions* pOpts )
* THEN just print the name and continue
*/
if (OPTST_GET_ARGTYPE(pOD->fOptState) == OPARG_TYPE_NONE) {
fprintf( fp, "%s\n",
(DISABLED_OPT( p )) ? p->pz_DisableName : p->pz_Name );
char const * pznm =
(DISABLED_OPT( p )) ? p->pz_DisableName : p->pz_Name;
/*
* If the option was disabled and the disablement name is NULL,
* then the disablement was caused by aliasing.
* Use the name as the string to emit.
*/
if (pznm == NULL)
pznm = p->pz_Name;
fprintf(fp, "%s\n", pznm);
continue;
}

View File

@ -1,10 +1,9 @@
/* $NetBSD: sntp-opts.c,v 1.1.1.2 2007/06/24 15:51:16 kardel Exp $ */
/* $NetBSD: sntp-opts.c,v 1.1.1.3 2008/08/23 07:39:05 kardel Exp $ */
/* -*- buffer-read-only: t -*- vi: set ro:
/*
* EDIT THIS FILE WITH CAUTION (sntp-opts.c)
*
* DO NOT EDIT THIS FILE (sntp-opts.c)
*
* It has been AutoGen-ed Wednesday June 20, 2007 at 07:44:48 AM EDT
* It has been AutoGen-ed Sunday August 17, 2008 at 05:27:24 AM EDT
* From the definitions sntp-opts.def
* and the template file options
*
@ -516,7 +515,7 @@ static tOptDesc optDesc[ OPTION_CT ] = {
*/
tSCC zPROGNAME[] = "SNTP";
tSCC zUsageTitle[] =
"sntp - standard SNTP program - Ver. 4.2.4p2\n\
"sntp - standard SNTP program - Ver. 4.2.4p5\n\
USAGE: %s [ -<flag> | --<name> ]...\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {

View File

@ -1,10 +1,9 @@
/* $NetBSD: sntp-opts.h,v 1.1.1.2 2007/06/24 15:51:16 kardel Exp $ */
/* $NetBSD: sntp-opts.h,v 1.1.1.3 2008/08/23 07:39:05 kardel Exp $ */
/* -*- buffer-read-only: t -*- vi: set ro:
/*
* EDIT THIS FILE WITH CAUTION (sntp-opts.h)
*
* DO NOT EDIT THIS FILE (sntp-opts.h)
*
* It has been AutoGen-ed Wednesday June 20, 2007 at 07:44:47 AM EDT
* It has been AutoGen-ed Sunday August 17, 2008 at 05:27:23 AM EDT
* From the definitions sntp-opts.def
* and the template file options
*
@ -150,8 +149,8 @@ typedef enum {
} teOptIndex;
#define OPTION_CT 13
#define SNTP_VERSION "4.2.4p2"
#define SNTP_FULL_VERSION "sntp - standard SNTP program - Ver. 4.2.4p2"
#define SNTP_VERSION "4.2.4p5"
#define SNTP_FULL_VERSION "sntp - standard SNTP program - Ver. 4.2.4p5"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED

View File

@ -3,11 +3,10 @@
@pindex sntp
@cindex standard SNTP program
@ignore
# -*- buffer-read-only: t -*- vi: set ro:
#
# DO NOT EDIT THIS FILE (sntp-opts.texi)
# EDIT THIS FILE WITH CAUTION (sntp-opts.texi)
#
# It has been AutoGen-ed Wednesday June 20, 2007 at 07:44:50 AM EDT
# It has been AutoGen-ed Sunday August 17, 2008 at 05:27:25 AM EDT
# From the definitions sntp-opts.def
# and the template file aginfo.tpl
@end ignore

View File

@ -1,7 +1,7 @@
.TH SNTP 1 2007-06-20 "( 4.2.4p2)" "Programmer's Manual"
.\" DO NOT EDIT THIS FILE (sntp.1)
.TH SNTP 1 2008-08-17 "( 4.2.4p5)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (sntp.1)
.\"
.\" It has been AutoGen-ed Wednesday June 20, 2007 at 07:44:49 AM EDT
.\" It has been AutoGen-ed Sunday August 17, 2008 at 05:27:25 AM EDT
.\" From the definitions sntp-opts.def
.\" and the template file agman1.tpl
.\"

View File

@ -1 +1 @@
version = '4.2.4p2';
version = '4.2.4p5';

View File

@ -18,7 +18,7 @@ EXTRA_DIST= ntp-keygen-opts.def ntp-keygen.1 ntp-keygen-opts.texi ntp-keygen-opt
BUILT_SOURCES= ntp-keygen-opts.c ntp-keygen-opts.h ntp-keygen.1 \
ntp-keygen-opts.texi ntp-keygen-opts.menu
man_MANS= ntp-keygen.1
run_ag= cd $(srcdir) && autogen -L ../include
run_ag= cd $(srcdir) && autogen -L ../include --writable
std_def_list= $(top_srcdir)/include/debug-opt.def \
$(top_srcdir)/include/autogen-version.def \
$(top_srcdir)/include/copyright.def \

View File

@ -292,7 +292,7 @@ BUILT_SOURCES = ntp-keygen-opts.c ntp-keygen-opts.h ntp-keygen.1 \
ntp-keygen-opts.texi ntp-keygen-opts.menu
man_MANS = ntp-keygen.1
run_ag = cd $(srcdir) && autogen -L ../include
run_ag = cd $(srcdir) && autogen -L ../include --writable
std_def_list = $(top_srcdir)/include/debug-opt.def \
$(top_srcdir)/include/autogen-version.def \
$(top_srcdir)/include/copyright.def \

View File

@ -1,10 +1,9 @@
/* $NetBSD: ntp-keygen-opts.c,v 1.1.1.2 2007/06/24 15:51:27 kardel Exp $ */
/* $NetBSD: ntp-keygen-opts.c,v 1.1.1.3 2008/08/23 07:39:08 kardel Exp $ */
/* -*- buffer-read-only: t -*- vi: set ro:
/*
* EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.c)
*
* DO NOT EDIT THIS FILE (ntp-keygen-opts.c)
*
* It has been AutoGen-ed Wednesday June 20, 2007 at 07:44:57 AM EDT
* It has been AutoGen-ed Sunday August 17, 2008 at 05:27:33 AM EDT
* From the definitions ntp-keygen-opts.def
* and the template file options
*
@ -22,7 +21,7 @@
*
* This source file is copyrighted and licensed under the following terms:
*
* ntp-keygen copyright 1970-2006 ntp.org - all rights reserved
* ntp-keygen copyright 1970-2008 David L. Mills and/or others - all rights reserved
*
* see html/copyright.html
*/
@ -37,7 +36,7 @@
extern "C" {
#endif
tSCC zCopyright[] =
"ntp-keygen copyright (c) 1970-2006 ntp.org, all rights reserved";
"ntp-keygen copyright (c) 1970-2008 David L. Mills and/or others, all rights reserved";
tSCC zCopyrightNotice[] =
/* extracted from ../include/copyright.def near line 8 */
@ -802,7 +801,7 @@ static tOptDesc optDesc[ OPTION_CT ] = {
*/
tSCC zPROGNAME[] = "NTP_KEYGEN";
tSCC zUsageTitle[] =
"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.4p2\n\
"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.4p5\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {

View File

@ -1,10 +1,9 @@
/* $NetBSD: ntp-keygen-opts.h,v 1.1.1.2 2007/06/24 15:51:27 kardel Exp $ */
/* $NetBSD: ntp-keygen-opts.h,v 1.1.1.3 2008/08/23 07:39:08 kardel Exp $ */
/* -*- buffer-read-only: t -*- vi: set ro:
/*
* EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.h)
*
* DO NOT EDIT THIS FILE (ntp-keygen-opts.h)
*
* It has been AutoGen-ed Wednesday June 20, 2007 at 07:44:56 AM EDT
* It has been AutoGen-ed Sunday August 17, 2008 at 05:27:32 AM EDT
* From the definitions ntp-keygen-opts.def
* and the template file options
*
@ -22,7 +21,7 @@
*
* This source file is copyrighted and licensed under the following terms:
*
* ntp-keygen copyright 1970-2006 ntp.org - all rights reserved
* ntp-keygen copyright 1970-2008 David L. Mills and/or others - all rights reserved
*
* see html/copyright.html
*/
@ -82,8 +81,8 @@ typedef enum {
} teOptIndex;
#define OPTION_CT 24
#define NTP_KEYGEN_VERSION "4.2.4p2"
#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.4p2"
#define NTP_KEYGEN_VERSION "4.2.4p5"
#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.4p5"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED

View File

@ -3,11 +3,10 @@
@pindex ntp-keygen
@cindex Create a NTP host key
@ignore
# -*- buffer-read-only: t -*- vi: set ro:
#
# DO NOT EDIT THIS FILE (ntp-keygen-opts.texi)
# EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.texi)
#
# It has been AutoGen-ed Wednesday June 20, 2007 at 07:44:59 AM EDT
# It has been AutoGen-ed Sunday August 17, 2008 at 05:27:34 AM EDT
# From the definitions ntp-keygen-opts.def
# and the template file aginfo.tpl
@end ignore
@ -53,7 +52,7 @@ This is the automatically generated usage text for ntp-keygen:
@exampleindent 0
@example
Using OpenSSL version 90704f
ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p52
ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p113
USAGE: ntp-keygen [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
Flg Arg Option-Name Description
-c Str certificate certificate scheme
@ -61,12 +60,11 @@ USAGE: ntp-keygen [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
- may appear multiple times
-D Str set-debug-level Set the output debug message level
- may appear multiple times
-e no id-key Write identity keys
-e no id-key Write IFF or GQ identity keys
-G no gq-params Generate GQ parameters and keys
-g no gq-keys update GQ keys
-H no host-key generate RSA host key
-I no iffkey generate IFF parameters
-i no issuer-name set issuer name
-i Str issuer-name set issuer name
-M no md5key generate MD5 keys
-m Num modulus modulus
it must lie in the range: 256 to 2048
@ -78,7 +76,7 @@ USAGE: ntp-keygen [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
-T no trusted-cert trusted certificate (TC scheme)
-V Num mv-params generate <num> MV parameters
-v Num mv-keys update <num> MV keys
-v opt version Output version information and exit
opt version Output version information and exit
-? no help Display usage information and exit
-! no more-help Extended usage information passed thru pager
-> opt save-opts Save the option state to a config file
@ -97,7 +95,7 @@ The following option preset mechanisms are supported:
If there is no new host key, look for an existing one.
If one is not found, create it.
please send bug reports to: http://bugs.ntp.isc.org, bugs@@ntp.org
please send bug reports to: http://bugs.ntp.org, bugs@@ntp.org
@end example
@exampleindent 4

View File

@ -1,7 +1,7 @@
.TH NTP-KEYGEN 1 2007-06-20 "(ntp 4.2.4p2)" "Programmer's Manual"
.\" DO NOT EDIT THIS FILE (ntp-keygen.1)
.TH NTP-KEYGEN 1 2008-08-17 "(ntp 4.2.4p5)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntp-keygen.1)
.\"
.\" It has been AutoGen-ed Wednesday June 20, 2007 at 07:44:58 AM EDT
.\" It has been AutoGen-ed Sunday August 17, 2008 at 05:27:34 AM EDT
.\" From the definitions ntp-keygen-opts.def
.\" and the template file agman1.tpl
.\"
@ -161,7 +161,7 @@ The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
If any of these are directories, then the file \fI.ntprc\fP
is searched for within those directories.
.SH AUTHOR
ntp.org
David L. Mills and/or others
.br
Please send bug reports to: http://bugs.ntp.isc.org, bugs@ntp.org

2
dist/ntp/version vendored
View File

@ -1 +1 @@
1.1495
1.1541

2
dist/ntp/version.m4 vendored
View File

@ -1 +1 @@
m4_define([VERSION_NUMBER],[4.2.4p2])
m4_define([VERSION_NUMBER],[4.2.4p5])