]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
NTP_4_2_5P250_RC NTP_4_2_5P250_RC
authorHarlan Stenn <stenn@ntp.org>
Mon, 30 Nov 2009 10:29:50 +0000 (05:29 -0500)
committerHarlan Stenn <stenn@ntp.org>
Mon, 30 Nov 2009 10:29:50 +0000 (05:29 -0500)
bk: 4b139e9ehAu0D69hMLwdYeN-XwOuBQ

27 files changed:
ChangeLog
ntpd/ntpd-opts.c
ntpd/ntpd-opts.h
ntpd/ntpd-opts.texi
ntpd/ntpd.1
ntpdc/ntpdc-opts.c
ntpdc/ntpdc-opts.h
ntpdc/ntpdc-opts.texi
ntpdc/ntpdc.1
ntpq/ntpq-opts.c
ntpq/ntpq-opts.h
ntpq/ntpq-opts.texi
ntpq/ntpq.1
ntpsnmpd/ntpsnmpd-opts.c
ntpsnmpd/ntpsnmpd-opts.h
ntpsnmpd/ntpsnmpd-opts.texi
ntpsnmpd/ntpsnmpd.1
packageinfo.sh
sntp/sntp-opts.c
sntp/sntp-opts.h
sntp/sntp-opts.texi
sntp/sntp.1
sntp/sntp.html
util/ntp-keygen-opts.c
util/ntp-keygen-opts.h
util/ntp-keygen-opts.texi
util/ntp-keygen.1

index d315d7b6624cbdd65e46715aa3b1fe03fae5e425..e24fe217757497de477e1341d61dd023be71f04b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+(4.2.5p250-RC) 2009/11/30 Released by Harlan Stenn <stenn@ntp.org>
 * sntp documentation updates.
 * [Bug 761] internal resolver does not seem to honor -4/-6 qualifiers
 * [Bug 1386] Deferred DNS doesn't work on NetBSD
index eaa929baa88f43fbf6a8466df860576ab8ee20ed..d10dd2bf205f909bcb65258ac1dc5eee4bae2623 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpd-opts.c)
  *  
- *  It has been AutoGen-ed  November 28, 2009 at 05:21:41 AM by AutoGen 5.10
+ *  It has been AutoGen-ed  November 30, 2009 at 05:21:36 AM by AutoGen 5.10
  *  From the definitions    ntpd-opts.def
  *  and the template file   options
  *
@@ -956,7 +956,7 @@ static tOptDesc optDesc[ OPTION_CT ] = {
  */
 tSCC   zPROGNAME[]   = "NTPD";
 tSCC   zUsageTitle[] =
-"ntpd - NTP daemon program - Ver. 4.2.5p249-RC\n\
+"ntpd - NTP daemon program - Ver. 4.2.5p250-RC\n\
 USAGE:  %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
 #define zRcName     NULL
 #define apzHomeList NULL
index 9fd9499bf1e230e4ad9ccb9275a9363043b784da..1b6c085e452eb2d1cff2d5687d4b83b4d006262a 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpd-opts.h)
  *  
- *  It has been AutoGen-ed  November 28, 2009 at 05:21:40 AM by AutoGen 5.10
+ *  It has been AutoGen-ed  November 30, 2009 at 05:21:35 AM by AutoGen 5.10
  *  From the definitions    ntpd-opts.def
  *  and the template file   options
  *
@@ -90,8 +90,8 @@ typedef enum {
 } teOptIndex;
 
 #define OPTION_CT    35
-#define NTPD_VERSION       "4.2.5p249-RC"
-#define NTPD_FULL_VERSION  "ntpd - NTP daemon program - Ver. 4.2.5p249-RC"
+#define NTPD_VERSION       "4.2.5p250-RC"
+#define NTPD_FULL_VERSION  "ntpd - NTP daemon program - Ver. 4.2.5p250-RC"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
index 09e2fda309db39693c2170c7d5eafd53ee98f226..ea6bba462f6c2eeb04bd192bdad0d1504d04bc64 100644 (file)
@@ -6,7 +6,7 @@
 # 
 # EDIT THIS FILE WITH CAUTION  (ntpd-opts.texi)
 # 
-# It has been AutoGen-ed  November 28, 2009 at 05:22:01 AM by AutoGen 5.10
+# It has been AutoGen-ed  November 30, 2009 at 05:22:19 AM by AutoGen 5.10
 # From the definitions    ntpd-opts.def
 # and the template file   aginfo.tpl
 @end ignore
