freebsd-skq/contrib/ntp/ChangeLog

3356 lines
104 KiB
Plaintext
Raw Normal View History

2000-01-28 14:55:50 +00:00
2000-01-19 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99b
2000-01-18 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_chu.c: NCHAN is used with generic ICOM.
* 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
* include/audio.h: New file
From: Dave Mills <mills@udel.edu>
* scripts/freq_adj: Added. FreeBSD frequency adjustment script.
* configure.in: Do a better job on my oncore_ok check for SCO.
2000-01-15 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99a
* scripts/ntpsweep: New version
* html/copyright.htm: Added Hans Lambermont
From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
2000-01-14 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c (oncore_start): Only dance with the
pps_device if it's there.
From: reg@dwf.com
* configure.in: ONCORE is OK if ac_cv_hdr_def_tiocdcdtimestamp=yes
* build: Just overwrite the log file each time; sometimes NFS goes
a little goofy.
* ntpd/refclock_fg.c: Syntax/punctuation cleanup
2000-01-13 Harlan Stenn <stenn@whimsy.udel.edu>
* scripts/ntpsweep: New version
From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
* ntpd/refclock_fg.c: New version
* html/driver37.htm: New version
From: Dmitry Smirnov <das@online.nsk.su>
2000-01-12 Harlan Stenn <stenn@whimsy.udel.edu>
* README.des: Cleanup
2000-01-12 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99
* html/driver36.htm: Cleanup
* html/monopt.htm: Ditto
From: Dave Mills <mills@udel.edu>
* ntpd/ntp_intres.c (ntp_intres): Put "NTP_INTRES running" at a
higher debug level
2000-01-11 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwv.c: More improvements
From: Dave Mills <mills@udel.edu>
2000-01-10 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwv.c: Bugfixes/improvements
From: Dave Mills <mills@udel.edu>
* configure.in: Get the quoting right on the sys_errlist check.
From documentation by: Akim Demaille <akim@epita.fr>
2000-01-08 Harlan Stenn <stenn@whimsy.udel.edu>
* 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>
2000-01-06 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98m
I skipped `l' - it looks like a `1'.
* html/driver7.htm: Doc update
* html/driver36.htm: Ditto
* html/audio.htm: Ditto
* ntpd/refclock_wwv.c: Dvae snuck another fix/change in on me.
* configure.in: 4.0.98k
* ntpd/refclock_chu.c (chu_start): Call icom_init with the speed
* ntpd/refclock_wwv.c (wwv_start): Ditto, plus other improvements.
* libntp/icom.c (icom_init): Add speed parameter
* include/icom.h: Update declaration
From: Dave Mills <mills@udel.edu>
* include/Makefile.am (noinst_HEADERS): Added icom.h
From: Frederick Bruckman <fb@enteract.com>
2000-01-05 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98j
* ntpd/refclock_wwv.c (timecode): Make definition == declaration
(wwv_newchan): Ditto
(wwv_corr4): Dave fixed the declaration.
* flock-build: Add rackety to the flock - it runs SunOS 4.1.3/cc
* ntpd/refclock_wwv.c: Undo that declaration cleanup for now...
* ntpd/ntp_io.c (open_socket): TOS support
From: Marc.Brett@westgeo.com
2000-01-04 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwv.c: Declaration cleanup
* ntpd/refclock_fg.c (fg_receive): Not all sprintf's are created
equal...
From: Marc.Brett@westgeo.com
* ntpd/refclock_wwv.c: Dave Cleaned and Improved things.
* ntpd/ntp_loopfilter.c (local_clock): Dave fixed something.
* ntpd/refclock_wwv.c: Rename max to p_max or s_max as appropriate
to avoid native SunOS compiler collision.
(wwv_epoch): Make declaration == definition
(wwv_rsec): Ditto
(wwv_newchan): Ditto
(wwv_qsy): Ditto
(timecode): Ditto
* ntpd/refclock_oncore.c (oncore_init_shmem): Use a cast to widen
mmap's NIL offset.
* ntpd/refclock_chu.c (chu_rf): Make declaration == definition.
Rename min/max to es_min/es_max to avoid native SunOS compiler
collision.
(chu_uart): Make declaration == definition.
* libntp/icom.c (sndpkt): Make declaration and definition equivalent.
(doublefreq): Ditto.
* ntpd/refclock_oncore.c (MAP_FAILED): Some systems do not #define
this.
* ntpd/refclock_wwv.c:
* ntpd/refclock_chu.c:
* libntp/icom.c:
* libntp/Makefile.am:
* include/icom.h:
* html/driver7.htm:
* html/driver36.htm:
Support for ICOM. The WWV/H driver, by the way, is getting truly
awesome. The CHU autotune function works okay as it is. I'd like
to find somebody else to test the audio drivers just to make sure
I haven't done something stupid. There is a new define ICOM
intended for the driver autotune function; however, I crafted the
thing in much the same way as the refclock_atom.c thing - it tries
to open /dev/icom and, if that fails, goes quietly to sleep.
From: Dave Mills <mills@udel.edu>
2000-01-03 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c (oncore_read_config): Patches and cleanup
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
more isascii() stuff from HMS.
* ntpd/refclock_fg.c (fg_receive): Cast.
From: Tom Smith <smith@cag.lkg.dec.com>
* ntpd/map_vme.c (map_vme): tx.access_result indicates failure on
< 0, not <= 0. A fix that apparently did not get brought over
from the ntp3 base.
From: Michael Barone <michael.barone@lmco.com>
* configure.in: Move the ONCORE_SHMEM_STATUS check and definition
here.
* ntpd/refclock_oncore.c (oncore_init_shmem): Some systems do not
have MAP_HASSEMAPHORE.
* ntpd/refclock_oncore.c: Drive ONCORE_SHMEM_STATUS based on
HAVE_SYS_MMAN_H . If this needs finer checks, do it in
configure.in .
(oncore_read_config): Add the isascii() checks; older versions of
Unix don't guarantee correct behavior of is*() without it.
* ntpd/refclock_oncore.c: Add proof-of-concept support for
delivering receiver data stream to other processes through
a memory-mapped file.
From: Poul-Henning Kamp <phk@FreeBSD.org>
2000-01-02 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_refclock_chu): Provide the CHU driver by
default, and by default prefer the AUDIO version. We used to
limit this to SunOS or Solaris; now we drive by the availability
of the audioio header file.
Select the IRIG and WWV audio drivers the same way.
* flock-build: build ignores the -l flag; lose it.
(BUILD_ARGS): added.
* build: Remove unused -l stuff (LOG variable).
* ntpd/ntp_refclock.c: HAVE_PPSAPI header cleanup
From: Reg Clemens <reg@dwf.com>
2000-01-01 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (CLOCK_WWV): Require <sys/audioio.h> or <sun/audioio.h>
1999-12-29 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98i
* ntpd/refclock_gpsvme.c: Fixes
From: Michael Barone <michael.barone@lmco.com>
Patch severely hacked by HMS to "make it conform". I hope I
didn't break anything.
* scripts/ntpsweep: Nifty utility
From: Hans.Lambermont@nl.origin-it.com
* ntpd/refclock_fg.c:
* ntpd/refclock_conf.c:
* ntpd/ntp_control.c:
* ntpd/Makefile.am:
* libntp/clocktypes.c:
* include/ntp.h:
* html/refclock.htm:
* html/driver37.htm:
* configure.in:
* acconfig.h:
Forum Graphic GPS clock support
From: Dmitry Smirnov <das@online.nsk.su>
* configure.in: Default to compile the IRIG, CHU and WWV/H
drivers and compile the CHU driver for audio, not modem.
Requested by Dave Mills.
* html/audio.htm:
* html/driver36.htm:
* html/qth.htm:
Dave wrote these to go along with the changes I checked in yesterday.
1999-12-28 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwv.c:
* ntpd/refclock_conf.c:
* ntpd/refclock_chu.c:
* ntpd/ntp_refclock.c:
* ntpd/ntp_loopfilter.c:
* html/refclock.htm:
* html/pps.htm:
* html/index.htm:
* html/driver7.htm:
* html/driver6.htm:
* html/copyright.htm:
I indulged an old agenda to polish up some programs originally
written for a DSP evaluation board. The result is a really hot
audio driver for the NIST WWV/WWVH time/frequency station plus a
makeover for the CHU audio driver. Currently, they and their IRIG
audio driver buddy use the SunOS/Solaris audio interface, which is
clean and simple. I hook the line in jack to a shortwave radio and
these drivers (driver 7 for CHU and driver 36 for WWV) and the
drivers do the rest. The WWV/H driver is really hot - I am
currently watching the ionosphere move from the doppler that shows
up on the tick modulation tracked by the program. During midday
when the F2 layer settles down, the program closes in on a few
tens of microseconds of spare jitter and wander. This watch on
whichever 15/20 MHz signal sounds the best. At night on 5/10 MHz
and even 2.5 HMz where the multipath, interference and noise are
much worse, the driver bangs around somewhat more.
The CHU driver makeover discovered a few broken bones after all
these years, but its majority decoder is back in business. For
various reasons to icky to reveal here, its 103-modem demodulator
is not quite as good as the chip, but it comes close and hey,
2025/2125 FSK is just not a good idea for HF radio. This driver is
not nearly as sophisitcated as the WWV/H driver, but here a few
hundred miles south of Ottawa, it does a passably good job.
I tell you this in the hopes of getting somebody interested in
porting the audio interface to other machines, in particular
Linux, FreeBSD and anything else with a sound card. When the
ionosphere stays cool, the WWV/H driver is as good as anything
else around here and with much less jitter than a serial port. The
only downside is all the audio drivers chew up a modest fraction
of cycles for the DSP routines - a few percent on the newer
silicon, up to half the cycles on an old Sparc IPC. Whattheheck,
these old machines aren't doing anything else around here except
serving time, and even when sucking cycles for DSP they still mind
the PPS microseconds.
The audio driver documentation had a makeover, too.
From: Dave Mills <mills@udel.edu>
1999-12-20 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98h
1999-12-19 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/syssignal.c: Small cleanup to Marc's patch.
* ntpd/ntp_refclock.c:
* ntpd/refclock_atom.c: Header cleanup
* html/driver30.htm: Cleanup and improvements.
From: Reg Clemens <reg@dwf.com>
* ntpd/ntp_refclock.c:
* ntpd/refclock_jupiter.c:
* ntpd/refclock_msfees.c:
* ntpd/refclock_mx4200.c:
Portability (Solaris) patches
* ntpd/refclock_mx4200.c:
Self-survey improvements, cleanup for, PPS re-activation
* libntp/syssignal.c:
Fix for "interrupted system call" (EINTR) failure of the PPS
ioctl(TIOCGPPSEV) call in Solaris. Not sure why it was
interrupted, but this works around the failure. Not sure if
the (now silent) interrupt affects the timing accuracy.
THERE IS A CHANCE THIS PART OF THE PATCH MAY ADVERSELY
AFFECT OTHER SYSTEMS!
* scripts/ntp-status: Added.
From: Marc.Brett@westgeo.com
* ntpdate/ntpdate.c: Deal with multiple addresses.
From: Jeffrey C Honig <jch@bsdi.com>
* ntpd/refclock_conf.c: Replaced macro SHM with CLOCK_SHM.
* ntpd/refclock_shm.c (shm_poll): Take clock time in UTC.
pp->day starts at 1, t->tm_yday starts at 0.
From: Jakob Stoklund Olesen <stoklund@taxidriver.dk>
1999-12-16 Harlan Stenn <stenn@whimsy.udel.edu>
* NEWS: Updated ONCORE instructions
From: Kamal A Mostafa <kamal@whence.com>
1999-12-13 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98g
* ntpd/refclock_oncore.c: Cleanup and fixes
From: Reg Clemens <reg@dwf.com> and Kamal A Mostafa <kamal@whence.com>
1999-12-11 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwv.c: Cleanup/checkin of the current state of affairs.
From: Dave Mills <mills@udel.edu>
* ntpd/refclock_oncore.c: #elif conversion. I can only hope I did
it right.
* ntpd/refclock_oncore.c: Various patches
From: Reg Clemens <reg@dwf.com> and Kamal A Mostafa <kamal@whence.com>
1999-12-09 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (default_get_precision): Use the right arg type
to pass "sizeof freq" to sysctlbyname().
From: Ollivier Robert <roberto@eurocontrol.fr>
* ntpd/refclock_wwv.c: Cleanup and fixes.
From: Dave Mills <mills@udel.edu>
1999-12-08 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwv.c: Cleanup and fixes
* ntpd/refclock_conf.c: WWV declaration cleanup.
From: Dave Mills <mills@udel.edu>
1999-12-07 Harlan Stenn <stenn@whimsy.udel.edu>
* libparse/clk_rawdcf.c (cvt_rawdcf): Buglet.
From: Frank Kardel <kardel@acm.org>
1999-12-06 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/Makefile.am (ntpd_SOURCES): Added refclock_wwv.c
* ntpd/refclock_wwvb.c:
* ntpd/refclock_wwv.c:
* ntpd/refclock_conf.c:
* ntpd/refclock_chu.c:
* libntp/clocktypes.c:
* include/ntp.h: Dave cleaned some things up
Dave cleaned some things up (WWVB -> SPECTRACOM, CHU -> CHU_AUDIO,
WWV_AUDIO)
* acconfig.h: REFCLOCK_WWVB -> REFCLOCK_SPECTRACOM, added REFCLOCK_WWV
* configure.in: Deal with it.
1999-12-05 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_refclock.c (refclock_open): More PPS cleanup
From: Dave Mills <mills@udel.edu>
* ntpq/ntpq.c:
* ntpq/ntpq_ops.c:
Make `ntpq -pn' independent of DNS, ad advertised.
From: Kamal A Mostafa <kamal@whence.com>
* ntpd/refclock_mx4200.c (mx4200_start): make missing 3rd
parameter a 0.
1999-12-04 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_refclock.c (refclock_open): "flags" processing cleanup
(refclock_open): PPS device initialization cleanup
* include/ntp_refclock.h (LDISC_CHU):
(LDISC_PPS): Clean up comments
From: Dave Mills <mills@udel.edu>
1999-12-03 Sven Dietrich <sven_dietrich@trimble.com>
* libntp/mexit.c: Moved WINNT port specific file to ports/winnt/libntp
* ports/winnt/libntp/libntp.dsp: Fix WinNT makefile for new source loc.
1999-12-03 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/Makefile.am (libntp_a_SOURCES): Lose mexit.c - Sven will
move it to the winnt port area.
1999-12-03 Sven Dietrich <sven_dietrich@trimble.com>
* libntp/systime.c: Removed adjtime hack for WINNT
* ports/winnt/ntpd/nt_clockstuff.c: Winnt double precision adjtime
* ports/winnt/inlcude/clockstuff.h: Remove no longer needed externs
1999-12-02 Harlan Stenn <stenn@whimsy.udel.edu>
* libparse/Makefile.in: Manually hacked to remove the
libparse_kernel.a.[co] cruft
* libparse/Makefile.am (k*.o): Generate these form the Makefile,
not from separate .c files
* html/tickadj.htm:
* html/notes.htm:
* html/hints/solaris.html:
Point to the new dosynctodr report.
* html/hints/solaris.xtra.S99ntpd:
Update. Should be rewritten to take advantage of the new -g
switch and perhaps a loop to wait until ntpd hits a reasonable
"state".
* html/hints/solaris-dosynctodr.html: New information
From: "John W. Sopko Jr." <sopko@cs.unc.edu>
1999-12-01 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/authkeys.c (auth_moremem): Clear memory allocated for sk.
From: Hugo Mildenberger <hugo.mildenberger@topmail.de>
1999-12-01 Sven Dietrich <sven_dietrich@trimble.com>
* libntp/recvbuff.c: Unused functions cleanup
* ntpd/ntpd.c: ProcessorAffinity, IO cleanup
* ports/winnt/instsrv/instsrv.c: Service name changed to NTP
NT port shouldn;t hop between CPUs. Set affinity to first processor.
Service name was NetworkTimeProtocol. Too long. Now NTP.
1999-12-01 Harlan Stenn <stenn@whimsy.udel.edu>
* scripts/plot_summary.pl: Improved option parsing. Fixed one
minor Perl compatibility error.
* scripts/summary.pl: Official revision for NTPv4: Parse new
statistic file formats correctly, provide error checking for bad
input files, and guard against negative arguments to sqrt()
because of numeric effects. Use one pattern to select valid
statistic files. Add selectable output directory
(``--output-directory'') and improved option parsing. Directory
with statistic files (now settable also with
``--input-directory'') defaults to ``/var/log/ntp''.
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
* html/driver8.htm:
* libparse/clk_computime.c:
* libparse/clk_dcf7000.c:
* libparse/clk_hopf6021.c:
* libparse/clk_meinberg.c:
* libparse/clk_rawdcf.c:
* libparse/clk_rcc8000.c:
* libparse/clk_schmid.c:
* libparse/clk_trimtaip.c:
* libparse/clk_trimtsip.c:
* libparse/data_mbg.c:
* libparse/kclk_computime.c:
* libparse/kclk_dcf7000.c:
* libparse/kclk_hopf6021.c:
* libparse/kclk_meinberg.c:
* libparse/kclk_rawdcf.c:
* libparse/kclk_rcc8000.c:
* libparse/kclk_schmid.c:
* libparse/kclk_trimtaip.c:
* libparse/kclk_trimtsip.c:
* libparse/kparse.c:
* libparse/kparse_conf.c:
* libparse/parse.c:
* libparse/parse_conf.c:
* libparse/parsesolaris.c:
* libparse/parsestreams.c:
* ntpd/refclock_parse.c:
Mods and updates
From: Frank Kardel <kardel@acm.org>
* acconfig.h: PCF refclock
* configure.in:
* html/driver35.htm:
* html/refclock.htm:
* include/ntp.h:
* libntp/clocktypes.c:
* ntpd/Makefile.am:
* ntpd/ntp_control.c:
* ntpd/refclock_conf.c:
* ntpd/refclock_pcf.c:
From: Andreas Voegele <andreas.voegele@gmx.de>
* acconfig.h: DECL_STIME_1
* configure.in (iCFLAGS): Use -std1 for alpha*-dec-osf* if we are
using "cc".
Reported by: Tom Smith <smith@cag.lkg.dec.com>
1999-11-30 Harlan Stenn <stenn@whimsy.udel.edu>
* include/l_stdlib.h: DECL_SYSTIME_1 --- a long *
* configure.in: Use it for DEC OSF[45]
Reported by: Tom Smith <smith@cag.lkg.dec.com>
* ntpd/refclock_parse.c: Add missing declarations
* ntptrace/ntptrace.c: Ditto
* ntpd/ntp_proto.c: Ditto
* ntpd/refclock_palisade.c: Ditto
From: Jonathan Stone <jonathan@dsg.stanford.edu>
1999-11-18 Sven Dietrich <sven_dietrich@trimble.com>
* Win NT port updates
* ntpd.dsp: makefile only builds supported refclocks
* config.h: cleanup, undefine unsupported clock_atom
* win32_io, clock_NMEA: foundation for future refclock support
* recvbuff, transmitbuff, IOcompletionport: streamline packet handler
* html/hints/winnt.htm: Added up-to-date html docs for WINNT
1999-11-17 Harlan Stenn <stenn@whimsy.udel.edu>
* html/copyright.htm: Credit Jack for his work.
* html/pic/*: Save a *ton* of space on the pictures.
From: Jack Sasportas <jack@innovativeinternet.com>
1999-11-16 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in : changequote for osf[45] test.
Reported by: Tom Smith <smith@cag.lkg.dec.com>
* ntp_update: Ignore stuff in any A.* directory.
1999-11-15 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Clean up header checks for sys/syssgi.h and
sys/select.h . Originally, we did not check for sys/select.h
under some versions of SCO (see xntp3-5). Somewhere in ntp4 we
dropped the SCO check and added the check for sys/syssgi.h,
exclusive of checking for sys/select.h. Marc Brett can't think of
a reason why we should not be checking for sys/select.h, so let's
look for it now.
1999-11-13 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpdate/ntpdate.c: Add the ability for ntpdate to query a
multicast address. We use the response to the multicast address
to learn new servers which we then add to the peer list and query.
In changing this I made the list of peers a linked list.
To be complete I should detect a broadcast address and make it
behave the same way. But that requires a scan of the interface
list which is more complicated that I want to deal with...
Fix a bug, allowing ntpdate to compile if SLEWALWAYS and STEP_SLEW
are both defined.
From: Jeffrey C Honig <jch@bsdi.com>
* ntpd/ntp_refclock.c: sys/sio.h and SCO5_CLOCK cleanup
From: Kamal A Mostafa <kamal@whence.com>
* ntpd/ntp_loopfilter.c: Let -g do a "correct any" for the first
time adjustment.
From: Dave Mills <mills@udel.edu>
* configure.in: sys/sio.h needs to be checked independently.
Reported by: Kamal A Mostafa <kamal@whence.com>
1999-12-09 13:01:21 +00:00
1999-11-11 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98f
* configure.in: DECL_PLOCK_0 and DECL_STIME_0 are for dec-osf5*, too
* ntpd/ntpd.c: DEC OSF cleanup (editorial comments by HMS)
From: Tom Smith <smith@cag.lkg.dec.com>
* ntpd/ntp_refclock.c: MAXUNIT bugfix
From: Marc.Brett@westgeo.com
* ntpd/ntp_refclock.c:
* ntpd/ntpd.c:
* ntpd/refclock_arc.c:
* ntpd/refclock_as2201.c:
* ntpd/refclock_atom.c:
* ntpdc/ntpdc.c:
* ntpq/ntpq.c:
Code cleanup.
From: Marc.Brett@westgeo.com
* include/ntp_stdlib.h:
* libntp/systime.c:
* ntpd/ntp_proto.c:
Replaced the 'sco5_oldclock' variable with 'systime_10ms_ticks'.
Cleared libntp/systime.c and include/ntp_stdlib.h of references
to SCO5_CLOCK and RELIANTUNIX_CLOCK (moved to ntpd/ntp_proto.c).
From: Kamal A Mostafa <kamal@whence.com>
* configure.in: alpha-dec-osf4* -> alpha*-dec-osf4*|alpha*-dec-osf5*
From: Tom Smith <smith@cag.lkg.dec.com>
* configure.in: Look for <sys/sio.h>. If TIOCDCDTIMESTAMP is
there, we have TTYCLK.
* acconfig.h: Lose old AIOCTIMESTAMP stuff
Reported by: Kamal A Mostafa <kamal@whence.com>
1999-11-10 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntpd.c (set_process_priority): Clean up nice() and setpriority()
1999-11-09 Harlan Stenn <stenn@whimsy.udel.edu>
* Makefile.am (EXTRA_DIST): Added README.cvs
Reported by: Kamal A Mostafa <kamal@whence.com>
1999-11-08 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98e
1999-11-07 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Lose AIOCTIMESTAMP tests
* ntpd/ntpd.c: lose select() EINTR debug warning
* ntpd/ntp_refclock.c: AIOCTIMESTAMP -> TIOCDCDTIMESTAMP. Watch
CLK_SETSTR.
* ntpd/refclock_atom.c: fdpps is only there for PPS or PPSAPI.
AIOCTIMESTAMP is gone now.
From: Kamal A Mostafa <kamal@whence.com>
* configure.in (HAVE_MLOCKALL): Deal with dec-osf5 realities
* ntpd/refclock_ulink.c (ulink_poll): Fix cast.
* libntp/machines.c (ntp_set_tod): Use a long* for the argument to
stime().
Reported by: Tom Smith <smith@cag.lkg.dec.com>
* ntpd/ntpd.c (set_process_priority): Use whatever we have until
something works.
* ntpd/ntp_loopfilter.c: Keep clock_frequency changes in a temp
variable so we can record it to loopstats (near as HMS can tell).
From: Dave Mills <mills@udel.edu>
1999-11-06 Harlan Stenn <stenn@whimsy.udel.edu>
* acconfig.h: RELIANTUNIX_CLOCK
* configure.in (ac_cv_var_tickadj): RELIANTUNIX_CLOCK
* libntp/systime.c (adj_systime): Reliant patches
From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
1999-11-05 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_parse.c (parse_start): ASYNC_PPS_CD_NEG cleanup
* configure.in (ac_cv_make_ntptime): OK on Linux
From: <Ulrich.Windl@rz.uni-regensburg.de>
* configure.in: NetBSD has PPSAPI now
F_SETOWN is needed for NetBSD
From: Jonathan Stone <jonathan@dsg.stanford.edu>
1999-11-02 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98d
* ntpd/refclock_parse.c: Cleanup/fixes
From: John Hay <jhay@mikom.csir.co.za>
* ntpd/refclock_parse.c: Lose #include "ntp_select.h"
* ntpd/ntpd.c: Lose #include "ntp_select.h"
* ntpd/ntp_io.c: Lose #include "ntp_select.h"
* ntpd/ntp_intres.c: Lose #include "ntp_select.h"
* libntp/iosignal.c: Lose #include "ntp_select.h"
* include/ntpd.h: #include "ntp_select.h" for declaration of activefds
Reported by: Christian Krackowizer <kra1@technodat.co.at>
1999-11-01 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98c
* libntp/syssignal.c: Don't warn about SA_RESTART
* libntp/recvbuff.c: Fix free buffer count
From: Jeffrey C Honig <jch@bsdi.com>
* html/pps.htm:
* html/howto.htm:
* html/confopt.htm:
* html/clockopt.htm:
* html/uthopt.htm:
Updates.
From: Dave Mills <mills@udel.edu>
* ntpd/refclock_wwvb.c: burst fixes
* ntpd/refclock_ulink.c: burst fixes
* ntpd/refclock_tpro.c: burst and NSTAGE fixes
* ntpd/refclock_pst.c: burst fixes
* ntpd/refclock_irig.c: SAMPLE -> SAMPLES
* ntpd/refclock_heath.c: burst fixes
* ntpd/refclock_dumbclock.c: burst fixes
* ntpd/refclock_chronolog.c: burst fixes
* ntpd/refclock_bancomm.c: burst fixes
* ntpd/refclock_atom.c: burst fixes
* ntpd/refclock_as2201.c: burst fixes
* ntpd/ntp_refclock.c: PPSAPI, code, and comment cleanup/fixes
* ntpd/ntp_proto.c: Broadcast/restrict cleanup
* ntpd/ntp_loopfilter.c: Cleanup and fixes
* libntp/gpstolfp.c: Lose the UL qualifiers - old compilers hate them
From: Dave Mills <mills@udel.edu>
1999-10-31 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: TIOCSPPS cleanup
1999-10-20 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98b
* ntpd/refclock_atom.c: AIOCTIMESTAMP patch
* ntpd/ntpd.c: SCO clock patch
* ntpd/ntp_request.c: noselect patch
* ntpd/ntp_refclock.c: AIOCTIMESTAMP patch
* ntpd/ntp_proto.c: noselect patch
* ntpd/ntp_intres.c: noselect patch
* ntpd/ntp_config.c: noselect patch
* include/ntp_request.h: noselect patch
* include/ntp.h: noselect patch
From: Kamal A Mostafa <kamal@whence.com>
* configure.in:
* acconfig.h: TTYCLK_AIOCTIMESTAMP
Stuff for Kamal
* ntpd/refclock_atom.c (atom_pps): make "result" initialization
uglier, but more bulletproof.
* configure.in (sys/timepps.h): Fixed.
From: John Hay <jhay@mikom.csir.co.za>
1999-10-19 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c: Rename instance.state to instance.o_state
* refclock_oncore.c:
* refclock_mx4200.c:
* refclock_chu.c:
* refclock_atom.c:
* ntp_refclock.c:
* ntp_peer.c:
* ntp_loopfilter.c:
* include/ntp_refclock.h:
Various cleanup and fixes
From: Dave Mills <mills@udel.edu>
1999-10-17 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_config.c (CONFIG_FILE): NT changes
From: Sven Dietrich <Sven_Dietrich@trimble.com>
1999-10-16 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: sys/timepps.h verification changes
* ntpd/refclock_atom.c (atom_poll): PPS cleanup
From: Dave Mills <mills@udel.edu>
(atom_pps): Portability patch
From: John Hay <jhay@mikom.csir.co.za>
* libntp/msyslog.c:
* libntp/gpstolfp.c:
Lint cleanup
From: Jonathan Stone <jonathan@dsg.stanford.edu>
* parseutil/dcfd.c: abs() -> l_abs(), time.h (AIX 4.3.2 patches)
From: Dana Kaempen <decay@flash.net>
* ntpd/refclock_oncore.c:
* ntpd/refclock_atom.c:
* ntpd/ntp_refclock.c:
PPS cleanup
From: John.Hay@mikom.csir.co.za
* util/ntptime.c:
* ntpdate/ntptimeset.c:
* ntpdate/ntpdate.c:
* ntpd/refclock_trak.c:
* ntpd/refclock_oncore.c:
* ntpd/refclock_mx4200.c:
* ntpd/refclock_msfees.c:
* ntpd/refclock_atom.c:
* ntpd/ntp_control.c:
* ntpd/ntp_config.c:
* configure.in:
* configure:
PPS, Solaris 7, cleanup patches
From: Marc.Brett@westgeo.com
* ports/winnt/ntptrace/ntptrace.dsp:
* ports/winnt/ntpq/ntpq.dsp:
* ports/winnt/ntpdc/ntpdc.dsp:
* ports/winnt/ntpdate/ntpdate.dsp:
* ports/winnt/ntpd/refclock_trimbledc.c:
* ports/winnt/ntpd/ntpd.dsp:
* ports/winnt/ntpd/ntp_iocompletionport.c:
* ports/winnt/ntpd/nt_clockstuff.c:
* ports/winnt/libntp/util_clockstuff.c:
* ports/winnt/libntp/libntp.dsp:
* ports/winnt/libntp/SetSystemTime.c:
* ports/winnt/instsrv/instsrv.c:
* ports/winnt/include/sys/ioctl.h:
* ports/winnt/include/termios.h:
* ports/winnt/include/config.h:
* ports/winnt/include/clockstuff.h:
* ports/winnt/ntp.dsw:
* ntpd/refclock_shm.c:
* ntpd/refclock_palisade.c:
* ntpd/ntpd.c:
* ntpd/ntp_timer.c:
* ntpd/ntp_refclock.c:
* libntp/systime.c:
* libntp/machines.c:
NT patches
From: Sven Dietrich <Sven_Dietrich@trimble.com>
1999-10-15 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwvb.c:
* ntpd/refclock_usno.c:
* ntpd/refclock_ulink.c:
* ntpd/refclock_tpro.c:
* ntpd/refclock_pst.c:
* ntpd/refclock_parse.c:
* ntpd/refclock_palisade.c:
* ntpd/refclock_oncore.c:
* ntpd/refclock_mx4200.c:
* ntpd/refclock_msfees.c:
* ntpd/refclock_jupiter.c:
* ntpd/refclock_irig.c:
* ntpd/refclock_heath.c:
* ntpd/refclock_chu.c:
* ntpd/refclock_atom.c:
* ntpd/refclock_as2201.c:
* ntpd/refclock_arc.c:
* ntpd/refclock_arbiter.c:
* ntpd/refclock_acts.c:
* ntpd/ntp_refclock.c:
* include/ntp_refclock.h:
Bunches of fixes.
From: Dave Mills <mills@udel.edu>
1999-10-10 Harlan Stenn <stenn@whimsy.udel.edu>
* html/driver16.htm: New version
* ntpd/refclock_bancomm.c: New version
From: "Cliff, Gary" <gary.cliff@cdott.com>
"Ramasivan, Ganesh" <ganesh.ramasivan@cdott.com>
* ntpd/refclock_ulink.c (ulink_receive): Cleanup
(ulink_poll): Cleanup
* ntpd/refclock_atom.c (atom_pps): SunOS timespec/timeval cleanup
From: Marc.Brett@westgeo.com
* INSTALL: Point NT folks at ports/winnt
Reported by: Stephen Gildea <gildea@intouchsys.com>
* include/ntp_stdlib.h: Noise abatement
* include/ntpd.h: Noise abatement
Reported by: "W. David Higgins" <wdh@grouper.ccur.com>
* configure.in: DECL_STDIO_0 with gcc under solaris.
* include/l_stdlib.h: DECL_TOUPPER_0
DECL_STRERROR_0
* configure.in: Fix a bunch of implicit declarations for SunOS
* html/release.htm: cleanup - we still provide MD5.
Reported by: Winslowe Lacesso <lacesso@cs.ubc.ca>
1999-10-09 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c:
* ntpd/refclock_atom.c:
* ntpd/ntp_refclock.c:
PPS API code updated to the current spec
From: Dave Mills
* configure.in (ac_cv_make_tickadj): Don't make tickadj starting
with solaris2.5
Requested by: Dave Mills
1999-10-04 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: We might need -lsocket for the -lnsl check.
1999-09-19 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_ulink.c: Typos in C++ comment
Reported by: Thomas.Tornblom@Sun.SE
* configure.in: 4.0.98a
* ntpd/ntp_config.c (getconfig): Fix typo.
From: "David E. Myers" <dem@skyline.rtp.nc.us>
From: David Godfrey <dave@delta.demon.co.uk>
From: Geoffrey Sisson <geoff@nominet.org.uk>
1999-09-17 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98
NetInfo support:
* config.guess
* config.sub
Add Mac OS (versions 10 and up).
* acconfig.h
* config.h.in
* configure.in
Check for NetInfo API; add HAVE_NETINFO macro and friends.
* include/ntp.h
* ntpd/ntp_config.c
* ntpdate/ntpdate.c
Add support for reading configuration from NetInfo.
* ntpd/ntp_config.c
Get rid of unnecessary eol variable in tokenizer.
* html/notes.htm
* html/ntpd.htm
* html/ntpdate.htm
Document NetInfo functionality.
* util/tickadj.c
Use HAVE_KVM_OPEN conditional around kvm.h include.
From: Wilfredo Sanchez <wsanchez@apple.com>
1999-09-15 Harlan Stenn <stenn@whimsy.udel.edu>
* acconfig.h:
* config.h.in:
* configure.in:
* html/driver34.htm:
* html/refclock.htm:
* include/ntp.h:
* libntp/clocktypes.c:
* ntpd/Makefile.am:
* ntpd/ntp_control.c:
* ntpd/refclock_conf.c:
* ntpd/refclock_ulink.c:
Ultralink driver
From: Dave Strout <dstrout@linuxfoundary.com>
1999-09-14 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: ReliantUNIX patches
From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
* ntpd/refclock_atom.c: PPS cleanup
* ntpd/ntp_refclock.c (refclock_ioctl): PPS cleanup
From: Dave Mills <mills@udel.edu>
* ntptrace/ntptrace.c (ReceiveBuf): addserver() can return NIL.
Reported by: "Alan J. Wylie" <alanw@cyrano.com>
* libntp/ieee754io.c:
* ntpd/ntp_proto.c:
* ntpd/ntp_refclock.c:
Lint cleanup.
From: Marc.Brett@westgeo.com
1999-09-12 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_refclock.c (refclock_ioctl): Declaration cleanup.
* ntpd/ntp_proto.c (init_proto): msyslog kern_enable at LOG_DEBUG.
* ntpd/refclock_atom.c: Add missing declaration.
1999-09-11 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_make_ntptime): Just look for struct
ntptimeval, not timespec or nsec (Solaris 2.7 should get ntptime
and it uses msec).
(ac_cv_var_oncore_ok): Reorder so it's a "normal" clock
* configure.in: Solaris Kernel FLL bug fixed in 106541-07
1999-09-02 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.97f
* ntptrace/ntptrace.c:
* ntpdate/ntptimeset.c:
* ntpdate/ntptime_config.c:
* ntpdate/ntpdate.c:
* util/ntptime.c:
* parseutil/dcfd.c:
* libparse/parsestreams.c:
* libparse/parse_conf.c:
* libparse/parse.c:
* libparse/clk_varitext.c:
* libparse/clk_trimtsip.c:
* libparse/clk_trimtaip.c:
* libparse/clk_schmid.c:
* libparse/clk_rcc8000.c:
* libparse/clk_rawdcf.c:
* libparse/clk_meinberg.c:
* libparse/clk_hopf6021.c:
* libparse/clk_dcf7000.c:
* libparse/clk_computime.c:
* libntp/msyslog.c:
* libntp/iosignal.c:
* libntp/syssignal.c:
* adjtimed/adjtimed.c:
* ntpd/refclock_shm.c:
* ntpd/refclock_parse.c:
* ntpd/refclock_palisade.c:
* ntpd/refclock_mx4200.c:
* ntpd/refclock_jupiter.c:
* ntpd/refclock_datum.c:
* ntpd/ntpd.c:
* ntpd/ntp_util.c:
* ntpd/ntp_timer.c:
* ntpd/ntp_request.c:
* ntpd/ntp_refclock.c:
* ntpd/ntp_monitor.c:
* ntpd/ntp_loopfilter.c:
* ntpd/ntp_io.c:
* ntpd/ntp_intres.c:
* ntpd/ntp_filegen.c:
* include/l_stdlib.h:
<errno.h> and errno declaration cleanup.
* ntpd/map_vme.c: cleanup some spacing.
1999-09-01 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.97e
* configure.in (ac_cv_struct_sigaction_has_sa_sigaction):
* acconfig.h: Ditto
* parseutil/dcfd.c (main): Use it.
From: HOSAKA Eiichi <HOSAKA.Eiichi@dd.anritsu.co.jp>
1999-08-29 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.97d
* include/ntp_stdlib.h: Clean up previous NeXT patch.
From: Jack Bryans <jbryans@csulb.edu>
* ntpd/refclock_parse.c: Permit RTS to power a DCF77.
From: Carsten Paeth <calle@calle.in-berlin.de>
* ntpd/refclock_oncore.c (oncore_start): This makes the Oncore run
on systems without hardpps().
From: Poul-Henning Kamp <phk@freebsd.org>
1999-08-28 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.97c
* configure.in (ac_cv_make_ntptime): Typo.
From: Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
1999-08-26 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.97b
* libntp/iosignal.c:
* ntpd/ntp_peer.c:
* ntpd/refclock_nmea.c:
* ntpdate/ntptime_config.c:
* ntpdate/ntptimeset.c:
AIX, Irix, and SunOS lint cleanup
From: Marc.Brett@westgeo.com
1999-08-24 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in 4.0.97a
* configure.in (AC_OUTPUT): added scripts/Makefile
* Makefile.am (SUBDIRS): Added scripts
* scripts/Makefile.am: Added
1999-08-23 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_nmea.c: Patches for:
Trimble OEM Ace-II receiver. Low cost PCB with single
voltage input, external active antenna and two serial
ports with either NMEA and ITAPs output. Programmable
to be tuned for 'time' accuracy in fixed station config.
From: Nick Hibma <nick.hibma@jrc.it>
1999-08-21 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_config.c: Added listen_to_virtual_ips support (-L flag)
* ntpd/ntp_io.c: Ditto
1999-08-19 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_intres.c (request): Lint cleanup
* ntpd/ntp_control.c (ctl_putclock): Ditto
* libntp/recvbuff.c (getrecvbufs): Ditto
(get_free_recv_buffer): Ditto
* libntp/systime.c (adj_systime): Ditto
1999-08-18 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.97
* libntp/systime.c:
* ntpd/ntp_loopfilter.c:
* ntpd/ntpd.c:
* ports/winnt/libntp/nt_clockstuff.c:
From: Sven Dietrich <Sven_Dietrich@trimble.com>
* README.cvs: Updated.
* configure.in:
* include/ntp_machine.h:
* libntp/mexit.c:
* ntpd/ntp_config.c:
* ntpd/ntp_peer.c:
* ntpd/ntp_restrict.c:
* ntpd/refclock_arc.c:
* ntpdate/ntpdate.c:
Irix, SunOS, AIX, lint patches
From: Marc.Brett@westgeo.com
* util/ansi2knr.c: New release (fix for bug reported by Marc Brett)
From: "L. Peter Deutsch" <ghost@aladdin.com>
* include/ntp_stdlib.h: NeXT portability patch
From: Jack Bryans <jbryans@csulb.edu>
* configure.in:
* dot.emacs: (cleanup)
* ntpdate/Makefile.am:
* ntpdate/ntpdate.h:
* ntpdate/ntptime_config.c:
* ntpdate/ntptimeset.c:
ntptimeset patches.
From: Jeffrey Hutzelman <jhutz@cmu.edu>
* ntpd/refclock_parse.c (local_input): ts.l_ui -> ts.fp.l_ui
1999-08-11 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.96p1
* ntpd/ntpd.c (sys/resource.h): Include this file only #if
HAVE_SYS_RESOURCE_H.
(set_process_priority): Use TIOCNOTTY only if it is #define'd.
* ntpd/refclock_parse.c (STREAM): STREAM does not imply HAVE_TERMIOS.
(termios.h, termio.h, fcntl.h): Do not include those files here;
they are already included by ntp_refclock.h or ntp_io.h.
* ntpd/refclock_leitch.c (sgtty.h, termios.h, termio.h): Do not
include those files here; they are already included by ntp_refclock.h.
* ntpdate/ntpdate.c (sys/resource.h) : Include that file only #if
HAVE_RESOURCE_H.
From: Philippe De Muyter <phdm@macqel.be>
* ntptrace/ntptrace.c (input_handler): Make it a "normal" function
definition.
Reported by: GIANNI_CATANIA@hp-italy-om6.om.hp.com
* configure.in: pc-cygwin32 -> pc-cygwin* because of a change in
B20.
From: Stephen Gildea <gildea@intouchsys.com>
1999-08-09 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.96
* parseutil/dcfd.c (main): Replace SA_ONSTACK and SV_ONSTACK with
HAVE_SIGACTION and HAVE_SIGVEC, respectively. HP-UX provides both
of the former but only one of the latter...
1999-08-08 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Better tests for -lnsl and -lsocket
From: Albert Chin-A-Young <china@thewrittenword.com>
Works for me - handle openlog() and -lgen the same way.
* Makefile.am (EXTRA_DIST): Add in the y2k notes
* parseutil/dcfd.c: Renamed drift_comp to accum_drift
* configure.in: Added MAKE_CHECK_Y2K support; check_y2k needs libparse.
* ntpd/Makefile.am (check_PROGRAMS): Use MAKE_CHECK_Y2K
* ntpd/Makefile.am (check-local): Added.
* parseutil/Makefile.am (check-local): Added.
* include/ntp.h: Y2KFixes
* libparse/parse.c: Ditto
* ntpd/Makefile.am (check_PROGRAMS): Ditto
* ntpd/refclock_acts.c: Ditto
* ntpd/refclock_arc.c (arc_receive): Ditto
* ntpd/refclock_heath.c: Ditto
* ntpd/refclock_hpgps.c: Ditto
* parseutil/Makefile.am (check-local): Ditto
* parseutil/dcfd.c (check_y2k): Ditto
* NOTES.y2kfixes: Ditto
* readme.y2kfixes: Ditto
* results.y2kfixes: Ditto
* ntpd/check_y2k.c: Ditto
From: y2k@y2k.labs.att.com
1999-08-07 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Look for sys/ppstime.h.
1999-07-31 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_io.c (create_sockets): Typo.
From: Doug Wells <dmw@contek.com>
1999-07-29 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_struct_ntptimeval): Explicitly look for
struct ntptimeval.
(ac_cv_var_kernel_pll): Require struct ntptimeval.
Linux. Grrr.
Reported by: Ronald Kuetemeier <ronaldk@smginc.com>
1999-07-27 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.95
* ports/winnt: New release
From: Sven Dietrich <Sven_Dietrich@trimble.com>
1999-07-26 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/machines.c (ntp_set_tod): Bugfix
From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
1999-07-25 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.94b
* acconfig.h:
* configure.in:
* libparse/Makefile.am:
* libparse/parse_conf.c:
* libparse/clk_varitext.c:
* libparse/kclk_varitext.c:
* ntpd/refclock_parse.c: VARITEXT parse clock
* ntpdate/ntpdate.c: bugfix
From: Tony McConnell <tonym@datel-technology.co.uk>
1999-07-24 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp_syscall.h (ntp_gettime): Make it static
* configure.in: Added AC_C_INLINE
Reported by: "Charles C. Fu" <ccwf@klab.caltech.edu>
1999-07-23 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntpd.h:
* libntp/machines.c:
* libntp/systime.c:
* ntpd/ntp_config.c:
* ntpd/ntp_filegen.c:
* ntpd/ntp_io.c:
* ntpd/ntp_proto.c:
* ntpd/ntp_timer.c:
* ntpdate/ntpdate.c: Windows NT port cleanup
From: Sven Dietrich <Sven_Dietrich@trimble.com>
1999-07-22 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/authkeys.c:
* libntp/ieee754io.c:
* libntp/iosignal.c:
* libntp/machines.c:
* libntp/mexit.c:
* libntp/recvbuff.c:
* ntpd/ntp_filegen.c:
* ntpd/ntp_loopfilter.c:
* ntpd/ntp_request.c:
* ntpd/ntp_timer.c:
* ntpd/ntpd.c: Compile/lint cleanup
From: Allen Smith <easmith@beatrice.rutgers.edu>
1999-07-21 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.94a
* configure.in (ac_cv_make_ntptime): Add tv_nsec check.
* include/Makefile.am (noinst_HEADERS): Forgot ntp_syscall.h
From: John.Hay@mikom.csir.co.za
* configure.in: 4.0.94
* Makefile.am (SUBDIRS): librsaref
(dist-hook): Lose CVS subdirs in the distribution tarball
* include/Makefile.am (noinst_HEADERS): Added iosignal.h, recvbuff.h
* Makefile.am (dist-hook): Don't call dos2unix anymore
1999-07-20 Harlan Stenn <stenn@whimsy.udel.edu>
* acconfig.h:
* util/ntptime.c: FreeBSD nano patches
From: Per Hedeland <per@erix.ericsson.se> and
Allen Smith <easmith@beatrice.rutgers.edu>
* include/ntp.h:
include/ntp_fp.h:
include/ntp_io.h:
include/ntp_machine.h:
include/ntp_refclock.h:
include/ntp_stdlib.h:
include/ntpd.h:
libntp/Makefile.am:
libntp/emalloc.c:
libntp/machines.c:
libntp/mexit.c:
libntp/msyslog.c:
libntp/statestr.c:
libntp/syssignal.c:
libntp/systime.c:
libparse/parse.c:
libparse/parse_conf.c:
ntpd/ntp_control.c:
ntpd/ntp_intres.c:
ntpd/ntp_io.c:
ntpd/ntp_proto.c:
ntpd/ntp_refclock.c:
ntpd/ntp_request.c:
ntpd/ntp_timer.c:
ntpd/ntp_util.c:
ntpd/ntpd.c:
ntpd/refclock_nmea.c:
ntpd/refclock_palisade.c:
ntpd/refclock_palisade.h:
ntpd/refclock_shm.c:
ntpdate/ntpdate.c:
ntptrace/ntptrace.c: Cleanup
* libntp/recvbuff.c:
libntp/iosignal.c:
include/iosignal.h:
include/recvbuff.h: Added
From: Sven_Dietrich@Trimble.COM
* README: Add README.cvs
* configure.in (ac_cv_var_struct_ntptime_val_timespec): Typo.
From: John Hay <jhay@mikom.csir.co.za>
1999-07-19 Harlan Stenn <stenn@whimsy.udel.edu>
* Makefile.am (EXTRA_DIST): Lose ntpmak; "build" does a better job.
* ntpq/Makefile.am (version.o): Use mkver
* ntptrace/Makefile.am (version.o): Ditto
* ntpdate/Makefile.am (version.o): Ditto
* ntpd/Makefile.am (version.o): Ditto
* ntpdc/Makefile.am (version.o): Ditto
* configure.in (AC_OUTPUT): scripts/mkver
* scripts/mkver.in: Created. Note RSAREF in the version string
1999-07-18 Harlan Stenn <stenn@whimsy.udel.edu>
* README.des: Updated.
* ntpq/Makefile.am (LDADD): Add LIBRSAREF
* ntpdc/Makefile.am (LDADD): Add LIBRSAREF
* ntpdate/Makefile.am (LDADD): Add LIBRSAREF
* ntpd/Makefile.am (LDADD): Add LIBRSAREF
* configure.in (AC_OUTPUT): Added librsaref/Makefile
Added tests for making/using librsaref.a
Lose old DES stuff; AC_DEFINE(DES) if we find the rsaref stuff.
1999-07-11 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_trak.c (trak_receive): disambiguate expression.
At least now it is unambiguous. It may even still be correct.
Reported by: Tom Smith <smith@cag.lkg.dec.com>
* ntp_update (UPDATE_OPTIONS): Typo.
1999-07-07 Harlan Stenn <stenn@whimsy.udel.edu>
* ntp_update: Check out copyright.htm before COPYRIGHT
* ntpd/ntp_config.c: Support for PPS assert/clear/hardpps
* ntpd/ntp_refclock.c (refclock_ioctl): Ditto
(refclock_gtlin): Ditto
* html/clockopt.htm: Document.
From: John Hay <jhay@mikom.csir.co.za>
* html/monopt.htm: We have four types of files now
* ntpd/refclock_oncore.c: If debug is on, tell when
we are waiting for a valid almanac
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
* include/ntp_machine.h (HAVE_TERMIOS): STREAMS does not imply
HAVE_TERMIOS !!!
* include/parse.h (timercmp): Macro defined if needed.
* ntpd/ntp_config.c (SIGCHLD): Macro defined as SIGCLD if needed.
(sys/wait.h): File included only if HAVE_SYS_WAIT_H.
* configure.in (sys/wait.h): File added to AC_CHECK_HEADERS list.
From: Philippe De Muyter <phdm@macqel.be>
1999-06-23 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_irig.c (irig_debug): NetBSD patches
From: Frederick Bruckman <fb@enteract.com>
* util/ntptime.c (main): ntx.freq bugfix (-f option)
From: Frederick Bruckman <fb@enteract.com>
1999-06-22 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Fix typo with DECL_H_ERRNO test
* ntpd/ntp_loopfilter.c: Lose syscall decl, it's handled in
l_stdlib.h now.
* ntpd/ntp_request.c: Ditto
* util/ntptime.c: Ditto
Mon May 31 18:49:49 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpd/ntp_proto.c (proto_config): Don't set sys_bclient on
PROTO_MULTICAST_ADD, only caller can decide; remove wrong set on
PROTO_MULTICAST_DEL.
Mon May 31 18:49:49 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpd/refclock_parse.c (stream_receive): Cast size_t to int to
match format.
(local_receive): Likewise.
(trimbletaip_event): Likewise.
(stream_receive): Cast struct timeval members to long to match
format.
(local_receive): Likewise.
* ntpd/ntp_util.c (stats_config): Cast size_t to int to match
format.
* libparse/clk_rawdcf.c (cvt_rawdcf): Cast ptr difference to int
to match format.
* ntpd/refclock_parse.c (gps16x_poll): Likewise.
* ntpd/ntp_filegen.c (filegen_open): Use long format, cast arg to
match.
* ntpd/refclock_parse.c (list_err): Use long format to match arg.
(parse_statistics): Likewise.
(gps16x_message): Likewise.
(cvt_ts): Use long format, cast args to match.
(parse_start): Add missing arg.
(gps16x_message): Swap args to match format.
* ntpd/ntpd.c (ntpdmain): Cast uid to long, adapt format.
* ntpd/ntp_intres.c (readconf): Use long format to match arg.
* ntpd/ntp_io.c (getrecvbufs): Likewise.
* ntpd/ntp_proto.c (default_get_precision): Likewise.
* ntpd/ntp_loopfilter.c (local_clock): Cast clock_panic to int to
match format.
* ntpd/ntp_io.c (io_multicast_add): Print s_addr member, not
struct in_addr, to match format.
* include/ntp_stdlib.h: Declare msyslog() as printf-like for gcc
format checking.
Fri May 28 16:39:35 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpdc/ntpdc_ops.c (iostats): Align timereset line.
* ntpq/ntpq_ops.c (doopeers): Properly align header.
* ntpdc/ntpdc_ops.c (debug): Removed declaration, already in
ntp_stdlib.h.
* ntpq/ntpq_ops.c: Likewise.
* ntpdate/ntpdate.c (debug): Declare volatile to match
ntp_stdlib.h.
* ntpdc/ntpdc.c, ntpq/ntpq.c, ntptrace/ntptrace.c, util/tickadj.c,
util/ntptime.c: Likewise.
* include/parse.h (debug): Don't declare to avoid clash with
ntp_stdlib.h.
* include/Makefile.am (noinst_HEADERS): Add new ntp_syscall.h.
* configure.in: Also check for -lrt for POSIX.1c functions.
Wed May 26 21:03:30 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in: Removed -Wwrite-strings from CFLAGS.
* ntpdc/ntpdc.c (help): Remove superfluous cast.
* ntpq/ntpq.c (help): Likewise.
Tue May 25 18:00:49 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpq/ntpq_ops.c (struct varlist): name cannot be const char *
since it may be malloc'ed.
* ntpdc/ntpdc.c (sendrequest): Declare pass as const char *, don't
loose const in cast.
* ntpq/ntpq.c (sendrequest): Likewise.
* ntpd/ntp_control.c (ctl_getitem): Remove superfluous cast.
* include/ntpd.h (struct ctl_var): text cannot be const char *
since it's malloc'ed.
1999-06-22 Harlan Stenn <stenn@whimsy.udel.edu>
* include/l_stdlib.h: Don't include <netinet/in.h>, add forward
declaration of struct in_addr instead.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Patch:
* include/l_stdlib.h: Fixed syscall() declaration.
* configure.in: Updated test to match.
* configure.in: Check if we need to declare errno and h_errno.
Check for <resolv.h> which may provide a h_errno declaration and
<arpa/nameserv.h> which the latter needs.
* acconfig.h: Provide the necessary templates.
* include/ntp_syscall.h: New file, hides various implementations
of ntp_adjtime() and ntp_gettime() syscalls.
* ntpd/ntp_loopfilter.c: Use it.
* ntpd/ntp_request.c: Likewise.
* ntpd/refclock_local.c: Likewise.
* util/ntptime.c: Likewise.
* include/l_stdlib.h: Include <netinet/in.h>, declare inet_ntoa if
necessary.
Moved syscall() declaration here.
* kernel/sys/parsestreams.h: Include <sys/termios.h> for it's
definition of struct ppsclockev.
Include <sys/ppsclock.h> unconditionally for definition of
CIOGETEV via TIOCGPPSEV.
* kernel/sys/ppsclock.h: Protect struct ppsclockev from
redefinition.
* include/ntp_refclock.h: Protect it from multiple inclusion.
* include/ntp_fp.h: Likewise.
* include/ntp.h: Likewise.
* include/ntpd.h: Include ntp_refclock.h for MAXDIAL declaration.
* libntp/authkeys.c: Include ntpd.h for current_time declaration.
* include/ntpd.h (getauthkeys, auth_agekeys, rereadkeys): Moved
prototypes to ntp_stdlib.h
* include/ntp_stdlib.h: Declare variables exported by libntp.
* include/ntpd.h: Likewise for ntpd.
* libntp/authkeys.c (key_hash, authnokey, authfreekeys,
cache_flags): Made static.
* libntp/systime.c (tvu_maxslew, tsf_maxslew, sys_clock_offset,
sys_residual): Likewise.
* ntpd/ntp_intres.c (confentries): Likewise.
* ntpd/ntp_loopfilter.c (clock_offset, clock_panic): Likewise.
(pll_nano): Likewise. Removed duplicate definition.
* ntpd/ntp_peer.c (peer_free, current_association_ID,
assocpeer_calls, init_peer_starttime): Likewise.
* ntpd/ntp_proto.c (sys_offset, sys_authdly): Likewise.
* ntpd/ntp_request.c (numrequests, numresppkts, errorcounter):
Likewise.
* ntpd/ntp_restrict.c (res_calls, res_found, res_not_found,
res_timereset, res_limited_refcnt): Likewise.
* ntpd/ntpd.c (was_alarmed, worker_thread): Likewise.
* ntpq/ntpq_ops.c: Moved declaration of external variable from
ntpq.c to file scope.
* adjtimed/adjtimed.c: Moved declarations of external variables to
ntpd.h and ntp_stdlib.h.
* clockstuff/propdelay.c: Likewise.
* libntp/a_md5encrypt.c, libntp/authencrypt.c, libntp/authkeys.c,
libntp/mfp_mul.c, libntp/msyslog.c, libntp/systime.c: Likewise.
* ntpd/ntp_config.c, ntpd/ntp_control.c, ntpd/ntp_filegen.c,
ntpd/ntp_intres.c, ntpd/ntp_io.c, ntpd/ntp_loopfilter.c,
ntpd/ntp_monitor.c, ntpd/ntp_peer.c, ntpd/ntp_proto.c,
ntpd/ntp_refclock.c, ntpd/ntp_request.c, ntpd/ntp_restrict.c,
ntpd/ntp_timer.c, ntpd/ntp_util.c, ntpd/ntpd.c,
ntpd/refclock_acts.c, ntpd/refclock_arbiter.c, ntpd/refclock_arc.c,
ntpd/refclock_as2201.c, ntpd/refclock_atom.c,
ntpd/refclock_bancomm.c, ntpd/refclock_chronolog.c,
ntpd/refclock_chu.c, ntpd/refclock_datum.c,
ntpd/refclock_dumbclock.c, ntpd/refclock_gpsvme.c,
ntpd/refclock_heath.c, ntpd/refclock_hpgps.c, ntpd/refclock_irig.c,
ntpd/refclock_jupiter.c, ntpd/refclock_leitch.c,
ntpd/refclock_local.c, ntpd/refclock_msfees.c,
ntpd/refclock_mx4200.c, ntpd/refclock_nmea.c,
ntpd/refclock_oncore.c, ntpd/refclock_palisade.h,
ntpd/refclock_parse.c, ntpd/refclock_pst.c, ntpd/refclock_shm.c,
ntpd/refclock_tpro.c, ntpd/refclock_trak.c, ntpd/refclock_true.c,
ntpd/refclock_usno.c, ntpd/refclock_wwvb.c: Likewise.
* ntpdate/ntpdate.c: Likewise.
* ntpdc/ntpdc.c, ntpdc/ntpdc_ops.c: Likewise.
* ntpq/ntpq.c: Likewise.
* ntptrace/ntptrace.c: Likewise.
* util/ntptime.c, til/tickadj.c: Likewise.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* include/ntp_machine.h: Removed superfluous yy/mm/dd comments.
* include/ntpd.h: Likewise.
* libntp/authencrypt.c: Likewise.
* libntp/a_md5encrypt.c: Likewise.
* libntp/caljulian.c: Likewise.
* libntp/ymd2yd.c: Likewise.
* libntp/syssignal.c: Likewise.
* libntp/ymd2yd.c: Likewise.
* ntpd/ntp_control.c: Likewise.
* ntpd/ntp_io.c: Likewise.
* ntpd/ntp_timer.c: Likewise.
* ntpdate/ntpdate.c: Likewise.
* ntpq/ntpq_ops.c: Likewise.
* ntpd/ntp_peer.c (findpeer): Wrap debug output in DEBUG/debug.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* dot.emacs: Removed wrong indentation of substatements.
Wrap in c-style.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpd/refclock_palisade.c: Patches from Marc Brett
* ntpd/refclock_palisade.h: Ditto.
* util/hist.c: Ditto.
Tue Jun 1 00:40:04 1999 Harlan Stenn <stenn@pogo.udel.edu>
* build: mips-dec-ultrix4.4 hates "set -e"
* flock-build: Created
* build: added -l option
Mon May 31 20:28:40 1999 Harlan Stenn <stenn@pogo.udel.edu>
* README: Removed auto{make,conf}.patch files
Tue May 25 01:20:53 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* Makefile.am ($(srcdir)/COPYRIGHT): Added
(EXTRA_DIST): Remove auto*.patches
Thu May 20 01:03:00 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* Makefile.am (dist-hook): Call dos2unix on the .htm files
* ntpd/refclock_palisade.h: Clean up declarations.
* configure.in (ac_cv_struct_ntptimeval_timespec): Added.
(ac_cv_make_ntptime): Only if ntptimeval does not use timespec.
* util/tickadj.c: Linux Patches
From: Reg Clemens <reg@dwf.com>
Wed May 19 01:18:24 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.93a
* ntpd/refclock_palisade.h: Restore some lost patches
From: Kamal A Mostafa <kamal@whence.com>
Sun May 16 13:18:32 1999 Philippe De Muyter <phdm@macqel.be>
* libparse/clk_wharton.c (cvt_wharton_400a, inp_wharton_400a): Expect
serial output format number 1, not 5.
(clock_wharton_400a) : Likewise.
* ntpd/refclock_parse.c (parse_clockinfo): For Wharton 400a clock,
do not poll, but expect a message every second.
* html/parsedata.htm : Entry added for Wharton 400a clock.
* html/driver8.htm : Entry fixed for Wharton 400a clock.
Sun May 16 02:59:46 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.93
Sat May 15 18:53:47 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ntp_refclock): ONCORE requires PPSAPI, CIOGETEV,
or TIOCGPPSEV.
Reported by: Reg Clemens <reg@dwf.com>
Fri May 14 23:58:35 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92h2
* configure.in (ac_cv_make_ntptime): Not under Linux. Yes, it
works for some people. We're tired of the complaints from the
others.
Fri May 14 18:58:59 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* libntp/authreadkeys.c (authreadkeys): Reject autokey keys.
Include ntp.h for NTP_MAXKEY definition, ntp_fp.h for types used
in ntp.h.
Wed May 12 23:02:22 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* libntp/authkeys.c (auth_delkeys): Don't remove autokey keys,
leave info on KEY_TRUSTED flag alone.
Include ntp.h for NTP_MAXKEY definition.
Thu May 13 02:19:02 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92h1
* configure.in: patch for ReliantUNIX
From: Andrej Borsenkow <borsenkow.msk@sni.de>
* ntpd/refclock_oncore.c: Patches
From: Reg Clemens <reg@dwf.com>
Thu Apr 29 14:01:04 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* html/*.htm: Remove unnecessary &nbsp;. Cleanup <pre></pre>
sections.
* configure.in: Properly align configure --help output.
* html/config.htm: Include this version, removing Netscape &nbsp;
cruft.
Wed Apr 28 15:08:55 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* kernel/sys/parsestreams.h: Only include <sys/ppsclock.h> if
struct ppsclockev is missing from system headers.
* util/tickadj.c (getoffsets): Define kernels[] only if used.
(openfile): Rename fd to avoid shadowing global fd.
(writevar): Likewise.
(readvar): Likewise.
* parseutil/dcfd.c (read_drift): drift_file is const char *.
(update_drift): Likewise.
(adjust_clock): Likewise.
(main): Likewise.
* ntpd/refclock_parse.c (gps16x_poll): Adapt format to match
parse->localstate type.
* ntpd/ntp_refclock.c (refclock_gtlin): Only define gotit label
if used.
* include/l_stdlib.h (openlog, syslog): char * args are const.
* configure.in (*-*-osf4*): Enable declaration of stime().
* ntpd/refclock_oncore.c (oncore_msg_any): Cast args to long to
match prototype.
(oncore_msg_En): Likewise.
* include/ntp_refclock.h (struct refclockstat): Declare p_lastcode
as const char *.
* ntpq/ntpq_ops.c (struct varlist): Define name as const.
* ntpdc/ntpdc.c (tokenize): Define cp as const char *, remove
wrong cast instead.
* ntpd/ntp_util.c (record_clock_stats): Make text arg const.
* include/ntpd.h (record_clock_stats): Adapt declaration.
* ntpd/refclock_oncore.c (oncore_start): Removed superfluous casts.
(oncore_msg_Cf): Likewise.
(oncore_msg_Fa): Likewise.
(oncore_msg_Cj): Likewise.
(oncore_msg_Ea): Likewise.
(oncore_msg_Bj): Likewise.
* configure.in (*-*-solaris2.4): Enable declarations of
gettimeofday(), settimeofday(); they are `protected' by
__cplusplus in <sys/time.h>.
Tue Apr 27 21:14:47 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* scripts/summary.pl: Use . as default statsdir.
(do_loop): Accept new loopstats format with additional sys_error
and clock_stability fields.
(do_peer): Accept new peerstats format with additional skew field.
Mon Apr 26 01:50:38 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* Upgraded automake (1.4a) and autoconf (2.14.1)
* configure.in (ac_refclock_irig): We no longer need stropts.h.
* ntpd/refclock_irig.c: Ditto
Mon Apr 26 17:33:33 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in (*-*-irix6*): Don't pass MIPSpro cc-only flag -n32
to gcc.
Thu Apr 22 15:06:40 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpd/ntp_config.c (getconfig): IN_CLASSD() expects address in
host byte order, but struct sockaddr_in.s_addr is in network byte
order.
* ntpd/ntp_io.c (io_multicast_del): Likewise.
Sat Apr 24 01:00:53 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92h
* ntptrace/ntptrace.c: -m maxhost patch
From: "R. Gary Cutbill" <rgary@chrysalis.com>
* util/ntptime.c: Patches.
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
* html/accopt.htm, html/assoc.htm, html/authopt.htm,
html/biblio.htm, html/build.htm, html/clockopt.htm,
html/confopt.htm, html/copyright.htm, html/debug.htm,
html/exec.htm, html/extern.htm, html/hints.htm, html/index.htm,
html/kern.htm, html/miscopt.htm, html/monopt.htm, html/notes.htm,
html/ntpd.htm, html/ntpdate.htm, html/ntpdc.htm, html/ntpq.htm,
html/ntptime.htm, html/ntptrace.htm, html/patches.htm,
html/porting.htm, html/pps.htm, html/rdebug.htm,
html/refclock.htm, html/release.htm, html/tickadj.htm,
html/hints/solaris.html: Fixed many typos and problems.
* acconfig.h (DECL_CFSETISPEED_0, DECL_MRAND48_0, DECL_NLIST_0,
DECL_SRAND48_0, DECL_STIME_0): New templates.
* include/l_stdlib.h: Include termios.h to get definition of
speed_t.
(cfsetispeed, cfsetospeed, mrand48, nlist, srand48, stime): New
declarations.
(openlog): Declare 2- or 3-argument form.
* configure.in: Enable declarations of functions missing from
Ultrix V4.3 system headers.
* ntpd/refclock_oncore.c: Include <sys/types.h>, Ultrix V4.3
<sys/stat.h> needs it for dev_t.
From: Rainer Orth <ro@techfak.uni-bielefeld.de>
* ntpdc/ntpdc_ops.c: Reality checks.
* configure.in: netbsd has stubs for the timer_* stuff and doesn't
support PPSAPI. IRIG requires <stropts.h> .
From: Frederick Bruckman <fb@enteract.com>
* ntpdc/ntpdc_ops.c: (kerninfo) Report in seconds regardless of
kernel precision. Report kernel flags as text.
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
Sun Apr 18 14:26:51 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92g
* ntpd/ntp_refclock.c (refclock_ioctl): We don't want
PPS_HARDPPSONASSERT by default.
* ntpd/refclock_oncore.c: Prefer timepps.h over sys/timepps.h
From: Poul-Henning Kamp <phk@freebsd.org>
Tue Apr 13 17:32:35 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92f
* ntpd/ntp_refclock.c (refclock_open): VMIN should be 1, not 0
From: Reg Clemens <reg@dwf.com>
Sun Apr 11 18:26:44 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_mx4200.c: Patches/improvements
* ntpd/ntpd.c (set_process_priority): Lint
From: Marc.Brett@westgeo.com
* util/ntptime.c: Lint, bit definition cleanup
From: Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
Wed Apr 7 03:02:23 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c: Use timepps.h or sys/timepps.h
* configure.in: Look for either timepps.h or sys/timepps.h
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
* ntpd/ntp_io.c (create_sockets): Don't warn about ENXIO.
(Several places)
From: Andrej Borsenkow <borsenkow.msk@sni.de>
* libntp/mfp_mul.c (mfp_mul): Lint.
Marc.Brett@westgeo.com
Sun Apr 4 03:23:53 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92e
Dave redesigned the clock state machine.
1999-02-28 Frank Kardel <kardel@acm.org>
* parseutil/dcfd.c: added DCF77 module powersetup
* ntpd/refclock_parse.c (parse_control): using gmprettydate instead of prettydate()
(mk_utcinfo): new function for formatting GPS derived UTC information
(gps16x_message): changed to use mk_utcinfo()
(trimbletsip_message): changed to use mk_utcinfo()
ignoring position information in unsynchronized mode
(parse_start): augument linux support for optional ASYNC_LOW_LATENCY
* ntpd/ntp_control.c (ctl_putclock): cleanup of end of buffer handling
* libparse/parse.c (timepacket): removed unnecessary code
* libparse/clk_trimtsip.c (struct trimble): new member t_utcknown
(cvt_trimtsip): fixed status monitoring, bad receiver states are
now recognized
* libntp/prettydate.c (gmprettydate): new function for format date
and time with respect to UTC
* libntp/gpstolfp.c (GPSWRAP): update GPS rollover to 990 weeks
* include/trimble.h (CMD_RUTCPARAM): control variable name unification
* include/ntp_fp.h: added prototype for gmprettydate()
Sat Feb 27 00:03:16 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/systime.c: definition
* ntpd/ntp_proto.c: sco5_oldclock declaration
* configure.in: SCO5_CLOCK for *-*-sco3.2v5*
* util/tickadj.c (main): SCO5_OLDCLOCK -> SCO5_CLOCK
From: Kees Hendrikse <kees@echelon.nl>
* ntpd/ntp_config.c (getconfig): Indentation cleanup
Deal with 'P' case better
* ntpd/ntpd.c: Declare set_process_priority()
* ntpd/refclock_dumbclock.c: Lint cleanup
From: Marc.Brett@westgeo.com
Wed Feb 24 10:22:51 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92d
* configure.in: Dave says we can't enable PARSE clocks by default.
Also, Solaris 2.7 still has its kernel bug - disable kernel FLL
there.
Reported by: Dave Mills <dlm@udel.edu>
Tue Feb 23 23:37:44 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* libparse/Makefile.am (parsesolaris.o): Devious hack to deal
with bug in sys/systm.h .
Suggested by: Chaim Frenkel <chaimf@pobox.com>
Tue Feb 23 20:46:31 1999 Frank Kardel <kardel@acm.org>
* ntpd/refclock_parse.c: fixed #endifs
(stream_receive): fixed formats
Mon Feb 22 00:35:06 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92c
* ntpd/refclock_chronolog.c: Lint
* ntpd/refclock_dumbclock.c: Ditto
* ntpd/refclock_oncore.c: Ditto
From: Marc.Brett@westgeo.com
* ntpd/refclock_oncore.c (oncore_msg_any): Call GETTIMEOFDAY, not
gettimeofday().
From: david.higgins@mail.ccur.com
* configure.in (MCAST): Not in i386-sequent-sysv4
Reported by: Joseph Geter <joe.geter@somills.com>
* util/ntptime.c: Linux cleanup.
From: Reg Clemens <reg@dwf.com>
* configure.in: Rename SCO5_OLDCLOCK to SCO5_CLOCK
* acconfig.h: Ditto
* ntpd/ntp_proto.c: SCO5_CLOCK stuff
(init_proto): Use the SCO5_CLOCK stuff
* libntp/systime.c: SCO5_CLOCK stuff
(get_systime): Use the SCO5_CLOCK stuff
(adj_systime): Use the SCO5_CLOCK stuff
From: Kees Hendrikse <kees@echelon.nl>
* ntpd/ntp_config.c: Added -P option and associated baggage.
(getstartup): Update help text
(getconfig): Process -P option
(getconfig): Update help text
* ntpd/ntpd.c (set_process_priority): Created.
(service_main): remove process priority stuff - we want to do at
after we start up the resolver, so call set_process_priority()
after getconfig().
From: Kamal A Mostafa <kamal@whence.com>
1999-02-21 Frank Kardel <kardel@acm.org>
* ntpd/ntp_util.c (hourly_stats): removed unused variable
* libntp/ieee754io.c: renamed index to fieldindex to avoid index() name clash
* ntpd/refclock_parse.c (parse_start): add initialization for Linux PPSkit
Sun Feb 21 17:53:33 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_io.c (create_sockets): Skip interfaces that are really
just aliases.
From: "Erik R. Leo" <erikl@sover.net>
* configure.in: 4.0.92b
* ntpd/ntpd.c (service_main): Check for an error return from
sched_get_priority_max().
Wed Feb 17 03:48:47 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92a
* configure.in: configure.in requires autoconf 2.13 or later.
Reported by Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
Wed Feb 17 00:12:11 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* acconfig.h: TERMIOS_NEEDS__SVID3
* configure.in: Ditto
* ntpd/refclock_palisade.h: Ditto
* include/ntp_refclock.h: Ditto
* ntpd/ntpd.c (service_main): We want sched_get_priority_max().
From: Kamal A Mostafa <kamal@whence.com>
* ntpd/ntp_refclock.c (refclock_open): Zero the entire c_cc[] array.
From: Reg Clemens <reg@dwf.com>
Tue Feb 16 23:37:49 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* Updated ansi2knr
Reported by: Marc Brett
Mon Feb 15 02:55:28 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92
* ntpd/ntp_refclock.c: Added refclock_chronolog and
refclock_dumbclock.
From: Robert McMillin <rlm@syseca-us.com>
Sun Feb 14 15:57:53 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* dropped SCO3 support #defines.
* changed SCO5_TICKADJ #define to SCO5_OLDCLOCK
* Added code in libntp/systime.c to accumulate changes until a whole
tick can be added or dropped. Adjusted gettimeofday() output
to include the contents of the accumulator.
* cleaned up util/tickadj.c; tickadj -As now does the right thing.
From: Kees Hendrikse <kees@echelon.nl>
* ntpq/ntpq.c: Rename delay() to auth_delay()
Reported by: Andrej Borsenkow <borsenkow.msk@sni.de>
* ntpd/refclock_palisade.h: Cleanup.
From: Marc.Brett@westgeo.com
* ntpd/ntp_refclock.c (refclock_ioctl): Typo.
From: Reg Clemens <reg@dwf.com>
* ntpd/ntp_io.c (create_sockets): Only bind a given network once.
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
Sat Jan 30 11:48:37 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.91f
Thu Jan 28 22:58:40 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_parse.c (CLK_REALTYPE): We really want ttl, not hmode.
* ntpd/ntp_config.c (getconfig): "mode" really should update the
ttl member, not the hmode member.
* ntpd/refclock_local.c: More offset cleanup from Dave.
Thu Jan 28 00:15:20 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.91e
* ntpd/refclock_local.c: Bugfix.
From: Dave Mills
* ntpd/refclock_palisade.c: Lint/IRIX portability cleanup
* ntpd/refclock_palisade.h: Re-enable the declaration of float()
* ntpd/ntp_io.c (create_sockets): Initialize size to 0
From: Marc.Brett@westgeo.com
* ntpd/refclock_parse.c (CLK_REALTYPE): Use hmode, not ttl.
* configure.in (ac_cv_var_no_parenb_ignpar): Not under Linux.
Reported by: Thomas Quinot <thomas@Cuivre.FR.EU.ORG>
* ntpdc/ntpdc.c (my_delay): Renamed, from delay.
Reported by: Andrej Borsenkow <borsenkow.msk@sni.de>
Tue Jan 26 00:56:10 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.91d
* ntpq/ntpq.c: Y2K patches
From: Marc.Brett@westgeo.com
* html/driver29.htm: New version
* ntpd/refclock_palisade.c: Ditto
* ntpd/refclock_palisade.h: Ditto
From: Sven_Dietrich@Trimble.COM
* upgrade ansi2knr.c
* Some stuff that Dave did.
* configure.in: 4.0.91c
* ntpd/refclock_oncore.c: Prototype cleanup. Enum cleanup.
* ntpd/ntp_proto.c (clock_select): Fix memory leak.
* configure.in (ac_cv_struct_ppsclockev): Might need sys/time.h to
check for struct clockppsev. Return pce->serial, not 0;
From: Marc.Brett@westgeo.com
* ntpd/refclock_oncore.c (oncore_msg_En): Clean up.
From: John.Hay@mikom.csir.co.za
Mon Jan 25 11:50:29 1999 Philippe De Muyter <phdm@macqel.be>
* libparse/parse_conf.c (clockformats): Entry added for
clock_wharton_400a.
* libparse/clk_wharton.c: New file.
* libparse/Makefile.am (libparse_a_SOURCES): clk_wharton.c added;
(libparse_kernel_a_SOURCES): kclk_wharton.c added.
(kclk_wharton.o): New dependency rule.
* ntpd/refclock_parse.c (parse_clockinfo): Entry added for the
WHARTON clock (mode 15).
* acconfig.h (CLOCK_WHARTON_400A): New configuration macro.
* configure.in (CLOCK_WHARTON_400A): Macro defined like other
CLOCK_xxx macros.
Sun Jan 24 13:51:30 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_config.c (do_resolve_internal): Missing #ifdef DEBUG
From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
* Makefile.am (SUBDIRS): Lose authstuff
* configure.in: Ditto
Sat Jan 23 15:28:03 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.91b
Sat Jan 23 15:02:25 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c: use HAVE_STRUCT_PPSCLOCKEV
* acconfig.h: HAVE_STRUCT_PPSCLOCKEV
* configure.in (ac_cv_struct_ppsclockev): Added test
Thu Jan 21 15:35:25 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.91a
* ntpd/refclock_nmea.c (nmea_receive): Call refclock_process()
every second (or each time a nmea string is received).
From: John Hay <jhay@mikom.csir.co.za>
* ntpd/ntp_refclock.c (refclock_ioctl): Use TIOCPPS if we have it.
(refclock_ioctl): Use LDISC_CLKPPS, not LDISC_PPS when deciding
how to set str.
* ntpd/ntp_loopfilter.c: Lose unused ntp_gettime() stuff.
* ntpd/ntp_request.c: Ditto.
* ntpd/refclock_local.c: Ditto.
* ntpd/refclock_shm.c (shm_poll): Fix the refclock_process() call.
* ntpd/refclock_oncore.c: patches and cleanup
* configure.in: ioctl/PPS checks, ONCORE cleanup
* acconfig.h: ONCORE cleanup
From: Reg Clemens <reg@dwf.com>
* configure.in (CFLAGS): cc on Sequent wants -Wc,+abi-socket.
We also need to figure out why -lsocket isn't being detected;
-lsocket is needed.
From: Dana Kaempen <decay@flash.net>
* include/ntp_stdlib.h: AIX portability patches, header cleanup.
* ntptrace/ntptrace.c: Ditto.
* ntpdate/ntpdate.c: Ditto.
* ntpd/refclock_true.c: Ditto.
* ntpd/refclock_mx4200.c: Ditto.
* ntpd/refclock_jupiter.c: Ditto.
* libntp/msyslog.c: Ditto.
From: Marc.Brett@waii.com
Sun Jan 10 15:15:07 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.91
Sat Jan 9 00:11:34 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp_stdlib.h: msyslog() is declared differently if we're
not __STDC__.
* include/ntp_types.h: It's HAVE_PROTOTYPES, not USE_PROTOTYPES.
* include/ntp_machine.h: Ditto.
Fri Jan 8 20:47:10 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Upgrade to autoconf-2.13
Do the prototypes check much earlier, as it might alter CFLAGS and
things which will affect other tests.
* ntpd/ntp_request.c (do_conf): The problem was with a template
for "version" on an IRIX C compiler...
From: Marc.Brett@waii.com
* libntp/authkeys.c: #include config.h first.
Reported by: brian.bumpass@funb.com
Thu Jan 7 00:24:35 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* util/tickadj.c (main): return() instead of exit().
* ntpd/ntp_request.c (do_conf): Disambiguate ||.
* ntpd/ntp_proto.c (clock_select): Initialize variables.
From: Marc.Brett@waii.com
* scripts/ntpver.in: Use PATH_SH
* configure.in (PATH_SH): Added.
Tue Jan 5 19:02:51 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90h
* html/driver30.htm: Updated.
* html/refclock.htm: Refer to driver30
* ntpd/refclock_oncore.c: Vastly improve and make less FreeBSD centric,
From: Poul-Henning Kamp <phk@critter.freebsd.dk> and
Reg.Clemens <reg@dwf.com>
* include/ntp.h: Portability/lint patches
* libntp/binio.c: Ditto.
* libntp/caljulian.c: Ditto.
* libntp/caltontp.c: Ditto.
* libntp/ieee754io.c: Ditto.
* libntp/md5c.c: Ditto.
* libntp/mfp_mul.c: Ditto.
* libntp/msyslog.c: Ditto.
* libntp/statestr.c: Ditto.
* libntp/systime.c: Ditto.
* libparse/clk_trimtsip.c: Ditto.
* libparse/data_mbg.c: Ditto.
* libparse/parse.c: Ditto.
* ntpd/ntp_control.c: Ditto.
* ntpd/ntp_filegen.c: Ditto.
* ntpd/ntp_intres.c: Ditto.
* ntpd/ntp_io.c: Ditto.
* ntpd/ntp_peer.c: Ditto.
* ntpd/ntp_proto.c: Ditto.
* ntpd/ntp_util.c: Ditto.
* ntpd/ntpd.c: Ditto.
* ntpd/refclock_arc.c: Ditto.
* ntpd/refclock_chu.c: Ditto.
* ntpd/refclock_datum.c: Ditto.
* ntpd/refclock_leitch.c: Ditto.
* ntpd/refclock_parse.c: Ditto.
* ntpd/refclock_usno.c: Ditto.
* ntpq/ntpq.c: Ditto.
* util/tickadj.c: Ditto.
From: Marc.Brett@waii.com
Mon Jan 4 00:56:55 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90g
* ntpd/ntp_config.c (getconfig): MODE was setting ttl, not hmode.
Reported by: Carsten Emde <ce@ceag.ch>
Fri Dec 4 01:01:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90f
* ntpd/refclock_mx4200.c: New version
From: Marc.Brett@waii.com
1998-12-02 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_config.c (do_resolve_internal): If fork fails, say why.
Reported by: Jeff_Dennison@admin.tc.faa.gov
* ntpd/ntpd.c (ntpdmain): fork() can return a -1. Someday we'll
report this condition...
1998-12-02 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90e
* ntpd/refclock_palisade.c: Reformat code so ansi2knr will work
* ntpd/refclock_palisade.h: Ditto
From: Marc.Brett@waii.com
Sun Nov 29 21:00:53 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90d
* configure.in (CFLAGS): Use "-O2 -g3 -n32" by default for Irix6.2
and later.
Reported by: Jack Bryans <jbryans@csulb.edu>
1998-11-29 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90c
* ntpd/refclock_oncore.c (oncore_msg_En): Convert to nano
From: John Hay <jhay@mikom.csir.co.za>
* include/ntp_request.h (RM_VN_MODE): Add version parameter, so
xntpdc will work across v3 and v4.
* ntpd/ntp_request.c: Track requested version
(req_ack): Use requested version in RM_VN_MODE
(more_pkt): Ditto
(flush_pkt): Ditto
(process_private): Get requested version
* ntpd/ntp_intres.c (request): Use default version
* ntpdc/ntpdc.c (sendrequest): Ditto
From: John Hay <jhay@mikom.csir.co.za>
Fri Nov 27 14:27:21 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_palisade.c: Lint cleanup
* ntpd/refclock_palisade.h: Ditto.
From: Marc Brett <mbrett@rgs0.london.waii.com>
Mon Nov 23 04:45:03 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90b
* New code and cleanup for the NT stuff
From: Carl Byington <carl@five-ten-sg.com>
Sat Nov 21 21:21:45 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90a
* libntp/systime.c (step_systime): net_set_tod calls clock_settime.
* libntp/machines.c (ntp_set_tod): Take a 2nd arg for NT.
* include/ntp_machine.h: ntp_set_tod() has 2 args always.
* ports/winnt/bldrel.bat: Typo.
From: Carl Byington <carl@five-ten-sg.com>
* ntpd/ntp_intres.c (findhostaddr): h_errno is a #define under AIX.
* configure.in: clock_settime is a stub in AIX4.
From: Perry Ross <pross@platinum.com>
* libntp/Makefile.am (EXTRA_DIST): Lose libntp.mak
* ntpd/Makefile.am (EXTRA_DIST): Ditto.
* ntpdate/Makefile.am (EXTRA_DIST): Ditto.
* ntpdc/Makefile.am (EXTRA_DIST): Ditto.
* ntpq/Makefile.am (EXTRA_DIST): Ditto.
From: Greg Schueman <schueman@ix.netcom.com>
Sat Nov 21 12:33:16 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90
Nano changes from Dave Mills.
Thu Nov 19 04:23:46 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp_machine.h: STREAM also needs HAVE_SYS_STREAM_H
Reported by: Ronald Cole <ronald@forte-intl.com>
Mon Nov 16 19:17:34 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73e14
* util/ntptime.c (main): Protect STA_NANO
* ntpd/refclock_oncore.c: General overhaul and simplifications.
The new manual clarifies a lot of fine points, and the driver has
been suitably simplified. Uses Site Survey if possible, otherwise
does it by hand. Should also work with non-UT models, as long as
they talk the Motorola Binary Protocol. The driver Doesn't (need
to) know where the author lives anymore.
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
* ntpd/refclock_palisade.h: New version.
* ntpd/refclock_palisade.c: New version.
From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
Sat Oct 24 01:19:21 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73e13
* ntpdc/ntpdc_ops.c (clkbug): Patches
* ntpd/ntp_refclock.c (refclock_buginfo): Patches
From: Marc.Brett@waii.com
Sat Oct 10 20:13:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73e12
* ntpd/ntp_util.c (hourly_stats): Added prio_set stuff.
* ntpd/ntpd.c (ntpdmain): HAVE_SETPGRP_0 typo.
* parseutil/dcfd.c (detach): Ditto.
* ntpd/ntp_control.c (ctl_putpeer): Sometimes, peer->dstadr is
NIL.
From: Perry Ross <pross@platinum.com>
* ntpd/ntpd.c:
Some systems use sys/sched.h, not sched.h (Irix)
* configure.in (CFLAGS): nextstep needs -posix.
Reported by: Jack Bryans <jbryans@csulb.edu>
Sat Oct 3 02:32:46 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73e11
* configure.in (ac_refclock_palisade): Needs termios.
* libntp/mktime.c: Some systems need sys/types.h
* configure.in: Added AC_TYPE_SIZE_T and AC_CHECK_TYPE(time_t, long)
The time_t stuff should only be needed on Older machines, so the
fact that I'm using a long shouldn't be a problem (hollow laugh).
* include/l_stdlib.h: Sometimes we need to #include <sys/types.h>
* libntp/Makefile.am (../include/des.h): Typo.
Fri Oct 2 20:52:47 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_intres.c (request): Accept responses back thru V2.
Thu Oct 1 00:11:16 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73e9
* ntpd/ntpd.c (catch_danger): Added.
(ntpdmain): AIX SIGDANGER stuff
From: Lars-Owe Ivarsson <larsowe@paradisaea.its.uu.se>
* configure.in:
* include/ntp_machine.h:
* include/ntp_string.h:
* libntp/machines.c:
* libparse/clk_hopf6021.c:
* libparse/clk_trimtsip.c:
* ntpd/refclock_leitch.c:
* ntpd/refclock_palisade.c:
* ntpd/refclock_parse.c:
Here are some patches to suppress warnings from various compilers
(IRIX 5.3, MipsPro C 7.1 on IRIX 6.4, AIX 4.1) and loaders (IRIX
5.3, IRIX 6.4). Shouldn't affect functionality at all.
From: Marc Brett <mbrett@rgs0.london.waii.com>
(I got similar patches for AIX from Lars-Owe Ivarsson
<larsowe@paradisaea.its.uu.se>)
Thu Sep 24 21:33:50 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: '73e8
* configure.in: AIX4 stubs the POSIX timer_ stuff,
sched_setscheduler, and mlockall.
Reported by: Lars-Owe Ivarsson <larsowe@paradisaea.its.uu.se>
* configure.in: OpenBSD stubs the POSIX timer_ stuff.
Reported by: sidney august cammeresi iv <cammeres@uiuc.edu>
(and several other folks whose names I can't find at the moment)
Mon Sep 21 15:35:23 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: '73e7
* ntpd/refclock_parse.c: Missing declaration
From: Marc Brett <mbrett@rgs0.london.waii.com>
* include/README: Remove old MCAST descriptions
* include/Makefile.am (noinst_HEADERS): Lose sun-in.h .
Mon Sep 21 14:50:12 1998 Harlan Stenn <stenn@grundoon.udel.edu>
* ntpdate/ntpdate.c (timer): Properly format the definition.
Sun Sep 20 23:02:50 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: '73e6
* include/Makefile.am (noinst_HEADERS): Renamed in.h to sun-in.h
Fri Sep 18 01:05:55 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: '73e5
* ntpd/refclock_palisade.c: SCO patch
From: Kamal A Mostafa <kamalm@sco.com>
* libparse/clk_trimtsip.c (cvt_trimtsip): Fix rollover bug.
From: "Michael J. Tubby B.Sc. G8TIC" <Mike.Tubby@thorcom.co.uk>
* libntp/authencrypt.c:
* libntp/systime.c:
* ntpd/refclock_acts.c:
* ntpd/refclock_arbiter.c:
* ntpd/refclock_arc.c:
* ntpd/refclock_as2201.c:
* ntpd/refclock_atom.c:
* ntpd/refclock_chu.c:
* ntpd/refclock_conf.c:
* ntpd/refclock_datum.c:
* ntpd/refclock_heath.c:
* ntpd/refclock_hpgps.c:
* ntpd/refclock_irig.c:
* ntpd/refclock_leitch.c:
* ntpd/refclock_nmea.c:
* ntpd/refclock_palisade.c:
* ntpd/refclock_parse.c:
* ntpd/refclock_pst.c:
* ntpd/refclock_trak.c:
* ntpd/refclock_true.c:
* ntpd/refclock_usno.c:
* ntpd/refclock_wwvb.c:
Typos, cleanup, and bugfixes
From: Marc Brett <mbrett@rgs0.london.waii.com>
* ntpd/ntp_timer.c (timer): Typo.
* include/ntp_refclock.h: in refclockstat, clockdesc should be const.
* ntpd/ntp_io.c (create_sockets): Typo.
* ntpd/ntp_control.c (free_varlist): Use the appropriate cast when
calling free().
(set_var): Use char *td for non-const char data.
(ctl_getitem): Use char * for non-const data.
(Many of these reported by Marc Brett)
Sun Sep 13 19:19:09 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntpd.c: Added nofork declaration.
(ntpdmain): Initialize it...
* ntpd/ntp_config.c: added nofork.
Updated ntp_options.
(getstartup): Updated "usage" string. Deal with -n flag.
(getconfig): Ditto.
From: Jeffrey Hutzelman <jhutz@cs.cmu.edu>
* ntpd/ntp_io.c (open_socket): Use ntoa() to print out the address
when bind() fails. (in 2 places)
Reported by: "Markus W. Fehr" <mfehr@ch.ibm.com>
Only soft-fail if an interface is unavailable.
(create_sockets): Don't SO_REUSEADDR if the interface is unavailable.
From: "Markus W. Fehr" <mfehr@ch.ibm.com>
* configure.in: If we --disable-all-clocks, then don't enable
parse clocks by default.
Reported by: Marion Hakanson <hakanson@cse.ogi.edu>
Sat Aug 22 23:58:14 1998 Frank Kardel <kardel@acm.org>
* ntpd/refclock_parse.c (local_input): fixed IO handling for non-STREAM IO
Sun Aug 16 20:13:32 1998 Frank Kardel <kardel@acm.org>
* libntp/ieee754io.c: debug information only compile for LIBDEBUG case
* ntpd/refclock_parse.c (gps16x_message): reduced UTC parameter information (dropped A0,A1)
made uval a local variable (killed one of the last globals)
(sendetx): added logging of messages when in debug mode
(trimble_check): added periodic checks to facilitate re-initialization
(trimbletsip_init): made use of EOL character if in non-kernel operation
(trimbletsip_message): extended message interpretation
(getdbl): fixed data conversion
* libparse/parse_conf.c (clockformats): Trimble TSIP driver now also
available for kernel operation
* libparse/info_trimble.c: re-generated
* libparse/clk_trimtsip.c (cvt_trimtsip): initial kernel capable version (no more floats)
(clock_trimtsip =): new format name
* libparse/clk_trimtaip.c (clock_trimtaip =): changed format name
* include/trimble.h (CMD_RSTATTRACK): renamed mode 6 variable name
* scripts/monitoring/ntploopwatch: moved emacs mode selector
Mon Aug 10 15:32:48 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_acts.c: Patch cleanup
* ntpd/ntp_refclock.c: Patch cleanup
* ntpd/ntp_timer.c: Patch cleanup
From: qli@huey.udel.edu
Wed Jul 29 15:23:21 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/machines.c: IRIX needs time.h
Reported by: Judith E Bush <jbush@fi.edu>
* ntpd/ntpd.c (service_main): Better AIX PROCLOCK fix.
From: Matt Ladendorf <matt.ladendorf@anheuser-busch.com> and
Grover Davidson <Grover.Davidson@anheuser-busch.com>
Wed Jul 29 01:36:48 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntpd.h (MAXINTERFACES): Moved here...
* ntpd/ntp_io.c: From here...
(create_sockets): Only deal with MAXINTERFACES.
(create_sockets): Only deal with specified interfaces.
* ntpd/ntp_config.c (CONFIG_LISTEN): Added
Added ifnum and listenaddrs[]
(getconfig): Added defn for "addr"
(getconfig): Initialize ifnum.
* ntpd/ntpd.c (service_main): call init_io after getconfig
From: Vebjorn Ljosa <ljosa@initio.no>
Wed Jul 29 00:42:28 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_palisade.c: Use NEED_HPUX9_TIOCM_STUFF
* acconfig.h (NEED_HPUX9_TIOCM_STUFF): Added.
* configure.in (REFCLOCK_PALISADE): Needs termio*.h
(NEED_HPUX9_TIOCM_STUFF): Added.
* ntpd/ntp_io.c (create_sockets): Use strchr instead of strstr.
* libntp/mktime.c: #include <sys/types.h>
* libntp/ieee754io.c: #include <sys/types.h>
Wed Jul 29 00:24:22 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_acts.c (ACTS_MAXPOLL): 14 -> 18.
Import current_nextdate
(acts_receive): Update peer->nextdate with current_nextdate
(acts_poll): Call acts_timeout() (debugging)
* ntpd/ntp_refclock.c: Export current_nextdate.
(refclock_transmit): Check peer->valid >= NTP_SHIFT - 2, not >.
(refclock_transmit): hpoll wiggles, update current_nextdate
* ntpd/ntp_timer.c: #include "ntp_refclock.h"
(MODE_MANUAL): Added.
(timer): MODE_MANUAL stuff
From: qli@huey.udel.edu
Tue Jul 28 23:23:15 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Check for inet_ntoa in -lbind .
* ntpd/ntpd.c: #undef PROCLOCK for AIX.
Mon Jul 20 01:06:24 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (AC_TYPE_SIZE_T): Added.
Sat Jul 11 09:38:30 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73e
* ports/winnt/: Replaced with new code (no SHM or PALISADE)
From: Greg Schueman <schueman@ix.netcom.com>
Fri Jul 10 12:12:59 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73d
* include/ntp_machine.h (HAVE_SRANDOM): VxWorks patches
(HAVE_RANDOM): Ditto.
(CALL): Ditto.
From: Casey Crellin <ccrellin@mweb.com>
* ntpd/refclock_parse.c (local_input): Typo.
Reported by: Tony Li <tony1@home.net>
Wed Jul 8 01:49:01 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73c
* PARSE patches from Frank Kardel
* libntp/machines.c (ntp_set_tod): Get it right.
Sun Jul 5 22:15:34 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73a
* kernel/sys/timex.h (MOD_CANSCALE): Add rest of patch to handle
scaling.
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
Wed Jun 10 21:16:01 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73
* ntpd/ntp_loopfilter.c (local_clock): MOD_CANSCALE patches, and
be careful with the integration if we're nearly perfect.
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
* util/tickadj.c (main): Typo fix...
From: Marion Hakanson <hakanson@cse.ogi.edu>
* ntpd/ntp_io.c (create_sockets): Attempt to ignore alias
interfaces.
From: Kenneth Maupin <maupin@easystreet.com>
* ntpd/ntp_refclock.c: PPS fixes
* ntpd/refclock_msfees.c (msfees_start): Portability fixes and
PPS/STREAM enhancements
From: John Hay <jhay@mikom.csir.co.za>
* ntpd/ntp_refclock.c (refclock_gtlin): Patch...
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
Sun Jun 28 18:43:30 1998 Frank Kardel <kardel@acm.org>
* libntp/buftvtots.c (buftvtots): using WORD_BIGENDIAN instead of XNTP_BIG_ENDIAN
* libparse/clk_trimtsip.c (getflt): fixed ENDIAN issue
(getdbl): fixed ENDIAN issue
(getint): use get_msb_short()
(cvt_trimtsip): use gpstolfp() for conversion
* libntp/Makefile.am (libntp_a_SOURCES): added gpstolfp.c source
* libntp/binio.c: added {get,put}_msb_{short,long}() functions
* include/ntp_fp.h: added gpstolfp() prototype
* include/binio.h: added binio MSB prototypes
Sat Jun 13 13:48:17 1998 Frank Kardel <kardel@acm.org>
* parseutil/testdcf.c: signed/unsigned
SYSV clock name clash fixed
* parseutil/dcfd.c: signed/unsigned
SYSV clock name clash fixed
year wrapping at 1998
ctype macros take ints as args
* ntptrace/ntptrace.c (decodeipaddr): ctype macros take ints as args
* ntpq/ntpq_ops.c (doprintpeers): signed/unsigned
* ntpq/ntpq.c: ctype macros take ints as args
signed/unsigned
* ntpdc/ntpdc.c: signed/unsigned
* ntpd/refclock_usno.c: signed/unsigned
* ntpd/refclock_true.c (true_send): signed/unsigned, name clashes
* ntpd/refclock_parse.c: signed/unsigned, name clashes
* ntpd/refclock_nmea.c (nmea_receive): ctype macros take ints as args
* ntpd/refclock_heath.c (heath_receive): prototypes (signed/unsigned issues)
* ntpd/refclock_arc.c: prototypes (signed/unsigned issues)
* ntpd/refclock_acts.c: prototypes (signed/unsigned issues)
* ntpd/ntpd.c: prototypes (signed/unsigned issues)
* ntpd/ntp_util.c (getauthkeys): prototypes (signed/unsigned issues)
fix SYSV clock name clash
* ntpd/ntp_request.c: prototypes (signed/unsigned issues)
fix SYSV clock name clash
* ntpd/ntp_io.c (input_handler): variable naming, signed/unsigned
* ntpd/ntp_intres.c (readconf): signed/unsigned issues
* ntpd/ntp_control.c: prototypes (signed/unsigned issues)
fix SYSV clock name clash
* ntpd/ntp_config.c: fix SYSV clock name clash
ctype macros take ints as args
* libparse/parsestreams.c: dirt (debug) removed
* libparse/parsesolaris.c: more prototypes
fix name clashes
allow for ansi2knr
* libparse/parse.c: bcopy/memcpy cleanup
fix SYSV clock name clash
* libparse/clk_trimtsip.c (cvt_trimtsip): fix SYSV clock name clash
* libparse/clk_trimtaip.c (cvt_trimtaip): fix SYSV clock name clash
* libparse/clk_schmid.c (cvt_schmid): fix SYSV clock name clash
* libparse/clk_rcc8000.c (cvt_rcc8000): fix SYSV clock name clash
* libparse/clk_rawdcf.c (cvt_rawdcf): fix SYSV clock name clash
* libparse/clk_hopf6021.c (cvt_hopf6021): fix SYSV clock name clash
* libparse/clk_dcf7000.c (cvt_dcf7000): fix SYSV clock name clash
* libparse/clk_computime.c: fix SYSV clock name clash
* libntp/octtoint.c (octtoint): ctype macros take ints as args
* libntp/mstolfp.c (mstolfp): ctype macros take ints as args
* libntp/hextolfp.c (hextolfp): ctype macros take ints as args
* libntp/hextoint.c (hextoint): ctype macros take ints as args
* libntp/decodenetnum.c (decodenetnum): ctype macros take ints as args
* libntp/atouint.c (atouint): ctype macros take ints as args
* libntp/atolfp.c (atolfp): ctype macros take ints as args
* libntp/atoint.c (atoint): ctype macros take ints as args
* kernel/sys/parsestreams.h: STREAM macro gone in favor of HAVE_SYS_STREAM_H
* include/parse.h: STREAM macro gone in favor of HAVE_SYS_STREAM_H
Fri Jun 12 11:08:53 1998 Frank Kardel <kardel@acm.org>
* ntpd/ntp_timer.c: prototype fixes (ansi2knr/knr compiler)
* ntpd/ntp_proto.c (make_keylist): type cast for e(!!!)malloc()
* libparse/Makefile.am: adjust for ansi2knr
* libntp/ieee754io.c: ansi2knr compatibility
* include/ntp_refclock.h: added pps_sample() extern declaration
added refclock_process_offset() extern declaration
* include/ntp.h: fixed function * prototypes
* ntpd/refclock_parse.c (bind): added input routine
(local_input): added input routine
* ntpd/ntp_io.c (input_handler): direct input processing for
refclocks to save input recv buffers
* include/ntp_refclock.h: added int io_input(struct recvbuf *)
pointer to allow direct processing of read refclock data in
order to save many bug recv buffers on single character input
(problem with "fast" machines)
* parse_conf.c: conditional compile macros fixed
* parse.c: conditional compile macros fixed
printf prototype
* clk_trimtaip.c: conditional compile macros fixed
printf prototype
* clk_schmid.c: conditional compile macros fixed
printf prototype
* clk_rcc8000.c: conditional compile macros fixed
printf prototype
* clk_hopf6021.c: conditional compile macros fixed
printf prototype
* clk_dcf7000.c: conditional compile macros fixed
printf prototype
* clk_computime.c: conditional compile macros fixed
printf prototype
Sat Jun 6 07:41:54 1998 Frank Kardel <kardel@acm.org>
* ntpd/refclock_palisade.c: fixed termio.h / termios.h inclusion
* include/ntp_refclock.h: made refclockproc/clockdesc const
* ntpd/ntp_control.c (ctl_putpeer): avoided ambigous 'else' (gcc)
* ntpd/refclock_parse.c (parse_start): added BURST mode initialisation
* scripts/stats/summary.sh (CLOCK): allow for Y2K log files
* libparse/clk_rawdcf.c: simplified condidional compile expression
Wed May 27 08:10:43 1998 Frank Kardel <kardel@acm.org>
* include/Makefile.am (noinst_HEADERS): added new header files
mbg_gps166.h binio.h ascii.h ieee754io.h
* ntpdc/ntpdc.c (sendrequest): fixed info_auth_keyid setting it
got accidentally trashed every other round
Mon May 25 22:55:07 1998 Frank Kardel <kardel@acm.org>
* configure.in: PARSE clocks are enabled by default whenever
possible (termio.h or termios.h present)
removed RAWDCF_SETDTR feature
* acconfig.h: removed RAWDCF_SETDTR option (now implicit by
compilation and run time configuration)
* ntpd/refclock_parse.c (rawdcf_init): offer a RAWDCF clock (type 14)
that attempts to set the DTR modem line for receiver power
* libparse/clk_meinberg.c (cvt_meinberg): support current standard
Meinberg data formats
Sun May 24 09:43:19 1998 Frank Kardel <kardel@acm.org>
* libparse/clk_rawdcf.c (pps_rawdcf): trigger pps on zero going
edge - that is simpler wiring (Rx->DCD).
* parseutil/testdcf.c (wday): const keyword
* parseutil/dcfd.c (cvt_rawdcf): sign issues and calling interfaces
* ntpq/ntpq.c (MAXVARLEN): adjusted internal buffer length for
variable values
* ntpd/refclock_parse.c: adjust to new io handling (fixed formats
only)
(mkreadable): don't include >"< in readable ASCII output (-> ntpq
parsing)
output debug messages to stdout instead of msyslog()
fixed version information string
* ntpd/refclock_atom.c (pps_sample): new auxiliary pps interface
* libparse/parsestreams.c (parserput): get event status consistent
with direct calls
(zs_xsisr): simulate CARRIER status to avoid unnecessary M_xHANGUP
events
* libparse/parsesolaris.c (parserput): get event status consistent
with direct calls
(zs_xsisr): simulate CARRIER status to avoid unnecessary M_xHANGUP
events
* libparse/parse.c: removed old input cruft
(parse_restart): new generic input help function
(parse_addchar): ditto
(parse_end): ditto
(pps_one): new generic pps help function
(pps_zero): ditto
* libparse/clk_trimtsip.c (clock_trimtsip =): new input handling
* libparse/clk_trimtaip.c (clock_trimtaip =): new input handling
(inp_trimtaip): new input handler
* libparse/clk_schmid.c (clock_schmid =): new input handling
(inp_schmid): new input handler
* libparse/clk_rcc8000.c (clock_rcc8000 =): new input handling
(inp_rcc8000): new input handler
* libparse/clk_rawdcf.c (clock_rawdcf =): new input handling
(snt_rawdcf): adjusted to new input handling
(inp_rawdcf): new input handler
* libparse/clk_meinberg.c (clock_meinberg): new input handling
(gps_input): new input handler
(mbg_input): new input handler
* libparse/clk_hopf6021.c (clock_hopf6021 =): new input handling
(inp_hopf6021): new input handler
* libparse/clk_dcf7000.c (clock_dcf7000 =): new input handling
(inp_dcf7000): new input handler
* libparse/clk_computime.c (clock_computime =): new input handling
(inp_computime): new input handler
* libparse/Makefile.am: link kernel module with libntp.a
* include/parse.h (struct parse): removed old data structure cruft
(new input model) new PARSE_INP* macros for input handling
removed old SYNC_* macros from old input model
(struct clockformat): removed old parse functions in favor of the
new input model
updated prototypes
* include/ntp_refclock.h: prototype for refclock_atom pps_sample()
interface
* acconfig.h: added PPS_SAMPLE define
* configure.in (LIBPARSE): added PPS_SAMPLE configuration
<refclock_atom aux interface>
* libntp/systime.c (adj_systime): debug output (> level 6) for
adjtime results
* libntp/mfp_mul.c (mfp_mul): controlled debug output
* libntp/ieee754io.c (get_byte): controlled debug output
(fetch_ieee754): ditto
(put_ieee754): ditto
Tue May 5 20:09:51 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: document DES is not usually present.
Wed Apr 29 22:00:22 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.72h
* authstuff/Makefile.am (check-local-rsn): check-local doesn't
work with RSAREF...
Reported by: "Auteria Wally Winzer Jr." <wally.winzer@champusa.com>
* libntp/machines.c: the settime() choices were ordered badly.
Reported by: Michael Joosten <joost@c-lab.de>
Sat Apr 25 00:35:53 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_var_no_parenb_ignpar): Undo the kernel PLL
block I just installed - Dave wants to control this via
KERNEL_FLL_BUG.
Fri Apr 24 20:35:57 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/Makefile.am (libntp_a_DEPENDENCIES): Set per libntp_a_LIBADD
* configure.in: Do a better job of blocking kernel PLL under
solaris2.6.
Fri Apr 24 00:41:12 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.72f
(ac_cv_struct_nlist_n_un): Don't look for ntp_adjtime or
ntp_gettime under solaris2.6.
* ntpd/ntp_proto.c (process_packet): Give verbose error messages
* include/global.h (PROTOTYPES): Drive via HAVE_PROTOTYPES.
Wed Apr 22 16:55:55 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_var_use_des): Added. 4.0.72e.
* libntp/Makefile.am (libntp_a_LIBADD): Added DESOBJS
Tue Apr 21 02:08:06 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_arc.c (arc_receive): Typo...
From: Sam Steingold <sds@usa.net>
Fri Apr 10 03:05:35 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_refclock_chu): AUDIO_CHU support. Disabled by
default, and currently only supported on SunOS and Solaris.
* acconfig.h: AUDIO_CHU
Wed Apr 8 19:53:53 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/Makefile.am (EXTRA_DIST): Added mktime.c
* configure.in: AC_REPLACE_FUNCS(mktime).
(--enable-dst-minutes=60): Added, for (missing) mktime().
* ntpd/refclock_heath.c (heath_receive): Use mktime() instead of
the old hack.
Tue Apr 7 21:15:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (LIBOBJS): Hack it before AC_OUTPUT to deal with
ANSI2KNR-filtering rules.
From: Jim Meyering <meyering@ascend.com>
Mon Apr 6 01:40:45 1998 Harlan Stenn <stenn@grundoon.udel.edu>
* libntp/strerror.c: ANSIfy strerror's definition.
Thu Mar 12 20:24:45 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/statestr.c: Only #include <config.h> if HAVE_CONFIG_H is
#define'd.
From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
Wed Mar 11 00:27:32 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Cygwin needs to check for the advapi32 library.
NT doesn't support a root user, so don't bother with getuid().
Also, don't bother with umask().
* ntpd/ntp_io.c: cygwin32 patches
* ntpd/ntp_proto.c: Ditto.
* ntpd/ntpd.c: Ditto.
* ntpd/ntp_timer.c: Ditto.
* ntpdate/ntpdate.c: Ditto.
* libntp/machines.c: Ditto.
* libntp/systime.c: Ditto.
* include/ntp_machine.h: Ditto.
* include/ntp_unixtime.h: Ditto.
From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
Tue Mar 10 22:26:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_make_tickadj): Added.
Now that tickadj is the only(?) utility that cares about tick and
tickadj, we don't need to have NOKMEM and no PRESET_* be fatal.
Sat Mar 7 02:57:17 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_loopfilter.c (local_clock): Patch STA_FLL check
From: Poul-Henning Kamp <phk@freebsd.org>
* various: Renamed ACTS to CLOCK_ACTS, ARBITER to CLOCK_ARBITER,
ARCRON_MSF to CLOCK_ARCRON_MSF, AS2201 to CLOCK_AS2201, BANC to
CLOCK_BANC, DATUM to CLOCK_DATUM, GPSVME to CLOCK_GPSVME, HEATH to
CLOCK_HEATH, HPGPS to CLOCK_HPGPS, IRIG to CLOCK_IRIG, JUPITER to
CLOCK_JUPITER, LEITCH to CLOCK_LEITCH, MSFEES to CLOCK_MSFEES,
MX4200 to CLOCK_MX4200, NMEA to CLOCK_NMEA, PALISADE to
CLOCK_PALISADE, PARSE to CLOCK_PARSE, PPS720 to CLOCK_PPS720, PST
to CLOCK_PST, PTBACTS to CLOCK_PTBACTS, SHM_CLOCK to CLOCK_SHM,
ONCORE to CLOCK_ONCORE, TPRO to CLOCK_TPRO, TRAK to CLOCK_TRAK,
TRUETIME to CLOCK_TRUETIME, USNO to CLOCK_USNO, WWVB to CLOCK_WWVB
* Makefile.am (ETAGS_ARGS): Added acconfig.h
* various: Renamed LOCAL_CLOCK to CLOCK_LOCAL.
* configure.in: First cut at *-pc-cygwin32 support
Requested by: Sven Dietrich <Sven_Dietrich@Trimble.COM>
* configure.in: gdt-surveying code is gone. Sigh.
Reported by: Poul-Henning Kamp <phk@critter.freebsd.dk>
Wed Mar 4 21:41:06 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* many places: Renamed ATOM to CLOCK_ATOM
Tue Mar 3 03:18:13 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_timer.c (timer): Only call refclock_transmit if
REFCLOCK is #define'd.
Reported by a bunch of folks.
Mon Mar 2 03:46:07 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ntp_refclock): Use CLOCK_CHU, which no longer
needs any special headers.
* ntpd/refclock_chu.c: Call it CLOCK_CHU
(chu_receive): Define it correctly.
* include/winnt/sys/time.h (gettimeofday): Prototypes are OK.
(settimeofday): Prototypes are OK.
From: JJEVNISEK@qgraph.com
* ntpq/ntpq_ops.c: varlist name and value aren't const.
* ntpdc/ntpdc_ops.c (fudge): The flags are u_val, not val.
* ntpdc/ntpdc.c: const cleanup, exit cleanup.
* ntpd/refclock_wwvb.c (wwvb_receive): Move the definition of tz
somewhere more normal.
* ntpd/ntp_request.c (do_trustkey): kp gets u_long data, not
u_int32 (but Harlan thinks this patch may be wrong).
* ntpd/ntp_refclock.c (refclock_process): clocktime needs
offset.l_ui, not offset.l_i .
* ntpd/ntp_control.c (set_var): t isn't const.
* libntp/a_md5encrypt.c (session_key): Cast 2nd arg to MD5auth_setkey.
* include/ntpd.h: ctl_var's text field isn't const.
* include/ntp_refclock.h: clockdesc isn't const.
From: Marc Brett <Marc.Brett@waii.com>
* ntpd/ntp_loopfilter.c (local_clock): Limit ntv.constant to
MAXTC, and log error returns from ntp_adjtime.
From: Juha Sarlin <juha@c3l.tyreso.se>
Mon Mar 2 03:05:23 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_var_kernel_fll_bug): KERNEL_FLL_BUG
* acconfig.h: KERNEL_FLL_BUG: added.
* ntpd/ntp_loopfilter.c (local_clock): Only avoid STA_FLL if
KERNEL_FLL_BUG is #define'd (Solaris2.6)
Sat Feb 21 00:45:10 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* automake-1.2d.patches: Added ansi2knr.o rules.
* ntpd/refclock_tpro.c: P() stuff
Fri Feb 20 20:10:20 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Improve the ${CC} -pipe test (cygwin-32's gcc -pipe
silently does nothing).
Reported by: Sven Dietrich <Sven_Dietrich@Trimble.COM>
Wed Feb 18 00:51:08 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.72 released.
* configure.in:AC_REPLACE_FUNCS(strerror), check for poll.h, and deal
with the --enable-JUPITER stuff.
* libntp/Makefile.am (libntp_a_LIBADD): Added (for strerror support).
* libntp/clocktypes.c: Added REFCLK_GPS_JUPITER.
* ntpdate/ntpdate.c: poll() support
* ntpd/Makefile.am: Add refclock_jupiter.c
* ntpd/refclock_conf.c: Added refclock_jupiter
* ntpd/refclock_mx4200.c (mx4200_pps): Bugfixes.
* include/ntp.h (REFCLK_GPS_JUPITER): Added, and bumped REFCLK_MAX.
From: Craig Leres <leres@ee.lbl.gov>
Mon Feb 16 21:02:42 1998 Harlan Stenn <stenn@grundoon.udel.edu>
* ntpd/ntp_proto.c: P()
Mon Feb 16 12:43:11 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp_types.h: Added P() prototyping hack back in.
* include/parse.h: Ditto.
* include/ntpd.h: Ditto.
* include/ntp_unixtime.h: Ditto.
* include/ntp_stdlib.h: Ditto.
* include/ntp_select.h: Ditto.
* include/ntp_refclock.h: Ditto.
* include/ntp_fp.h: Ditto.
* include/md5.h: Ditto.
* include/ntp_filegen.h: Ditto.
* include/ntp_calendar.h: Ditto.
* include/l_stdlib.h: Ditto.
* configure.in (ACTS): Sometimes, TIOCMBIS is in sys/ioctl.h
Reported by Kenneth Jaldehag <kenneth.jaldehag@sp.se>
* configure.in (HEATH): Ditto.
* configure.in (PTBACTS): Ditto.
* configure.in (USNO): Ditto.
Sat Feb 14 00:02:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_irig.c (irig_rf): Rename sincos[] to sin_cos[].
Fri Feb 13 22:22:08 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp.h (RANDPOLL): Use random or mrand48.
* ntpd/ntp_config.c (do_resolve_internal): Ditto.
* ntpd/ntp_peer.c (unpeer): Ditto.
* ntpd/ntp_proto.c (make_keylist): Ditto.
* ntpd/ntpd.c (xntpdmain): Use srandom or srand48.
* configure.in: Look for {s,}random() and [ms]rand48().
Wed Feb 11 22:50:24 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_restrict.c (hack_restrict): Renamed restrict()
* include/ntpd.h: Ditto
* ntpd/ntp_request.c (do_restrict): Ditto
* ntpd/ntp_config.c (getconfig):
* ntpd/ntp_io.c (create_sockets): Ditto.
1998-01-23 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_irig.c: Allow either <sun/audioio.h> or
<sys/audioio.h> . From Dave Mills.
* configure.in: Under SunOS, it's sun/audioio.h .
1998-01-22 Harlan Stenn <stenn@whimsy.udel.edu>
* html/driver6.html: Updated header file info
* html/irig.html: Ditto.
* configure.in: sys/bsd_audioirig.h replaced with sys/audioio.h
for new irig driver that Dave installed.
1998-01-08 Harlan Stenn <stenn@whimsy.udel.edu>
* Many places: Lose the P(()) prototype stuff
* util/tickadj.c (writevar): Make offset an off_t
(readvar): Ditto
(getoffsets): Make offsets off_t
* adjtimed/adjtimed.c (GetClockRate): Fix lseek arg 2.
(SetClockRate): Ditto
* Many things in many places from many people.
* configure.in: Added AC_TYPE_OFF_T
1997-11-26 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_palisade.c: ANSIfied.
Wed Sep 3 23:51:44 1997 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (AM_C_PROTOTYPES): Added.
* Makefile.am (AUTOMAKE_OPTIONS): Added ansi2knr.