+(4.2.7p89) 2010/12/04 Released by Harlan Stenn <stenn@ntp.org>
* [Bug 1736] tos int, bool options broken in 4.2.7p66.
* from 4.2.6p3-RC12: Clean up the SNTP documentation.
(4.2.7p88) 2010/12/02 Released by Harlan Stenn <stenn@ntp.org>
/*
* EDIT THIS FILE WITH CAUTION (clktest-opts.c)
*
- * It has been AutoGen-ed November 17, 2009 at 06:37:09 AM by AutoGen 5.10
+ * It has been AutoGen-ed December 4, 2010 at 10:59:28 AM by AutoGen 5.11.3
* From the definitions clktest-opts.def
* and the template file options
*
- * Generated from AutoOpts 33:0:8 templates.
- */
-
-/*
- * This file was produced by an AutoOpts template. AutoOpts is a
- * copyrighted work. This source file is not encumbered by AutoOpts
- * licensing, but is provided under the licensing terms chosen by the
- * clktest author or copyright holder. AutoOpts is licensed under
- * the terms of the LGPL. The redistributable library (``libopts'') is
- * licensed under the terms of either the LGPL or, at the users discretion,
- * the BSD license. See the AutoOpts and/or libopts sources for details.
+ * Generated from AutoOpts 33:3:8 templates.
+ *
+ * AutoOpts is a copyrighted work. This source file is not encumbered
+ * by AutoOpts licensing, but is provided under the licensing terms chosen
+ * by the clktest author or copyright holder. AutoOpts is
+ * licensed under the terms of the LGPL. The redistributable library
+ * (``libopts'') is licensed under the terms of either the LGPL or, at the
+ * users discretion, the BSD license. See the AutoOpts and/or libopts sources
+ * for details.
*
* This source file is copyrighted and licensed under the following terms:
*
- * clktest copyright (c) 1970-2009 David L. Mills and/or others - all rights reserved
+ * clktest copyright (c) 1970-2010 David L. Mills and/or others - all rights reserved
*
* see html/copyright.html
*/
/* TRANSLATORS: choose the translation for option names wisely because you
cannot ever change your mind. */
tSCC zCopyright[] =
- "clktest copyright (c) 1970-2009 David L. Mills and/or others, all rights reserved"
-/* extracted from /deacon/backroom/ntp-dev/include/copyright.def near line 8 */
+ "clktest copyright (c) 1970-2010 David L. Mills and/or others, all rights reserved"
+/* extracted from ../include/copyright.def near line 8 */
;
tSCC zCopyrightNotice[24] =
"see html/copyright.html";
/*
* Speed option description:
*/
-tSCC zSpeedText[] =
+static char const zSpeedText[] =
"Set the rate according to the speed";
-tSCC zSpeed_NAME[] = "SPEED";
-tSCC zSpeed_Name[] = "speed";
+static char const zSpeed_NAME[] = "SPEED";
+static char const zSpeed_Name[] = "speed";
#define SPEED_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
/*
* Debug option description:
*/
-tSCC zDebugText[] =
+static char const zDebugText[] =
"Turn on debugging output";
-tSCC zDebug_NAME[] = "DEBUG";
-tSCC zDebug_Name[] = "debug";
+static char const zDebug_NAME[] = "DEBUG";
+static char const zDebug_Name[] = "debug";
#define DEBUG_FLAGS (OPTST_DISABLED)
/*
* Crmod option description:
*/
-tSCC zCrmodText[] =
+static char const zCrmodText[] =
"Turn on CRMOD flag";
-tSCC zCrmod_NAME[] = "CRMOD";
-tSCC zCrmod_Name[] = "crmod";
+static char const zCrmod_NAME[] = "CRMOD";
+static char const zCrmod_Name[] = "crmod";
#define CRMOD_FLAGS (OPTST_DISABLED)
/*
* Command option description with
* "Must also have options" and "Incompatible options":
*/
-tSCC zCommandText[] =
+static char const zCommandText[] =
"";
-tSCC zCommand_NAME[] = "COMMAND";
-tSCC zCommand_Name[] = "command";
+static char const zCommand_NAME[] = "COMMAND";
+static char const zCommand_Name[] = "command";
static const int
aCommandMustList[] = {
INDEX_OPT_TIMEOUT, NO_EQUIVALENT };
/*
* Timeout option description:
*/
-tSCC zTimeoutText[] =
+static char const zTimeoutText[] =
"Limit wait for command completion";
-tSCC zTimeout_NAME[] = "TIMEOUT";
-tSCC zTimeout_Name[] = "timeout";
+static char const zTimeout_NAME[] = "TIMEOUT";
+static char const zTimeout_Name[] = "timeout";
#define TIMEOUT_FLAGS (OPTST_DISABLED \
| OPTST_SET_ARGTYPE(OPARG_TYPE_NUMERIC))
/*
* Help/More_Help/Version option descriptions:
*/
-tSCC zHelpText[] = "Display extended usage information and exit";
-tSCC zHelp_Name[] = "help";
+static char const zHelpText[] = "Display extended usage information and exit";
+static char const zHelp_Name[] = "help";
#ifdef HAVE_WORKING_FORK
#define OPTST_MORE_HELP_FLAGS (OPTST_IMM | OPTST_NO_INIT)
-tSCC zMore_Help_Name[] = "more-help";
-tSCC zMore_HelpText[] = "Extended usage information passed thru pager";
+static char const zMore_Help_Name[] = "more-help";
+static char const zMore_HelpText[] = "Extended usage information passed thru pager";
#else
#define OPTST_MORE_HELP_FLAGS (OPTST_OMITTED | OPTST_NO_INIT)
#define zMore_Help_Name NULL
OPTST_ARG_OPTIONAL | OPTST_IMM | OPTST_NO_INIT
#endif
-tSCC zVersionText[] = "Output version information and exit";
-tSCC zVersion_Name[] = "version";
-tSCC zSave_OptsText[] = "Save the option state to a config file";
-tSCC zSave_Opts_Name[] = "save-opts";
-tSCC zLoad_OptsText[] = "Load options from a config file";
-tSCC zLoad_Opts_NAME[] = "LOAD_OPTS";
-tSCC zNotLoad_Opts_Name[] = "no-load-opts";
-tSCC zNotLoad_Opts_Pfx[] = "no";
+static char const zVersionText[] = "Output version information and exit";
+static char const zVersion_Name[] = "version";
+static char const zSave_OptsText[] = "Save the option state to a config file";
+static char const zSave_Opts_Name[] = "save-opts";
+static char const zLoad_OptsText[] = "Load options from a config file";
+static char const zLoad_Opts_NAME[] = "LOAD_OPTS";
+static char const zNotLoad_Opts_Name[] = "no-load-opts";
+static char const zNotLoad_Opts_Pfx[] = "no";
#define zLoad_Opts_Name (zNotLoad_Opts_Name + 3)
/*
* Declare option callback procedures
* Under test, omit argument processing, or call optionStackArg,
* if multiple copies are allowed.
*/
-extern tOptProc
- optionPagedUsage, optionVersionStderr;
static tOptProc
doOptTimeout, doUsageOpt;
* When not under test, there are different procs to use
*/
extern tOptProc
- optionPagedUsage, optionPrintVersion;
+ optionBooleanVal, optionNestedVal, optionNumericVal,
+ optionPagedUsage, optionPrintVersion, optionResetOpt,
+ optionStackArg, optionTimeVal, optionUnstackArg,
+ optionVersionStderr;
static tOptProc
doOptCrmod, doOptSpeed, doOptTimeout, doUsageOpt;
*/
tSCC zPROGNAME[] = "CLKTEST";
tSCC zUsageTitle[] =
-"clktest - test the clock line discipline - Ver. 4.2.5p245-RC\n\
+"clktest - test the clock line discipline - Ver. 4.2.7p89\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... <tty_device>\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
it must be available), and to take a look at radio clocks attached\n\
to a serial port.\n";
tSCC zFullVersion[] = CLKTEST_FULL_VERSION;
-/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 495 */
+/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 493 */
#if defined(ENABLE_NLS)
# define OPTPROC_BASE OPTPROC_TRANSLATE
+ OPTPROC_LONGOPT
+ OPTPROC_NO_REQ_OPT
+ OPTPROC_ENVIRON
- + OPTPROC_ARGS_REQ ),
+ + OPTPROC_ARGS_REQ
+ + OPTPROC_MISUSE ),
0, NULL, /* current option index, current option */
NULL, NULL, zPROGNAME,
zRcName, zCopyright, zCopyrightNotice,
tOptDesc* pOptDesc )
{
(void)pOptions;
- USAGE( EXIT_SUCCESS );
+ USAGE(EXIT_SUCCESS);
}
#if ! defined(TEST_CLKTEST_OPTS)
static void
doOptSpeed(tOptions* pOptions, tOptDesc* pOptDesc)
{
- /* extracted from clktest-opts.def, line 130 */
+ /* extracted from clktest-opts.def, line 98 */
/*
* speed table
*/
static void
doOptCrmod(tOptions* pOptions, tOptDesc* pOptDesc)
{
- /* extracted from clktest-opts.def, line 184 */
+ /* extracted from clktest-opts.def, line 152 */
ttflags |= CRMOD;
}
#endif /* defined(TEST_CLKTEST_OPTS) */
}
pOptDesc->optArg.argInt = val;
}
-/* extracted from /usr/local/gnu/share/autogen/optmain.tpl near line 109 */
+/* extracted from /usr/local/gnu/share/autogen/optmain.tpl near line 107 */
#if defined(TEST_CLKTEST_OPTS) /* TEST MAIN PROCEDURE: */
-extern void optionPutShell( tOptions* );
+extern void optionPutShell(tOptions*);
int
main(int argc, char** argv)
{
int res = EXIT_SUCCESS;
- (void)optionProcess( &clktestOptions, argc, argv );
- optionPutShell( &clktestOptions );
+ (void)optionProcess(&clktestOptions, argc, argv);
+ optionPutShell(&clktestOptions);
+ res = ferror(stdout);
+ if (res != 0)
+ fputs("output error writing to stdout\n", stderr);
return res;
}
#endif /* defined TEST_CLKTEST_OPTS */
-/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 627 */
+/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 626 */
#if ENABLE_NLS
#include <stdio.h>
#include <unistd.h>
#include <autoopts/usage-txt.h>
-static char* AO_gettext( char const* pz );
+static char* AO_gettext(char const* pz);
static void coerce_it(void** s);
static char*
-AO_gettext( char const* pz )
+AO_gettext(char const* pz)
{
char* pzRes;
if (pz == NULL)
pzRes = _(pz);
if (pzRes == pz)
return pzRes;
- pzRes = strdup( pzRes );
+ pzRes = strdup(pzRes);
if (pzRes == NULL) {
- fputs( _("No memory for duping translated strings\n"), stderr );
- exit( EXIT_FAILURE );
+ fputs(_("No memory for duping translated strings\n"), stderr);
+ exit(EXIT_FAILURE);
}
return pzRes;
}
* This invokes the translation code (e.g. gettext(3)).
*/
static void
-translate_option_strings( void )
+translate_option_strings(void)
{
/*
* Guard against re-translation. It won't work. The strings will have
/*
* EDIT THIS FILE WITH CAUTION (clktest-opts.h)
*
- * It has been AutoGen-ed November 17, 2009 at 06:37:09 AM by AutoGen 5.10
+ * It has been AutoGen-ed December 4, 2010 at 10:59:28 AM by AutoGen 5.11.3
* From the definitions clktest-opts.def
* and the template file options
*
- * Generated from AutoOpts 33:0:8 templates.
- */
-
-/*
- * This file was produced by an AutoOpts template. AutoOpts is a
- * copyrighted work. This header file is not encumbered by AutoOpts
- * licensing, but is provided under the licensing terms chosen by the
- * clktest author or copyright holder. AutoOpts is licensed under
- * the terms of the LGPL. The redistributable library (``libopts'') is
- * licensed under the terms of either the LGPL or, at the users discretion,
- * the BSD license. See the AutoOpts and/or libopts sources for details.
+ * Generated from AutoOpts 33:3:8 templates.
+ *
+ * AutoOpts is a copyrighted work. This header file is not encumbered
+ * by AutoOpts licensing, but is provided under the licensing terms chosen
+ * by the clktest author or copyright holder. AutoOpts is
+ * licensed under the terms of the LGPL. The redistributable library
+ * (``libopts'') is licensed under the terms of either the LGPL or, at the
+ * users discretion, the BSD license. See the AutoOpts and/or libopts sources
+ * for details.
*
* This source file is copyrighted and licensed under the following terms:
*
- * clktest copyright (c) 1970-2009 David L. Mills and/or others - all rights reserved
+ * clktest copyright (c) 1970-2010 David L. Mills and/or others - all rights reserved
*
* see html/copyright.html
*/
* tolerable version is at least as old as what was current when the header
* template was released.
*/
-#define AO_TEMPLATE_VERSION 135168
+#define AO_TEMPLATE_VERSION 135171
#if (AO_TEMPLATE_VERSION < OPTIONS_MINIMUM_VERSION) \
|| (AO_TEMPLATE_VERSION > OPTIONS_STRUCT_VERSION)
# error option template version mismatches autoopts/options.h header
} teOptIndex;
#define OPTION_CT 10
-#define CLKTEST_VERSION "4.2.5p245-RC"
-#define CLKTEST_FULL_VERSION "clktest - test the clock line discipline - Ver. 4.2.5p245-RC"
+#define CLKTEST_VERSION "4.2.7p89"
+#define CLKTEST_FULL_VERSION "clktest - test the clock line discipline - Ver. 4.2.7p89"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
* option name (as in the teOptIndex enumeration above).
- * e.g. HAVE_OPT( SPEED )
+ * e.g. HAVE_OPT(SPEED)
*/
#define DESC(n) (clktestOptions.pOptDesc[INDEX_OPT_## n])
#define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n)))
#define STACKLST_OPT(n) (((tArgList*)(DESC(n).optCookie))->apzArgs)
#define CLEAR_OPT(n) STMTS( \
DESC(n).fOptState &= OPTST_PERSISTENT_MASK; \
- if ( (DESC(n).fOptState & OPTST_INITENABLED) == 0) \
+ if ((DESC(n).fOptState & OPTST_INITENABLED) == 0) \
DESC(n).fOptState |= OPTST_DISABLED; \
DESC(n).optCookie = NULL )
-/* * * * * *
- *
- * Globals exported from the test the clock line discipline option definitions
- */
-#include <stdio.h>
-#include <ctype.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <signal.h>
-#include <netinet/in.h>
-#include <sys/ioctl.h>
-#include <sys/time.h>
-#include <sys/file.h>
-#include <sgtty.h>
-
-#include "../include/ntp_fp.h"
-#include "../include/ntp.h"
-#include "../include/ntp_unixtime.h"
-
-#ifdef CLKLDISC
-# define DEFMAGIC '\r'
-#endif
-
-#ifdef CLKLDISC
-# ifdef STREAM
-# include <stropts.h>
-# ifdef HAVE_SYS_CLKDEFS_H
-# include <sys/clkdefs.h>
-# endif
-# undef DEFMAGIC
-# define DEFMAGIC "\r"
-# endif
-#endif
-
/*
* Make sure there are no #define name conflicts with the option names
*/
/*
* Interface defines not associated with particular options
*/
-#define ERRSKIP_OPTERR STMTS( clktestOptions.fOptSet &= ~OPTPROC_ERRSTOP )
-#define ERRSTOP_OPTERR STMTS( clktestOptions.fOptSet |= OPTPROC_ERRSTOP )
+#define ERRSKIP_OPTERR STMTS(clktestOptions.fOptSet &= ~OPTPROC_ERRSTOP)
+#define ERRSTOP_OPTERR STMTS(clktestOptions.fOptSet |= OPTPROC_ERRSTOP)
#define RESTART_OPT(n) STMTS( \
clktestOptions.curOptIdx = (n); \
- clktestOptions.pzCurOpt = NULL )
+ clktestOptions.pzCurOpt = NULL)
#define START_OPT RESTART_OPT(1)
-#define USAGE(c) (*clktestOptions.pUsageProc)( &clktestOptions, c )
-/* extracted from /usr/local/gnu/share/autogen/opthead.tpl near line 409 */
+#define USAGE(c) (*clktestOptions.pUsageProc)(&clktestOptions, c)
+/* extracted from /usr/local/gnu/share/autogen/opthead.tpl near line 408 */
/* * * * * *
*
#if defined(ENABLE_NLS)
# ifndef _
# include <stdio.h>
- static inline char* aoGetsText( char const* pz ) {
+ static inline char* aoGetsText(char const* pz) {
if (pz == NULL) return NULL;
- return (char*)gettext( pz );
+ return (char*)gettext(pz);
}
# define _(s) aoGetsText(s)
# endif /* _() */
/*
* EDIT THIS FILE WITH CAUTION (ntpd-opts.c)
*
- * It has been AutoGen-ed December 2, 2010 at 10:08:57 AM by AutoGen 5.11.3
+ * It has been AutoGen-ed December 4, 2010 at 10:58:27 AM by AutoGen 5.11.3
* From the definitions ntpd-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTPD";
tSCC zUsageTitle[] =
-"ntpd - NTP daemon program - Ver. 4.2.7p88\n\
+"ntpd - NTP daemon program - Ver. 4.2.7p89\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \\\n\
\t\t[ <server1> ... <serverN> ]\n";
#define zRcName NULL
/*
* EDIT THIS FILE WITH CAUTION (ntpd-opts.h)
*
- * It has been AutoGen-ed December 2, 2010 at 10:08:57 AM by AutoGen 5.11.3
+ * It has been AutoGen-ed December 4, 2010 at 10:58:26 AM by AutoGen 5.11.3
* From the definitions ntpd-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 36
-#define NTPD_VERSION "4.2.7p88"
-#define NTPD_FULL_VERSION "ntpd - NTP daemon program - Ver. 4.2.7p88"
+#define NTPD_VERSION "4.2.7p89"
+#define NTPD_FULL_VERSION "ntpd - NTP daemon program - Ver. 4.2.7p89"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpd-opts.texi)
#
-# It has been AutoGen-ed December 2, 2010 at 10:09:14 AM by AutoGen 5.11.3
+# It has been AutoGen-ed December 4, 2010 at 10:58:54 AM by AutoGen 5.11.3
# From the definitions ntpd-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpd - NTP daemon program - Ver. 4.2.7p88
+ntpd - NTP daemon program - Ver. 4.2.7p89
USAGE: ntpd [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... \
[ <server1> ... <serverN> ]
Flg Arg Option-Name Description
-.TH NTPD 1 2010-12-02 "( 4.2.7p88)" "Programmer's Manual"
+.TH NTPD 1 2010-12-04 "( 4.2.7p89)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpd.1)
.\"
-.\" It has been AutoGen-ed December 2, 2010 at 10:09:14 AM by AutoGen 5.11.3
+.\" It has been AutoGen-ed December 4, 2010 at 10:58:54 AM by AutoGen 5.11.3
.\" From the definitions ntpd-opts.def
.\" and the template file agman1.tpl
.\"
/*
* EDIT THIS FILE WITH CAUTION (ntpdc-opts.c)
*
- * It has been AutoGen-ed December 2, 2010 at 10:09:20 AM by AutoGen 5.11.3
+ * It has been AutoGen-ed December 4, 2010 at 10:59:00 AM by AutoGen 5.11.3
* From the definitions ntpdc-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTPDC";
tSCC zUsageTitle[] =
-"ntpdc - vendor-specific NTP query program - Ver. 4.2.7p88\n\
+"ntpdc - vendor-specific NTP query program - Ver. 4.2.7p89\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
/*
* EDIT THIS FILE WITH CAUTION (ntpdc-opts.h)
*
- * It has been AutoGen-ed December 2, 2010 at 10:09:20 AM by AutoGen 5.11.3
+ * It has been AutoGen-ed December 4, 2010 at 10:59:00 AM by AutoGen 5.11.3
* From the definitions ntpdc-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 15
-#define NTPDC_VERSION "4.2.7p88"
-#define NTPDC_FULL_VERSION "ntpdc - vendor-specific NTP query program - Ver. 4.2.7p88"
+#define NTPDC_VERSION "4.2.7p89"
+#define NTPDC_FULL_VERSION "ntpdc - vendor-specific NTP query program - Ver. 4.2.7p89"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpdc-opts.texi)
#
-# It has been AutoGen-ed December 2, 2010 at 10:09:30 AM by AutoGen 5.11.3
+# It has been AutoGen-ed December 4, 2010 at 10:59:10 AM by AutoGen 5.11.3
# From the definitions ntpdc-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpdc - vendor-specific NTP query program - Ver. 4.2.7p88
+ntpdc - vendor-specific NTP query program - Ver. 4.2.7p89
USAGE: ntpdc [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
-.TH NTPDC 1 2010-12-02 "( 4.2.7p88)" "Programmer's Manual"
+.TH NTPDC 1 2010-12-04 "( 4.2.7p89)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpdc.1)
.\"
-.\" It has been AutoGen-ed December 2, 2010 at 10:09:29 AM by AutoGen 5.11.3
+.\" It has been AutoGen-ed December 4, 2010 at 10:59:09 AM by AutoGen 5.11.3
.\" From the definitions ntpdc-opts.def
.\" and the template file agman1.tpl
.\"
/*
* EDIT THIS FILE WITH CAUTION (ntpq-opts.c)
*
- * It has been AutoGen-ed December 2, 2010 at 10:09:30 AM by AutoGen 5.11.3
+ * It has been AutoGen-ed December 4, 2010 at 10:59:10 AM by AutoGen 5.11.3
* From the definitions ntpq-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTPQ";
tSCC zUsageTitle[] =
-"ntpq - standard NTP query program - Ver. 4.2.7p88\n\
+"ntpq - standard NTP query program - Ver. 4.2.7p89\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
/*
* EDIT THIS FILE WITH CAUTION (ntpq-opts.h)
*
- * It has been AutoGen-ed December 2, 2010 at 10:09:30 AM by AutoGen 5.11.3
+ * It has been AutoGen-ed December 4, 2010 at 10:59:10 AM by AutoGen 5.11.3
* From the definitions ntpq-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 14
-#define NTPQ_VERSION "4.2.7p88"
-#define NTPQ_FULL_VERSION "ntpq - standard NTP query program - Ver. 4.2.7p88"
+#define NTPQ_VERSION "4.2.7p89"
+#define NTPQ_FULL_VERSION "ntpq - standard NTP query program - Ver. 4.2.7p89"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpq-opts.texi)
#
-# It has been AutoGen-ed December 2, 2010 at 10:09:41 AM by AutoGen 5.11.3
+# It has been AutoGen-ed December 4, 2010 at 10:59:22 AM by AutoGen 5.11.3
# From the definitions ntpq-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpq - standard NTP query program - Ver. 4.2.7p88
+ntpq - standard NTP query program - Ver. 4.2.7p89
USAGE: ntpq [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
-.TH NTPQ 1 2010-12-02 "( 4.2.7p88)" "Programmer's Manual"
+.TH NTPQ 1 2010-12-04 "( 4.2.7p89)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpq.1)
.\"
-.\" It has been AutoGen-ed December 2, 2010 at 10:09:41 AM by AutoGen 5.11.3
+.\" It has been AutoGen-ed December 4, 2010 at 10:59:21 AM by AutoGen 5.11.3
.\" From the definitions ntpq-opts.def
.\" and the template file agman1.tpl
.\"
/*
* EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.c)
*
- * It has been AutoGen-ed December 2, 2010 at 10:09:42 AM by AutoGen 5.11.3
+ * It has been AutoGen-ed December 4, 2010 at 10:59:22 AM by AutoGen 5.11.3
* From the definitions ntpsnmpd-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTPSNMPD";
tSCC zUsageTitle[] =
-"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p88\n\
+"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p89\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
/*
* EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.h)
*
- * It has been AutoGen-ed December 2, 2010 at 10:09:42 AM by AutoGen 5.11.3
+ * It has been AutoGen-ed December 4, 2010 at 10:59:22 AM by AutoGen 5.11.3
* From the definitions ntpsnmpd-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 8
-#define NTPSNMPD_VERSION "4.2.7p88"
-#define NTPSNMPD_FULL_VERSION "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p88"
+#define NTPSNMPD_VERSION "4.2.7p89"
+#define NTPSNMPD_FULL_VERSION "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p89"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.texi)
#
-# It has been AutoGen-ed December 2, 2010 at 10:09:47 AM by AutoGen 5.11.3
+# It has been AutoGen-ed December 4, 2010 at 10:59:27 AM by AutoGen 5.11.3
# From the definitions ntpsnmpd-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p88
+ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p89
USAGE: ntpsnmpd [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
Flg Arg Option-Name Description
-n no nofork Do not fork
-.TH NTPSNMPD 1 2010-12-02 "( 4.2.7p88)" "Programmer's Manual"
+.TH NTPSNMPD 1 2010-12-04 "( 4.2.7p89)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpsnmpd.1)
.\"
-.\" It has been AutoGen-ed December 2, 2010 at 10:09:47 AM by AutoGen 5.11.3
+.\" It has been AutoGen-ed December 4, 2010 at 10:59:27 AM by AutoGen 5.11.3
.\" From the definitions ntpsnmpd-opts.def
.\" and the template file agman1.tpl
.\"
# - Numeric values increment
# - empty 'increments' to 1
# - NEW 'increments' to empty
-point=88
+point=89
### betapoint is normally modified by script.
# ntp-stable Beta number (betapoint)
/*
* EDIT THIS FILE WITH CAUTION (sntp-opts.c)
*
- * It has been AutoGen-ed December 2, 2010 at 10:08:50 AM by AutoGen 5.11.3
+ * It has been AutoGen-ed December 4, 2010 at 10:58:20 AM by AutoGen 5.11.3
* From the definitions sntp-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "SNTP";
tSCC zUsageTitle[] =
-"sntp - standard SNTP program - Ver. 4.2.7p88\n\
+"sntp - standard SNTP program - Ver. 4.2.7p89\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... hostname-or-IP ...\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
tSCC zBugsAddr[] = "http://bugs.ntp.org, bugs@ntp.org";
#define zExplain NULL
tSCC zDetail[] = "\n\
-.I sntp\n\
-implements the Simple Network Time Protocol, and is used\n\
-to query an NTP or SNTP server and either\n\
-display the time\n\
-or\n\
-set the local system's time (given suitable privilege).\n\n\
-It can be\n\
-run interactively from the command line or as a\n\
-.I cron\n\
-job.\n\n\
-NTP and SNTP are defined by RFC 5905, which\n\
-obsoletes RFC 4330 and RFC 1305.\n";
+sntp implements the Simple Network Time Protocol, and is used to query\n\
+an NTP or SNTP server and either display the time or set the local\n\
+system's time (given suitable privilege).\n\n\
+It can be run interactively from the command line or as a cron job.\n\n\
+NTP and SNTP are defined by RFC 5905, which obsoletes RFC 4330 and RFC\n\
+1305.\n";
tSCC zFullVersion[] = SNTP_FULL_VERSION;
/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 493 */
/*
* EDIT THIS FILE WITH CAUTION (sntp-opts.h)
*
- * It has been AutoGen-ed December 2, 2010 at 10:08:50 AM by AutoGen 5.11.3
+ * It has been AutoGen-ed December 4, 2010 at 10:58:20 AM by AutoGen 5.11.3
* From the definitions sntp-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 17
-#define SNTP_VERSION "4.2.7p88"
-#define SNTP_FULL_VERSION "sntp - standard SNTP program - Ver. 4.2.7p88"
+#define SNTP_VERSION "4.2.7p89"
+#define SNTP_FULL_VERSION "sntp - standard SNTP program - Ver. 4.2.7p89"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (sntp-opts.texi)
#
-# It has been AutoGen-ed December 2, 2010 at 10:08:56 AM by AutoGen 5.11.3
+# It has been AutoGen-ed December 4, 2010 at 10:58:26 AM by AutoGen 5.11.3
# From the definitions sntp-opts.def
# and the template file aginfo.tpl
@end ignore
This program has no explanation.
-.I sntp
-implements the Simple Network Time Protocol, and is used
-to query an NTP or SNTP server and either
-display the time
-or
-set the local system's time (given suitable privilege).
-
-It can be
-run interactively from the command line or as a
-.I cron
+@code{sntp}
+can be used as a SNTP client to query a NTP or SNTP server and either display
+the time or set the local system's time (given suitable privilege). It can be
+run as an interactive command or in a
+@code{cron}
job.
-NTP and SNTP are defined by RFC 5905, which
-obsoletes RFC 4330 and RFC 1305.
+NTP (the Network Time Protocol) and SNTP (the Simple Network Time Protocol)
+are defined and described by RFC 5905.
+
+@indent
+The default is to write the estimated correct local date and time (i.e. not
+UTC) to the standard output in a format like
+@example
+1996 Oct 15 20:17:25.123 +4.567 +/- 0.089 secs
+@end example
+where the
+@example
++4.567 +/- 0.089 secs
+@end example
+indicates the local clock is 4.567 seconds behind the correct time
+(so 4.567 seconds must be added to the local clock to get it to be correct),
+and the time of
+@code{1996 Oct 15 20:17:25.123}
+is believed to be correct to within
+@code{+/- 0.089}
+seconds.
This section was generated by @strong{AutoGen},
the aginfo template and the option descriptions for the @command{sntp} program. It documents the sntp usage text and option meanings.
@exampleindent 0
@example
-sntp - standard SNTP program - Ver. 4.2.7p88
+sntp - standard SNTP program - Ver. 4.2.7p89
USAGE: sntp [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... hostname-or-IP ...
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
- reading file /deacon/backroom/snaps/ntp-dev/sntp/.ntprc
- examining environment variables named SNTP_*
-.I sntp
-implements the Simple Network Time Protocol, and is used
-to query an NTP or SNTP server and either
-display the time
-or
-set the local system's time (given suitable privilege).
+sntp implements the Simple Network Time Protocol, and is used to query
+an NTP or SNTP server and either display the time or set the local
+system's time (given suitable privilege).
-It can be
-run interactively from the command line or as a
-.I cron
-job.
+It can be run interactively from the command line or as a cron job.
-NTP and SNTP are defined by RFC 5905, which
-obsoletes RFC 4330 and RFC 1305.
+NTP and SNTP are defined by RFC 5905, which obsoletes RFC 4330 and RFC
+1305.
please send bug reports to: http://bugs.ntp.org, bugs@@ntp.org
@end example
@end itemize
This option causes the client to write log messages to the specified
-logfile.
+logfile.
@node sntp ipv4
@subsection ipv4 option (-4)
@cindex sntp-keyfile
This is the ``specify a keyfile. sntp will look in this file for the key specified with -a'' option.
-This option specifies the keyfile. SNTP will search for the key specified with -a keyno in this
+This option specifies the keyfile. SNTP will search for the key specified with -a keyno in this
file. Key files follow the following format:
keyid keytype key
-Where keyid is a number identifying this key
+Where keyid is a number identifying this key
keytype is one of the follow:
S Key in 64 Bit hexadecimal number as specified in in the DES specification.
N Key in 64 Bit hexadecimal number as specified in the NTP standard.
@cindex sntp-timeout
This is the ``specify the number of seconds to wait for broadcasts'' option.
-When waiting for a broadcast packet SNTP will wait the number
+When waiting for a broadcast packet SNTP will wait the number
of seconds specified before giving up. Default 68 seconds.
-.TH SNTP 1 2010-12-02 "( 4.2.7p88)" "Programmer's Manual"
+.TH SNTP 1 2010-12-04 "( 4.2.7p89)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (sntp.1)
.\"
-.\" It has been AutoGen-ed December 2, 2010 at 10:08:55 AM by AutoGen 5.11.3
+.\" It has been AutoGen-ed December 4, 2010 at 10:58:25 AM by AutoGen 5.11.3
.\" From the definitions sntp-opts.def
.\" and the template file agman1.tpl
.\"
syslog.
.sp
This option causes the client to write log messages to the specified
-logfile.
+logfile.
.TP
.BR \-s ", " \--settod
Set (step) the time with settimeofday().
.ti +4
68
.sp
-When waiting for a broadcast packet SNTP will wait the number
+When waiting for a broadcast packet SNTP will wait the number
of seconds specified before giving up. Default 68 seconds.
.TP
.BR \-a " \fIauth-keynumber\fP, " \--authentication "=" \fIauth-keynumber\fP
.BR \-k " \fIfile-name\fP, " \--keyfile "=" \fIfile-name\fP
Specify a keyfile. SNTP will look in this file for the key specified with \-a.
.sp
-This option specifies the keyfile. SNTP will search for the key specified with \-a keyno in this
+This option specifies the keyfile. SNTP will search for the key specified with \-a keyno in this
file. Key files follow the following format:
keyid keytype key
-Where keyid is a number identifying this key
+Where keyid is a number identifying this key
keytype is one of the follow:
S Key in 64 Bit hexadecimal number as specified in in the DES specification.
N Key in 64 Bit hexadecimal number as specified in the NTP standard.
clock. Run as root, it can correct the system clock to this offset as
well. It can be run as an interactive command or from a cron job.
- <p>This document applies to version 4.2.7p88 of <code>sntp</code>.
+ <p>This document applies to version 4.2.7p89 of <code>sntp</code>.
- <p>The program implements the SNTP protocol as defined by the draft NTPv4
+ <p>The program implements the SNTP protocol as defined by RFC 5905, the NTPv4
IETF specification.
<div class="shortcontents">
<p>where the +4.567 +/- 0.089 secs indicates the time offset and
error bound of the system clock relative to the server clock.
-<!-- @include sntp-opts.texi -->
+<div class="node">
+<p><hr>
+<a name="sntp-Invocation"></a>
+<br>
+</div>
+
+<h3 class="section">Invoking sntp</h3>
+
+<p><a name="index-sntp-1"></a><a name="index-standard-SNTP-program-2"></a>This program has no explanation.
+
+ <p><code>sntp</code>
+can be used as a SNTP client to query a NTP or SNTP server and either display
+the time or set the local system's time (given suitable privilege). It can be
+run as an interactive command or in a
+<code>cron</code>
+job.
+
+ <p>NTP (the Network Time Protocol) and SNTP (the Simple Network Time Protocol)
+are defined and described by RFC 5905.
+
+ <p class="indent">The default is to write the estimated correct local date and time (i.e. not
+UTC) to the standard output in a format like
+<pre class="example"> 1996 Oct 15 20:17:25.123 +4.567 +/- 0.089 secs
+</pre>
+ <p>where the
+<pre class="example"> +4.567 +/- 0.089 secs
+</pre>
+ <p>indicates the local clock is 4.567 seconds behind the correct time
+(so 4.567 seconds must be added to the local clock to get it to be correct),
+and the time of
+<code>1996 Oct 15 20:17:25.123</code>
+is believed to be correct to within
+<code>+/- 0.089</code>
+seconds.
+
+ <p>This section was generated by <strong>AutoGen</strong>,
+the aginfo template and the option descriptions for the <span class="command">sntp</span> program. It documents the sntp usage text and option meanings.
+
+ <p>This software is released under a specialized copyright license.
+
+<ul class="menu">
+<li><a accesskey="1" href="#sntp-usage">sntp usage</a>: sntp usage help (-?)
+<li><a accesskey="2" href="#sntp-adjtime">sntp adjtime</a>: adjtime option (-j)
+<li><a accesskey="3" href="#sntp-authentication">sntp authentication</a>: authentication option (-a)
+<li><a accesskey="4" href="#sntp-broadcast">sntp broadcast</a>: broadcast option (-b)
+<li><a accesskey="5" href="#sntp-filelog">sntp filelog</a>: filelog option (-l)
+<li><a accesskey="6" href="#sntp-ipv4">sntp ipv4</a>: ipv4 option (-4)
+<li><a accesskey="7" href="#sntp-ipv6">sntp ipv6</a>: ipv6 option (-6)
+<li><a accesskey="8" href="#sntp-keyfile">sntp keyfile</a>: keyfile option (-k)
+<li><a accesskey="9" href="#sntp-kod">sntp kod</a>: kod option (-K)
+<li><a href="#sntp-normalverbose">sntp normalverbose</a>: normalverbose option (-d)
+<li><a href="#sntp-settod">sntp settod</a>: settod option (-s)
+<li><a href="#sntp-syslog">sntp syslog</a>: syslog option (-p)
+<li><a href="#sntp-timeout">sntp timeout</a>: timeout option (-t)
+</ul>
+
+<div class="node">
+<p><hr>
+<a name="sntp-usage"></a>Next: <a rel="next" accesskey="n" href="#sntp-adjtime">sntp adjtime</a>,
+Up: <a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
+<br>
+</div>
+
+<h4 class="subsection">sntp usage help (-?)</h4>
+
+<p><a name="index-sntp-usage-3"></a>
+This is the automatically generated usage text for sntp:
+
+<pre class="example">sntp - standard SNTP program - Ver. 4.2.7p89
+USAGE: sntp [ -<flag> [<val>] | --<name>[{=| }<val>] ]... hostname-or-IP ...
+ Flg Arg Option-Name Description
+ -4 no ipv4 Force IPv4 DNS name resolution
+ - prohibits these options:
+ ipv6
+ -6 no ipv6 Force IPv6 DNS name resolution
+ - prohibits these options:
+ ipv4
+ -d no normalverbose Normal verbose
+ -K Str kod KoD history filename
+ -p no syslog Logging with syslog
+ - prohibits these options:
+ filelog
+ -l Str filelog Log to specified logfile
+ - prohibits these options:
+ syslog
+ -s no settod Set (step) the time with settimeofday()
+ - prohibits these options:
+ adjtime
+ -j no adjtime Set (slew) the time with adjtime()
+ - prohibits these options:
+ settod
+ -b Str broadcast Use broadcasts to the address specified for synchronisation
+ -t Num timeout Specify the number of seconds to wait for broadcasts
+ -a Num authentication Enable authentication with the key auth-keynumber
+ -k Str keyfile Specify a keyfile. SNTP will look in this file for the key specified with -a
+ opt version Output version information and exit
+ -? no help Display extended usage information and exit
+ -! no more-help Extended usage information passed thru pager
+ -> opt save-opts Save the option state to a config file
+ -< Str load-opts Load options from a config file
+ - disabled as --no-load-opts
+ - may appear multiple times
+
+Options are specified by doubled hyphens and their name
+or by a single hyphen and the flag character.
+
+The following option preset mechanisms are supported:
+ - reading file /deacon/users/stenn/.ntprc
+ - reading file /deacon/backroom/snaps/ntp-dev/sntp/.ntprc
+ - examining environment variables named SNTP_*
+
+sntp implements the Simple Network Time Protocol, and is used to query
+an NTP or SNTP server and either display the time or set the local
+system's time (given suitable privilege).
+
+It can be run interactively from the command line or as a cron job.
+
+NTP and SNTP are defined by RFC 5905, which obsoletes RFC 4330 and RFC
+1305.
+
+please send bug reports to: http://bugs.ntp.org, bugs@ntp.org
+</pre>
+ <div class="node">
+<p><hr>
+<a name="sntp-adjtime"></a>Next: <a rel="next" accesskey="n" href="#sntp-authentication">sntp authentication</a>,
+Previous: <a rel="previous" accesskey="p" href="#sntp-usage">sntp usage</a>,
+Up: <a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
+<br>
+</div>
+
+<h4 class="subsection">adjtime option (-j)</h4>
+
+<p><a name="index-sntp_002dadjtime-4"></a>
+This is the “set (slew) the time with adjtime()” option.
+
+ <p>This option has some usage constraints. It:
+ <ul>
+<li>must not appear in combination with any of the following options:
+settod.
+</ul>
+
+<div class="node">
+<p><hr>
+<a name="sntp-authentication"></a>Next: <a rel="next" accesskey="n" href="#sntp-broadcast">sntp broadcast</a>,
+Previous: <a rel="previous" accesskey="p" href="#sntp-adjtime">sntp adjtime</a>,
+Up: <a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
+<br>
+</div>
+
+<h4 class="subsection">authentication option (-a)</h4>
+
+<p><a name="index-sntp_002dauthentication-5"></a>
+This is the “enable authentication with the key auth-keynumber” option.
+This option enables authentication using the key specified in this option's argument.
+The argument of this option is the keyid, a number specified in the keyfile as this
+key's identifier. See the keyfile option (-k) for more details.
+
+<div class="node">
+<p><hr>
+<a name="sntp-broadcast"></a>Next: <a rel="next" accesskey="n" href="#sntp-filelog">sntp filelog</a>,
+Previous: <a rel="previous" accesskey="p" href="#sntp-authentication">sntp authentication</a>,
+Up: <a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
+<br>
+</div>
+
+<h4 class="subsection">broadcast option (-b)</h4>
+
+<p><a name="index-sntp_002dbroadcast-6"></a>
+This is the “use broadcasts to the address specified for synchronisation” option.
+If specified SNTP will listen to the specified broadcast address
+for NTP broadcasts. The default maximum wait time,
+68 seconds, can be modified with -t.
+
+<div class="node">
+<p><hr>
+<a name="sntp-filelog"></a>Next: <a rel="next" accesskey="n" href="#sntp-ipv4">sntp ipv4</a>,
+Previous: <a rel="previous" accesskey="p" href="#sntp-broadcast">sntp broadcast</a>,
+Up: <a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
+<br>
+</div>
+
+<h4 class="subsection">filelog option (-l)</h4>
+
+<p><a name="index-sntp_002dfilelog-7"></a>
+This is the “log to specified logfile” option.
+
+ <p>This option has some usage constraints. It:
+ <ul>
+<li>must not appear in combination with any of the following options:
+syslog.
+</ul>
+
+ <p>This option causes the client to write log messages to the specified
+logfile.
+
+<div class="node">
+<p><hr>
+<a name="sntp-ipv4"></a>Next: <a rel="next" accesskey="n" href="#sntp-ipv6">sntp ipv6</a>,
+Previous: <a rel="previous" accesskey="p" href="#sntp-filelog">sntp filelog</a>,
+Up: <a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
+<br>
+</div>
+
+<h4 class="subsection">ipv4 option (-4)</h4>
+
+<p><a name="index-sntp_002dipv4-8"></a>
+This is the “force ipv4 dns name resolution” option.
+
+ <p>This option has some usage constraints. It:
+ <ul>
+<li>must not appear in combination with any of the following options:
+ipv6.
+</ul>
+
+ <p>Force DNS resolution of following host names on the command line
+to the IPv4 namespace.
+
+<div class="node">
+<p><hr>
+<a name="sntp-ipv6"></a>Next: <a rel="next" accesskey="n" href="#sntp-keyfile">sntp keyfile</a>,
+Previous: <a rel="previous" accesskey="p" href="#sntp-ipv4">sntp ipv4</a>,
+Up: <a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
+<br>
+</div>
+
+<h4 class="subsection">ipv6 option (-6)</h4>
+
+<p><a name="index-sntp_002dipv6-9"></a>
+This is the “force ipv6 dns name resolution” option.
+
+ <p>This option has some usage constraints. It:
+ <ul>
+<li>must not appear in combination with any of the following options:
+ipv4.
+</ul>
+
+ <p>Force DNS resolution of following host names on the command line
+to the IPv6 namespace.
+
+<div class="node">
+<p><hr>
+<a name="sntp-keyfile"></a>Next: <a rel="next" accesskey="n" href="#sntp-kod">sntp kod</a>,
+Previous: <a rel="previous" accesskey="p" href="#sntp-ipv6">sntp ipv6</a>,
+Up: <a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
+<br>
+</div>
+
+<h4 class="subsection">keyfile option (-k)</h4>
+
+<p><a name="index-sntp_002dkeyfile-10"></a>
+This is the “specify a keyfile. sntp will look in this file for the key specified with -a” option.
+This option specifies the keyfile. SNTP will search for the key specified with -a keyno in this
+file. Key files follow the following format:
+
+ <p>keyid keytype key
+
+ <p>Where keyid is a number identifying this key
+keytype is one of the follow:
+S Key in 64 Bit hexadecimal number as specified in in the DES specification.
+N Key in 64 Bit hexadecimal number as specified in the NTP standard.
+A Key in a 1-to-8 character ASCII string.
+M Key in a 1-to-8 character ASCII string using the MD5 authentication scheme.
+
+ <p>For more information see ntp.keys(5).
+
+<div class="node">
+<p><hr>
+<a name="sntp-kod"></a>Next: <a rel="next" accesskey="n" href="#sntp-normalverbose">sntp normalverbose</a>,
+Previous: <a rel="previous" accesskey="p" href="#sntp-keyfile">sntp keyfile</a>,
+Up: <a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
+<br>
+</div>
+
+<h4 class="subsection">kod option (-K)</h4>
+
+<p><a name="index-sntp_002dkod-11"></a>
+This is the “kod history filename” option.
+Modifies the filename to be used to persist the history of KoD
+responses received from servers. The default is
+/var/db/ntp-kod.
+
+<div class="node">
+<p><hr>
+<a name="sntp-normalverbose"></a>Next: <a rel="next" accesskey="n" href="#sntp-settod">sntp settod</a>,
+Previous: <a rel="previous" accesskey="p" href="#sntp-kod">sntp kod</a>,
+Up: <a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
+<br>
+</div>
+
+<h4 class="subsection">normalverbose option (-d)</h4>
+
+<p><a name="index-sntp_002dnormalverbose-12"></a>
+This is the “normal verbose” option.
+Diagnostic messages for non-fatal errors and a limited amount of
+tracing should be written to standard error. Fatal ones always
+produce a diagnostic. This option should be set when there is a
+suspected problem with the server, network or the source.
+
+<div class="node">
+<p><hr>
+<a name="sntp-settod"></a>Next: <a rel="next" accesskey="n" href="#sntp-syslog">sntp syslog</a>,
+Previous: <a rel="previous" accesskey="p" href="#sntp-normalverbose">sntp normalverbose</a>,
+Up: <a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
+<br>
+</div>
+
+<h4 class="subsection">settod option (-s)</h4>
+
+<p><a name="index-sntp_002dsettod-13"></a>
+This is the “set (step) the time with settimeofday()” option.
+
+ <p>This option has some usage constraints. It:
+ <ul>
+<li>must not appear in combination with any of the following options:
+adjtime.
+</ul>
+
+<div class="node">
+<p><hr>
+<a name="sntp-syslog"></a>Next: <a rel="next" accesskey="n" href="#sntp-timeout">sntp timeout</a>,
+Previous: <a rel="previous" accesskey="p" href="#sntp-settod">sntp settod</a>,
+Up: <a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
+<br>
+</div>
+
+<h4 class="subsection">syslog option (-p)</h4>
+
+<p><a name="index-sntp_002dsyslog-14"></a>
+This is the “logging with syslog” option.
+
+ <p>This option has some usage constraints. It:
+ <ul>
+<li>must not appear in combination with any of the following options:
+filelog.
+</ul>
+
+ <p>When this option is set all logging will be done using syslog.
+
+<div class="node">
+<p><hr>
+<a name="sntp-timeout"></a>Previous: <a rel="previous" accesskey="p" href="#sntp-syslog">sntp syslog</a>,
+Up: <a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
+<br>
+</div>
+
+<h4 class="subsection">timeout option (-t)</h4>
+
+<p><a name="index-sntp_002dtimeout-15"></a>
+This is the “specify the number of seconds to wait for broadcasts” option.
+When waiting for a broadcast packet SNTP will wait the number
+of seconds specified before giving up. Default 68 seconds.
+
<div class="node">
<p><hr>
<a name="Usage"></a>Previous: <a rel="previous" accesskey="p" href="#sntp-Description">sntp Description</a>,
check the current time, offset, and error in the local clock.
For example:
-<pre class="example"> sntp ntpserver.somewhere
+<pre class="example"> sntp ntpserver.somewhere
</pre>
<p>With suitable privilege, it can be run as a command or in a
<code>crom</code> job to reset the local clock from a reliable server, like
the <code>ntpdate</code> and <code>rdate</code> commands.
For example:
-<pre class="example"> sntp -a ntpserver.somewhere
+<pre class="example"> sntp -a ntpserver.somewhere
</pre>
</body></html>
/*
* EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.c)
*
- * It has been AutoGen-ed December 2, 2010 at 10:09:48 AM by AutoGen 5.11.3
+ * It has been AutoGen-ed December 4, 2010 at 10:59:32 AM by AutoGen 5.11.3
* From the definitions ntp-keygen-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTP_KEYGEN";
tSCC zUsageTitle[] =
-"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p88\n\
+"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p89\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
/*
* EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.h)
*
- * It has been AutoGen-ed December 2, 2010 at 10:09:48 AM by AutoGen 5.11.3
+ * It has been AutoGen-ed December 4, 2010 at 10:59:32 AM by AutoGen 5.11.3
* From the definitions ntp-keygen-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 24
-#define NTP_KEYGEN_VERSION "4.2.7p88"
-#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p88"
+#define NTP_KEYGEN_VERSION "4.2.7p89"
+#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p89"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.texi)
#
-# It has been AutoGen-ed December 2, 2010 at 10:09:56 AM by AutoGen 5.11.3
+# It has been AutoGen-ed December 4, 2010 at 10:59:40 AM by AutoGen 5.11.3
# From the definitions ntp-keygen-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
Using OpenSSL version 90704f
-ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p88
+ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p89
USAGE: ntp-keygen [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
Flg Arg Option-Name Description
-c Str certificate certificate scheme
-.TH NTP-KEYGEN 1 2010-12-02 "(ntp 4.2.7p88)" "Programmer's Manual"
+.TH NTP-KEYGEN 1 2010-12-04 "(ntp 4.2.7p89)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntp-keygen.1)
.\"
-.\" It has been AutoGen-ed December 2, 2010 at 10:09:56 AM by AutoGen 5.11.3
+.\" It has been AutoGen-ed December 4, 2010 at 10:59:40 AM by AutoGen 5.11.3
.\" From the definitions ntp-keygen-opts.def
.\" and the template file agman1.tpl
.\"