]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
NTP_4_2_7P165
authorHarlan Stenn <stenn@ntp.org>
Wed, 11 May 2011 19:29:27 +0000 (19:29 +0000)
committerHarlan Stenn <stenn@ntp.org>
Wed, 11 May 2011 19:29:27 +0000 (19:29 +0000)
bk: 4dcae397siuR1RhoemuwWVWnsnEG3w

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 ae0a352c9e726ef12549984ee085e88365a061d2..2b87907f8345814a508038b1d29911e9895e5439 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+(4.2.7p165) 2011/05/11 Released by Harlan Stenn <stenn@ntp.org>
 * Convert snmp docs to mdoc format, which requires autogen 5.11.9.
 * from 4.2.6p4-RC1: Require autogen 5.11.9.
 (4.2.7p164) 2011/05/11 Released by Harlan Stenn <stenn@ntp.org>
index a685f4389b29b56690a7eb2612f392d3b0342bbe..357c0618eb95941a45c6f54549d3d2aa9dcb3645 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpd-opts.c)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 12:46:34 AM by AutoGen 5.11.9pre10
+ *  It has been AutoGen-ed  May 11, 2011 at 11:27:57 AM by AutoGen 5.11.9
  *  From the definitions    ntpd-opts.def
  *  and the template file   options
  *
@@ -40,9 +40,9 @@ 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.7p164\n\
+"ntpd 4.2.7p165\n\
 see html/copyright.html\n";
-static char const zCopyrightNotice[25] =
+static char const zLicenseDescrip[25] =
 "see html/copyright.html\n";
 
 extern tUsageProc optionUsage;
@@ -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.7p164\n\
+"ntpd - NTP daemon program - Ver. 4.2.7p165\n\
 USAGE:  %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \\\n\
 \t\t[ <server1> ... <serverN> ]\n";
 #define zRcName     NULL
@@ -1057,7 +1057,7 @@ tOptions ntpdOptions = {
     + OPTPROC_MISUSE ),
     0, NULL,                    /* current option index, current option */
     NULL,         NULL,         zPROGNAME,
-    zRcName,      zCopyright,   zCopyrightNotice,
+    zRcName,      zCopyright,   zLicenseDescrip,
     zFullVersion, apzHomeList,  zUsageTitle,
     zExplain,     zDetail,      optDesc,
     zBugsAddr,                  /* address to send bugs to */
index 9fac1fb17be1e9d9b76922b4f913b027be5d2fc5..49a0f379d336b135f5c1d986cab3d4e9381f7769 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpd-opts.h)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 12:46:34 AM by AutoGen 5.11.9pre10
+ *  It has been AutoGen-ed  May 11, 2011 at 11:27:56 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.7p164"
-#define NTPD_FULL_VERSION  "ntpd 4.2.7p164"
+#define NTPD_VERSION       "4.2.7p165"
+#define NTPD_FULL_VERSION  "ntpd 4.2.7p165"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
index b1318dad6f16b8170d7c3ced1a3ec95006410fec..6ccae2a8eb2478de284b2b0802b4aa74ebcc5abb 100644 (file)
@@ -6,7 +6,7 @@
 # 
 # EDIT THIS FILE WITH CAUTION  (ntpd-opts.texi)
 # 
-# It has been AutoGen-ed  May 11, 2011 at 12:47:08 AM by AutoGen 5.11.9pre10
+# It has been AutoGen-ed  May 11, 2011 at 11:30:19 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.7p164
+ntpd - NTP daemon program - Ver. 4.2.7p165
 USAGE:  ntpd [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... \
                 [ <server1> ... <serverN> ]
   Flg Arg Option-Name    Description
index 392c1ff3b9a426070b34b8c708cb40769fdcddcc..a0dfd979ad86909af85763fe5d2956d6a77aead0 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTPD 1 2011-05-11 "( 4.2.7p164)" "Programmer's Manual"
+.TH NTPD 1 2011-05-11 "( 4.2.7p165)" "Programmer's Manual"
 .\"  EDIT THIS FILE WITH CAUTION  (ntpd.1)
 .\"  
-.\"  It has been AutoGen-ed  May 11, 2011 at 12:47:07 AM by AutoGen 5.11.9pre10
+.\"  It has been AutoGen-ed  May 11, 2011 at 11:30:18 AM by AutoGen 5.11.9
 .\"  From the definitions    ntpd-opts.def
 .\"  and the template file   agman1.tpl
 .\"
index 500695bc08693ed3f57fd3ea13e19f275a8e703e..36e5e2ee5f70736d3465c43474c1e35a40359006 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpdc-opts.c)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 12:47:16 AM by AutoGen 5.11.9pre10
+ *  It has been AutoGen-ed  May 11, 2011 at 11:30:52 AM by AutoGen 5.11.9
  *  From the definitions    ntpdc-opts.def
  *  and the template file   options
  *
@@ -40,9 +40,9 @@ 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.7p164\n\
+"ntpdc 4.2.7p165\n\
 see html/copyright.html\n";
-static char const zCopyrightNotice[25] =
+static char const zLicenseDescrip[25] =
 "see html/copyright.html\n";
 
 extern tUsageProc optionUsage;
@@ -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.7p164\n\
+"ntpdc - vendor-specific NTP query program - Ver. 4.2.7p165\n\
 USAGE:  %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
 static char const zRcName[7] = ".ntprc";
 static char const * const apzHomeList[3] = {
@@ -513,7 +513,7 @@ tOptions ntpdcOptions = {
     + OPTPROC_MISUSE ),
     0, NULL,                    /* current option index, current option */
     NULL,         NULL,         zPROGNAME,
-    zRcName,      zCopyright,   zCopyrightNotice,
+    zRcName,      zCopyright,   zLicenseDescrip,
     zFullVersion, apzHomeList,  zUsageTitle,
     zExplain,     zDetail,      optDesc,
     zBugsAddr,                  /* address to send bugs to */
index ce6fed59a9944d991033291065159bfd554f33b3..63c1f377ef7b56381cdada34e42dd23ebe7feb38 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpdc-opts.h)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 12:47:16 AM by AutoGen 5.11.9pre10
+ *  It has been AutoGen-ed  May 11, 2011 at 11:30:52 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.7p164"
-#define NTPDC_FULL_VERSION  "ntpdc 4.2.7p164"
+#define NTPDC_VERSION       "4.2.7p165"
+#define NTPDC_FULL_VERSION  "ntpdc 4.2.7p165"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
index 06858a43845f5b0ca8edccc88c06afa9152543ad..33a0c57f04e4efa678bf34c7416dd6d6b52fa666 100644 (file)
@@ -6,7 +6,7 @@
 # 
 # EDIT THIS FILE WITH CAUTION  (ntpdc-opts.texi)
 # 
