From: Harlan Stenn Date: Fri, 13 May 2011 11:42:41 +0000 (+0000) Subject: NTP_4_2_7P166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad0d75f29ff09da66aa5a7392b390f89b37ea4a1;p=thirdparty%2Fntp.git NTP_4_2_7P166 bk: 4dcd1931rj4ZDwVRWiyBAiOr9NivPQ --- diff --git a/ChangeLog b/ChangeLog index a1a836d5cd..f745598048 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +(4.2.7p166) 2011/05/13 Released by Harlan Stenn * If we have local overrides for autogen template files, use them. * Convert more of the sntp-opt.def documentation from man to mdoc. (4.2.7p165) 2011/05/11 Released by Harlan Stenn diff --git a/ntpd/ntpd-opts.c b/ntpd/ntpd-opts.c index 357c0618eb..bdebbd12d1 100644 --- a/ntpd/ntpd-opts.c +++ b/ntpd/ntpd-opts.c @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (ntpd-opts.c) * - * It has been AutoGen-ed May 11, 2011 at 11:27:57 AM by AutoGen 5.11.9 + * It has been AutoGen-ed May 13, 2011 at 11:41:08 AM by AutoGen 5.11.9 * From the definitions ntpd-opts.def * and the template file options * @@ -40,7 +40,7 @@ extern FILE * option_usage_fp; /* TRANSLATORS: choose the translation for option names wisely because you cannot ever change your mind. */ static char const zCopyright[40] = -"ntpd 4.2.7p165\n\ +"ntpd 4.2.7p166\n\ see html/copyright.html\n"; static char const zLicenseDescrip[25] = "see html/copyright.html\n"; @@ -1002,7 +1002,7 @@ static tOptDesc optDesc[OPTION_CT] = { */ static char const zPROGNAME[5] = "NTPD"; static char const zUsageTitle[133] = -"ntpd - NTP daemon program - Ver. 4.2.7p165\n\ +"ntpd - NTP daemon program - Ver. 4.2.7p166\n\ USAGE: %s [ - [] | --[{=| }] ]... \\\n\ \t\t[ ... ]\n"; #define zRcName NULL diff --git a/ntpd/ntpd-opts.h b/ntpd/ntpd-opts.h index 49a0f379d3..f4e21e1c55 100644 --- a/ntpd/ntpd-opts.h +++ b/ntpd/ntpd-opts.h @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (ntpd-opts.h) * - * It has been AutoGen-ed May 11, 2011 at 11:27:56 AM by AutoGen 5.11.9 + * It has been AutoGen-ed May 13, 2011 at 11:41:08 AM by AutoGen 5.11.9 * From the definitions ntpd-opts.def * and the template file options * @@ -90,8 +90,8 @@ typedef enum { } teOptIndex; #define OPTION_CT 36 -#define NTPD_VERSION "4.2.7p165" -#define NTPD_FULL_VERSION "ntpd 4.2.7p165" +#define NTPD_VERSION "4.2.7p166" +#define NTPD_FULL_VERSION "ntpd 4.2.7p166" /* * Interface defines for all options. Replace "n" with the UPPER_CASED diff --git a/ntpd/ntpd-opts.texi b/ntpd/ntpd-opts.texi index 6ccae2a8eb..b1f1fb36f2 100644 --- a/ntpd/ntpd-opts.texi +++ b/ntpd/ntpd-opts.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (ntpd-opts.texi) # -# It has been AutoGen-ed May 11, 2011 at 11:30:19 AM by AutoGen 5.11.9 +# It has been AutoGen-ed May 13, 2011 at 11:41:31 AM by AutoGen 5.11.9 # From the definitions ntpd-opts.def # and the template file aginfo.tpl @end ignore @@ -64,7 +64,7 @@ This is the automatically generated usage text for ntpd: @exampleindent 0 @example -ntpd - NTP daemon program - Ver. 4.2.7p165 +ntpd - NTP daemon program - Ver. 4.2.7p166 USAGE: ntpd [ - [] | --[@{=| @}] ]... \ [ ... ] Flg Arg Option-Name Description diff --git a/ntpd/ntpd.1 b/ntpd/ntpd.1 index a0dfd979ad..6d2fcaaded 100644 --- a/ntpd/ntpd.1 +++ b/ntpd/ntpd.1 @@ -1,7 +1,7 @@ -.TH NTPD 1 2011-05-11 "( 4.2.7p165)" "Programmer's Manual" +.TH NTPD 1 2011-05-13 "( 4.2.7p166)" "Programmer's Manual" .\" EDIT THIS FILE WITH CAUTION (ntpd.1) .\" -.\" It has been AutoGen-ed May 11, 2011 at 11:30:18 AM by AutoGen 5.11.9 +.\" It has been AutoGen-ed May 13, 2011 at 11:41:30 AM by AutoGen 5.11.9 .\" From the definitions ntpd-opts.def .\" and the template file agman1.tpl .\" diff --git a/ntpdc/ntpdc-opts.c b/ntpdc/ntpdc-opts.c index 36e5e2ee5f..264447047d 100644 --- a/ntpdc/ntpdc-opts.c +++ b/ntpdc/ntpdc-opts.c @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (ntpdc-opts.c) * - * It has been AutoGen-ed May 11, 2011 at 11:30:52 AM by AutoGen 5.11.9 + * It has been AutoGen-ed May 13, 2011 at 11:41:37 AM by AutoGen 5.11.9 * From the definitions ntpdc-opts.def * and the template file options * @@ -40,7 +40,7 @@ extern FILE * option_usage_fp; /* TRANSLATORS: choose the translation for option names wisely because you cannot ever change your mind. */ static char const zCopyright[41] = -"ntpdc 4.2.7p165\n\ +"ntpdc 4.2.7p166\n\ see html/copyright.html\n"; static char const zLicenseDescrip[25] = "see html/copyright.html\n"; @@ -447,7 +447,7 @@ static tOptDesc optDesc[OPTION_CT] = { */ static char const zPROGNAME[6] = "NTPDC"; static char const zUsageTitle[129] = -"ntpdc - vendor-specific NTP query program - Ver. 4.2.7p165\n\ +"ntpdc - vendor-specific NTP query program - Ver. 4.2.7p166\n\ USAGE: %s [ - [] | --[{=| }] ]... [ host ...]\n"; static char const zRcName[7] = ".ntprc"; static char const * const apzHomeList[3] = { diff --git a/ntpdc/ntpdc-opts.h b/ntpdc/ntpdc-opts.h index 63c1f377ef..309e7eb71f 100644 --- a/ntpdc/ntpdc-opts.h +++ b/ntpdc/ntpdc-opts.h @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (ntpdc-opts.h) * - * It has been AutoGen-ed May 11, 2011 at 11:30:52 AM by AutoGen 5.11.9 + * It has been AutoGen-ed May 13, 2011 at 11:41:37 AM by AutoGen 5.11.9 * From the definitions ntpdc-opts.def * and the template file options * @@ -69,8 +69,8 @@ typedef enum { } teOptIndex; #define OPTION_CT 15 -#define NTPDC_VERSION "4.2.7p165" -#define NTPDC_FULL_VERSION "ntpdc 4.2.7p165" +#define NTPDC_VERSION "4.2.7p166" +#define NTPDC_FULL_VERSION "ntpdc 4.2.7p166" /* * Interface defines for all options. Replace "n" with the UPPER_CASED diff --git a/ntpdc/ntpdc-opts.texi b/ntpdc/ntpdc-opts.texi index 33a0c57f04..7c5e315081 100644 --- a/ntpdc/ntpdc-opts.texi +++ b/ntpdc/ntpdc-opts.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (ntpdc-opts.texi) # -# It has been AutoGen-ed May 11, 2011 at 11:31:26 AM by AutoGen 5.11.9 +# It has been AutoGen-ed May 13, 2011 at 11:41:46 AM by AutoGen 5.11.9 # From the definitions ntpdc-opts.def # and the template file aginfo.tpl @end ignore @@ -58,7 +58,7 @@ This is the automatically generated usage text for ntpdc: @exampleindent 0 @example -ntpdc - vendor-specific NTP query program - Ver. 4.2.7p165 +ntpdc - vendor-specific NTP query program - Ver. 4.2.7p166 USAGE: ntpdc [ - [] | --[@{=| @}] ]... [ host ...] Flg Arg Option-Name Description -4 no ipv4 Force IPv4 DNS name resolution diff --git a/ntpdc/ntpdc.1 b/ntpdc/ntpdc.1 index 0e37ff7726..6115bc00db 100644 --- a/ntpdc/ntpdc.1 +++ b/ntpdc/ntpdc.1 @@ -1,7 +1,7 @@ -.TH NTPDC 1 2011-05-11 "( 4.2.7p165)" "Programmer's Manual" +.TH NTPDC 1 2011-05-13 "( 4.2.7p166)" "Programmer's Manual" .\" EDIT THIS FILE WITH CAUTION (ntpdc.1) .\" -.\" It has been AutoGen-ed May 11, 2011 at 11:31:25 AM by AutoGen 5.11.9 +.\" It has been AutoGen-ed May 13, 2011 at 11:41:46 AM by AutoGen 5.11.9 .\" From the definitions ntpdc-opts.def .\" and the template file agman1.tpl .\" diff --git a/ntpq/ntpq-opts.c b/ntpq/ntpq-opts.c index 8dcbea469f..279e3ced8c 100644 --- a/ntpq/ntpq-opts.c +++ b/ntpq/ntpq-opts.c @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (ntpq-opts.c) * - * It has been AutoGen-ed May 11, 2011 at 11:31:29 AM by AutoGen 5.11.9 + * It has been AutoGen-ed May 13, 2011 at 11:41:47 AM by AutoGen 5.11.9 * From the definitions ntpq-opts.def * and the template file options * @@ -40,7 +40,7 @@ extern FILE * option_usage_fp; /* TRANSLATORS: choose the translation for option names wisely because you cannot ever change your mind. */ static char const zCopyright[40] = -"ntpq 4.2.7p165\n\ +"ntpq 4.2.7p166\n\ see html/copyright.html\n"; static char const zLicenseDescrip[25] = "see html/copyright.html\n"; @@ -424,7 +424,7 @@ static tOptDesc optDesc[OPTION_CT] = { */ static char const zPROGNAME[5] = "NTPQ"; static char const zUsageTitle[121] = -"ntpq - standard NTP query program - Ver. 4.2.7p165\n\ +"ntpq - standard NTP query program - Ver. 4.2.7p166\n\ USAGE: %s [ - [] | --[{=| }] ]... [ host ...]\n"; static char const zRcName[7] = ".ntprc"; static char const * const apzHomeList[3] = { diff --git a/ntpq/ntpq-opts.h b/ntpq/ntpq-opts.h index 87e7819068..87348c790e 100644 --- a/ntpq/ntpq-opts.h +++ b/ntpq/ntpq-opts.h @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (ntpq-opts.h) * - * It has been AutoGen-ed May 11, 2011 at 11:31:28 AM by AutoGen 5.11.9 + * It has been AutoGen-ed May 13, 2011 at 11:41:47 AM by AutoGen 5.11.9 * From the definitions ntpq-opts.def * and the template file options * @@ -68,8 +68,8 @@ typedef enum { } teOptIndex; #define OPTION_CT 14 -#define NTPQ_VERSION "4.2.7p165" -#define NTPQ_FULL_VERSION "ntpq 4.2.7p165" +#define NTPQ_VERSION "4.2.7p166" +#define NTPQ_FULL_VERSION "ntpq 4.2.7p166" /* * Interface defines for all options. Replace "n" with the UPPER_CASED diff --git a/ntpq/ntpq-opts.texi b/ntpq/ntpq-opts.texi index 1afa8725ea..472c3d7de9 100644 --- a/ntpq/ntpq-opts.texi +++ b/ntpq/ntpq-opts.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (ntpq-opts.texi) # -# It has been AutoGen-ed May 11, 2011 at 11:32:13 AM by AutoGen 5.11.9 +# It has been AutoGen-ed May 13, 2011 at 11:42:00 AM by AutoGen 5.11.9 # From the definitions ntpq-opts.def # and the template file aginfo.tpl @end ignore @@ -47,7 +47,7 @@ This is the automatically generated usage text for ntpq: @exampleindent 0 @example -ntpq - standard NTP query program - Ver. 4.2.7p165 +ntpq - standard NTP query program - Ver. 4.2.7p166 USAGE: ntpq [ - [] | --[@{=| @}] ]... [ host ...] Flg Arg Option-Name Description -4 no ipv4 Force IPv4 DNS name resolution diff --git a/ntpq/ntpq.1 b/ntpq/ntpq.1 index 4d57ad189e..0dacf14268 100644 --- a/ntpq/ntpq.1 +++ b/ntpq/ntpq.1 @@ -1,7 +1,7 @@ -.TH NTPQ 1 2011-05-11 "( 4.2.7p165)" "Programmer's Manual" +.TH NTPQ 1 2011-05-13 "( 4.2.7p166)" "Programmer's Manual" .\" EDIT THIS FILE WITH CAUTION (ntpq.1) .\" -.\" It has been AutoGen-ed May 11, 2011 at 11:32:11 AM by AutoGen 5.11.9 +.\" It has been AutoGen-ed May 13, 2011 at 11:42:00 AM by AutoGen 5.11.9 .\" From the definitions ntpq-opts.def .\" and the template file agman1.tpl .\" diff --git a/ntpsnmpd/ntpsnmpd-opts.c b/ntpsnmpd/ntpsnmpd-opts.c index b0ddbb3802..59e9ff6d48 100644 --- a/ntpsnmpd/ntpsnmpd-opts.c +++ b/ntpsnmpd/ntpsnmpd-opts.c @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.c) * - * It has been AutoGen-ed May 11, 2011 at 11:32:14 AM by AutoGen 5.11.9 + * It has been AutoGen-ed May 13, 2011 at 11:42:01 AM by AutoGen 5.11.9 * From the definitions ntpsnmpd-opts.def * and the template file options * @@ -40,7 +40,7 @@ extern FILE * option_usage_fp; /* TRANSLATORS: choose the translation for option names wisely because you cannot ever change your mind. */ static char const zCopyright[44] = -"ntpsnmpd 4.2.7p165\n\ +"ntpsnmpd 4.2.7p166\n\ see html/copyright.html\n"; static char const zLicenseDescrip[25] = "see html/copyright.html\n"; @@ -251,7 +251,7 @@ static tOptDesc optDesc[OPTION_CT] = { */ static char const zPROGNAME[9] = "NTPSNMPD"; static char const zUsageTitle[105] = -"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p165\n\ +"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p166\n\ USAGE: %s [ - [] | --[{=| }] ]...\n"; static char const zRcName[7] = ".ntprc"; static char const * const apzHomeList[3] = { diff --git a/ntpsnmpd/ntpsnmpd-opts.h b/ntpsnmpd/ntpsnmpd-opts.h index 79feebe1be..ff6590c576 100644 --- a/ntpsnmpd/ntpsnmpd-opts.h +++ b/ntpsnmpd/ntpsnmpd-opts.h @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.h) * - * It has been AutoGen-ed May 11, 2011 at 11:32:14 AM by AutoGen 5.11.9 + * It has been AutoGen-ed May 13, 2011 at 11:42:01 AM by AutoGen 5.11.9 * From the definitions ntpsnmpd-opts.def * and the template file options * @@ -62,8 +62,8 @@ typedef enum { } teOptIndex; #define OPTION_CT 8 -#define NTPSNMPD_VERSION "4.2.7p165" -#define NTPSNMPD_FULL_VERSION "ntpsnmpd 4.2.7p165" +#define NTPSNMPD_VERSION "4.2.7p166" +#define NTPSNMPD_FULL_VERSION "ntpsnmpd 4.2.7p166" /* * Interface defines for all options. Replace "n" with the UPPER_CASED diff --git a/ntpsnmpd/ntpsnmpd-opts.texi b/ntpsnmpd/ntpsnmpd-opts.texi index 11f59e742b..f18c5fe412 100644 --- a/ntpsnmpd/ntpsnmpd-opts.texi +++ b/ntpsnmpd/ntpsnmpd-opts.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.texi) # -# It has been AutoGen-ed May 11, 2011 at 11:32:36 AM by AutoGen 5.11.9 +# It has been AutoGen-ed May 13, 2011 at 11:42:05 AM by AutoGen 5.11.9 # From the definitions ntpsnmpd-opts.def # and the template file aginfo.tpl @end ignore @@ -34,7 +34,7 @@ This is the automatically generated usage text for ntpsnmpd: @exampleindent 0 @example -ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p165 +ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p166 USAGE: ntpsnmpd [ - [] | --[@{=| @}] ]... Flg Arg Option-Name Description -n no nofork Do not fork diff --git a/ntpsnmpd/ntpsnmpd.1 b/ntpsnmpd/ntpsnmpd.1 index a8446e2e90..c4ac2a8332 100644 --- a/ntpsnmpd/ntpsnmpd.1 +++ b/ntpsnmpd/ntpsnmpd.1 @@ -1,7 +1,7 @@ -.TH NTPSNMPD 1 2011-05-11 "( 4.2.7p165)" "Programmer's Manual" +.TH NTPSNMPD 1 2011-05-13 "( 4.2.7p166)" "Programmer's Manual" .\" EDIT THIS FILE WITH CAUTION (ntpsnmpd.1) .\" -.\" It has been AutoGen-ed May 11, 2011 at 11:32:34 AM by AutoGen 5.11.9 +.\" It has been AutoGen-ed May 13, 2011 at 11:42:04 AM by AutoGen 5.11.9 .\" From the definitions ntpsnmpd-opts.def .\" and the template file agman1.tpl .\" diff --git a/packageinfo.sh b/packageinfo.sh index 34e918e01a..d0c0dd4df2 100644 --- a/packageinfo.sh +++ b/packageinfo.sh @@ -57,7 +57,7 @@ CLTAG=NTP_4_2_0 # - Numeric values increment # - empty 'increments' to 1 # - NEW 'increments' to empty -point=165 +point=166 ### betapoint is normally modified by script. # ntp-stable Beta number (betapoint) diff --git a/sntp/sntp-opts.c b/sntp/sntp-opts.c index 2def884452..6ef4593a40 100644 --- a/sntp/sntp-opts.c +++ b/sntp/sntp-opts.c @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (sntp-opts.c) * - * It has been AutoGen-ed May 11, 2011 at 11:08:32 AM by AutoGen 5.11.9 + * It has been AutoGen-ed May 13, 2011 at 11:38:46 AM by AutoGen 5.11.9 * From the definitions sntp-opts.def * and the template file options * @@ -40,7 +40,7 @@ extern FILE * option_usage_fp; /* TRANSLATORS: choose the translation for option names wisely because you cannot ever change your mind. */ static char const zCopyright[40] = -"sntp 4.2.7p165\n\ +"sntp 4.2.7p166\n\ see html/copyright.html\n"; static char const zLicenseDescrip[25] = "see html/copyright.html\n"; @@ -637,7 +637,7 @@ static tOptDesc optDesc[OPTION_CT] = { */ static char const zPROGNAME[5] = "SNTP"; static char const zUsageTitle[154] = -"sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p165\n\ +"sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p166\n\ USAGE: %s [ - [] | --[{=| }] ]... \\\n\ \t\t[ hostname-or-IP ...]\n"; static char const zRcName[7] = ".ntprc"; diff --git a/sntp/sntp-opts.h b/sntp/sntp-opts.h index cb4ed45b1c..14cadee6bb 100644 --- a/sntp/sntp-opts.h +++ b/sntp/sntp-opts.h @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (sntp-opts.h) * - * It has been AutoGen-ed May 11, 2011 at 11:08:32 AM by AutoGen 5.11.9 + * It has been AutoGen-ed May 13, 2011 at 11:38:45 AM by AutoGen 5.11.9 * From the definitions sntp-opts.def * and the template file options * @@ -78,8 +78,8 @@ typedef enum { } teOptIndex; #define OPTION_CT 24 -#define SNTP_VERSION "4.2.7p165" -#define SNTP_FULL_VERSION "sntp 4.2.7p165" +#define SNTP_VERSION "4.2.7p166" +#define SNTP_FULL_VERSION "sntp 4.2.7p166" /* * Interface defines for all options. Replace "n" with the UPPER_CASED diff --git a/sntp/sntp-opts.texi b/sntp/sntp-opts.texi index 10dbe03a0b..b08e0b8def 100644 --- a/sntp/sntp-opts.texi +++ b/sntp/sntp-opts.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (sntp-opts.texi) # -# It has been AutoGen-ed May 11, 2011 at 07:29:02 PM by AutoGen 5.11.9 +# It has been AutoGen-ed May 13, 2011 at 11:42:20 AM by AutoGen 5.11.9 # From the definitions sntp-opts.def # and the template file aginfo.tpl @end ignore @@ -76,7 +76,7 @@ This is the automatically generated usage text for sntp: @exampleindent 0 @example -sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p165 +sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p166 USAGE: sntp [ - [] | --[@{=| @}] ]... \ [ hostname-or-IP ...] Flg Arg Option-Name Description diff --git a/sntp/sntp.1 b/sntp/sntp.1 index 1b6c5e1a72..82d357ea40 100644 --- a/sntp/sntp.1 +++ b/sntp/sntp.1 @@ -1,15 +1,16 @@ -.Dd May 11 2011 +.Dd May 13 2011 .Dt SNTP 1 User Commands .Os SunOS 5.10 .\" EDIT THIS FILE WITH CAUTION (sntp-opts.mdoc) .\" -.\" It has been AutoGen-ed May 11, 2011 at 07:29:01 PM by AutoGen 5.11.9 +.\" It has been AutoGen-ed May 13, 2011 at 11:42:20 AM by AutoGen 5.11.9 .\" From the definitions sntp-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME .Nm sntp -.Nd standard Simple Network Time Protocol program.Sh SYNOPSIS -.Nm SNTP +.Nd standard Simple Network Time Protocol program +.Sh SYNOPSIS +.Nm .\" Mixture of short (flag) options and long options .Op Fl flags .Op Fl flag Ar value @@ -239,25 +240,29 @@ Successful program execution. The operation failed or the command syntax was not valid. .El .Sh USAGE -The simplest use of this program is as an unprivileged command to check the -current time and error in the local clock. For example: -.Bl -tag -.It -.El -.Nm sntp ntpserver.somewhere -With suitable privilege, it can be run as a command or in a -.Em cron -job to reset the local clock from a reliable server, like the -.Em ntpdate -and -.Em rdate -commands. For example: -.Bl -tag -.It -.El -.Nm sntp -a ntpserver.somewhere +.Bl -tag -width indent +.It Li "sntp ntpserver.somewhere" +is the simplest use of this program +and can be run as an unprivileged command +to check the current time and error in the local clock. +.It Li "sntp -a ntpserver.somewhere" +With suitable privilege, +run as a command +or from a +.Xr cron 8 +job, +.Ic "sntp -a" +will reset the local clock from a synchronized specified server, +like the (deprecated) +.Xr ntpdate 8 , +or +.Xr rdate 8 +commands. +.El +.Sh RETURN VALUE The program returns a zero exit -status for success, and a non-zero one otherwise. +status for success, and a non-zero one otherwise. +.Sh BUGS Please report bugs to http://bugs.ntp.org . .Sh ENVIRONMENT See \fBOPTION PRESETS\fP for configuration environment variables. diff --git a/sntp/sntp.html b/sntp/sntp.html index baf083f438..198cc323aa 100644 --- a/sntp/sntp.html +++ b/sntp/sntp.html @@ -36,7 +36,7 @@ display the time offset of the system clock relative to the server 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. -