index 85395433a049f870d3fa9a6cb1bef3abccec5225..1b86f78a82677e05e8897a0c9e470f788b378807 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTPD 1 2009-11-28 "( 4.2.5p249-RC)" "Programmer's Manual"
+.TH NTPD 1 2009-11-30 "( 4.2.5p250-RC)" "Programmer's Manual"
 .\"  EDIT THIS FILE WITH CAUTION  (ntpd.1)
 .\"  
-.\"  It has been AutoGen-ed  November 28, 2009 at 05:21:42 AM by AutoGen 5.10
+.\"  It has been AutoGen-ed  November 30, 2009 at 05:21:37 AM by AutoGen 5.10
 .\"  From the definitions    ntpd-opts.def
 .\"  and the template file   agman1.tpl
 .\"
index 6764cd79db0d5dc7ff73769bf63e73f280fe82f3..ac53cdab0576e4b80293409119d78202deb1ce7d 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpdc-opts.c)
  *  
- *  It has been AutoGen-ed  November 28, 2009 at 05:22:45 AM by AutoGen 5.10
+ *  It has been AutoGen-ed  November 30, 2009 at 05:23:20 AM by AutoGen 5.10
  *  From the definitions    ntpdc-opts.def
  *  and the template file   options
  *
@@ -452,7 +452,7 @@ static tOptDesc optDesc[ OPTION_CT ] = {
  */
 tSCC   zPROGNAME[]   = "NTPDC";
 tSCC   zUsageTitle[] =
-"ntpdc - vendor-specific NTP query program - Ver. 4.2.5p249-RC\n\
+"ntpdc - vendor-specific NTP query program - Ver. 4.2.5p250-RC\n\
 USAGE:  %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
 tSCC   zRcName[]     = ".ntprc";
 tSCC*  apzHomeList[] = {
index 5109bff429e191fccca00097203cc820fb016558..15a79cbc446da68d748d1d94b4f62a1e957b4553 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpdc-opts.h)
  *  
- *  It has been AutoGen-ed  November 28, 2009 at 05:22:44 AM by AutoGen 5.10
+ *  It has been AutoGen-ed  November 30, 2009 at 05:23:19 AM by AutoGen 5.10
  *  From the definitions    ntpdc-opts.def
  *  and the template file   options
  *
@@ -70,8 +70,8 @@ typedef enum {
 } teOptIndex;
 
 #define OPTION_CT    15
-#define NTPDC_VERSION       "4.2.5p249-RC"
-#define NTPDC_FULL_VERSION  "ntpdc - vendor-specific NTP query program - Ver. 4.2.5p249-RC"
+#define NTPDC_VERSION       "4.2.5p250-RC"
+#define NTPDC_FULL_VERSION  "ntpdc - vendor-specific NTP query program - Ver. 4.2.5p250-RC"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
index f220fcdda3ec9a7d3cc438479b3be06de3962384..7c631e358f25a5571daa799d7368cdc4867c9831 100644 (file)
@@ -6,7 +6,7 @@
 # 
 # EDIT THIS FILE WITH CAUTION  (ntpdc-opts.texi)
 # 
-# It has been AutoGen-ed  November 28, 2009 at 05:23:10 AM by AutoGen 5.10
+# It has been AutoGen-ed  November 30, 2009 at 05:23:46 AM by AutoGen 5.10
 # From the definitions    ntpdc-opts.def
 # and the template file   aginfo.tpl
 @end ignore
index dd0cb2a6c31309e04f2c9ea89d3ec34b250a9d43..4d3db57592274b4c1bf70c7522571a126ad115a1 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTPDC 1 2009-11-28 "( 4.2.5p249-RC)" "Programmer's Manual"
+.TH NTPDC 1 2009-11-30 "( 4.2.5p250-RC)" "Programmer's Manual"
 .\"  EDIT THIS FILE WITH CAUTION  (ntpdc.1)
 .\"  
-.\"  It has been AutoGen-ed  November 28, 2009 at 05:22:46 AM by AutoGen 5.10
+.\"  It has been AutoGen-ed  November 30, 2009 at 05:23:21 AM by AutoGen 5.10
 .\"  From the definitions    ntpdc-opts.def
 .\"  and the template file   agman1.tpl
 .\"
index 8c593d1aba4e43cf604a2859eb7287dd598a0dec..260eeb34efd1d3b59ae58680447170cc81ab01ea 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpq-opts.c)
  *  
