Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/ntp Import ntp 4.0.99i



details:   https://anonhg.NetBSD.org/src/rev/9e126fcabd25
branches:  trunk
changeset: 485215:9e126fcabd25
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Apr 22 14:51:59 2000 +0000

description:
Import ntp 4.0.99i

diffstat:

 dist/ntp/COPYRIGHT                |     2 +-
 dist/ntp/ChangeLog                |   159 +++-
 dist/ntp/Makefile.am              |    54 +-
 dist/ntp/Makefile.in              |    65 +-
 dist/ntp/NEWS                     |     2 +
 dist/ntp/README.des               |     9 +-
 dist/ntp/README.rsa               |    62 +
 dist/ntp/aclocal.m4               |     2 +-
 dist/ntp/adjtimed/Makefile.in     |     1 +
 dist/ntp/build                    |    10 +-
 dist/ntp/clockstuff/Makefile.in   |     1 +
 dist/ntp/config.h.in              |    15 +
 dist/ntp/configure                |  1095 +++++++++++++-------------
 dist/ntp/configure.in             |   148 +--
 dist/ntp/flock-build              |    29 +-
 dist/ntp/html/accopt.htm          |   309 ++----
 dist/ntp/html/authopt.htm         |   489 ++++++------
 dist/ntp/html/confopt.htm         |   517 ++++-------
 dist/ntp/html/driver23.htm        |   229 +++-
 dist/ntp/html/genkeys.htm         |   152 +++
 dist/ntp/html/hints/freebsd       |    15 +
 dist/ntp/html/hints/winnt.htm     |    17 +-
 dist/ntp/html/index.htm           |     3 +-
 dist/ntp/html/miscopt.htm         |   283 +++---
 dist/ntp/html/release.htm         |    57 +-
 dist/ntp/html/tickadj.htm         |   137 +-
 dist/ntp/include/Makefile.am      |     2 +
 dist/ntp/include/Makefile.in      |     3 +
 dist/ntp/include/ntp.h            |   483 +++++++----
 dist/ntp/include/ntp_control.h    |    23 +-
 dist/ntp/include/ntp_crypto.h     |    75 +
 dist/ntp/include/ntp_request.h    |    27 +-
 dist/ntp/include/ntp_stdlib.h     |    35 +-
 dist/ntp/include/ntp_types.h      |     4 +-
 dist/ntp/include/ntpd.h           |    25 +-
 dist/ntp/kernel/Makefile.in       |     1 +
 dist/ntp/kernel/sys/Makefile.in   |     1 +
 dist/ntp/libntp/Makefile.am       |     4 +-
 dist/ntp/libntp/Makefile.in       |    87 +-
 dist/ntp/libntp/a_md5encrypt.c    |    48 +-
 dist/ntp/libntp/authencrypt.c     |     4 +-
 dist/ntp/libntp/authkeys.c        |    34 +-
 dist/ntp/libntp/authusekey.c      |     4 +-
 dist/ntp/libntp/snprintf.c        |    54 +
 dist/ntp/libntp/systime.c         |     5 +-
 dist/ntp/libparse/Makefile.am     |     4 +-
 dist/ntp/libparse/Makefile.in     |     1 +
 dist/ntp/libparse/clk_wharton.c   |     9 +-
 dist/ntp/librsaref/Makefile.am    |    31 +-
 dist/ntp/librsaref/Makefile.in    |    42 +-
 dist/ntp/ntp_update               |    68 +
 dist/ntp/ntpd/Makefile.am         |     6 +-
 dist/ntp/ntpd/Makefile.in         |    68 +-
 dist/ntp/ntpd/ntp_config.c        |   387 ++++++--
 dist/ntp/ntpd/ntp_control.c       |  1275 ++++++++++++++++++-------------
 dist/ntp/ntpd/ntp_crypto.c        |  1159 ++++++++++++++++++++++++++++
 dist/ntp/ntpd/ntp_intres.c        |   215 +++-
 dist/ntp/ntpd/ntp_loopfilter.c    |     6 +-
 dist/ntp/ntpd/ntp_peer.c          |   158 ++-
 dist/ntp/ntpd/ntp_proto.c         |  1489 ++++++++++++++++++++++--------------
 dist/ntp/ntpd/ntp_request.c       |   227 ++++-
 dist/ntp/ntpd/ntp_resolver.c      |   991 ++++++++++++++++++++++++
 dist/ntp/ntpd/ntp_timer.c         |    28 +-
 dist/ntp/ntpd/ntp_util.c          |    24 +-
 dist/ntp/ntpd/ntpd.c              |    39 +-
 dist/ntp/ntpd/refclock_acts.c     |    21 +-
 dist/ntp/ntpd/refclock_atom.c     |     4 +-
 dist/ntp/ntpd/refclock_wwv.c      |     7 +-
 dist/ntp/ntpdate/Makefile.in      |     1 +
 dist/ntp/ntpdate/ntpdate.c        |     8 +-
 dist/ntp/ntpdc/Makefile.in        |     1 +
 dist/ntp/ntpq/Makefile.in         |     1 +
 dist/ntp/ntpq/ntpq_ops.c          |     4 +-
 dist/ntp/ntptrace/Makefile.in     |     1 +
 dist/ntp/parseutil/Makefile.in    |     1 +
 dist/ntp/scripts/Makefile.am      |     2 +
 dist/ntp/scripts/Makefile.in      |     4 +
 dist/ntp/scripts/stats/summary.sh |     2 +-
 dist/ntp/util/Makefile.am         |     8 +-
 dist/ntp/util/Makefile.in         |    40 +-
 dist/ntp/util/ntp_genkeys.c       |   240 +++++
 81 files changed, 7679 insertions(+), 3674 deletions(-)

