Harlan Stenn [Mon, 20 Mar 2000 07:15:36 +0000 (07:15 -0000)]
Many files:
* 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
Harlan Stenn [Sun, 19 Mar 2000 01:31:29 +0000 (01:31 -0000)]
ChangeLog, configure, configure.in, Makefile.am, Makefile.in:
* configure.in: 4.0.99h2
(ac_busted_vpath_in_make): Remove FreeBSD - I found a workaround.
* 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).
Harlan Stenn [Fri, 17 Mar 2000 01:14:58 +0000 (01:14 -0000)]
ChangeLog, ntp_crypto.c, ntp_request.c:
* ntpd/ntp_request.c (dns_a): Call crypto_public with the resolved
name and the peer pointer.
* ntpd/ntp_crypto.c (crypto_public): sprintf is Evil. Use snprintf.
(crypto_setup): Ditto
(crypto_read): Ditto
Sven Dietricht [Tue, 22 Feb 2000 07:16:38 +0000 (07:16 -0000)]
config.h:
Define MD5 and associated random functions.
SetSystemTime.c:
Including ntp_stdlib.h fixes a warning.
Corrected constant declaration.
Fixes from Carl Byington
Harlan Stenn [Mon, 21 Feb 2000 07:37:01 +0000 (07:37 -0000)]
ChangeLog, Makefile.am, Makefile.in:
* Makefile.am (SUBDIRS): Make librsaref right after includes so we
can copy any needed header files over.
* libntp/Makefile.am (INCLUDES): Also look in librsaref for des.h
* ntpd/Makefile.am (INCLUDES): Ditto
* util/Makefile.am (INCLUDES): Ditto
* librsaref/Makefile.am (librsaref_a_SOURCES): Use the des.h from
the rsaref2 distribution.
* include/Makefile.am (noinst_HEADERS): No, we don't want des.h
Harlan Stenn [Sat, 19 Feb 2000 23:18:16 +0000 (23:18 -0000)]
Many files:
* ntpd/ntp_config.c (do_resolve_internal): Try Real Hard to
generate a full random key.
From: Carl Byington <carl@five-ten-sg.com>
* include/ntp.h: Now we know we have either mrand48() or random().
* configure.in: If we have mrand48, use it. Otherwise, use (and
provide if necessary) random().
* libntp/Makefile.am (EXTRA_DIST): random.c
* libntp/random.c: Added.
Harlan Stenn [Fri, 18 Feb 2000 03:26:41 +0000 (03:26 -0000)]
Many files:
* ntpd/refclock_mx4200.c: Remove the DOP-weighted position
averaging code and revert to a simple mean average. The weighted
average consistently produced a *worse* result. Go figure.
* html/mx4200data.htm: Cleanup, reflect current reality.
* html/driver9.htm: Cleanup, reflect current reality.
* html/copyright.htm: Cleanup, and credit where credit is due.
From: Marc.Brett@westgeo.com
Sven Dietricht [Thu, 17 Feb 2000 06:10:06 +0000 (06:10 -0000)]
winnt.htm:
Updated NTP documentation to reflect changes by
Frederick Czajka [w2k@austin.rr.com] to eliminate
the need to have Perl installed on the build system.
Harlan Stenn [Wed, 16 Feb 2000 01:13:48 +0000 (01:13 -0000)]
ChangeLog, refclock_nmea.c:
* ntpd/refclock_nmea.c: Correctly interpret the quality indicator.
Deal with the time suppliedin centiseconds. GPGCA/GPGGA cleanup.
From: Andrew Hood <ajhood@fl.net.au>
Harlan Stenn [Fri, 11 Feb 2000 01:31:35 +0000 (01:31 -0000)]
ChangeLog, ntp-wait.in:
* scripts/ntp-wait.in: Intensify, including some suggestions from
Ulrich.
* scripts/ntp-wait.in: Lose cruft, sleep after each try.
Harlan Stenn [Thu, 10 Feb 2000 08:19:50 +0000 (08:19 -0000)]
Many files:
Remove files with hardcoded path to perl...
...Put them back in using PATH_PERL
* scripts/ntp-restart: It's ntpd now. Also, call ntp-wait.
* configure.in (AC_CONFIG_*): New scripts that use PATH_PERL
* scripts/Makefile.am (noinst_SCRIPTS): Added all of the scripts that
now use PATH_PERL
Harlan Stenn [Thu, 10 Feb 2000 06:21:16 +0000 (06:21 -0000)]
ChangeLog, ntptrace.c:
* ntptrace/ntptrace.c (DoTrace): If the server's srcadr is 0.0.0.0
then we haven't synced yet. Note and punt.
Reported by: Bdale Garbee <bdale@gag.com>,http://bugs.debian.org/56551
Harlan Stenn [Mon, 7 Feb 2000 00:06:37 +0000 (00:06 -0000)]
Makefile.in, Makefile.am, refclock_oncore.c:
* libparse/Makefile.am: Make it work with non-GNU make.
* ntpd/refclock_oncore.c: Patches/improvements, From: Reg Clemens <reg@dwf.com>
Harlan Stenn [Sat, 22 Jan 2000 12:34:05 +0000 (12:34 -0000)]
Many files:
* scripts/Makefile.am (EXTRA_DIST): Need to explicitly distribute
mkver.in and ntpver.in now, apparently.
* configure.in: Search for the various audio_info members so the
printing in audio_show is less of a circus. This required an
autoconf upgrade. Major sigh.
* libntp/audio.c (audio_show): Clean up (more) properly.
Sven Dietricht [Fri, 21 Jan 2000 20:26:25 +0000 (20:26 -0000)]
Many files:
Convert back to CRLF format so that weird version of VC 6.0 can open it.
ChangeLog:
Removed UNIX LF format, converted makefiles (.dsp, .dsw) to CRLF to
accomodate some balky Microsoft compiler release
Harlan Stenn [Wed, 19 Jan 2000 07:56:37 +0000 (07:56 -0000)]
COPYRIGHT, ChangeLog, copyright.htm, driver36.htm, driver7.htm:
* html/driver7.htm: Patches from Dave Mills
* html/driver36.htm: Patches from Dave Mills
* html/copyright.htm: Added Kamal Mostafa
Harlan Stenn [Wed, 19 Jan 2000 02:17:56 +0000 (02:17 -0000)]
ChangeLog, configure, configure.in, Makefile.am, Makefile.in:
* ntpd/refclock_wwv.c: Use new auido stuff
* ntpd/refclock_irig.c: Use new audio stuff
* ntpd/refclock_chu.c: Use new audio stuff
* ntpd/ntp_proto.c: Clean up
* ntpd/ntp_loopfilter.c (local_clock): Clean up error message
* include/icom.h: Number of arguments changed
* libntp/Makefile.am (libntp_a_SOURCES): Added audio.c
* libntp/audio.c: New file
* include/Makefile.am (noinst_HEADERS): audio.h added
Harlan Stenn [Wed, 19 Jan 2000 01:19:07 +0000 (01:19 -0000)]
Many files:
* ntpd/refclock_wwv.c: Use new auido stuff
* ntpd/refclock_irig.c: Use new audio stuff
* ntpd/refclock_chu.c: Use new audio stuff
* ntpd/ntp_proto.c: Clean up
* ntpd/ntp_loopfilter.c (local_clock): Clean up error message
* include/icom.h: Number of arguments changed
* libntp/Makefile.am (libntp_a_SOURCES): Added audio.c
* libntp/audio.c: New file
* include/audio.h: New file
From: Dave Mills <mills@udel.edu>
COPYRIGHT, ChangeLog:
Update generated file
Harlan Stenn [Wed, 19 Jan 2000 00:16:55 +0000 (00:16 -0000)]
ChangeLog, configure, configure.in, README, .del-freq_adj~5e662c3e:
* scripts/freq_adj: Added. FreeBSD frequency adjustment script.
* configure.in: Do a better job on my oncore_ok check for SCO.
Harlan Stenn [Sat, 15 Jan 2000 07:37:52 +0000 (07:37 -0000)]
ChangeLog, copyright.htm, .del-ntpsweep~dff61aa1:
* scripts/ntpsweep: New version
* html/copyright.htm: Added Hans Lambermont
From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
Harlan Stenn [Fri, 14 Jan 2000 08:26:06 +0000 (08:26 -0000)]
ChangeLog, configure, configure.in:
* configure.in: ONCORE is OK if ac_cv_hdr_def_tiocdcdtimestamp=yes
in_system.h:
Added dummy in_system.h "All systems have it :)"
ip.h:
These little files save a bunch of ifdef WINNT's and stay hidden in the
ports subdirectory.
ChangeLog, refclock_oncore.c:
* ntpd/refclock_oncore.c (oncore_start): Only dance with the
pps_device if it's there.
From: reg@dwf.com
Harlan Stenn [Mon, 10 Jan 2000 08:08:18 +0000 (08:08 -0000)]
ChangeLog, configure, configure.in:
* configure.in: Get the quoting right on the sys_errlist check.
From documentation by: Akim Demaille <akim@epita.fr>
Harlan Stenn [Sat, 8 Jan 2000 22:10:49 +0000 (22:10 -0000)]
Many files:
* configure.in: <netinet/ip.h> cannot be detected...
* ntpd/ntp_io.h: ...but every OS has it
* ntpd/refclock_oncore.c: Lint removal
* ntpq/ntpq_ops.c: Lint removal
* ntpq/refclock_chu.c: chu_major() is not an audio routine (?), lint
* libntp/icom.c: AIX doesn't have <sys/termios.h>
From: Marc.Brett@westgeo.com
* ntpd/refclock_chu.c: NetBSD needs sys/ioctl.h
(chu_debug): NetBSED-specific debug output.
From: Frederick Bruckman <fb@enteract.com>