- *  It has been AutoGen-ed  November 28, 2009 at 05:23:23 AM by AutoGen 5.10
+ *  It has been AutoGen-ed  November 30, 2009 at 05:23:59 AM by AutoGen 5.10
  *  From the definitions    ntpq-opts.def
  *  and the template file   options
  *
@@ -427,7 +427,7 @@ static tOptDesc optDesc[ OPTION_CT ] = {
  */
 tSCC   zPROGNAME[]   = "NTPQ";
 tSCC   zUsageTitle[] =
-"ntpq - standard NTP query program - Ver. 4.2.5p249-RC\n\
+"ntpq - standard NTP query program - Ver. 4.2.5p250-RC\n\
 USAGE:  %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
 tSCC   zRcName[]     = ".ntprc";
 tSCC*  apzHomeList[] = {
index f2d6e68f9ec3944bf710892f6c883b66f2f3b899..ca789da54c37f2bef5da8a066c43e6c106d8f3bb 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpq-opts.h)
  *  
- *  It has been AutoGen-ed  November 28, 2009 at 05:23:22 AM by AutoGen 5.10
+ *  It has been AutoGen-ed  November 30, 2009 at 05:23:59 AM by AutoGen 5.10
  *  From the definitions    ntpq-opts.def
  *  and the template file   options
  *
@@ -69,8 +69,8 @@ typedef enum {
 } teOptIndex;
 
 #define OPTION_CT    14
-#define NTPQ_VERSION       "4.2.5p249-RC"
-#define NTPQ_FULL_VERSION  "ntpq - standard NTP query program - Ver. 4.2.5p249-RC"
+#define NTPQ_VERSION       "4.2.5p250-RC"
+#define NTPQ_FULL_VERSION  "ntpq - standard NTP query program - Ver. 4.2.5p250-RC"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
index 76d1b2a221cc936e3f3fb7a844332d5f1d57d6fe..f2ad48abe05dc8afd9885a9e626feecfdf9525d8 100644 (file)
@@ -6,7 +6,7 @@
 # 
 # EDIT THIS FILE WITH CAUTION  (ntpq-opts.texi)
 # 
-# It has been AutoGen-ed  November 28, 2009 at 05:23:46 AM by AutoGen 5.10
+# It has been AutoGen-ed  November 30, 2009 at 05:24:23 AM by AutoGen 5.10
 # From the definitions    ntpq-opts.def
 # and the template file   aginfo.tpl
 @end ignore
index f61334b556ccea0bd80433d1be3fe28c3d943391..55516b19f2a60adbbb00ae6edfd4cf6ebaecfea5 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTPQ 1 2009-11-28 "( 4.2.5p249-RC)" "Programmer's Manual"
+.TH NTPQ 1 2009-11-30 "( 4.2.5p250-RC)" "Programmer's Manual"
 .\"  EDIT THIS FILE WITH CAUTION  (ntpq.1)
 .\"  
-.\"  It has been AutoGen-ed  November 28, 2009 at 05:23:24 AM by AutoGen 5.10
+.\"  It has been AutoGen-ed  November 30, 2009 at 05:24:00 AM by AutoGen 5.10
 .\"  From the definitions    ntpq-opts.def
 .\"  and the template file   agman1.tpl
 .\"
index b56c20a6fabde209f352f4aab1ec2acc33f21beb..4c9f960104660525e84f8189048e3ad05b700016 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.c)
  *  
- *  It has been AutoGen-ed  November 28, 2009 at 05:24:08 AM by AutoGen 5.10
+ *  It has been AutoGen-ed  November 30, 2009 at 05:24:47 AM by AutoGen 5.10
  *  From the definitions    ntpsnmpd-opts.def
  *  and the template file   options
  *