This document applies to version 4.2.7p165 of sntp. +

This document applies to version 4.2.7p166 of sntp.

The program implements the SNTP protocol as defined by RFC 5905, the NTPv4 IETF specification. @@ -150,7 +150,7 @@ Up: sntp Invocation

This is the automatically generated usage text for sntp: -

sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p165
+
sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p166
 USAGE:  sntp [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \
                 [ hostname-or-IP ...]
   Flg Arg Option-Name    Description
diff --git a/util/ntp-keygen-opts.c b/util/ntp-keygen-opts.c
index 6085ea315e..8632a4794d 100644
--- a/util/ntp-keygen-opts.c
+++ b/util/ntp-keygen-opts.c
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.c)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 11:32:43 AM by AutoGen 5.11.9
+ *  It has been AutoGen-ed  May 13, 2011 at 11:42:06 AM by AutoGen 5.11.9
  *  From the definitions    ntp-keygen-opts.def
  *  and the template file   options
  *
@@ -40,7 +40,7 @@ extern FILE * option_usage_fp;
 /* TRANSLATORS: choose the translation for option names wisely because you
                 cannot ever change your mind. */
 static char const zCopyright[52] =
-"ntp-keygen (ntp) 4.2.7p165\n\
+"ntp-keygen (ntp) 4.2.7p166\n\
 see html/copyright.html\n";
 static char const zLicenseDescrip[25] =
 "see html/copyright.html\n";