-# It has been AutoGen-ed  May 11, 2011 at 12:47:27 AM by AutoGen 5.11.9pre10
+# It has been AutoGen-ed  May 11, 2011 at 11:31:26 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.7p164
+ntpdc - vendor-specific NTP query program - Ver. 4.2.7p165
 USAGE:  ntpdc [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
   Flg Arg Option-Name    Description
    -4 no  ipv4           Force IPv4 DNS name resolution
index b60e985ab69cf940b99b3120776da089c09e0c36..0e37ff772679bb83c897961ca364bd1706ebff11 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTPDC 1 2011-05-11 "( 4.2.7p164)" "Programmer's Manual"
+.TH NTPDC 1 2011-05-11 "( 4.2.7p165)" "Programmer's Manual"
 .\"  EDIT THIS FILE WITH CAUTION  (ntpdc.1)
 .\"  
-.\"  It has been AutoGen-ed  May 11, 2011 at 12:47:27 AM by AutoGen 5.11.9pre10
+.\"  It has been AutoGen-ed  May 11, 2011 at 11:31:25 AM by AutoGen 5.11.9
 .\"  From the definitions    ntpdc-opts.def
 .\"  and the template file   agman1.tpl
 .\"
index 5f75ecbd1a93bfe83155dfb08ff4de6ac1786783..8dcbea469f43c075ff58956b84b456c201453e3d 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpq-opts.c)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 12:47:28 AM by AutoGen 5.11.9pre10
+ *  It has been AutoGen-ed  May 11, 2011 at 11:31:29 AM by AutoGen 5.11.9
  *  From the definitions    ntpq-opts.def
  *  and the template file   options
  *
@@ -40,9 +40,9 @@ 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.7p164\n\
+"ntpq 4.2.7p165\n\
 see html/copyright.html\n";
-static char const zCopyrightNotice[25] =
+static char const zLicenseDescrip[25] =
 "see html/copyright.html\n";
 
 extern tUsageProc optionUsage;
@@ -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.7p164\n\
+"ntpq - standard NTP query program - Ver. 4.2.7p165\n\
 USAGE:  %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
 static char const zRcName[7] = ".ntprc";
 static char const * const apzHomeList[3] = {
@@ -487,7 +487,7 @@ tOptions ntpqOptions = {
     + OPTPROC_MISUSE ),
     0, NULL,                    /* current option index, current option */
     NULL,         NULL,         zPROGNAME,
-    zRcName,      zCopyright,   zCopyrightNotice,
+    zRcName,      zCopyright,   zLicenseDescrip,
     zFullVersion, apzHomeList,  zUsageTitle,
     zExplain,     zDetail,      optDesc,
     zBugsAddr,                  /* address to send bugs to */
index 04a233376495960b4eca8aa592a4f0932abc5dd7..87e781906842af0fd5b0adc9657d15315e6cb821 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpq-opts.h)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 12:47:28 AM by AutoGen 5.11.9pre10
+ *  It has been AutoGen-ed  May 11, 2011 at 11:31:28 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.7p164"
-#define NTPQ_FULL_VERSION  "ntpq 4.2.7p164"
+#define NTPQ_VERSION       "4.2.7p165"
+#define NTPQ_FULL_VERSION  "ntpq 4.2.7p165"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
index c234223700ca86a5bda66d88883444e72afd34df..1afa8725eaa723a816dd40089900cf0e465710b9 100644 (file)
@@ -6,7 +6,7 @@
 # 
 # EDIT THIS FILE WITH CAUTION  (ntpq-opts.texi)
 # 
-# It has been AutoGen-ed  May 11, 2011 at 12:47:42 AM by AutoGen 5.11.9pre10
+# It has been AutoGen-ed  May 11, 2011 at 11:32:13 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.7p164
+ntpq - standard NTP query program - Ver. 4.2.7p165
 USAGE:  ntpq [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
   Flg Arg Option-Name    Description
    -4 no  ipv4           Force IPv4 DNS name resolution
index ffa54bebd3d1d9e3256a52bb7271a9fad4af308d..4d57ad189e4ddd18ade08f94c115eb0e216bc18b 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTPQ 1 2011-05-11 "( 4.2.7p164)" "Programmer's Manual"
+.TH NTPQ 1 2011-05-11 "( 4.2.7p165)" "Programmer's Manual"
 .\"  EDIT THIS FILE WITH CAUTION  (ntpq.1)
 .\"  
-.\"  It has been AutoGen-ed  May 11, 2011 at 12:47:42 AM by AutoGen 5.11.9pre10
+.\"  It has been AutoGen-ed  May 11, 2011 at 11:32:11 AM by AutoGen 5.11.9
 .\"  From the definitions    ntpq-opts.def
 .\"  and the template file   agman1.tpl
 .\"
index a86554bc1b28c5130d25489fb6cf0f54e7c4897c..b0ddbb38027800bdf21cd339085304084ce4e580 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.c)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 12:47:43 AM by AutoGen 5.11.9pre10
+ *  It has been AutoGen-ed  May 11, 2011 at 11:32:14 AM by AutoGen 5.11.9
  *  From the definitions    ntpsnmpd-opts.def
  *  and the template file   options
  *
@@ -40,9 +40,9 @@ 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.7p164\n\
+"ntpsnmpd 4.2.7p165\n\
 see html/copyright.html\n";
-static char const zCopyrightNotice[25] =
+static char const zLicenseDescrip[25] =
 "see html/copyright.html\n";
 
 extern tUsageProc optionUsage;
@@ -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.7p164\n\
+"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p165\n\
 USAGE:  %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
 static char const zRcName[7] = ".ntprc";
 static char const * const apzHomeList[3] = {
@@ -309,7 +309,7 @@ tOptions ntpsnmpdOptions = {
     + OPTPROC_MISUSE ),
     0, NULL,                    /* current option index, current option */
     NULL,         NULL,         zPROGNAME,
-    zRcName,      zCopyright,   zCopyrightNotice,
+    zRcName,      zCopyright,   zLicenseDescrip,
     zFullVersion, apzHomeList,  zUsageTitle,
     zExplain,     zDetail,      optDesc,
     zBugsAddr,                  /* address to send bugs to */
index 42dd2366bdcc1c5e5574fa3adb1bcffbb5c947d6..79feebe1bec0440a8563fede4811629802469548 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.h)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 12:47:42 AM by AutoGen 5.11.9pre10
+ *  It has been AutoGen-ed  May 11, 2011 at 11:32:14 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.7p164"
-#define NTPSNMPD_FULL_VERSION  "ntpsnmpd 4.2.7p164"
+#define NTPSNMPD_VERSION       "4.2.7p165"
+#define NTPSNMPD_FULL_VERSION  "ntpsnmpd 4.2.7p165"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
index ed1b7979688d8acf603f88cc5458973e83de59ec..11f59e742ba0b4ed54e4ec9c1af8ef163630d9f5 100644 (file)
@@ -6,7 +6,7 @@
 # 
 # EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.texi)
 # 