diffs (truncated from 19521 to 300 lines):

diff -r 37cd7479fd0f -r 9e126fcabd25 dist/ntp/COPYRIGHT
--- a/dist/ntp/COPYRIGHT        Sat Apr 22 14:32:44 2000 +0000
+++ b/dist/ntp/COPYRIGHT        Sat Apr 22 14:51:59 2000 +0000
@@ -163,5 +163,5 @@
   47. mailto:tsuruoka%nc.fukuoka-u.ac.jp@localhost
   48. mailto:vixie%vix.com@localhost
   49. mailto:Ulrich.Windl%rz.uni-regensburg.de@localhost
-  50. file://localhost/backroom/ntp4/html/index.htm
+  50. file://localhost/backroom/ntp4+/html/index.htm
   51. mailto:mills%udel.edu@localhost
diff -r 37cd7479fd0f -r 9e126fcabd25 dist/ntp/ChangeLog
--- a/dist/ntp/ChangeLog        Sat Apr 22 14:32:44 2000 +0000
+++ b/dist/ntp/ChangeLog        Sat Apr 22 14:51:59 2000 +0000
@@ -1,3 +1,158 @@
+2000-04-11  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * configure.in: 4.0.99i
+
+       Dave made some documentation updates.
+
+2000-04-08  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * flock-build: Add malarky.  By default, --enable-parse-clocks.
+       Start 2 builds, one with and the other without rsaref.
+
+       * configure.in: 4.0.99h6
+       Dave improved the crypto stuff some more.
+
+2000-04-05  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * ntpd/refclock_acts.c (acts_receive): Do a better job with year
+       conversions and leap-year checks.  The PTB stuff caught this.
+       Reported by: Daniel.Aeby%eam.admin.ch@localhost
+
+2000-04-02  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * ntpd/refclock_atom.c (atom_pps): Bugfix
+       From: Philippe Charnier <charnier%xp11.frmug.org@localhost>
+
+2000-03-30  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * libparse/clk_wharton.c (cvt_wharton_400a): Do not return
+       CVT_NONE when receiving the early warning bit set.
+       From: Philippe De Muyter  <phdm%macqel.be@localhost>
+
+       * configure.in: 4.0.99h5
+       Dave made more changes to the auth key stuff.
+
+2000-03-29  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * configure.in: 4.0.99h4
+       Dave made a bunch of changes/fixes to the auth key stuff.
+
+2000-03-22  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * ntpd/ntp_resolver.c: Typos.
+
+2000-03-21  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * configure.in: 4.0.99h3
+
+       * ntpd/ntp_intres.c: Use LOG_INFO instead of LOG_DEBUG.
+       * ntpd/ntp_resolver.c: Ditto.
+
+2000-03-20  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * util/Makefile.am (ntp_genkeys_LDADD): Might need snprintf (-lntp)
+
+       * librsaref/Makefile.am (stamp-rsaref): nodist_HEADERS are not
+       supoprted yet.  Hack around it.
+
+       * ntpd/ntp_resolver.c (findhostaddr): hstrerror isn't always available.
+
+       * configure.in: Look for hstrerror.
+
+       * util/ntp_genkeys.c (main): Use snprintf, not sprintf.
+       
+       * ntpd/ntp_crypto.c: Use gethostname, not uname
+       * util/ntp_genkeys.c: Ditto
+       From: Dave Mills
+
+2000-03-19  Harlan Stenn  <harlan%pfcs.com@localhost>
+
+       * ntpd/ntp_proto.c (receive): Rename ntp_res_send() to
+         ntp_res_name() and adjust the number of arguments.
+       * ntpd/ntp_resolver.c (ntp_res_name): Ditto
+       * include/ntpd.h: Ditto
+
+       * ntpd/ntp_resolver.c: Add de_done to the dns_entry structure.
+
+2000-03-18  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * configure.in: 4.0.99h2
+
+       * libparse/Makefile.am (info_trimble.c): Use $(srcdir)/foo.sed
+       instead of foo.sed .
+
+       * librsaref/Makefile.am (stamp-rsaref): Copy each file to the build
+       directory, not to the source directory.  This sucks; it wastes
+       space (but it's more portable).
+
+       * configure.in (ac_busted_vpath_in_make): Add FreeBSD.  I bet all
+       systems that use pmake will need this.
+       (ac_busted_vpath_in_make): Remove FreeBSD - I found a workaround.
+
+       * Makefile.am: General cleanup
+
+       * configure.in: 4.0.99h1
+
+       * ntpd/ntp_resolver.c: Lose unneeded header.
+
+2000-03-17  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * libntp/snprintf.c: #include <config.h>
+
+       * libntp/Makefile.am (EXTRA_libntp_a_SOURCES): Use it correctly...
+
+2000-03-16  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * libntp/Makefile.am (EXTRA_DIST): Added snprintf.c
+
+       * configure.in: Look for (and provide if it's missing) snprintf()
+
+       * ntpd/ntp_request.c (dns_a): Call crypto_public with the resolved
+       name and the peer pointer.
+       (dns_a): crypto_public() is only available if PUBKEY is #defined.
+
+       * ntpd/ntp_crypto.c (crypto_public): sprintf is Evil.  Use snprintf.
+       (crypto_setup): Ditto
+       (crypto_read): Ditto
+
+       * ntpd/ntp_resolver.c (ntp_res_send): Lose some debugging noise.
+
+       * ntpd/ntp_config.c (getconfig): Lose testing code.
+
+       * ntpd/ntp_request.c (dns_a): Fix buglet in hostname length check.
+
+2000-03-16  Harlan Stenn  <harlan%pfcs.com@localhost>
+
+       * ntpd/ntp_request.c (dns_a): Start cracking the returned information.
+
+2000-03-15  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * ntpd/ntp_resolver.c (ntp_res): Authenticate the keyid.
+
+       * ntpd/ntp_crypto.c (crypto_line): Fix definition
+       (crypto_read): Ditto.
+
+       * ntpd/ntp_config.c (getconfig): Move req_keyid generation here.
+
+       * librsaref/Makefile.am (BUILT_SOURCES): Cleanup more nodist_ stuff.
+
+2000-03-14  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * build (RSASUF): If we have rsaref2/ and are building
+       --without-rsaref, note it as a build-directory suffix.
+
+       * configure.in: 4.0.99h
+       Crypto merge
+
+       * librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Added nodist_
+
+2000-02-28  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
+
+       * configure.in: Lose the changequote calls and fix the quoting.
+       Reported by: Akim Demaille <akim%epita.fr@localhost>
+
+       * ntpd/ntp_request.c: Log various error conditions.
+
 2000-02-27  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
 
        * configure.in: 4.0.99g
@@ -208,7 +363,7 @@
 
        * ntpd/refclock_chu.c: NCHAN is used with generic ICOM.
 
-       * ntpd/refclock_wwv.c: Use new auido stuff
+       * ntpd/refclock_wwv.c: Use new audio stuff
        * ntpd/refclock_irig.c: Use new audio stuff
        * ntpd/refclock_chu.c: Use new audio stuff
        * ntpd/ntp_proto.c: Clean up
@@ -293,7 +448,7 @@
        From: Marc.Brett%westgeo.com@localhost
 
        * ntpd/refclock_chu.c: NetBSD needs sys/ioctl.h
-       (chu_debug): NetBSED-specific debug output.
+       (chu_debug): NetBSD-specific debug output.
        From: Frederick Bruckman <fb%enteract.com@localhost>
 
 2000-01-06  Harlan Stenn  <stenn%whimsy.udel.edu@localhost>
diff -r 37cd7479fd0f -r 9e126fcabd25 dist/ntp/Makefile.am
--- a/dist/ntp/Makefile.am      Sat Apr 22 14:32:44 2000 +0000
+++ b/dist/ntp/Makefile.am      Sat Apr 22 14:51:59 2000 +0000
@@ -1,6 +1,5 @@
-#AUTOMAKE_OPTIONS = foreign dist-tarZ #distdir=$(PACKAGE)$(VERSION)
 #AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ no-dependencies
-AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ
+AUTOMAKE_OPTIONS = util/ansi2knr foreign
 
 SUBDIRS = \
        scripts \
@@ -19,39 +18,46 @@
        kernel  \
        util
 
-EXTRA_DIST = ChangeLog COPYRIGHT NEWS README.cvs README.des README.hackers TODO WHERE-TO-START acconfig.h config.guess config.h.in config.sub excludes flock-build install-sh dot.emacs build 
NOTES.y2kfixes readme.y2kfixes results.y2kfixes
+EXTRA_DIST = \
+       COPYRIGHT \
+       ChangeLog \
+       NEWS \
+       NOTES.y2kfixes \
+       README.cvs \
+       README.des \
+       README.hackers \
+       README.rsa \
+       TODO \
+       WHERE-TO-START \
+       acconfig.h \
+       build \
+       config.guess \
+       config.h.in \
+       config.sub \
+       dot.emacs \
+       excludes \
+       flock-build \
+       install-sh \
+       ntp_update \
+       readme.y2kfixes \
+       results.y2kfixes \
+       conf \
+       html \
+       ports
+
 #ETAGS_ARGS = $(srcdir)/Makefile.am $(srcdir)/configure.in
 ETAGS_ARGS = Makefile.am configure.in acconfig.h
 
-# DIST_CPDIRS = conf html scripts 
-# DIST_MKDIRS = adjtime clockstuff kernel libparse ppsclock
-#DIST_HOOK_DIRS = conf html patches ports scripts
 # HMS: make ports be the last directory...
-DIST_HOOK_DIRS = conf html scripts ports
+# DIST_HOOK_DIRS = conf html scripts ports
 
 BUILT_SOURCES = $(srcdir)/COPYRIGHT
 
 $(srcdir)/COPYRIGHT: html/copyright.htm
        ( echo "This file is automatically generated from html/copyright.htm" ; lynx -dump $(srcdir)/html/copyright.htm ) > $(srcdir)/COPYRIGHT.new && mv $(srcdir)/COPYRIGHT.new $(srcdir)/COPYRIGHT
 
-# local-dist: dist-tarZ
-
 dist-hook:
-       -for i in $(DIST_HOOK_DIRS); do \
-         mkdir $(distdir)/$$i ; \
-         cp -rp $(srcdir)/$$i $(distdir) ; \
-       done ; \
-       find $(distdir) -type d -name CVS -exec rm -rf '{}' \; ; \
-       # find $(distdir)/html -name '*.htm' -exec dos2unix {} {} \; ; \
-       # cp -rp $(srcdir)/include/winnt $(distdir)/include
-
-dist-export: distdir
-       rm $(distdir)/libntp/authdes.c
-       cp $(distdir)/libntp/authdes.c.export $(distdir)/libntp/authdes.c
-       chmod -R a+r $(distdir)
-       mv $(distdir) $(distdir)-export
-       $(TAR) chozf $(distdir)-export.tar.gz $(distdir)-export
-       rm -rf $(distdir)-export
+       @find $(distdir) -type d -name CVS -print | xargs rm -rf
 
 Makefile: .warning
 
diff -r 37cd7479fd0f -r 9e126fcabd25 dist/ntp/Makefile.in
--- a/dist/ntp/Makefile.in      Sat Apr 22 14:32:44 2000 +0000
+++ b/dist/ntp/Makefile.in      Sat Apr 22 14:51:59 2000 +0000
@@ -86,6 +86,7 @@
 MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
 MAKE_LIBRSAREF = @MAKE_LIBRSAREF@
 MAKE_NTPTIME = @MAKE_NTPTIME@
+MAKE_NTP_GENKEYS = @MAKE_NTP_GENKEYS@
 MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
 MAKE_TICKADJ = @MAKE_TICKADJ@
 PACKAGE = @PACKAGE@
@@ -99,11 +100,10 @@
 VERSION = @VERSION@
 install_sh = @install_sh@
 
-#AUTOMAKE_OPTIONS = foreign dist-tarZ #distdir=$(PACKAGE)$(VERSION)
 #AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ no-dependencies
 
 
-AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ
+AUTOMAKE_OPTIONS = util/ansi2knr foreign
 
 SUBDIRS = \
        scripts \
@@ -123,15 +123,39 @@
        util
 
 
-EXTRA_DIST = ChangeLog COPYRIGHT NEWS README.cvs README.des README.hackers TODO WHERE-TO-START acconfig.h config.guess config.h.in config.sub excludes flock-build install-sh dot.emacs build 
NOTES.y2kfixes readme.y2kfixes results.y2kfixes
+EXTRA_DIST = \



Home | Main Index | Thread Index | Old Index