@@ -752,7 +752,7 @@ static tOptDesc optDesc[OPTION_CT] = {
  */
 static char const zPROGNAME[11] = "NTP_KEYGEN";
 static char const zUsageTitle[116] =
-"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p165\n\
+"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p166\n\
 USAGE:  %s [ - [] | --[{=| }] ]...\n";
 static char const zRcName[7] = ".ntprc";
 static char const * const apzHomeList[3] = {
diff --git a/util/ntp-keygen-opts.h b/util/ntp-keygen-opts.h
index d1876ee688..e9bcc6e340 100644
--- a/util/ntp-keygen-opts.h
+++ b/util/ntp-keygen-opts.h
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.h)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 11:32:42 AM by AutoGen 5.11.9
+ *  It has been AutoGen-ed  May 13, 2011 at 11:42:05 AM by AutoGen 5.11.9
  *  From the definitions    ntp-keygen-opts.def
  *  and the template file   options
  *
@@ -78,8 +78,8 @@ typedef enum {
 } teOptIndex;
 
 #define OPTION_CT    24
-#define NTP_KEYGEN_VERSION       "4.2.7p165"
-#define NTP_KEYGEN_FULL_VERSION  "ntp-keygen (ntp) 4.2.7p165"
+#define NTP_KEYGEN_VERSION       "4.2.7p166"
+#define NTP_KEYGEN_FULL_VERSION  "ntp-keygen (ntp) 4.2.7p166"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
diff --git a/util/ntp-keygen-opts.texi b/util/ntp-keygen-opts.texi
index 9172c935f1..bca81d7645 100644
--- a/util/ntp-keygen-opts.texi
+++ b/util/ntp-keygen-opts.texi
@@ -6,7 +6,7 @@
 # 
 # EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.texi)
 # 
-# It has been AutoGen-ed  May 11, 2011 at 11:33:08 AM by AutoGen 5.11.9
+# It has been AutoGen-ed  May 13, 2011 at 11:42:12 AM by AutoGen 5.11.9
 # From the definitions    ntp-keygen-opts.def
 # and the template file   aginfo.tpl
 @end ignore
@@ -51,7 +51,7 @@ This is the automatically generated usage text for ntp-keygen:
 
 @exampleindent 0
 @example
-ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p165
+ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p166
 USAGE:  ntp-keygen [ - [] | --[@{=| @}] ]...
   Flg Arg Option-Name    Description
    -c Str certificate    certificate scheme
diff --git a/util/ntp-keygen.1 b/util/ntp-keygen.1
index d49c2a65ea..c2a47fd5dd 100644
--- a/util/ntp-keygen.1
+++ b/util/ntp-keygen.1
@@ -1,7 +1,7 @@
-.TH NTP-KEYGEN 1 2011-05-11 "(ntp 4.2.7p165)" "Programmer's Manual"
+.TH NTP-KEYGEN 1 2011-05-13 "(ntp 4.2.7p166)" "Programmer's Manual"
 .\"  EDIT THIS FILE WITH CAUTION  (ntp-keygen.1)
 .\"  
-.\"  It has been AutoGen-ed  May 11, 2011 at 11:33:06 AM by AutoGen 5.11.9
+.\"  It has been AutoGen-ed  May 13, 2011 at 11:42:12 AM by AutoGen 5.11.9
 .\"  From the definitions    ntp-keygen-opts.def
 .\"  and the template file   agman1.tpl
 .\"