@@ -233,7 +233,7 @@ static tOptDesc optDesc[ OPTION_CT ] = {
  */
 tSCC   zPROGNAME[]   = "NTPSNMPD";
 tSCC   zUsageTitle[] =
-"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.5p249-RC\n\
+"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.5p250-RC\n\
 USAGE:  %s [ -<flag> | --<name> ]...\n";
 tSCC   zRcName[]     = ".ntprc";
 tSCC*  apzHomeList[] = {
index 90e8369cea0efe534218d5eb2f8f42efb990e9fa..50795a222a8e521da281f763857098b829cc4d9b 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.h)
  *  
- *  It has been AutoGen-ed  November 28, 2009 at 05:24:07 AM by AutoGen 5.10
+ *  It has been AutoGen-ed  November 30, 2009 at 05:24:46 AM by AutoGen 5.10
  *  From the definitions    ntpsnmpd-opts.def
  *  and the template file   options
  *
@@ -62,8 +62,8 @@ typedef enum {
 } teOptIndex;
 
 #define OPTION_CT    7
-#define NTPSNMPD_VERSION       "4.2.5p249-RC"
-#define NTPSNMPD_FULL_VERSION  "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.5p249-RC"
+#define NTPSNMPD_VERSION       "4.2.5p250-RC"
+#define NTPSNMPD_FULL_VERSION  "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.5p250-RC"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
index 05ace44bab0dc1be3fd8e2af108b9b1215954ccd..503069e80c4aa2da718583a6a92d1f52c8d05f86 100644 (file)
@@ -6,7 +6,7 @@
 # 
 # EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.texi)
 # 
-# It has been AutoGen-ed  November 28, 2009 at 05:24:21 AM by AutoGen 5.10
+# It has been AutoGen-ed  November 30, 2009 at 05:25:01 AM by AutoGen 5.10
 # From the definitions    ntpsnmpd-opts.def
 # and the template file   aginfo.tpl
 @end ignore
index 2425a79e7760b2610ba9ce2d7f21a195c49dd929..5bd23e253ba4931f843b7c7cabdd181f542eccc3 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTPSNMPD 1 2009-11-28 "( 4.2.5p249-RC)" "Programmer's Manual"
+.TH NTPSNMPD 1 2009-11-30 "( 4.2.5p250-RC)" "Programmer's Manual"
 .\"  EDIT THIS FILE WITH CAUTION  (ntpsnmpd.1)
 .\"  
-.\"  It has been AutoGen-ed  November 28, 2009 at 05:24:09 AM by AutoGen 5.10
+.\"  It has been AutoGen-ed  November 30, 2009 at 05:24:47 AM by AutoGen 5.10
 .\"  From the definitions    ntpsnmpd-opts.def
 .\"  and the template file   agman1.tpl
 .\"
index eda8da89d62cab65be3313b2b478ec9beddd3f78..dfdbe6c38477979ce3d5b4c2cc755d571d3e6a5b 100644 (file)
@@ -9,7 +9,7 @@ version=${proto}.${major}.${minor}
 # - Numeric values increment
 # - empty 'increments' to 1
 # - NEW 'increments' to empty
-point=249
+point=250
 # Special.  Normally unused.  A suffix.
 #special=ag
 special=
index ef242900bfc28626bbe58457d5da64eb3f416064..99890646c23e58ab85a4162e2d929c2bd283de65 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (sntp-opts.c)
  *  
- *  It has been AutoGen-ed  November 28, 2009 at 05:27:55 AM by AutoGen 5.10
+ *  It has been AutoGen-ed  November 30, 2009 at 05:28:36 AM by AutoGen 5.10
  *  From the definitions    sntp-opts.def
  *  and the template file   options
  *
@@ -120,7 +120,7 @@ static const int
  *  "Must also have options" and "Incompatible options":
  */
 tSCC    zFilelogText[] =
-        "Logging to specified logfile";
+        "Log to specified logfile";
 tSCC    zFilelog_NAME[]            = "FILELOG";
 tSCC    zFilelog_Name[]            = "filelog";
 static const int
@@ -180,7 +180,7 @@ tSCC    zTimeout_Name[]            = "timeout";
  *  Authentication option description:
  */
 tSCC    zAuthenticationText[] =
-        "Enable authentication with the key keyno. This option is used as -a keyno";
+        "Enable authentication with the key auth-keynumber";
 tSCC    zAuthentication_NAME[]     = "AUTHENTICATION";
 tSCC    zAuthentication_Name[]     = "authentication";
 #define AUTHENTICATION_FLAGS       (OPTST_DISABLED \
@@ -474,7 +474,7 @@ static tOptDesc optDesc[ OPTION_CT ] = {
  */
 tSCC   zPROGNAME[]   = "SNTP";
 tSCC   zUsageTitle[] =
-"sntp - standard SNTP program - Ver. 4.2.5p249-RC\n\
+"sntp - standard SNTP program - Ver. 4.2.5p250-RC\n\
 USAGE:  %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... hostname-or-IP ...\n";
 tSCC   zRcName[]     = ".ntprc";
 tSCC*  apzHomeList[] = {
index 76ad0637ab6ae82726ce2124b2906033de6fda08..8ae1fecc1726c50b0c5fde7fe85a7db634447c8e 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (sntp-opts.h)
  *  
- *  It has been AutoGen-ed  November 28, 2009 at 05:27:55 AM by AutoGen 5.10
+ *  It has been AutoGen-ed  November 30, 2009 at 05:28:36 AM by AutoGen 5.10
  *  From the definitions    sntp-opts.def
  *  and the template file   options
  *
@@ -72,8 +72,8 @@ typedef enum {
 } teOptIndex;
 
 #define OPTION_CT    17
-#define SNTP_VERSION       "4.2.5p249-RC"
-#define SNTP_FULL_VERSION  "sntp - standard SNTP program - Ver. 4.2.5p249-RC"
+#define SNTP_VERSION       "4.2.5p250-RC"
+#define SNTP_FULL_VERSION  "sntp - standard SNTP program - Ver. 4.2.5p250-RC"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
index e83b1e29b19903761c29f2df13f71526025a7b9a..87bd3ce6c58e2a5a36cf28f60d152c4e7764b05a 100644 (file)
@@ -6,7 +6,7 @@
 # 
 # EDIT THIS FILE WITH CAUTION  (sntp-opts.texi)
 # 
-# It has been AutoGen-ed  November 28, 2009 at 05:28:05 AM by AutoGen 5.10
+# It has been AutoGen-ed  November 30, 2009 at 05:28:42 AM by AutoGen 5.10
 # From the definitions    sntp-opts.def
 # and the template file   aginfo.tpl
 @end ignore
@@ -130,7 +130,7 @@ When this option is set all logging will be done using syslog.
 @subsection filelog option (-l)
 @cindex sntp-filelog
 
-This is the ``logging to specified logfile'' option.
+This is the ``log to specified logfile'' option.
 
 This option has some usage constraints.  It:
 @itemize @bullet
@@ -177,8 +177,8 @@ settod.
 @cindex sntp-broadcast
 
 This is the ``use broadcasts to the address specified for synchronisation'' option.
-If specified SNTP will listen for NTP broadcasts to the
-specified broadcast address.  The default maximum wait time,
+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.
 
 @node sntp timeout
@@ -193,10 +193,10 @@ of seconds specified before giving up.  Default 68 seconds.
 @subsection authentication option (-a)
 @cindex sntp-authentication
 
-This is the ``enable authentication with the key keyno. this option is used as -a keyno'' option.
-This option enables authentication using the key specified in this option\'s argument.
+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.
+key's identifier. See the keyfile option (-k) for more details.
 
 @node sntp keyfile
 @subsection keyfile option (-k)
index ce9ab3c2648276bd8d9b8c46465fa323148f950d..9662faf35420ac95c2742ff1f9b5f46299775702 100644 (file)
@@ -1,7 +1,7 @@
-.TH SNTP 1 2009-11-28 "( 4.2.5p249-RC)" "Programmer's Manual"
+.TH SNTP 1 2009-11-30 "( 4.2.5p250-RC)" "Programmer's Manual"
 .\"  EDIT THIS FILE WITH CAUTION  (sntp.1)
 .\"  
-.\"  It has been AutoGen-ed  November 28, 2009 at 05:28:06 AM by AutoGen 5.10
+.\"  It has been AutoGen-ed  November 30, 2009 at 05:28:43 AM by AutoGen 5.10
 .\"  From the definitions    sntp-opts.def
 .\"  and the template file   agman1.tpl
 .\"
@@ -31,9 +31,9 @@ which should become a full RFC any month now.
 .PP
 The default is to write the estimated correct local date and time (i.e. not
 UTC) to the standard output in a format like
-.BR "'1996 Oct 15 20:17:25.123 + 4.567 +/- 0.089 secs'" ,
+.BR "'1996 Oct 15 20:17:25.123 +4.567 +/- 0.089 secs'" ,
 where the
-.B "'+ 4.567 +/- 0.089 secs'"
+.B "'+4.567 +/- 0.089 secs'"
 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
@@ -41,26 +41,6 @@ and the time of
 is believed to be correct to within
 +/- 0.089
 seconds.
-.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:
-.IP
-.B sntp ntpserver.somewhere
-.PP
-With suitable privilege, it can be run as a command or in a
-.I cron
-job to reset the local clock from a reliable server, like the
-.I ntpdate
-and
-.I rdate
-commands.  For example:
-.IP
-.B sntp \-a ntpserver.somewhere
-.SH RETURN VALUE
-The program returns a zero exit
-status for success, and a non-zero one otherwise.
-.SH BUGS
-Please report bugs to http://bugs.ntp.org .
 .SH OPTIONS
 .TP
 .BR \-4 ", " \--ipv4
@@ -87,7 +67,7 @@ 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.
 .TP
-.BR \-K " \fIstring\fP, " \--kod "=" \fIstring\fP
+.BR \-K " \fIfile-name\fP, " \--kod "=" \fIfile-name\fP
 KoD history filename.
 .sp
 Modifies the filename to be used to persist the history of KoD
@@ -101,8 +81,8 @@ filelog.
 .sp
 When this option is set all logging will be done using syslog.
 .TP
-.BR \-l " \fIstring\fP, " \--filelog "=" \fIstring\fP
-Logging to specified logfile.
+.BR \-l " \fIfile-name\fP, " \--filelog "=" \fIfile-name\fP
+Log to specified logfile.
 This option must not appear in combination with any of the following options:
 syslog.
 .sp
@@ -123,32 +103,32 @@ settod.
 .sp
 
 .TP
-.BR \-b " \fIstring\fP, " \--broadcast "=" \fIstring\fP
+.BR \-b " \fIbroadcast-address\fP, " \--broadcast "=" \fIbroadcast-address\fP
 Use broadcasts to the address specified for synchronisation.
 .sp
-If specified SNTP will listen for NTP broadcasts to the
-specified broadcast address.  The default maximum wait time,
+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.
 .TP
-.BR \-t " \fInumber\fP, " \--timeout "=" \fInumber\fP
+.BR \-t " \fIseconds\fP, " \--timeout "=" \fIseconds\fP
 Specify the number of seconds to wait for broadcasts.
 This option takes an integer number as its argument.
-The default \fInumber\fP for this option is:
+The default \fIseconds\fP for this option is:
 .ti +4
  68
 .sp
 When waiting for a broadcast packet SNTP will wait the number 
 of seconds specified before giving up.  Default 68 seconds.
 .TP
-.BR \-a " \fInumber\fP, " \--authentication "=" \fInumber\fP
-Enable authentication with the key keyno. This option is used as \-a keyno.
+.BR \-a " \fIauth-keynumber\fP, " \--authentication "=" \fIauth-keynumber\fP
+Enable authentication with the key auth-keynumber.
 This option takes an integer number as its argument.
 .sp
-This option enables authentication using the key specified in this option\\'s argument.
+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.
+key's identifier. See the keyfile option (-k) for more details.
 .TP
-.BR \-k " \fIstring\fP, " \--keyfile "=" \fIstring\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 
@@ -198,6 +178,26 @@ the configuration files.
 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 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:
+.IP
+.B sntp ntpserver.somewhere
+.PP
+With suitable privilege, it can be run as a command or in a
+.I cron
+job to reset the local clock from a reliable server, like the
+.I ntpdate
+and
+.I rdate
+commands.  For example:
+.IP
+.B sntp \-a ntpserver.somewhere
+.SH RETURN VALUE
+The program returns a zero exit
+status for success, and a non-zero one otherwise.
+.SH BUGS
+Please report bugs to http://bugs.ntp.org .
 .SH AUTHOR
 David L. Mills and/or others
 .br
index 14145ea9d2709c7609aa649e40932fb7adc1f966..25befe1cd5231af24b4e1e106c270eae96ac80ba 100644 (file)
@@ -32,13 +32,13 @@ Up:&nbsp;<a rel="up" accesskey="u" href="#dir">(dir)</a>
 
 <h2 class="unnumbered">Simple Network Time Protocol User Manual</h2>
 
-<p>This document describes the use of the NTP Project's sntp, a program
+<p>This document describes the use of the NTP Project's <code>sntp</code> program,
 that can be used to query a Network Time Protocol (NTP) server and
 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.
 
-  <p>This document applies to version 4.2.5p249-RC of sntp.
+  <p>This document applies to version 4.2.5p250-RC of <code>sntp</code>.
 
   <p>The program implements the SNTP protocol as defined by the draft NTPv4
 IETF specification.
@@ -68,12 +68,12 @@ Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
 <!-- node-name,  next,  previous,  up -->
 <h3 class="section">Description</h3>
 
-<p>By default, sntp writes the local data and time (i.e., not UTC) to the
+<p>By default, <code>sntp</code> writes the local data and time (i.e., not UTC) to the
 standard output in the format:
 
-<pre class="example">     1996 Oct 15 20:17:25.123 + 4.567 +/- 0.089 secs
+<pre class="example">     1996 Oct 15 20:17:25.123 +4.567 +/- 0.089 secs
 </pre>
-  <p>where the + 4.567 +/- 0.089 secs indicates the time offset and
+  <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 -->
index 2b254ad915a0cdc4dfee80d5def9dfb408f62048..2f76f783575bfa17180aecc318480f224fddd295 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.c)
  *  
- *  It has been AutoGen-ed  November 28, 2009 at 05:28:21 AM by AutoGen 5.10
+ *  It has been AutoGen-ed  November 30, 2009 at 05:28:53 AM by AutoGen 5.10
  *  From the definitions    ntp-keygen-opts.def
  *  and the template file   options
  *
@@ -738,7 +738,7 @@ static tOptDesc optDesc[ OPTION_CT ] = {
  */
 tSCC   zPROGNAME[]   = "NTP_KEYGEN";
 tSCC   zUsageTitle[] =
-"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p249-RC\n\
+"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p250-RC\n\
 USAGE:  %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
 tSCC   zRcName[]     = ".ntprc";
 tSCC*  apzHomeList[] = {
index 6475ec090bf56ec624f7aa2c88bb5c21bbd5e99a..ef0b6941c8efd0fc28cf3afd61cddb57ca635837 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.h)
  *  
- *  It has been AutoGen-ed  November 28, 2009 at 05:28:20 AM by AutoGen 5.10
+ *  It has been AutoGen-ed  November 30, 2009 at 05:28:52 AM by AutoGen 5.10
  *  From the definitions    ntp-keygen-opts.def
  *  and the template file   options
  *
@@ -78,8 +78,8 @@ typedef enum {
 } teOptIndex;
 
 #define OPTION_CT    23
-#define NTP_KEYGEN_VERSION       "4.2.5p249-RC"
-#define NTP_KEYGEN_FULL_VERSION  "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p249-RC"
+#define NTP_KEYGEN_VERSION       "4.2.5p250-RC"
+#define NTP_KEYGEN_FULL_VERSION  "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p250-RC"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
index 8b4b310138f5136faf7d4db6039c691f2a908759..5427a1a73814c3988311c4ded391d751d6314339 100644 (file)
@@ -6,7 +6,7 @@
 # 
 # EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.texi)
 # 
-# It has been AutoGen-ed  November 28, 2009 at 05:28:36 AM by AutoGen 5.10
+# It has been AutoGen-ed  November 30, 2009 at 05:29:09 AM by AutoGen 5.10
 # From the definitions    ntp-keygen-opts.def
 # and the template file   aginfo.tpl
 @end ignore
index 0bd8ab1daa991e3a2f3410f06973a56a4f80b330..12f8caa5650493fb1e30b1b919210a5b7f2a8a64 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTP-KEYGEN 1 2009-11-28 "(ntp 4.2.5p249-RC)" "Programmer's Manual"
+.TH NTP-KEYGEN 1 2009-11-30 "(ntp 4.2.5p250-RC)" "Programmer's Manual"
 .\"  EDIT THIS FILE WITH CAUTION  (ntp-keygen.1)
 .\"  
-.\"  It has been AutoGen-ed  November 28, 2009 at 05:28:22 AM by AutoGen 5.10
+.\"  It has been AutoGen-ed  November 30, 2009 at 05:28:55 AM by AutoGen 5.10
 .\"  From the definitions    ntp-keygen-opts.def
 .\"  and the template file   agman1.tpl
 .\"