-# It has been AutoGen-ed  May 11, 2011 at 12:47:48 AM by AutoGen 5.11.9pre10
+# It has been AutoGen-ed  May 11, 2011 at 11:32:36 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.7p164
+ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p165
 USAGE:  ntpsnmpd [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
   Flg Arg Option-Name    Description
    -n no  nofork         Do not fork
index 60cc4693cd4241ff4ce1f0ed68007658b8429632..a8446e2e90d326eec6163aaf4356482b69d7b285 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTPSNMPD 1 2011-05-11 "( 4.2.7p164)" "Programmer's Manual"
+.TH NTPSNMPD 1 2011-05-11 "( 4.2.7p165)" "Programmer's Manual"
 .\"  EDIT THIS FILE WITH CAUTION  (ntpsnmpd.1)
 .\"  
-.\"  It has been AutoGen-ed  May 11, 2011 at 12:47:48 AM by AutoGen 5.11.9pre10
+.\"  It has been AutoGen-ed  May 11, 2011 at 11:32:34 AM by AutoGen 5.11.9
 .\"  From the definitions    ntpsnmpd-opts.def
 .\"  and the template file   agman1.tpl
 .\"
index 0b45a311b8912b17428d8276c53b202685f75b0a..34e918e01a322e064b8d824890d699fa1d51a21b 100644 (file)
@@ -57,7 +57,7 @@ CLTAG=NTP_4_2_0
 # - Numeric values increment
 # - empty 'increments' to 1
 # - NEW 'increments' to empty
-point=164
+point=165
 
 ### betapoint is normally modified by script.
 # ntp-stable Beta number (betapoint)
index b2d5d7549bf74c6aacaa977e972327122fc0f576..2def884452c250de166578c06d575b385ed184c8 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (sntp-opts.c)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 12:43:30 AM by AutoGen 5.11.9pre10
+ *  It has been AutoGen-ed  May 11, 2011 at 11:08:32 AM by AutoGen 5.11.9
  *  From the definitions    sntp-opts.def
  *  and the template file   options
  *
@@ -40,9 +40,9 @@ 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.7p164\n\
+"sntp 4.2.7p165\n\
 see html/copyright.html\n";
-static char const zCopyrightNotice[25] =
+static char const zLicenseDescrip[25] =
 "see html/copyright.html\n";
 
 extern tUsageProc optionUsage;
@@ -60,25 +60,6 @@ extern tUsageProc optionUsage;
 #  define NULL 0
 #endif
 
-/*
- *  Debug_Level option description:
- */
-static char const zDebug_LevelText[] =
-        "Increase output debug message level";
-static char const zDebug_Level_NAME[]        = "DEBUG_LEVEL";
-static char const zDebug_Level_Name[]        = "debug-level";
-#define DEBUG_LEVEL_FLAGS       (OPTST_DISABLED)
-
-/*
- *  Set_Debug_Level option description:
- */
-static char const zSet_Debug_LevelText[] =
-        "Set the output debug message level";
-static char const zSet_Debug_Level_NAME[]    = "SET_DEBUG_LEVEL";
-static char const zSet_Debug_Level_Name[]    = "set-debug-level";
-#define SET_DEBUG_LEVEL_FLAGS       (OPTST_DISABLED \
-        | OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
-
 /*
  *  Ipv4 option description with
  *  "Must also have options" and "Incompatible options":
@@ -146,6 +127,25 @@ static char const zConcurrent_Name[]         = "concurrent";
 #define CONCURRENT_FLAGS       (OPTST_DISABLED | OPTST_STACKED \
         | OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
 
+/*
+ *  Debug_Level option description:
+ */
+static char const zDebug_LevelText[] =
+        "Increase output debug message level";
+static char const zDebug_Level_NAME[]        = "DEBUG_LEVEL";
+static char const zDebug_Level_Name[]        = "debug-level";
+#define DEBUG_LEVEL_FLAGS       (OPTST_DISABLED)
+
+/*
+ *  Set_Debug_Level option description:
+ */
+static char const zSet_Debug_LevelText[] =
+        "Set the output debug message level";
+static char const zSet_Debug_Level_NAME[]    = "SET_DEBUG_LEVEL";
+static char const zSet_Debug_Level_Name[]    = "set-debug-level";
+#define SET_DEBUG_LEVEL_FLAGS       (OPTST_DISABLED \
+        | OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
+
 /*
  *  Headspace option description:
  */
@@ -338,32 +338,8 @@ static tOptProc
  *  Define the Sntp Option Descriptions.
  */
 static tOptDesc optDesc[OPTION_CT] = {
-  {  /* entry idx, value */ 0, VALUE_OPT_DEBUG_LEVEL,
-     /* equiv idx, value */ 0, VALUE_OPT_DEBUG_LEVEL,
-     /* equivalenced to  */ NO_EQUIVALENT,
-     /* min, max, act ct */ 0, NOLIMIT, 0,
-     /* opt state flags  */ DEBUG_LEVEL_FLAGS, 0,
-     /* last opt argumnt */ { NULL },
-     /* arg list/cookie  */ NULL,
-     /* must/cannot opts */ NULL, NULL,
-     /* option proc      */ NULL,
-     /* desc, NAME, name */ zDebug_LevelText, zDebug_Level_NAME, zDebug_Level_Name,
-     /* disablement strs */ NULL, NULL },
-
-  {  /* entry idx, value */ 1, VALUE_OPT_SET_DEBUG_LEVEL,
-     /* equiv idx, value */ 1, VALUE_OPT_SET_DEBUG_LEVEL,
-     /* equivalenced to  */ NO_EQUIVALENT,
-     /* min, max, act ct */ 0, NOLIMIT, 0,
-     /* opt state flags  */ SET_DEBUG_LEVEL_FLAGS, 0,
-     /* last opt argumnt */ { NULL },
-     /* arg list/cookie  */ NULL,
-     /* must/cannot opts */ NULL, NULL,
-     /* option proc      */ SET_DEBUG_LEVEL_OPT_PROC,
-     /* desc, NAME, name */ zSet_Debug_LevelText, zSet_Debug_Level_NAME, zSet_Debug_Level_Name,
-     /* disablement strs */ NULL, NULL },
-
-  {  /* entry idx, value */ 2, VALUE_OPT_IPV4,
-     /* equiv idx, value */ 2, VALUE_OPT_IPV4,
+  {  /* entry idx, value */ 0, VALUE_OPT_IPV4,
+     /* equiv idx, value */ 0, VALUE_OPT_IPV4,
      /* equivalenced to  */ NO_EQUIVALENT,
      /* min, max, act ct */ 0, 1, 0,
      /* opt state flags  */ IPV4_FLAGS, 0,
@@ -374,8 +350,8 @@ static tOptDesc optDesc[OPTION_CT] = {
      /* desc, NAME, name */ zIpv4Text, zIpv4_NAME, zIpv4_Name,
      /* disablement strs */ NULL, NULL },
 
-  {  /* entry idx, value */ 3, VALUE_OPT_IPV6,
-     /* equiv idx, value */ 3, VALUE_OPT_IPV6,
+  {  /* entry idx, value */ 1, VALUE_OPT_IPV6,
+     /* equiv idx, value */ 1, VALUE_OPT_IPV6,
      /* equivalenced to  */ NO_EQUIVALENT,
      /* min, max, act ct */ 0, 1, 0,
      /* opt state flags  */ IPV6_FLAGS, 0,
@@ -386,8 +362,8 @@ static tOptDesc optDesc[OPTION_CT] = {
      /* desc, NAME, name */ zIpv6Text, zIpv6_NAME, zIpv6_Name,
      /* disablement strs */ NULL, NULL },
 
-  {  /* entry idx, value */ 4, VALUE_OPT_AUTHENTICATION,
-     /* equiv idx, value */ 4, VALUE_OPT_AUTHENTICATION,
+  {  /* entry idx, value */ 2, VALUE_OPT_AUTHENTICATION,
+     /* equiv idx, value */ 2, VALUE_OPT_AUTHENTICATION,
      /* equivalenced to  */ NO_EQUIVALENT,
      /* min, max, act ct */ 0, 1, 0,
      /* opt state flags  */ AUTHENTICATION_FLAGS, 0,
@@ -398,8 +374,8 @@ static tOptDesc optDesc[OPTION_CT] = {
      /* desc, NAME, name */ zAuthenticationText, zAuthentication_NAME, zAuthentication_Name,
      /* disablement strs */ NULL, NULL },
 
-  {  /* entry idx, value */ 5, VALUE_OPT_BCTIMEOUT,
-     /* equiv idx, value */ 5, VALUE_OPT_BCTIMEOUT,
+  {  /* entry idx, value */ 3, VALUE_OPT_BCTIMEOUT,
+     /* equiv idx, value */ 3, VALUE_OPT_BCTIMEOUT,
      /* equivalenced to  */ NO_EQUIVALENT,
      /* min, max, act ct */ 0, 1, 0,
      /* opt state flags  */ BCTIMEOUT_FLAGS, 0,
@@ -410,8 +386,8 @@ static tOptDesc optDesc[OPTION_CT] = {
      /* desc, NAME, name */ zBctimeoutText, zBctimeout_NAME, zBctimeout_Name,
      /* disablement strs */ NULL, NULL },
 
-  {  /* entry idx, value */ 6, VALUE_OPT_BROADCAST,
-     /* equiv idx, value */ 6, VALUE_OPT_BROADCAST,
+  {  /* entry idx, value */ 4, VALUE_OPT_BROADCAST,
+     /* equiv idx, value */ 4, VALUE_OPT_BROADCAST,
      /* equivalenced to  */ NO_EQUIVALENT,
      /* min, max, act ct */ 0, NOLIMIT, 0,
      /* opt state flags  */ BROADCAST_FLAGS, 0,
@@ -422,8 +398,8 @@ static tOptDesc optDesc[OPTION_CT] = {
      /* desc, NAME, name */ zBroadcastText, zBroadcast_NAME, zBroadcast_Name,
      /* disablement strs */ NULL, NULL },
 
-  {  /* entry idx, value */ 7, VALUE_OPT_CONCURRENT,
-     /* equiv idx, value */ 7, VALUE_OPT_CONCURRENT,
+  {  /* entry idx, value */ 5, VALUE_OPT_CONCURRENT,
+     /* equiv idx, value */ 5, VALUE_OPT_CONCURRENT,
      /* equivalenced to  */ NO_EQUIVALENT,
      /* min, max, act ct */ 0, NOLIMIT, 0,
      /* opt state flags  */ CONCURRENT_FLAGS, 0,
@@ -434,6 +410,30 @@ static tOptDesc optDesc[OPTION_CT] = {
      /* desc, NAME, name */ zConcurrentText, zConcurrent_NAME, zConcurrent_Name,
      /* disablement strs */ NULL, NULL },
 
+  {  /* entry idx, value */ 6, VALUE_OPT_DEBUG_LEVEL,
+     /* equiv idx, value */ 6, VALUE_OPT_DEBUG_LEVEL,
+     /* equivalenced to  */ NO_EQUIVALENT,
+     /* min, max, act ct */ 0, NOLIMIT, 0,
+     /* opt state flags  */ DEBUG_LEVEL_FLAGS, 0,
+     /* last opt argumnt */ { NULL },
+     /* arg list/cookie  */ NULL,
+     /* must/cannot opts */ NULL, NULL,
+     /* option proc      */ NULL,
+     /* desc, NAME, name */ zDebug_LevelText, zDebug_Level_NAME, zDebug_Level_Name,
+     /* disablement strs */ NULL, NULL },
+
+  {  /* entry idx, value */ 7, VALUE_OPT_SET_DEBUG_LEVEL,
+     /* equiv idx, value */ 7, VALUE_OPT_SET_DEBUG_LEVEL,
+     /* equivalenced to  */ NO_EQUIVALENT,
+     /* min, max, act ct */ 0, NOLIMIT, 0,
+     /* opt state flags  */ SET_DEBUG_LEVEL_FLAGS, 0,
+     /* last opt argumnt */ { NULL },
+     /* arg list/cookie  */ NULL,
+     /* must/cannot opts */ NULL, NULL,
+     /* option proc      */ SET_DEBUG_LEVEL_OPT_PROC,
+     /* desc, NAME, name */ zSet_Debug_LevelText, zSet_Debug_Level_NAME, zSet_Debug_Level_Name,
+     /* disablement strs */ NULL, NULL },
+
   {  /* entry idx, value */ 8, VALUE_OPT_HEADSPACE,
      /* equiv idx, value */ 8, VALUE_OPT_HEADSPACE,
      /* equivalenced to  */ NO_EQUIVALENT,
@@ -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.7p164\n\
+"sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p165\n\
 USAGE:  %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \\\n\
 \t\t[ hostname-or-IP ...]\n";
 static char const zRcName[7] = ".ntprc";
@@ -702,7 +702,7 @@ tOptions sntpOptions = {
     + OPTPROC_MISUSE ),
     0, NULL,                    /* current option index, current option */
     NULL,         NULL,         zPROGNAME,
-    zRcName,      zCopyright,   zCopyrightNotice,
+    zRcName,      zCopyright,   zLicenseDescrip,
     zFullVersion, apzHomeList,  zUsageTitle,
     zExplain,     zDetail,      optDesc,
     zBugsAddr,                  /* address to send bugs to */
index 895c758184384074989d60ec8a55f32799af9999..cb4ed45b1cc3ad13859651d747255649d6aeaed4 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (sntp-opts.h)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 12:43:30 AM by AutoGen 5.11.9pre10
+ *  It has been AutoGen-ed  May 11, 2011 at 11:08:32 AM by AutoGen 5.11.9
  *  From the definitions    sntp-opts.def
  *  and the template file   options
  *
  *  Enumeration of each option:
  */
 typedef enum {
-    INDEX_OPT_DEBUG_LEVEL      =  0,
-    INDEX_OPT_SET_DEBUG_LEVEL  =  1,
-    INDEX_OPT_IPV4             =  2,
-    INDEX_OPT_IPV6             =  3,
-    INDEX_OPT_AUTHENTICATION   =  4,
-    INDEX_OPT_BCTIMEOUT        =  5,
-    INDEX_OPT_BROADCAST        =  6,
-    INDEX_OPT_CONCURRENT       =  7,
+    INDEX_OPT_IPV4             =  0,
+    INDEX_OPT_IPV6             =  1,
+    INDEX_OPT_AUTHENTICATION   =  2,
+    INDEX_OPT_BCTIMEOUT        =  3,
+    INDEX_OPT_BROADCAST        =  4,
+    INDEX_OPT_CONCURRENT       =  5,
+    INDEX_OPT_DEBUG_LEVEL      =  6,
+    INDEX_OPT_SET_DEBUG_LEVEL  =  7,
     INDEX_OPT_HEADSPACE        =  8,
     INDEX_OPT_KOD              =  9,
     INDEX_OPT_KEYFILE          = 10,
@@ -78,13 +78,13 @@ typedef enum {
 } teOptIndex;
 
 #define OPTION_CT    24
-#define SNTP_VERSION       "4.2.7p164"
-#define SNTP_FULL_VERSION  "sntp 4.2.7p164"
+#define SNTP_VERSION       "4.2.7p165"
+#define SNTP_FULL_VERSION  "sntp 4.2.7p165"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
  *  option name (as in the teOptIndex enumeration above).
- *  e.g. HAVE_OPT(DEBUG_LEVEL)
+ *  e.g. HAVE_OPT(IPV4)
  */
 #define         DESC(n) (sntpOptions.pOptDesc[INDEX_OPT_## n])
 #define     HAVE_OPT(n) (! UNUSED_OPT(& DESC(n)))
@@ -114,14 +114,6 @@ typedef enum {
  *  Make sure there are no #define name conflicts with the option names
  */
 #ifndef     NO_OPTION_NAME_WARNINGS
-# ifdef    DEBUG_LEVEL
-#  warning undefining DEBUG_LEVEL due to option name conflict
-#  undef   DEBUG_LEVEL
-# endif
-# ifdef    SET_DEBUG_LEVEL
-#  warning undefining SET_DEBUG_LEVEL due to option name conflict
-#  undef   SET_DEBUG_LEVEL
-# endif
 # ifdef    IPV4
 #  warning undefining IPV4 due to option name conflict
 #  undef   IPV4
@@ -146,6 +138,14 @@ typedef enum {
 #  warning undefining CONCURRENT due to option name conflict
 #  undef   CONCURRENT
 # endif
+# ifdef    DEBUG_LEVEL
+#  warning undefining DEBUG_LEVEL due to option name conflict
+#  undef   DEBUG_LEVEL
+# endif
+# ifdef    SET_DEBUG_LEVEL
+#  warning undefining SET_DEBUG_LEVEL due to option name conflict
+#  undef   SET_DEBUG_LEVEL
+# endif
 # ifdef    HEADSPACE
 #  warning undefining HEADSPACE due to option name conflict
 #  undef   HEADSPACE
@@ -191,14 +191,14 @@ typedef enum {
 #  undef   WAIT
 # endif
 #else  /* NO_OPTION_NAME_WARNINGS */
-# undef DEBUG_LEVEL
-# undef SET_DEBUG_LEVEL
 # undef IPV4
 # undef IPV6
 # undef AUTHENTICATION
 # undef BCTIMEOUT
 # undef BROADCAST
 # undef CONCURRENT
+# undef DEBUG_LEVEL
+# undef SET_DEBUG_LEVEL
 # undef HEADSPACE
 # undef KOD
 # undef KEYFILE
@@ -216,8 +216,6 @@ typedef enum {
  *
  *  Interface defines for specific options.
  */
-#define VALUE_OPT_DEBUG_LEVEL    'd'
-#define VALUE_OPT_SET_DEBUG_LEVEL 'D'
 #define VALUE_OPT_IPV4           '4'
 #define VALUE_OPT_IPV6           '6'
 #define VALUE_OPT_AUTHENTICATION 'a'
@@ -228,6 +226,8 @@ typedef enum {
 #define OPT_VALUE_BCTIMEOUT      (DESC(BCTIMEOUT).optArg.argInt)
 #define VALUE_OPT_BROADCAST      'b'
 #define VALUE_OPT_CONCURRENT     'c'
+#define VALUE_OPT_DEBUG_LEVEL    'd'
+#define VALUE_OPT_SET_DEBUG_LEVEL 'D'
 #define VALUE_OPT_HEADSPACE      'h'
 
 #define OPT_VALUE_HEADSPACE      (DESC(HEADSPACE).optArg.argInt)
index 95ce7a7faa24f47c1a3e1346df94581307602623..10dbe03a0b33912379a70b05a029b68ee16db1ba 100644 (file)
@@ -6,7 +6,7 @@
 # 
 # EDIT THIS FILE WITH CAUTION  (sntp-opts.texi)
 # 
-# It has been AutoGen-ed  May 11, 2011 at 12:48:09 AM by AutoGen 5.11.9pre10
+# It has been AutoGen-ed  May 11, 2011 at 07:29:02 PM by AutoGen 5.11.9
 # From the definitions    sntp-opts.def
 # and the template file   aginfo.tpl
 @end ignore
@@ -76,14 +76,10 @@ This is the automatically generated usage text for sntp:
 
 @exampleindent 0
 @example
-sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p164
+sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p165
 USAGE:  sntp [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... \
                 [ hostname-or-IP ...]
   Flg Arg Option-Name    Description
-   -d no  debug-level    Increase output debug message level
-                                - may appear multiple times
-   -D Str set-debug-level Set the output debug message level
-                                - may appear multiple times
    -4 no  ipv4           Force IPv4 DNS name resolution
                                 - prohibits these options:
                                 ipv6
@@ -96,6 +92,10 @@ USAGE:  sntp [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... \
                                 - may appear multiple times
    -c Str concurrent     Concurrent query all IPs returned for host-name
                                 - may appear multiple times
+   -d no  debug-level    Increase output debug message level
+                                - may appear multiple times
+   -D Str set-debug-level Set the output debug message level
+                                - may appear multiple times
    -h Num headspace      The gap (in milliseconds) between time requests
    -K Fil kod            KoD history filename
    -k Fil keyfile        Look in this file for the key specified with -a
@@ -149,9 +149,10 @@ please send bug reports to:  http://bugs.ntp.org, bugs@@ntp.org
 @cindex sntp-authentication
 
 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.
+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.
 
 @node sntp bctimeout
 @subsection bctimeout option (-B)
@@ -192,12 +193,12 @@ may appear an unlimited number of times.
 Requests from an NTP "client" to a "server" should never be sent
 more rapidly than one every 2 seconds.  By default, any IPs returned
 as part of a DNS lookup are assumed to be for a single instance of
-ntpd, and therefore sntp will send  queries to these IPs one after
+ntpd, and therefore sntp will send queries to these IPs one after
 another, with a 2-second gap in between each query.
 
-The -c or --concurrent flag says that any IPs returned for the
-DNS lookup of the supplied host-name are on different machines,
-so we can send concurrent queries.
+The -c or --concurrent flag says that any IPs returned for the DNS
+lookup of the supplied host-name are on different machines, so we
+can send concurrent queries.
 
 @node sntp debug-level
 @subsection debug-level option (-d)
@@ -269,7 +270,8 @@ to the IPv6 namespace.
 @cindex sntp-keyfile
 
 This is the ``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
@@ -288,9 +290,9 @@ For more information see ntp.keys(5).
 @cindex sntp-kod
 
 This is the ``kod history filename'' option.
-Specifies the filename to be used for the  persistent history of KoD
+Specifies the filename to be used for the persistent history of KoD
 responses received from servers.  The default is
-/var/db/ntp-kod.
+/var/db/ntp-kod .
 
 @node sntp ntpversion
 @subsection ntpversion option (-o)
@@ -334,7 +336,9 @@ This is the ``ok to 'step' the time with settimeofday()'' option.
 @cindex sntp-steplimit
 
 This is the ``adjustments less than steplimit msec will be slewed.'' option.
-If the time adjustment is less than steplimit milliseconds, slew the amount using adjtime().  Otherwise, step the correction using settimeofday().
+If the time adjustment is less than steplimit milliseconds, slew the
+amount using adjtime().  Otherwise, step the correction using
+settimeofday(). 
 
 @node sntp uctimeout
 @subsection uctimeout option (-u)
@@ -349,7 +353,8 @@ of seconds specified before giving up.  Default 5 seconds.
 @cindex sntp-usereservedport
 
 This is the ``use the ntp reserved port (port 123)'' option.
-Use port 123, which is reserved for NTP, for our network communications.
+Use port 123, which is reserved for NTP, for our network
+communications.
 
 @node sntp wait
 @subsection wait option
index e03be0d8c1de0681aeacde8d8cec60911a73c382..1b6c5e1a721670b65c84886fc14168a1a81250a4 100644 (file)
-.TH sntp 1 "11 May 2011" "4.2.7p164" "User Commands"
-.\"
-.\"  EDIT THIS FILE WITH CAUTION  (sntp.man)
+.Dd May 11 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 12:48:08 AM by AutoGen 5.11.9pre10
+.\"  It has been AutoGen-ed  May 11, 2011 at 07:29:01 PM by AutoGen 5.11.9
 .\"  From the definitions    sntp-opts.def
-.\"  and the template file   agman-cmd.tpl
-.\"
-.SH NAME
-sntp \- standard Simple Network Time Protocol program
-.SH SYNOPSIS
-.B sntp
+.\"  and the template file   agmdoc-cmd.tpl
+.Sh NAME
+.Nm sntp
+.Nd standard Simple Network Time Protocol program.Sh SYNOPSIS
+.Nm SNTP
 .\" Mixture of short (flag) options and long options
-.RB [ \-\fIflag\fP " [\fIvalue\fP]]... [" \-\-\fIopt\-name\fP " [[=| ]\fIvalue\fP]]..." [ hostname-or-IP ...]
-.PP
-.SH DESCRIPTION
-.I sntp
+.Op Fl flags
+.Op Fl flag Ar value
+.Op Fl \-option-name Ar value[ hostname-or-IP ...]
+.Pp
+.Sh DESCRIPTION
+.Nm
 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
-.I cron
+.Ic cron
 job.
 NTP (the Network Time Protocol) and SNTP (the Simple Network Time Protocol)
 are defined and described by RFC 5905.
 .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-10-15 20:17:25.123 (+0800) +4.567 +/- 0.089 secs'" ,
+UTC) to the standard output in a format like:
+.Ic "'1996-10-15 20:17:25.123 (+0800) +4.567 +/- 0.089 secs'"
 where the
-.B "'(+0800)'"
+.Ic "'(+0800)'"
 means that to get to UTC from the reported local time one must
 add 8 hours and 0 minutes,
 and the
-.B "'+4.567 +/- 0.089 secs'"
+.Ic "'+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
+and the date/time of
 '1996-10-15 20:17:25.123'
 is believed to be correct to within
 +/- 0.089
 seconds.
-.SH OPTIONS
-.TP
-.BR \-d ", " -\-debug\-level
-Increase output debug message level.
-This option may appear an unlimited number of times.
-.sp
-Increase the debugging message output level.
-.TP
-.BR \-D " \fIstring\fP, " \-\-set\-debug\-level "=" \fIstring\fP
-Set the output debug message level.
-This option may appear an unlimited number of times.
-.sp
-Set the output debugging level.  Can be supplied multiple times,
-but each overrides the previous value(s).
-.TP
-.BR \-4 ", " -\-ipv4
+.Sh OPTIONS
+.Bl -tag
+.It  \-4 ", " -\-ipv4
 Force IPv4 DNS name resolution.
 This option must not appear in combination with any of the following options:
 ipv6.
 .sp
 Force DNS resolution of following host names on the command line
 to the IPv4 namespace.
-.TP
-.BR \-6 ", " -\-ipv6
+.It  \-6 ", " -\-ipv6
 Force IPv6 DNS name resolution.
 This option must not appear in combination with any of the following options:
 ipv4.
 .sp
 Force DNS resolution of following host names on the command line
 to the IPv6 namespace.
-.TP
-.BR \-a " \fIauth\-keynumber\fP, " \-\-authentication "=" \fIauth\-keynumber\fP
+.It  \-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.
-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.
-.TP
-.BR \-B " \fIseconds\fP, " \-\-bctimeout "=" \fIseconds\fP
+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.
+.It  \-B " \fIseconds\fP, " \-\-bctimeout "=" \fIseconds\fP
 The number of seconds to wait for broadcasts.
 This option takes an integer number as its argument.
-The default \fIseconds\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 \-b " \fIbroadcast\-address\fP, " \-\-broadcast "=" \fIbroadcast\-address\fP
+.It  \-b " \fIbroadcast\-address\fP, " \-\-broadcast "=" \fIbroadcast\-address\fP
 Listen to the address specified for broadcast time sync.
 This option may appear an unlimited number of times.
 .sp
 If specified SNTP will listen to the specified address
 for NTP broadcasts.  The default maximum wait time,
 68 seconds, can be modified with -B.
-.TP
-.BR \-c " \fIhost\-name\fP, " \-\-concurrent "=" \fIhost\-name\fP
+.It  \-c " \fIhost\-name\fP, " \-\-concurrent "=" \fIhost\-name\fP
 Concurrent query all IPs returned for host-name.
 This option may appear an unlimited number of times.
 .sp
 Requests from an NTP "client" to a "server" should never be sent
 more rapidly than one every 2 seconds.  By default, any IPs returned
 as part of a DNS lookup are assumed to be for a single instance of
-ntpd, and therefore sntp will send  queries to these IPs one after
+ntpd, and therefore sntp will send queries to these IPs one after
 another, with a 2-second gap in between each query.
-The -c or --concurrent flag says that any IPs returned for the
-DNS lookup of the supplied host-name are on different machines,
-so we can send concurrent queries.
-.TP
-.BR \-h " \fImilliseconds\fP, " \-\-headspace "=" \fImilliseconds\fP
+The -c or --concurrent flag says that any IPs returned for the DNS
+lookup of the supplied host-name are on different machines, so we
+can send concurrent queries.
+.It  \-d ", " -\-debug\-level
+Increase output debug message level.
+This option may appear an unlimited number of times.
+.sp
+Increase the debugging message output level.
+.It  \-D " \fIstring\fP, " \-\-set\-debug\-level "=" \fIstring\fP
+Set the output debug message level.
+This option may appear an unlimited number of times.
+.sp
+Set the output debugging level.  Can be supplied multiple times,
+but each overrides the previous value(s).
+.It  \-h " \fImilliseconds\fP, " \-\-headspace "=" \fImilliseconds\fP
 The gap (in milliseconds) between time requests.
 This option takes an integer number as its argument.
-The default \fImilliseconds\fP for this option is:
+The default \fImilliseconds\fP for this option is:
 .ti +4
  10
 .sp
@@ -121,21 +116,20 @@ there is benefit to specifying a good number of servers to query,
 separate the queries we send out by the specified number of
 milliseconds.
 Default 10 milliseconds.
-.TP
-.BR \-K " \fIfile\-name\fP, " \-\-kod "=" \fIfile\-name\fP
+.It  \-K " \fIfile\-name\fP, " \-\-kod "=" \fIfile\-name\fP
 KoD history filename.
-The default \fIfile\-name\fP for this option is:
+The default \fIfile\-name\fP for this option is:
 .ti +4
  /var/db/ntp-kod
 .sp
-Specifies the filename to be used for the  persistent history of KoD
+Specifies the filename to be used for the persistent history of KoD
 responses received from servers.  The default is
-/var/db/ntp-kod.
-.TP
-.BR \-k " \fIfile\-name\fP, " \-\-keyfile "=" \fIfile\-name\fP
+/var/db/ntp-kod .
+.It  \-k " \fIfile\-name\fP, " \-\-keyfile "=" \fIfile\-name\fP
 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
@@ -145,17 +139,15 @@ 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.
 For more information see ntp.keys(5).
-.TP
-.BR \-l " \fIfile\-name\fP, " \-\-filelog "=" \fIfile\-name\fP
+.It  \-l " \fIfile\-name\fP, " \-\-filelog "=" \fIfile\-name\fP
 Log to specified logfile.
 .sp
 This option causes the client to write log messages to the specified
 logfile.
-.TP
-.BR \-M " \fInumber\fP, " \-\-steplimit "=" \fInumber\fP
+.It  \-M " \fInumber\fP, " \-\-steplimit "=" \fInumber\fP
 Adjustments less than steplimit msec will be slewed..
 This option takes an integer number as its argument.
-The value of \fInumber\fP is constrained to being:
+The value of \fInumber\fP is constrained to being:
 .in +4
 .nf
 .na
@@ -163,110 +155,124 @@ greater than or equal to 0
 .fi
 .in -4
 .sp
-If the time adjustment is less than steplimit milliseconds, slew the amount using adjtime().  Otherwise, step the correction using settimeofday().
-.TP
-.BR \-o " \fInumber\fP, " \-\-ntpversion "=" \fInumber\fP
+If the time adjustment is less than steplimit milliseconds, slew the
+amount using adjtime().  Otherwise, step the correction using
+settimeofday(). 
+.It  \-o " \fInumber\fP, " \-\-ntpversion "=" \fInumber\fP
 Send <int> as our NTP version.
 This option takes an integer number as its argument.
-The value of \fInumber\fP is constrained to being:
+The value of \fInumber\fP is constrained to being:
 .in +4
 .nf
 .na
 in the range  0 through 7
 .fi
 .in -4
-The default \fInumber\fP for this option is:
+The default \fInumber\fP for this option is:
 .ti +4
  4
 .sp
 When sending requests to a remote server, tell them we are running
 NTP protocol version <ntpversion> .
-.TP
-.BR \-r ", " -\-usereservedport
+.It  \-r ", " -\-usereservedport
 Use the NTP Reserved Port (port 123).
 .sp
-Use port 123, which is reserved for NTP, for our network communications.
-.TP
-.BR \-S ", " -\-step
+Use port 123, which is reserved for NTP, for our network
+communications.
+.It  \-S ", " -\-step
 OK to 'step' the time with settimeofday().
 .sp
-.TP
-.BR \-s ", " -\-slew
+.It  \-s ", " -\-slew
 OK to 'slew' the time with adjtime().
 .sp
-.TP
-.BR \-u " \fIseconds\fP, " \-\-uctimeout "=" \fIseconds\fP
+.It  \-u " \fIseconds\fP, " \-\-uctimeout "=" \fIseconds\fP
 The number of seconds to wait for unicast responses.
 This option takes an integer number as its argument.
-The default \fIseconds\fP for this option is:
+The default \fIseconds\fP for this option is:
 .ti +4
  5
 .sp
 When waiting for a unicast reply, SNTP will wait the number
 of seconds specified before giving up.  Default 5 seconds.
-.TP
-.BR \-\-wait, " \fB\-\-no\-wait\fP"
+.It  \-\-wait, " \fB\-\-no\-wait\fP"
 Wait for pending replies (if not setting the time).
-The \fIno\-wait\fP form will disable the option.
+The \fIno\-wait\fP form will disable the option.
 This option is enabled by default.
 .sp
 If we are not setting the time, wait for all pending responses.
-.TP
-.BR \-? , " \-\-help"
+.It \-? , " \-\-help"
 Display usage information and exit.
-.TP
-.BR \-! , " \-\-more-help"
+.It \-! , " \-\-more-help"
 Pass the extended usage information through a pager.
-.TP
-.BR \-> " [\fIrcfile\fP]," " \-\-save-opts" "[=\fIrcfile\fP]"
-Save the option state to \fIrcfile\fP.  The default is the \fIlast\fP
-configuration file listed in the \fBOPTION PRESETS\fP section, below.
-.TP
-.BR \-< " \fIrcfile\fP," " \-\-load-opts" "=\fIrcfile\fP," " \-\-no-load-opts"
-Load options from \fIrcfile\fP.
-The \fIno-load-opts\fP form will disable the loading
-of earlier RC/INI files.  \fI\-\-no-load-opts\fP is handled early,
+.It \-> " [\fIrcfile\fP]," " \-\-save-opts" "[=\fIrcfile\fP]"
+Save the option state to \fIrcfile\fP.  The default is the \fIlast\fP
+configuration file listed in the \fBOPTION PRESETS\fP section, below.
+.It \-< " \fIrcfile\fP," " \-\-load-opts" "=\fIrcfile\fP," " \-\-no-load-opts"
+Load options from \fIrcfile\fP.
+The \fIno-load-opts\fP form will disable the loading
+of earlier RC/INI files.  \fI\-\-no-load-opts\fP is handled early,
 out of order.
-.TP
-.BR \- " [{\fIv|c|n\fP}]," " \-\-version" "[=\fI{v|c|n}\fP]"
+.It \- " [{\fIv|c|n\fP}]," " \-\-version" "[=\fI{v|c|n}\fP]"
 Output version of program and exit.  The default mode is `v', a simple
 version.  The `c' mode will print copyright information and `n' will
 print the full copyright notice.
-.SH "OPTION PRESETS"
-Any option that is not marked as \fInot presettable\fP may be preset
+.El
+.Sh "OPTION PRESETS"
+Any option that is not marked as \fInot presettable\fP may be preset
 by loading values from configuration ("RC" or ".INI") file(s) and values from
 environment variables named:
 .nf
-  \fBSNTP_<option-name>\fP or \fBSNTP\fP
+  \fBSNTP_<option-name>\fP or \fBSNTP\fP
 .fi
 .ad
 The environmental presets take precedence (are processed later than)
 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
+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 "EXIT STATUS"
+.Sh "EXIT STATUS"
 One of the following exit values will be returned:
-.TP
-.BR 0
+.Bl -tag
+.It 0
 Successful program execution.
-.TP
-.BR 1
+.It 1
 The operation failed or the command syntax was not valid.
-.SH ENVIRONMENT
-See \fBOPTION PRESETS\fP for configuration environment variables.
-.SH FILES
-See \fBOPTION PRESETS\fP for configuration files.
-.SH AUTHOR
+.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
+The program returns a zero exit
+status for success, and a non-zero one otherwise. 
+Please report bugs to http://bugs.ntp.org .
+.Sh ENVIRONMENT
+See \fBOPTION PRESETS\fP for configuration environment variables.
+.Sh FILES
+See \fBOPTION PRESETS\fP for configuration files.
+.Sh AUTHOR
 David L. Mills and/or others
 .br
 Please send bug reports to:  http://bugs.ntp.org, bugs@ntp.org
-.PP
+.Pp
 .nf
 .na
 see html/copyright.html
 .fi
 .ad
-.PP
-This manual page was \fIAutoGen\fP-erated from the \fBsntp\fP
+.Pp
+This manual page was \fIAutoGen\fP-erated from the \fBsntp\fP
 option definitions.
index c9c5f807e937554526a3e6cd73f5cdf492800539..baf083f438e778fc9e9ba8f673c6949742ec7522 100644 (file)
@@ -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.
 
-  <p>This document applies to version 4.2.7p116 of <code>sntp</code>.
+  <p>This document applies to version 4.2.7p165 of <code>sntp</code>.
 
   <p>The program implements the SNTP protocol as defined by RFC 5905, the NTPv4
 IETF specification.
@@ -150,14 +150,10 @@ Up:&nbsp;<a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
 <p><a name="index-sntp-usage-3"></a>
 This is the automatically generated usage text for sntp:
 
-<pre class="example">sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p164
+<pre class="example">sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p165
 USAGE:  sntp [ -&lt;flag&gt; [&lt;val&gt;] | --&lt;name&gt;[{=| }&lt;val&gt;] ]... \
                 [ hostname-or-IP ...]
   Flg Arg Option-Name    Description
-   -d no  debug-level    Increase output debug message level
-                                - may appear multiple times
-   -D Str set-debug-level Set the output debug message level
-                                - may appear multiple times
    -4 no  ipv4           Force IPv4 DNS name resolution
                                 - prohibits these options:
                                 ipv6
@@ -170,6 +166,10 @@ USAGE:  sntp [ -&lt;flag&gt; [&lt;val&gt;] | --&lt;name&gt;[{=| }&lt;val&gt;] ].
                                 - may appear multiple times
    -c Str concurrent     Concurrent query all IPs returned for host-name
                                 - may appear multiple times
+   -d no  debug-level    Increase output debug message level
+                                - may appear multiple times
+   -D Str set-debug-level Set the output debug message level
+                                - may appear multiple times
    -h Num headspace      The gap (in milliseconds) between time requests
    -K Fil kod            KoD history filename
    -k Fil keyfile        Look in this file for the key specified with -a
@@ -228,9 +228,10 @@ Up:&nbsp;<a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
 
 <p><a name="index-sntp_002dauthentication-4"></a>
 This is the &ldquo;enable authentication with the key auth-keynumber&rdquo; 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.
+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>
@@ -290,12 +291,12 @@ This is the &ldquo;concurrent query all ips returned for host-name&rdquo; option
   <p>Requests from an NTP "client" to a "server" should never be sent
 more rapidly than one every 2 seconds.  By default, any IPs returned
 as part of a DNS lookup are assumed to be for a single instance of
-ntpd, and therefore sntp will send  queries to these IPs one after
+ntpd, and therefore sntp will send queries to these IPs one after
 another, with a 2-second gap in between each query.
 
-  <p>The -c or &ndash;concurrent flag says that any IPs returned for the
-DNS lookup of the supplied host-name are on different machines,
-so we can send concurrent queries.
+  <p>The -c or &ndash;concurrent flag says that any IPs returned for the DNS
+lookup of the supplied host-name are on different machines, so we
+can send concurrent queries.
 
 <div class="node">
 <p><hr>
@@ -406,7 +407,8 @@ Up:&nbsp;<a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
 
 <p><a name="index-sntp_002dkeyfile-13"></a>
 This is the &ldquo;look in this file for the key specified with -a&rdquo; 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:
 
   <p>keyid keytype key
@@ -432,9 +434,9 @@ Up:&nbsp;<a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
 
 <p><a name="index-sntp_002dkod-14"></a>
 This is the &ldquo;kod history filename&rdquo; option. 
-Specifies the filename to be used for the  persistent history of KoD
+Specifies the filename to be used for the persistent history of KoD
 responses received from servers.  The default is
-/var/db/ntp-kod.
+/var/db/ntp-kod .
 
 <div class="node">
 <p><hr>
@@ -510,7 +512,9 @@ Up:&nbsp;<a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
 
 <p><a name="index-sntp_002dsteplimit-19"></a>
 This is the &ldquo;adjustments less than steplimit msec will be slewed.&rdquo; option. 
-If the time adjustment is less than steplimit milliseconds, slew the amount using adjtime().  Otherwise, step the correction using settimeofday().
+If the time adjustment is less than steplimit milliseconds, slew the
+amount using adjtime().  Otherwise, step the correction using
+settimeofday().
 
 <div class="node">
 <p><hr>
@@ -539,7 +543,8 @@ Up:&nbsp;<a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
 
 <p><a name="index-sntp_002dusereservedport-21"></a>
 This is the &ldquo;use the ntp reserved port (port 123)&rdquo; option. 
-Use port 123, which is reserved for NTP, for our network communications.
+Use port 123, which is reserved for NTP, for our network
+communications.
 
 <div class="node">
 <p><hr>
index 9092a60e1f0389c90afa3d026486c5a8479913de..6085ea315e4c48a5b60eb767f215b9ec781d1ff4 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.c)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 12:47:49 AM by AutoGen 5.11.9pre10
+ *  It has been AutoGen-ed  May 11, 2011 at 11:32:43 AM by AutoGen 5.11.9
  *  From the definitions    ntp-keygen-opts.def
  *  and the template file   options
  *
@@ -40,9 +40,9 @@ 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.7p164\n\
+"ntp-keygen (ntp) 4.2.7p165\n\
 see html/copyright.html\n";
-static char const zCopyrightNotice[25] =
+static char const zLicenseDescrip[25] =
 "see html/copyright.html\n";
 
 extern tUsageProc optionUsage;
@@ -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.7p164\n\
+"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p165\n\
 USAGE:  %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
 static char const zRcName[7] = ".ntprc";
 static char const * const apzHomeList[3] = {
@@ -812,7 +812,7 @@ tOptions ntp_keygenOptions = {
     + OPTPROC_MISUSE ),
     0, NULL,                    /* current option index, current option */
     NULL,         NULL,         zPROGNAME,
-    zRcName,      zCopyright,   zCopyrightNotice,
+    zRcName,      zCopyright,   zLicenseDescrip,
     zFullVersion, apzHomeList,  zUsageTitle,
     zExplain,     zDetail,      optDesc,
     zBugsAddr,                  /* address to send bugs to */
index 8881d735ef5c3ff9a671324694a26930dcc67d67..d1876ee6888953c4144389a2c14e8ee384ad79c3 100644 (file)
@@ -1,7 +1,7 @@
 /*  
  *  EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.h)
  *  
- *  It has been AutoGen-ed  May 11, 2011 at 12:47:49 AM by AutoGen 5.11.9pre10
+ *  It has been AutoGen-ed  May 11, 2011 at 11:32:42 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.7p164"
-#define NTP_KEYGEN_FULL_VERSION  "ntp-keygen (ntp) 4.2.7p164"
+#define NTP_KEYGEN_VERSION       "4.2.7p165"
+#define NTP_KEYGEN_FULL_VERSION  "ntp-keygen (ntp) 4.2.7p165"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
index 94c2c10632c9f15e5eb92d624e5899d27cf73b74..9172c935f105793f9fa743c29b7befc745261e29 100644 (file)
@@ -6,7 +6,7 @@
 # 
 # EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.texi)
 # 
-# It has been AutoGen-ed  May 11, 2011 at 12:48:00 AM by AutoGen 5.11.9pre10
+# It has been AutoGen-ed  May 11, 2011 at 11:33:08 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.7p164
+ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p165
 USAGE:  ntp-keygen [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
   Flg Arg Option-Name    Description
    -c Str certificate    certificate scheme
index 708de83f32984b32b85756d26aac86592066113f..d49c2a65ea4da5bf71240aa4d7016d7c25642ded 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTP-KEYGEN 1 2011-05-11 "(ntp 4.2.7p164)" "Programmer's Manual"
+.TH NTP-KEYGEN 1 2011-05-11 "(ntp 4.2.7p165)" "Programmer's Manual"
 .\"  EDIT THIS FILE WITH CAUTION  (ntp-keygen.1)
 .\"  
-.\"  It has been AutoGen-ed  May 11, 2011 at 12:47:59 AM by AutoGen 5.11.9pre10
+.\"  It has been AutoGen-ed  May 11, 2011 at 11:33:06 AM by AutoGen 5.11.9
 .\"  From the definitions    ntp-keygen-opts.def
 .\"  and the template file   agman1.tpl
 .\"