xref: /freebsd/contrib/ntp/ChangeLog (revision daf1cffce2e07931f27c6c6998652e90df6ba87e)
12000-01-19  Harlan Stenn  <stenn@whimsy.udel.edu>
2
3	* configure.in: 4.0.99b
4
52000-01-18  Harlan Stenn  <stenn@whimsy.udel.edu>
6
7	* ntpd/refclock_chu.c: NCHAN is used with generic ICOM.
8
9	* ntpd/refclock_wwv.c: Use new auido stuff
10	* ntpd/refclock_irig.c: Use new audio stuff
11	* ntpd/refclock_chu.c: Use new audio stuff
12	* ntpd/ntp_proto.c: Clean up
13	* ntpd/ntp_loopfilter.c (local_clock): Clean up error message
14	* include/icom.h: Number of arguments changed
15	* libntp/Makefile.am (libntp_a_SOURCES): Added audio.c
16	* libntp/audio.c: New file
17	* include/Makefile.am (noinst_HEADERS): audio.h added
18	* include/audio.h: New file
19	From: Dave Mills <mills@udel.edu>
20
21	* scripts/freq_adj: Added.  FreeBSD frequency adjustment script.
22
23	* configure.in: Do a better job on my oncore_ok check for SCO.
24
252000-01-15  Harlan Stenn  <stenn@whimsy.udel.edu>
26
27	* configure.in: 4.0.99a
28
29	* scripts/ntpsweep: New version
30	* html/copyright.htm: Added Hans Lambermont
31	From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
32
332000-01-14  Harlan Stenn  <stenn@whimsy.udel.edu>
34
35	* ntpd/refclock_oncore.c (oncore_start): Only dance with the
36	pps_device if it's there.
37	From: reg@dwf.com
38
39	* configure.in: ONCORE is OK if ac_cv_hdr_def_tiocdcdtimestamp=yes
40
41	* build: Just overwrite the log file each time; sometimes NFS goes
42	a little goofy.
43
44	* ntpd/refclock_fg.c: Syntax/punctuation cleanup
45
462000-01-13  Harlan Stenn  <stenn@whimsy.udel.edu>
47
48	* scripts/ntpsweep: New version
49	From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
50
51	* ntpd/refclock_fg.c: New version
52	* html/driver37.htm: New version
53	From: Dmitry Smirnov <das@online.nsk.su>
54
552000-01-12  Harlan Stenn  <stenn@whimsy.udel.edu>
56
57	* README.des: Cleanup
58
592000-01-12  Harlan Stenn  <stenn@whimsy.udel.edu>
60
61	* configure.in: 4.0.99
62
63	* html/driver36.htm: Cleanup
64	* html/monopt.htm: Ditto
65	From: Dave Mills <mills@udel.edu>
66
67	* ntpd/ntp_intres.c (ntp_intres): Put "NTP_INTRES running" at a
68	higher debug level
69
702000-01-11  Harlan Stenn  <stenn@whimsy.udel.edu>
71
72	* ntpd/refclock_wwv.c: More improvements
73	From: Dave Mills <mills@udel.edu>
74
752000-01-10  Harlan Stenn  <stenn@whimsy.udel.edu>
76
77	* ntpd/refclock_wwv.c: Bugfixes/improvements
78	From: Dave Mills <mills@udel.edu>
79
80	* configure.in: Get the quoting right on the sys_errlist check.
81	From documentation by: Akim Demaille <akim@epita.fr>
82
832000-01-08  Harlan Stenn  <stenn@whimsy.udel.edu>
84
85	* configure.in: <netinet/ip.h> cannot be detected...
86	* ntpd/ntp_io.h: ...but every OS has it
87	* ntpd/refclock_oncore.c: Lint removal
88	* ntpq/ntpq_ops.c: Lint removal
89	* ntpq/refclock_chu.c: chu_major() is not an audio routine (?), lint
90	* libntp/icom.c: AIX doesn't have <sys/termios.h>
91	From: Marc.Brett@westgeo.com
92
93	* ntpd/refclock_chu.c: NetBSD needs sys/ioctl.h
94	(chu_debug): NetBSED-specific debug output.
95	From: Frederick Bruckman <fb@enteract.com>
96
972000-01-06  Harlan Stenn  <stenn@whimsy.udel.edu>
98
99	* configure.in: 4.0.98m
100	I skipped `l' - it looks like a `1'.
101
102	* html/driver7.htm: Doc update
103	* html/driver36.htm: Ditto
104	* html/audio.htm: Ditto
105
106	* ntpd/refclock_wwv.c: Dvae snuck another fix/change in on me.
107
108	* configure.in: 4.0.98k
109
110	* ntpd/refclock_chu.c (chu_start): Call icom_init with the speed
111	* ntpd/refclock_wwv.c (wwv_start): Ditto, plus other improvements.
112	* libntp/icom.c (icom_init): Add speed parameter
113	* include/icom.h: Update declaration
114	From: Dave Mills <mills@udel.edu>
115
116	* include/Makefile.am (noinst_HEADERS): Added icom.h
117	From: Frederick Bruckman <fb@enteract.com>
118
1192000-01-05  Harlan Stenn  <stenn@whimsy.udel.edu>
120
121	* configure.in: 4.0.98j
122
123	* ntpd/refclock_wwv.c (timecode): Make definition == declaration
124	(wwv_newchan): Ditto
125	(wwv_corr4): Dave fixed the declaration.
126
127	* flock-build: Add rackety to the flock - it runs SunOS 4.1.3/cc
128
129	* ntpd/refclock_wwv.c: Undo that declaration cleanup for now...
130
131	* ntpd/ntp_io.c (open_socket): TOS support
132	From: Marc.Brett@westgeo.com
133
1342000-01-04  Harlan Stenn  <stenn@whimsy.udel.edu>
135
136	* ntpd/refclock_wwv.c: Declaration cleanup
137	* ntpd/refclock_fg.c (fg_receive): Not all sprintf's are created
138	equal...
139	From: Marc.Brett@westgeo.com
140
141	* ntpd/refclock_wwv.c: Dave Cleaned and Improved things.
142	* ntpd/ntp_loopfilter.c (local_clock): Dave fixed something.
143
144	* ntpd/refclock_wwv.c: Rename max to p_max or s_max as appropriate
145	to avoid native SunOS compiler collision.
146	(wwv_epoch): Make declaration == definition
147	(wwv_rsec): Ditto
148	(wwv_newchan): Ditto
149	(wwv_qsy): Ditto
150	(timecode): Ditto
151
152	* ntpd/refclock_oncore.c (oncore_init_shmem): Use a cast to widen
153	mmap's NIL offset.
154
155	* ntpd/refclock_chu.c (chu_rf): Make declaration == definition.
156	Rename min/max to es_min/es_max to avoid native SunOS compiler
157	collision.
158	(chu_uart): Make declaration == definition.
159
160	* libntp/icom.c (sndpkt): Make declaration and definition equivalent.
161	(doublefreq): Ditto.
162
163	* ntpd/refclock_oncore.c (MAP_FAILED): Some systems do not #define
164	this.
165
166	* ntpd/refclock_wwv.c:
167	* ntpd/refclock_chu.c:
168	* libntp/icom.c:
169	* libntp/Makefile.am:
170	* include/icom.h:
171	* html/driver7.htm:
172	* html/driver36.htm:
173	Support for ICOM.  The WWV/H driver, by the way, is getting truly
174	awesome.  The CHU autotune function works okay as it is.  I'd like
175	to find somebody else to test the audio drivers just to make sure
176	I haven't done something stupid.  There is a new define ICOM
177	intended for the driver autotune function; however, I crafted the
178	thing in much the same way as the refclock_atom.c thing - it tries
179	to open /dev/icom and, if that fails, goes quietly to sleep.
180	From: Dave Mills <mills@udel.edu>
181
1822000-01-03  Harlan Stenn  <stenn@whimsy.udel.edu>
183
184	* ntpd/refclock_oncore.c (oncore_read_config): Patches and cleanup
185	From: Poul-Henning Kamp <phk@critter.freebsd.dk>
186	more isascii() stuff from HMS.
187
188	* ntpd/refclock_fg.c (fg_receive): Cast.
189	From: Tom Smith <smith@cag.lkg.dec.com>
190
191	* ntpd/map_vme.c (map_vme): tx.access_result indicates failure on
192	< 0, not <= 0.  A fix that apparently did not get brought over
193	from the ntp3 base.
194	From: Michael Barone <michael.barone@lmco.com>
195
196	* configure.in: Move the ONCORE_SHMEM_STATUS check and definition
197	here.
198
199	* ntpd/refclock_oncore.c (oncore_init_shmem): Some systems do not
200	have MAP_HASSEMAPHORE.
201
202	* ntpd/refclock_oncore.c: Drive ONCORE_SHMEM_STATUS based on
203	HAVE_SYS_MMAN_H .  If this needs finer checks, do it in
204	configure.in .
205	(oncore_read_config): Add the isascii() checks; older versions of
206	Unix don't guarantee correct behavior of is*() without it.
207
208	* ntpd/refclock_oncore.c: Add proof-of-concept support for
209	  delivering receiver data stream to other processes through
210	  a memory-mapped file.
211	  From: Poul-Henning Kamp <phk@FreeBSD.org>
212
2132000-01-02  Harlan Stenn  <stenn@whimsy.udel.edu>
214
215	* configure.in (ac_refclock_chu): Provide the CHU driver by
216	default, and by default prefer the AUDIO version.  We used to
217	limit this to SunOS or Solaris; now we drive by the availability
218	of the audioio header file.
219	Select the IRIG and WWV audio drivers the same way.
220
221	* flock-build: build ignores the -l flag; lose it.
222	(BUILD_ARGS): added.
223	* build: Remove unused -l stuff (LOG variable).
224
225	* ntpd/ntp_refclock.c: HAVE_PPSAPI header cleanup
226	From: Reg Clemens <reg@dwf.com>
227
2282000-01-01  Harlan Stenn  <stenn@whimsy.udel.edu>
229
230	* configure.in (CLOCK_WWV): Require <sys/audioio.h> or <sun/audioio.h>
231
2321999-12-29  Harlan Stenn  <stenn@whimsy.udel.edu>
233
234	* configure.in: 4.0.98i
235
236	* ntpd/refclock_gpsvme.c: Fixes
237	From: Michael Barone <michael.barone@lmco.com>
238	Patch severely hacked by HMS to "make it conform".  I hope I
239	didn't break anything.
240
241	* scripts/ntpsweep: Nifty utility
242	From: Hans.Lambermont@nl.origin-it.com
243
244	* ntpd/refclock_fg.c:
245	* ntpd/refclock_conf.c:
246	* ntpd/ntp_control.c:
247	* ntpd/Makefile.am:
248	* libntp/clocktypes.c:
249	* include/ntp.h:
250	* html/refclock.htm:
251	* html/driver37.htm:
252	* configure.in:
253	* acconfig.h:
254	Forum Graphic GPS clock support
255	From: Dmitry Smirnov <das@online.nsk.su>
256
257	* configure.in: Default to compile the IRIG, CHU and WWV/H
258	drivers and compile the CHU driver for audio, not modem.
259	Requested by Dave Mills.
260
261	* html/audio.htm:
262	* html/driver36.htm:
263	* html/qth.htm:
264	Dave wrote these to go along with the changes I checked in yesterday.
265
2661999-12-28  Harlan Stenn  <stenn@whimsy.udel.edu>
267
268	* ntpd/refclock_wwv.c:
269	* ntpd/refclock_conf.c:
270	* ntpd/refclock_chu.c:
271	* ntpd/ntp_refclock.c:
272	* ntpd/ntp_loopfilter.c:
273	* html/refclock.htm:
274	* html/pps.htm:
275	* html/index.htm:
276	* html/driver7.htm:
277	* html/driver6.htm:
278	* html/copyright.htm:
279
280	I indulged an old agenda to polish up some programs originally
281	written for a DSP evaluation board. The result is a really hot
282	audio driver for the NIST WWV/WWVH time/frequency station plus a
283	makeover for the CHU audio driver. Currently, they and their IRIG
284	audio driver buddy use the SunOS/Solaris audio interface, which is
285	clean and simple. I hook the line in jack to a shortwave radio and
286	these drivers (driver 7 for CHU and driver 36 for WWV) and the
287	drivers do the rest. The WWV/H driver is really hot - I am
288	currently watching the ionosphere move from the doppler that shows
289	up on the tick modulation tracked by the program. During midday
290	when the F2 layer settles down, the program closes in on a few
291	tens of microseconds of spare jitter and wander.  This watch on
292	whichever 15/20 MHz signal sounds the best. At night on 5/10 MHz
293	and even 2.5 HMz where the multipath, interference and noise are
294	much worse, the driver bangs around somewhat more.
295
296	The CHU driver makeover discovered a few broken bones after all
297	these years, but its majority decoder is back in business. For
298	various reasons to icky to reveal here, its 103-modem demodulator
299	is not quite as good as the chip, but it comes close and hey,
300	2025/2125 FSK is just not a good idea for HF radio. This driver is
301	not nearly as sophisitcated as the WWV/H driver, but here a few
302	hundred miles south of Ottawa, it does a passably good job.
303
304	I tell you this in the hopes of getting somebody interested in
305	porting the audio interface to other machines, in particular
306	Linux, FreeBSD and anything else with a sound card. When the
307	ionosphere stays cool, the WWV/H driver is as good as anything
308	else around here and with much less jitter than a serial port. The
309	only downside is all the audio drivers chew up a modest fraction
310	of cycles for the DSP routines - a few percent on the newer
311	silicon, up to half the cycles on an old Sparc IPC. Whattheheck,
312	these old machines aren't doing anything else around here except
313	serving time, and even when sucking cycles for DSP they still mind
314	the PPS microseconds.
315
316	The audio driver documentation had a makeover, too.
317	From: Dave Mills <mills@udel.edu>
318
3191999-12-20  Harlan Stenn  <stenn@whimsy.udel.edu>
320
321	* configure.in: 4.0.98h
322
3231999-12-19  Harlan Stenn  <stenn@whimsy.udel.edu>
324
325	* libntp/syssignal.c: Small cleanup to Marc's patch.
326
327	* ntpd/ntp_refclock.c:
328	* ntpd/refclock_atom.c: Header cleanup
329	* html/driver30.htm: Cleanup and improvements.
330	From: Reg Clemens <reg@dwf.com>
331
332	* ntpd/ntp_refclock.c:
333	* ntpd/refclock_jupiter.c:
334	* ntpd/refclock_msfees.c:
335	* ntpd/refclock_mx4200.c:
336	Portability (Solaris) patches
337	* ntpd/refclock_mx4200.c:
338	Self-survey improvements, cleanup for, PPS re-activation
339	* libntp/syssignal.c:
340 	Fix for "interrupted system call" (EINTR) failure of the PPS
341	ioctl(TIOCGPPSEV) call in Solaris.  Not sure why it was
342	interrupted, but this works around the failure.  Not sure if
343	the (now silent) interrupt affects the timing accuracy.
344		THERE IS A CHANCE THIS PART OF THE PATCH MAY ADVERSELY
345		AFFECT OTHER SYSTEMS!
346	* scripts/ntp-status: Added.
347	From: Marc.Brett@westgeo.com
348
349	* ntpdate/ntpdate.c: Deal with multiple addresses.
350	From: Jeffrey C Honig <jch@bsdi.com>
351
352	* ntpd/refclock_conf.c: Replaced macro SHM with CLOCK_SHM.
353	* ntpd/refclock_shm.c (shm_poll): Take clock time in UTC.
354		pp->day starts at 1, t->tm_yday starts at 0.
355	From: Jakob Stoklund Olesen <stoklund@taxidriver.dk>
356
3571999-12-16  Harlan Stenn  <stenn@whimsy.udel.edu>
358
359	* NEWS: Updated ONCORE instructions
360	From: Kamal A Mostafa <kamal@whence.com>
361
3621999-12-13  Harlan Stenn  <stenn@whimsy.udel.edu>
363
364	* configure.in: 4.0.98g
365
366	* ntpd/refclock_oncore.c: Cleanup and fixes
367	From: Reg Clemens <reg@dwf.com> and Kamal A Mostafa <kamal@whence.com>
368
3691999-12-11  Harlan Stenn  <stenn@whimsy.udel.edu>
370
371	* ntpd/refclock_wwv.c: Cleanup/checkin of the current state of affairs.
372	From: Dave Mills <mills@udel.edu>
373
374	* ntpd/refclock_oncore.c: #elif conversion.  I can only hope I did
375	it right.
376
377	* ntpd/refclock_oncore.c: Various patches
378	From: Reg Clemens <reg@dwf.com> and Kamal A Mostafa <kamal@whence.com>
379
3801999-12-09  Harlan Stenn  <stenn@whimsy.udel.edu>
381
382	* ntpd/ntp_proto.c (default_get_precision): Use the right arg type
383	to pass "sizeof freq" to sysctlbyname().
384	From: Ollivier Robert <roberto@eurocontrol.fr>
385
386	* ntpd/refclock_wwv.c: Cleanup and fixes.
387	From: Dave Mills <mills@udel.edu>
388
3891999-12-08  Harlan Stenn  <stenn@whimsy.udel.edu>
390
391	* ntpd/refclock_wwv.c: Cleanup and fixes
392	* ntpd/refclock_conf.c: WWV declaration cleanup.
393	From: Dave Mills <mills@udel.edu>
394
3951999-12-07  Harlan Stenn  <stenn@whimsy.udel.edu>
396
397	* libparse/clk_rawdcf.c (cvt_rawdcf): Buglet.
398	From: Frank Kardel <kardel@acm.org>
399
4001999-12-06  Harlan Stenn  <stenn@whimsy.udel.edu>
401
402	* ntpd/Makefile.am (ntpd_SOURCES): Added refclock_wwv.c
403
404	* ntpd/refclock_wwvb.c:
405	* ntpd/refclock_wwv.c:
406	* ntpd/refclock_conf.c:
407	* ntpd/refclock_chu.c:
408	* libntp/clocktypes.c:
409	* include/ntp.h: Dave cleaned some things up
410	Dave cleaned some things up (WWVB -> SPECTRACOM, CHU -> CHU_AUDIO,
411	WWV_AUDIO)
412
413	* acconfig.h: REFCLOCK_WWVB -> REFCLOCK_SPECTRACOM, added REFCLOCK_WWV
414	* configure.in: Deal with it.
415
4161999-12-05  Harlan Stenn  <stenn@whimsy.udel.edu>
417
418	* ntpd/ntp_refclock.c (refclock_open): More PPS cleanup
419	From: Dave Mills <mills@udel.edu>
420
421	* ntpq/ntpq.c:
422	* ntpq/ntpq_ops.c:
423	Make `ntpq -pn' independent of DNS, ad advertised.
424	From: Kamal A Mostafa <kamal@whence.com>
425
426	* ntpd/refclock_mx4200.c (mx4200_start): make missing 3rd
427	parameter a 0.
428
4291999-12-04  Harlan Stenn  <stenn@whimsy.udel.edu>
430
431	* ntpd/ntp_refclock.c (refclock_open): "flags" processing cleanup
432	(refclock_open): PPS device initialization cleanup
433	* include/ntp_refclock.h (LDISC_CHU):
434	(LDISC_PPS): Clean up comments
435	From: Dave Mills <mills@udel.edu>
436
4371999-12-03  Sven Dietrich <sven_dietrich@trimble.com>
438
439	* libntp/mexit.c: Moved WINNT port specific file to ports/winnt/libntp
440	* ports/winnt/libntp/libntp.dsp: Fix WinNT makefile for new source loc.
441
4421999-12-03  Harlan Stenn  <stenn@whimsy.udel.edu>
443
444	* libntp/Makefile.am (libntp_a_SOURCES): Lose mexit.c - Sven will
445	move it to the winnt port area.
446
4471999-12-03  Sven Dietrich <sven_dietrich@trimble.com>
448
449	* libntp/systime.c: Removed adjtime hack for WINNT
450	* ports/winnt/ntpd/nt_clockstuff.c: Winnt double precision adjtime
451	* ports/winnt/inlcude/clockstuff.h: Remove no longer needed externs
452
4531999-12-02  Harlan Stenn  <stenn@whimsy.udel.edu>
454
455	* libparse/Makefile.in: Manually hacked to remove the
456	libparse_kernel.a.[co] cruft
457
458	* libparse/Makefile.am (k*.o): Generate these form the Makefile,
459	not from separate .c files
460
461	* html/tickadj.htm:
462	* html/notes.htm:
463	* html/hints/solaris.html:
464	Point to the new dosynctodr report.
465
466	* html/hints/solaris.xtra.S99ntpd:
467	Update.  Should be rewritten to take advantage of the new -g
468	switch and perhaps a loop to wait until ntpd hits a reasonable
469	"state".
470
471	* html/hints/solaris-dosynctodr.html: New information
472	From: "John W. Sopko Jr." <sopko@cs.unc.edu>
473
4741999-12-01  Harlan Stenn  <stenn@whimsy.udel.edu>
475
476	* libntp/authkeys.c (auth_moremem): Clear memory allocated for sk.
477	From: Hugo Mildenberger <hugo.mildenberger@topmail.de>
478
4791999-12-01  Sven Dietrich <sven_dietrich@trimble.com>
480
481	* libntp/recvbuff.c: Unused functions cleanup
482	* ntpd/ntpd.c: ProcessorAffinity, IO cleanup
483	* ports/winnt/instsrv/instsrv.c: Service name changed to NTP
484
485	NT port shouldn;t hop between CPUs. Set affinity to first processor.
486	Service name was NetworkTimeProtocol. Too long. Now NTP.
487
4881999-12-01  Harlan Stenn  <stenn@whimsy.udel.edu>
489
490	* scripts/plot_summary.pl: Improved option parsing.  Fixed one
491	minor Perl compatibility error.
492	* scripts/summary.pl: Official revision for NTPv4: Parse new
493	statistic file formats correctly, provide error checking for bad
494	input files, and guard against negative arguments to sqrt()
495	because of numeric effects.  Use one pattern to select valid
496	statistic files.  Add selectable output directory
497	(``--output-directory'') and improved option parsing.  Directory
498	with statistic files (now settable also with
499	``--input-directory'') defaults to ``/var/log/ntp''.
500	From: Ulrich Windl  <Ulrich.Windl@rz.uni-regensburg.de>
501
502	* html/driver8.htm:
503	* libparse/clk_computime.c:
504	* libparse/clk_dcf7000.c:
505	* libparse/clk_hopf6021.c:
506	* libparse/clk_meinberg.c:
507	* libparse/clk_rawdcf.c:
508	* libparse/clk_rcc8000.c:
509	* libparse/clk_schmid.c:
510	* libparse/clk_trimtaip.c:
511	* libparse/clk_trimtsip.c:
512	* libparse/data_mbg.c:
513	* libparse/kclk_computime.c:
514	* libparse/kclk_dcf7000.c:
515	* libparse/kclk_hopf6021.c:
516	* libparse/kclk_meinberg.c:
517	* libparse/kclk_rawdcf.c:
518	* libparse/kclk_rcc8000.c:
519	* libparse/kclk_schmid.c:
520	* libparse/kclk_trimtaip.c:
521	* libparse/kclk_trimtsip.c:
522	* libparse/kparse.c:
523	* libparse/kparse_conf.c:
524	* libparse/parse.c:
525	* libparse/parse_conf.c:
526	* libparse/parsesolaris.c:
527	* libparse/parsestreams.c:
528	* ntpd/refclock_parse.c:
529	Mods and updates
530	From: Frank Kardel <kardel@acm.org>
531
532	* acconfig.h: PCF refclock
533	* configure.in:
534	* html/driver35.htm:
535	* html/refclock.htm:
536	* include/ntp.h:
537	* libntp/clocktypes.c:
538	* ntpd/Makefile.am:
539	* ntpd/ntp_control.c:
540	* ntpd/refclock_conf.c:
541	* ntpd/refclock_pcf.c:
542	From: Andreas Voegele <andreas.voegele@gmx.de>
543
544	* acconfig.h: DECL_STIME_1
545
546	* configure.in (iCFLAGS): Use -std1 for alpha*-dec-osf* if we are
547	using "cc".
548	Reported by: Tom Smith <smith@cag.lkg.dec.com>
549
5501999-11-30  Harlan Stenn  <stenn@whimsy.udel.edu>
551
552	* include/l_stdlib.h: DECL_SYSTIME_1 --- a long *
553	* configure.in: Use it for DEC OSF[45]
554	Reported by: Tom Smith <smith@cag.lkg.dec.com>
555
556	* ntpd/refclock_parse.c: Add missing declarations
557	* ntptrace/ntptrace.c: Ditto
558	* ntpd/ntp_proto.c: Ditto
559	* ntpd/refclock_palisade.c: Ditto
560	From: Jonathan Stone <jonathan@dsg.stanford.edu>
561
5621999-11-18  Sven Dietrich  <sven_dietrich@trimble.com>
563	* Win NT port updates
564	* ntpd.dsp: makefile only builds supported refclocks
565	* config.h: cleanup, undefine unsupported clock_atom
566	* win32_io, clock_NMEA: foundation for future refclock support
567	* recvbuff, transmitbuff, IOcompletionport: streamline packet handler
568	* html/hints/winnt.htm: Added up-to-date html docs for WINNT
569
5701999-11-17  Harlan Stenn  <stenn@whimsy.udel.edu>
571
572	* html/copyright.htm: Credit Jack for his work.
573
574	* html/pic/*: Save a *ton* of space on the pictures.
575	From: Jack Sasportas <jack@innovativeinternet.com>
576
5771999-11-16  Harlan Stenn  <stenn@whimsy.udel.edu>
578
579	* configure.in :  changequote for osf[45] test.
580	Reported by: Tom Smith <smith@cag.lkg.dec.com>
581
582	* ntp_update: Ignore stuff in any A.* directory.
583
5841999-11-15  Harlan Stenn  <stenn@whimsy.udel.edu>
585
586	* configure.in: Clean up header checks for sys/syssgi.h and
587	sys/select.h .  Originally, we did not check for sys/select.h
588	under some versions of SCO (see xntp3-5).  Somewhere in ntp4 we
589	dropped the SCO check and added the check for sys/syssgi.h,
590	exclusive of checking for sys/select.h.  Marc Brett can't think of
591	a reason why we should not be checking for sys/select.h, so let's
592	look for it now.
593
5941999-11-13  Harlan Stenn  <stenn@whimsy.udel.edu>
595
596	* ntpdate/ntpdate.c: Add the ability for ntpdate to query a
597	multicast address.  We use the response to the multicast address
598	to learn new servers which we then add to the peer list and query.
599	In changing this I made the list of peers a linked list.
600
601	To be complete I should detect a broadcast address and make it
602	behave the same way.  But that requires a scan of the interface
603	list which is more complicated that I want to deal with...
604
605	Fix a bug, allowing ntpdate to compile if SLEWALWAYS and STEP_SLEW
606	are both defined.
607
608	From: Jeffrey C Honig <jch@bsdi.com>
609
610	* ntpd/ntp_refclock.c: sys/sio.h and SCO5_CLOCK cleanup
611	From: Kamal A Mostafa <kamal@whence.com>
612
613	* ntpd/ntp_loopfilter.c: Let -g do a "correct any" for the first
614	time adjustment.
615	From: Dave Mills <mills@udel.edu>
616
617	* configure.in: sys/sio.h needs to be checked independently.
618	Reported by: Kamal A Mostafa <kamal@whence.com>
619
6201999-11-11  Harlan Stenn  <stenn@whimsy.udel.edu>
621
622	* configure.in: 4.0.98f
623
624	* configure.in: DECL_PLOCK_0 and DECL_STIME_0 are for dec-osf5*, too
625	* ntpd/ntpd.c: 	DEC OSF cleanup (editorial comments by HMS)
626	From: Tom Smith <smith@cag.lkg.dec.com>
627
628	* ntpd/ntp_refclock.c: MAXUNIT bugfix
629	From: Marc.Brett@westgeo.com
630
631	* ntpd/ntp_refclock.c:
632	* ntpd/ntpd.c:
633	* ntpd/refclock_arc.c:
634	* ntpd/refclock_as2201.c:
635	* ntpd/refclock_atom.c:
636	* ntpdc/ntpdc.c:
637	* ntpq/ntpq.c:
638	Code cleanup.
639	From: Marc.Brett@westgeo.com
640
641	* include/ntp_stdlib.h:
642	* libntp/systime.c:
643	* ntpd/ntp_proto.c:
644	Replaced the 'sco5_oldclock' variable with 'systime_10ms_ticks'.
645	Cleared libntp/systime.c and include/ntp_stdlib.h of references
646	to SCO5_CLOCK and RELIANTUNIX_CLOCK (moved to ntpd/ntp_proto.c).
647	From: Kamal A Mostafa <kamal@whence.com>
648
649	* configure.in: alpha-dec-osf4* -> alpha*-dec-osf4*|alpha*-dec-osf5*
650	From: Tom Smith <smith@cag.lkg.dec.com>
651
652	* configure.in: Look for <sys/sio.h>.  If TIOCDCDTIMESTAMP is
653	there, we have TTYCLK.
654	* acconfig.h: Lose old AIOCTIMESTAMP stuff
655	Reported by: Kamal A Mostafa <kamal@whence.com>
656
6571999-11-10  Harlan Stenn  <stenn@whimsy.udel.edu>
658
659	* ntpd/ntpd.c (set_process_priority): Clean up nice() and setpriority()
660
6611999-11-09  Harlan Stenn  <stenn@whimsy.udel.edu>
662
663	* Makefile.am (EXTRA_DIST): Added README.cvs
664	Reported by: Kamal A Mostafa <kamal@whence.com>
665
6661999-11-08  Harlan Stenn  <stenn@whimsy.udel.edu>
667
668	* configure.in: 4.0.98e
669
6701999-11-07  Harlan Stenn  <stenn@whimsy.udel.edu>
671
672	* configure.in: Lose AIOCTIMESTAMP tests
673
674	* ntpd/ntpd.c: lose select() EINTR debug warning
675	* ntpd/ntp_refclock.c: AIOCTIMESTAMP -> TIOCDCDTIMESTAMP.  Watch
676	CLK_SETSTR.
677	* ntpd/refclock_atom.c: fdpps is only there for PPS or PPSAPI.
678	AIOCTIMESTAMP is gone now.
679	From: Kamal A Mostafa <kamal@whence.com>
680
681	* configure.in (HAVE_MLOCKALL): Deal with dec-osf5 realities
682	* ntpd/refclock_ulink.c (ulink_poll): Fix cast.
683	* libntp/machines.c (ntp_set_tod): Use a long* for the argument to
684	stime().
685	Reported by: Tom Smith <smith@cag.lkg.dec.com>
686
687	* ntpd/ntpd.c (set_process_priority): Use whatever we have until
688	something works.
689
690	* ntpd/ntp_loopfilter.c: Keep clock_frequency changes in a temp
691	variable so we can record it to loopstats (near as HMS can tell).
692	From: Dave Mills <mills@udel.edu>
693
6941999-11-06  Harlan Stenn  <stenn@whimsy.udel.edu>
695
696	* acconfig.h: RELIANTUNIX_CLOCK
697	* configure.in (ac_cv_var_tickadj): RELIANTUNIX_CLOCK
698	* libntp/systime.c (adj_systime): Reliant patches
699	From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
700
7011999-11-05  Harlan Stenn  <stenn@whimsy.udel.edu>
702
703	* ntpd/refclock_parse.c (parse_start): ASYNC_PPS_CD_NEG cleanup
704	* configure.in (ac_cv_make_ntptime): OK on Linux
705	From: <Ulrich.Windl@rz.uni-regensburg.de>
706
707	* configure.in: NetBSD has PPSAPI now
708	F_SETOWN is needed for NetBSD
709	From: Jonathan Stone <jonathan@dsg.stanford.edu>
710
7111999-11-02  Harlan Stenn  <stenn@whimsy.udel.edu>
712
713	* configure.in: 4.0.98d
714
715	* ntpd/refclock_parse.c: Cleanup/fixes
716	From: John Hay <jhay@mikom.csir.co.za>
717
718	* ntpd/refclock_parse.c: Lose #include "ntp_select.h"
719	* ntpd/ntpd.c: Lose #include "ntp_select.h"
720	* ntpd/ntp_io.c: Lose #include "ntp_select.h"
721	* ntpd/ntp_intres.c: Lose #include "ntp_select.h"
722	* libntp/iosignal.c: Lose #include "ntp_select.h"
723	* include/ntpd.h: #include "ntp_select.h" for declaration of activefds
724	Reported by: Christian Krackowizer <kra1@technodat.co.at>
725
7261999-11-01  Harlan Stenn  <stenn@whimsy.udel.edu>
727
728	* configure.in: 4.0.98c
729
730	* libntp/syssignal.c: Don't warn about SA_RESTART
731	* libntp/recvbuff.c: Fix free buffer count
732	From: Jeffrey C Honig <jch@bsdi.com>
733
734	* html/pps.htm:
735	* html/howto.htm:
736	* html/confopt.htm:
737	* html/clockopt.htm:
738	* html/uthopt.htm:
739	Updates.
740	From: Dave Mills <mills@udel.edu>
741
742	* ntpd/refclock_wwvb.c: burst fixes
743	* ntpd/refclock_ulink.c: burst fixes
744	* ntpd/refclock_tpro.c: burst and NSTAGE fixes
745	* ntpd/refclock_pst.c: burst fixes
746	* ntpd/refclock_irig.c: SAMPLE -> SAMPLES
747	* ntpd/refclock_heath.c: burst fixes
748	* ntpd/refclock_dumbclock.c: burst fixes
749	* ntpd/refclock_chronolog.c: burst fixes
750	* ntpd/refclock_bancomm.c: burst fixes
751	* ntpd/refclock_atom.c: burst fixes
752	* ntpd/refclock_as2201.c: burst fixes
753	* ntpd/ntp_refclock.c: PPSAPI, code, and comment cleanup/fixes
754	* ntpd/ntp_proto.c: Broadcast/restrict cleanup
755	* ntpd/ntp_loopfilter.c: Cleanup and fixes
756	* libntp/gpstolfp.c: Lose the UL qualifiers - old compilers hate them
757	From: Dave Mills <mills@udel.edu>
758
7591999-10-31  Harlan Stenn  <stenn@whimsy.udel.edu>
760
761	* configure.in: TIOCSPPS cleanup
762
7631999-10-20  Harlan Stenn  <stenn@whimsy.udel.edu>
764
765	* configure.in: 4.0.98b
766
767	* ntpd/refclock_atom.c: AIOCTIMESTAMP patch
768	* ntpd/ntpd.c: SCO clock patch
769	* ntpd/ntp_request.c: noselect patch
770	* ntpd/ntp_refclock.c: AIOCTIMESTAMP patch
771	* ntpd/ntp_proto.c: noselect patch
772	* ntpd/ntp_intres.c: noselect patch
773	* ntpd/ntp_config.c: noselect patch
774	* include/ntp_request.h: noselect patch
775	* include/ntp.h: noselect patch
776	From: Kamal A Mostafa <kamal@whence.com>
777
778	* configure.in:
779	* acconfig.h: TTYCLK_AIOCTIMESTAMP
780	Stuff for Kamal
781
782	* ntpd/refclock_atom.c (atom_pps): make "result" initialization
783	uglier, but more bulletproof.
784
785	* configure.in (sys/timepps.h): Fixed.
786	From: John Hay <jhay@mikom.csir.co.za>
787
7881999-10-19  Harlan Stenn  <stenn@whimsy.udel.edu>
789
790	* ntpd/refclock_oncore.c: Rename instance.state to instance.o_state
791
792	* refclock_oncore.c:
793	* refclock_mx4200.c:
794	* refclock_chu.c:
795	* refclock_atom.c:
796	* ntp_refclock.c:
797	* ntp_peer.c:
798	* ntp_loopfilter.c:
799	* include/ntp_refclock.h:
800	Various cleanup and fixes
801	From: Dave Mills <mills@udel.edu>
802
8031999-10-17  Harlan Stenn  <stenn@whimsy.udel.edu>
804
805	* ntpd/ntp_config.c (CONFIG_FILE): NT changes
806	From: Sven Dietrich <Sven_Dietrich@trimble.com>
807
8081999-10-16  Harlan Stenn  <stenn@whimsy.udel.edu>
809
810	* configure.in: sys/timepps.h verification changes
811
812	* ntpd/refclock_atom.c (atom_poll): PPS cleanup
813	From: Dave Mills <mills@udel.edu>
814	(atom_pps): Portability patch
815	From: John Hay <jhay@mikom.csir.co.za>
816
817
818	* libntp/msyslog.c:
819	* libntp/gpstolfp.c:
820	Lint cleanup
821	From: Jonathan Stone <jonathan@dsg.stanford.edu>
822
823	* parseutil/dcfd.c:  abs() -> l_abs(), time.h (AIX 4.3.2 patches)
824	From: Dana Kaempen <decay@flash.net>
825
826	* ntpd/refclock_oncore.c:
827	* ntpd/refclock_atom.c:
828	* ntpd/ntp_refclock.c:
829	PPS cleanup
830	From: John.Hay@mikom.csir.co.za
831
832	* util/ntptime.c:
833	* ntpdate/ntptimeset.c:
834	* ntpdate/ntpdate.c:
835	* ntpd/refclock_trak.c:
836	* ntpd/refclock_oncore.c:
837	* ntpd/refclock_mx4200.c:
838	* ntpd/refclock_msfees.c:
839	* ntpd/refclock_atom.c:
840	* ntpd/ntp_control.c:
841	* ntpd/ntp_config.c:
842	* configure.in:
843	* configure:
844	PPS, Solaris 7, cleanup patches
845	From: Marc.Brett@westgeo.com
846
847	* ports/winnt/ntptrace/ntptrace.dsp:
848	* ports/winnt/ntpq/ntpq.dsp:
849	* ports/winnt/ntpdc/ntpdc.dsp:
850	* ports/winnt/ntpdate/ntpdate.dsp:
851	* ports/winnt/ntpd/refclock_trimbledc.c:
852	* ports/winnt/ntpd/ntpd.dsp:
853	* ports/winnt/ntpd/ntp_iocompletionport.c:
854	* ports/winnt/ntpd/nt_clockstuff.c:
855	* ports/winnt/libntp/util_clockstuff.c:
856	* ports/winnt/libntp/libntp.dsp:
857	* ports/winnt/libntp/SetSystemTime.c:
858	* ports/winnt/instsrv/instsrv.c:
859	* ports/winnt/include/sys/ioctl.h:
860	* ports/winnt/include/termios.h:
861	* ports/winnt/include/config.h:
862	* ports/winnt/include/clockstuff.h:
863	* ports/winnt/ntp.dsw:
864	* ntpd/refclock_shm.c:
865	* ntpd/refclock_palisade.c:
866	* ntpd/ntpd.c:
867	* ntpd/ntp_timer.c:
868	* ntpd/ntp_refclock.c:
869	* libntp/systime.c:
870	* libntp/machines.c:
871	NT patches
872	From: Sven Dietrich <Sven_Dietrich@trimble.com>
873
8741999-10-15  Harlan Stenn  <stenn@whimsy.udel.edu>
875
876	* ntpd/refclock_wwvb.c:
877	* ntpd/refclock_usno.c:
878	* ntpd/refclock_ulink.c:
879	* ntpd/refclock_tpro.c:
880	* ntpd/refclock_pst.c:
881	* ntpd/refclock_parse.c:
882	* ntpd/refclock_palisade.c:
883	* ntpd/refclock_oncore.c:
884	* ntpd/refclock_mx4200.c:
885	* ntpd/refclock_msfees.c:
886	* ntpd/refclock_jupiter.c:
887	* ntpd/refclock_irig.c:
888	* ntpd/refclock_heath.c:
889	* ntpd/refclock_chu.c:
890	* ntpd/refclock_atom.c:
891	* ntpd/refclock_as2201.c:
892	* ntpd/refclock_arc.c:
893	* ntpd/refclock_arbiter.c:
894	* ntpd/refclock_acts.c:
895	* ntpd/ntp_refclock.c:
896	* include/ntp_refclock.h:
897	Bunches of fixes.
898	From: Dave Mills <mills@udel.edu>
899
9001999-10-10  Harlan Stenn  <stenn@whimsy.udel.edu>
901
902	* html/driver16.htm: New version
903	* ntpd/refclock_bancomm.c: New version
904	From: "Cliff, Gary" <gary.cliff@cdott.com>
905	"Ramasivan, Ganesh" <ganesh.ramasivan@cdott.com>
906
907	* ntpd/refclock_ulink.c (ulink_receive): Cleanup
908	(ulink_poll): Cleanup
909	* ntpd/refclock_atom.c (atom_pps): SunOS timespec/timeval cleanup
910	From: Marc.Brett@westgeo.com
911
912	* INSTALL: Point NT folks at ports/winnt
913	Reported by: Stephen Gildea <gildea@intouchsys.com>
914
915	* include/ntp_stdlib.h: Noise abatement
916	* include/ntpd.h: Noise abatement
917	Reported by: "W. David Higgins" <wdh@grouper.ccur.com>
918
919	* configure.in: DECL_STDIO_0 with gcc under solaris.
920
921	* include/l_stdlib.h: DECL_TOUPPER_0
922	DECL_STRERROR_0
923
924	* configure.in: Fix a bunch of implicit declarations for SunOS
925
926	* html/release.htm: cleanup - we still provide MD5.
927	Reported by: Winslowe Lacesso <lacesso@cs.ubc.ca>
928
9291999-10-09  Harlan Stenn  <stenn@whimsy.udel.edu>
930
931	* ntpd/refclock_oncore.c:
932	* ntpd/refclock_atom.c:
933	* ntpd/ntp_refclock.c:
934	PPS API code updated to the current spec
935	From: Dave Mills
936
937	* configure.in (ac_cv_make_tickadj): Don't make tickadj starting
938	with solaris2.5
939	Requested by: Dave Mills
940
9411999-10-04  Harlan Stenn  <stenn@whimsy.udel.edu>
942
943	* configure.in: We might need -lsocket for the -lnsl check.
944
9451999-09-19  Harlan Stenn  <stenn@whimsy.udel.edu>
946
947	* ntpd/refclock_ulink.c: Typos in C++ comment
948	Reported by: Thomas.Tornblom@Sun.SE
949
950	* configure.in: 4.0.98a
951
952	* ntpd/ntp_config.c (getconfig): Fix typo.
953	From: "David E. Myers" <dem@skyline.rtp.nc.us>
954	From: David Godfrey <dave@delta.demon.co.uk>
955	From: Geoffrey Sisson <geoff@nominet.org.uk>
956
9571999-09-17  Harlan Stenn  <stenn@whimsy.udel.edu>
958
959	* configure.in: 4.0.98
960
961	NetInfo support:
962
963	* config.guess
964	* config.sub
965	Add Mac OS (versions 10 and up).
966
967	* acconfig.h
968	* config.h.in
969	* configure.in
970	Check for NetInfo API; add HAVE_NETINFO macro and friends.
971
972	* include/ntp.h
973	* ntpd/ntp_config.c
974	* ntpdate/ntpdate.c
975	Add support for reading configuration from NetInfo.
976
977	* ntpd/ntp_config.c
978	Get rid of unnecessary eol variable in tokenizer.
979
980	* html/notes.htm
981	* html/ntpd.htm
982	* html/ntpdate.htm
983	Document NetInfo functionality.
984
985	* util/tickadj.c
986	Use HAVE_KVM_OPEN conditional around kvm.h include.
987
988	From: Wilfredo Sanchez <wsanchez@apple.com>
989
9901999-09-15  Harlan Stenn  <stenn@whimsy.udel.edu>
991
992	* acconfig.h:
993	* config.h.in:
994	* configure.in:
995	* html/driver34.htm:
996	* html/refclock.htm:
997	* include/ntp.h:
998	* libntp/clocktypes.c:
999	* ntpd/Makefile.am:
1000	* ntpd/ntp_control.c:
1001	* ntpd/refclock_conf.c:
1002	* ntpd/refclock_ulink.c:
1003	Ultralink driver
1004	From: Dave Strout <dstrout@linuxfoundary.com>
1005
10061999-09-14  Harlan Stenn  <stenn@whimsy.udel.edu>
1007
1008	* configure.in: ReliantUNIX patches
1009	From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
1010
1011	* ntpd/refclock_atom.c: PPS cleanup
1012	* ntpd/ntp_refclock.c (refclock_ioctl): PPS cleanup
1013	From: Dave Mills <mills@udel.edu>
1014
1015	* ntptrace/ntptrace.c (ReceiveBuf): addserver() can return NIL.
1016	Reported by: "Alan J. Wylie" <alanw@cyrano.com>
1017
1018	* libntp/ieee754io.c:
1019	* ntpd/ntp_proto.c:
1020	* ntpd/ntp_refclock.c:
1021	Lint cleanup.
1022	From: Marc.Brett@westgeo.com
1023
10241999-09-12  Harlan Stenn  <stenn@whimsy.udel.edu>
1025
1026	* ntpd/ntp_refclock.c (refclock_ioctl): Declaration cleanup.
1027
1028	* ntpd/ntp_proto.c (init_proto): msyslog kern_enable at LOG_DEBUG.
1029
1030	* ntpd/refclock_atom.c: Add missing declaration.
1031
10321999-09-11  Harlan Stenn  <stenn@whimsy.udel.edu>
1033
1034	* configure.in (ac_cv_make_ntptime): Just look for struct
1035	ntptimeval, not timespec or nsec (Solaris 2.7 should get ntptime
1036	and it uses msec).
1037	(ac_cv_var_oncore_ok): Reorder so it's a "normal" clock
1038
1039	* configure.in: Solaris Kernel FLL bug fixed in 106541-07
1040
10411999-09-02  Harlan Stenn  <stenn@whimsy.udel.edu>
1042
1043	* configure.in: 4.0.97f
1044
1045	* ntptrace/ntptrace.c:
1046	* ntpdate/ntptimeset.c:
1047	* ntpdate/ntptime_config.c:
1048	* ntpdate/ntpdate.c:
1049	* util/ntptime.c:
1050	* parseutil/dcfd.c:
1051	* libparse/parsestreams.c:
1052	* libparse/parse_conf.c:
1053	* libparse/parse.c:
1054	* libparse/clk_varitext.c:
1055	* libparse/clk_trimtsip.c:
1056	* libparse/clk_trimtaip.c:
1057	* libparse/clk_schmid.c:
1058	* libparse/clk_rcc8000.c:
1059	* libparse/clk_rawdcf.c:
1060	* libparse/clk_meinberg.c:
1061	* libparse/clk_hopf6021.c:
1062	* libparse/clk_dcf7000.c:
1063	* libparse/clk_computime.c:
1064	* libntp/msyslog.c:
1065	* libntp/iosignal.c:
1066	* libntp/syssignal.c:
1067	* adjtimed/adjtimed.c:
1068	* ntpd/refclock_shm.c:
1069	* ntpd/refclock_parse.c:
1070	* ntpd/refclock_palisade.c:
1071	* ntpd/refclock_mx4200.c:
1072	* ntpd/refclock_jupiter.c:
1073	* ntpd/refclock_datum.c:
1074	* ntpd/ntpd.c:
1075	* ntpd/ntp_util.c:
1076	* ntpd/ntp_timer.c:
1077	* ntpd/ntp_request.c:
1078	* ntpd/ntp_refclock.c:
1079	* ntpd/ntp_monitor.c:
1080	* ntpd/ntp_loopfilter.c:
1081	* ntpd/ntp_io.c:
1082	* ntpd/ntp_intres.c:
1083	* ntpd/ntp_filegen.c:
1084	* include/l_stdlib.h:
1085	<errno.h> and errno declaration cleanup.
1086
1087	* ntpd/map_vme.c: cleanup some spacing.
1088
10891999-09-01  Harlan Stenn  <stenn@whimsy.udel.edu>
1090
1091	* configure.in: 4.0.97e
1092
1093	* configure.in (ac_cv_struct_sigaction_has_sa_sigaction):
1094	* acconfig.h: Ditto
1095	* parseutil/dcfd.c (main): Use it.
1096 	From: HOSAKA Eiichi <HOSAKA.Eiichi@dd.anritsu.co.jp>
1097
10981999-08-29  Harlan Stenn  <stenn@whimsy.udel.edu>
1099
1100	* configure.in: 4.0.97d
1101
1102	* include/ntp_stdlib.h: Clean up previous NeXT patch.
1103	From: Jack Bryans <jbryans@csulb.edu>
1104
1105	* ntpd/refclock_parse.c: Permit RTS to power a DCF77.
1106	From: Carsten Paeth <calle@calle.in-berlin.de>
1107
1108	* ntpd/refclock_oncore.c (oncore_start): This makes the Oncore run
1109	on systems without hardpps().
1110	From: Poul-Henning Kamp <phk@freebsd.org>
1111
11121999-08-28  Harlan Stenn  <stenn@whimsy.udel.edu>
1113
1114	* configure.in: 4.0.97c
1115
1116	* configure.in (ac_cv_make_ntptime):  Typo.
1117	From: Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
1118
11191999-08-26  Harlan Stenn  <stenn@whimsy.udel.edu>
1120
1121	* configure.in: 4.0.97b
1122
1123	* libntp/iosignal.c:
1124	* ntpd/ntp_peer.c:
1125	* ntpd/refclock_nmea.c:
1126	* ntpdate/ntptime_config.c:
1127	* ntpdate/ntptimeset.c:
1128	AIX, Irix, and SunOS lint cleanup
1129	From: Marc.Brett@westgeo.com
1130
11311999-08-24  Harlan Stenn  <stenn@whimsy.udel.edu>
1132
1133	* configure.in 4.0.97a
1134
1135	* configure.in (AC_OUTPUT): added scripts/Makefile
1136	* Makefile.am (SUBDIRS): Added scripts
1137	* scripts/Makefile.am: Added
1138
11391999-08-23  Harlan Stenn  <stenn@whimsy.udel.edu>
1140
1141	* ntpd/refclock_nmea.c: Patches for:
1142        Trimble OEM Ace-II receiver. Low cost PCB with single
1143        voltage input, external active antenna and two serial
1144        ports with either NMEA and ITAPs output. Programmable
1145        to be tuned for 'time' accuracy in fixed station config.
1146	From: Nick Hibma <nick.hibma@jrc.it>
1147
11481999-08-21  Harlan Stenn  <stenn@whimsy.udel.edu>
1149
1150	* ntpd/ntp_config.c: Added listen_to_virtual_ips support (-L flag)
1151	* ntpd/ntp_io.c: Ditto
1152
11531999-08-19  Harlan Stenn  <stenn@whimsy.udel.edu>
1154
1155	* ntpd/ntp_intres.c (request): Lint cleanup
1156	* ntpd/ntp_control.c (ctl_putclock): Ditto
1157	* libntp/recvbuff.c (getrecvbufs): Ditto
1158	(get_free_recv_buffer): Ditto
1159	* libntp/systime.c (adj_systime): Ditto
1160
11611999-08-18  Harlan Stenn  <stenn@whimsy.udel.edu>
1162
1163	* configure.in: 4.0.97
1164
1165	* libntp/systime.c:
1166	* ntpd/ntp_loopfilter.c:
1167	* ntpd/ntpd.c:
1168	* ports/winnt/libntp/nt_clockstuff.c:
1169	From: Sven Dietrich <Sven_Dietrich@trimble.com>
1170
1171	* README.cvs: Updated.
1172
1173	* configure.in:
1174	* include/ntp_machine.h:
1175	* libntp/mexit.c:
1176	* ntpd/ntp_config.c:
1177	* ntpd/ntp_peer.c:
1178	* ntpd/ntp_restrict.c:
1179	* ntpd/refclock_arc.c:
1180	* ntpdate/ntpdate.c:
1181	Irix, SunOS, AIX, lint patches
1182	From: Marc.Brett@westgeo.com
1183
1184	* util/ansi2knr.c: New release (fix for bug reported by Marc Brett)
1185	From: "L. Peter Deutsch" <ghost@aladdin.com>
1186
1187	* include/ntp_stdlib.h: NeXT portability patch
1188	From: Jack Bryans <jbryans@csulb.edu>
1189
1190	* configure.in:
1191	* dot.emacs: (cleanup)
1192	* ntpdate/Makefile.am:
1193	* ntpdate/ntpdate.h:
1194	* ntpdate/ntptime_config.c:
1195	* ntpdate/ntptimeset.c:
1196	ntptimeset patches.
1197	From: Jeffrey Hutzelman <jhutz@cmu.edu>
1198
1199	* ntpd/refclock_parse.c (local_input): ts.l_ui -> ts.fp.l_ui
1200
12011999-08-11  Harlan Stenn  <stenn@whimsy.udel.edu>
1202
1203	* configure.in: 4.0.96p1
1204
1205	* ntpd/ntpd.c (sys/resource.h): Include this file only #if
1206 	HAVE_SYS_RESOURCE_H.
1207	(set_process_priority): Use TIOCNOTTY only if it is #define'd.
1208	* ntpd/refclock_parse.c (STREAM): STREAM does not imply HAVE_TERMIOS.
1209	(termios.h, termio.h, fcntl.h): Do not include those files here;
1210	they are already included by ntp_refclock.h or ntp_io.h.
1211	* ntpd/refclock_leitch.c (sgtty.h, termios.h, termio.h): Do not
1212	include those files here; they are already included by ntp_refclock.h.
1213	* ntpdate/ntpdate.c (sys/resource.h) : Include that file only #if
1214	HAVE_RESOURCE_H.
1215	From: Philippe De Muyter <phdm@macqel.be>
1216
1217	* ntptrace/ntptrace.c (input_handler): Make it a "normal" function
1218	definition.
1219	Reported by: GIANNI_CATANIA@hp-italy-om6.om.hp.com
1220
1221	* configure.in:  pc-cygwin32 -> pc-cygwin* because of a change in
1222	B20.
1223	From: Stephen Gildea <gildea@intouchsys.com>
1224
12251999-08-09  Harlan Stenn  <stenn@whimsy.udel.edu>
1226
1227	* configure.in: 4.0.96
1228
1229	* parseutil/dcfd.c (main): Replace SA_ONSTACK and SV_ONSTACK with
1230	HAVE_SIGACTION and HAVE_SIGVEC, respectively.  HP-UX provides both
1231	of the former but only one of the latter...
1232
12331999-08-08  Harlan Stenn  <stenn@whimsy.udel.edu>
1234
1235	* configure.in: Better tests for -lnsl and -lsocket
1236	From: Albert Chin-A-Young <china@thewrittenword.com>
1237
1238	Works for me - handle openlog() and -lgen the same way.
1239
1240	* Makefile.am (EXTRA_DIST): Add in the y2k notes
1241
1242	* parseutil/dcfd.c: Renamed drift_comp to accum_drift
1243
1244	* configure.in: Added MAKE_CHECK_Y2K support; check_y2k needs libparse.
1245	* ntpd/Makefile.am (check_PROGRAMS): Use MAKE_CHECK_Y2K
1246	* ntpd/Makefile.am (check-local): Added.
1247	* parseutil/Makefile.am (check-local): Added.
1248
1249	* include/ntp.h: Y2KFixes
1250	* libparse/parse.c: Ditto
1251	* ntpd/Makefile.am (check_PROGRAMS): Ditto
1252	* ntpd/refclock_acts.c: Ditto
1253	* ntpd/refclock_arc.c (arc_receive): Ditto
1254	* ntpd/refclock_heath.c: Ditto
1255	* ntpd/refclock_hpgps.c: Ditto
1256	* parseutil/Makefile.am (check-local): Ditto
1257	* parseutil/dcfd.c (check_y2k): Ditto
1258	* NOTES.y2kfixes: Ditto
1259	* readme.y2kfixes: Ditto
1260	* results.y2kfixes: Ditto
1261	* ntpd/check_y2k.c: Ditto
1262	From: y2k@y2k.labs.att.com
1263
12641999-08-07  Harlan Stenn  <stenn@whimsy.udel.edu>
1265
1266	* configure.in: Look for sys/ppstime.h.
1267
12681999-07-31  Harlan Stenn  <stenn@whimsy.udel.edu>
1269
1270	* ntpd/ntp_io.c (create_sockets): Typo.
1271	From: Doug Wells <dmw@contek.com>
1272
12731999-07-29  Harlan Stenn  <stenn@whimsy.udel.edu>
1274
1275	* configure.in (ac_cv_struct_ntptimeval): Explicitly look for
1276	struct ntptimeval.
1277	(ac_cv_var_kernel_pll): Require struct ntptimeval.
1278	Linux.  Grrr.
1279	Reported by: Ronald Kuetemeier <ronaldk@smginc.com>
1280
12811999-07-27  Harlan Stenn  <stenn@whimsy.udel.edu>
1282
1283	* configure.in: 4.0.95
1284
1285	* ports/winnt: New release
1286	From: Sven Dietrich <Sven_Dietrich@trimble.com>
1287
12881999-07-26  Harlan Stenn  <stenn@whimsy.udel.edu>
1289
1290	* libntp/machines.c (ntp_set_tod): Bugfix
1291	From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
1292
12931999-07-25  Harlan Stenn  <stenn@whimsy.udel.edu>
1294
1295	* configure.in: 4.0.94b
1296
1297	* acconfig.h:
1298	* configure.in:
1299	* libparse/Makefile.am:
1300	* libparse/parse_conf.c:
1301	* libparse/clk_varitext.c:
1302	* libparse/kclk_varitext.c:
1303	* ntpd/refclock_parse.c: VARITEXT parse clock
1304	* ntpdate/ntpdate.c: bugfix
1305	From: Tony McConnell <tonym@datel-technology.co.uk>
1306
13071999-07-24  Harlan Stenn  <stenn@whimsy.udel.edu>
1308
1309	* include/ntp_syscall.h (ntp_gettime): Make it static
1310	* configure.in: Added AC_C_INLINE
1311	Reported by: "Charles C. Fu" <ccwf@klab.caltech.edu>
1312
13131999-07-23  Harlan Stenn  <stenn@whimsy.udel.edu>
1314
1315	* include/ntpd.h:
1316	* libntp/machines.c:
1317	* libntp/systime.c:
1318	* ntpd/ntp_config.c:
1319	* ntpd/ntp_filegen.c:
1320	* ntpd/ntp_io.c:
1321	* ntpd/ntp_proto.c:
1322	* ntpd/ntp_timer.c:
1323	* ntpdate/ntpdate.c: Windows NT port cleanup
1324	From: Sven Dietrich <Sven_Dietrich@trimble.com>
1325
13261999-07-22  Harlan Stenn  <stenn@whimsy.udel.edu>
1327
1328	* libntp/authkeys.c:
1329	* libntp/ieee754io.c:
1330	* libntp/iosignal.c:
1331	* libntp/machines.c:
1332	* libntp/mexit.c:
1333	* libntp/recvbuff.c:
1334	* ntpd/ntp_filegen.c:
1335	* ntpd/ntp_loopfilter.c:
1336	* ntpd/ntp_request.c:
1337	* ntpd/ntp_timer.c:
1338	* ntpd/ntpd.c: Compile/lint cleanup
1339	From: Allen Smith <easmith@beatrice.rutgers.edu>
1340
13411999-07-21  Harlan Stenn  <stenn@whimsy.udel.edu>
1342
1343	* configure.in: 4.0.94a
1344
1345	* configure.in (ac_cv_make_ntptime): Add tv_nsec check.
1346
1347	* include/Makefile.am (noinst_HEADERS): Forgot ntp_syscall.h
1348	From: John.Hay@mikom.csir.co.za
1349
1350	* configure.in: 4.0.94
1351
1352	* Makefile.am (SUBDIRS): librsaref
1353	(dist-hook): Lose CVS subdirs in the distribution tarball
1354
1355	* include/Makefile.am (noinst_HEADERS): Added iosignal.h, recvbuff.h
1356
1357	* Makefile.am (dist-hook): Don't call dos2unix anymore
1358
13591999-07-20  Harlan Stenn  <stenn@whimsy.udel.edu>
1360
1361	* acconfig.h:
1362	* util/ntptime.c: FreeBSD nano patches
1363	From: Per Hedeland <per@erix.ericsson.se> and
1364	Allen Smith <easmith@beatrice.rutgers.edu>
1365
1366	* include/ntp.h:
1367	include/ntp_fp.h:
1368	include/ntp_io.h:
1369	include/ntp_machine.h:
1370	include/ntp_refclock.h:
1371	include/ntp_stdlib.h:
1372	include/ntpd.h:
1373	libntp/Makefile.am:
1374	libntp/emalloc.c:
1375	libntp/machines.c:
1376	libntp/mexit.c:
1377	libntp/msyslog.c:
1378	libntp/statestr.c:
1379	libntp/syssignal.c:
1380	libntp/systime.c:
1381	libparse/parse.c:
1382	libparse/parse_conf.c:
1383	ntpd/ntp_control.c:
1384	ntpd/ntp_intres.c:
1385	ntpd/ntp_io.c:
1386	ntpd/ntp_proto.c:
1387	ntpd/ntp_refclock.c:
1388	ntpd/ntp_request.c:
1389	ntpd/ntp_timer.c:
1390	ntpd/ntp_util.c:
1391	ntpd/ntpd.c:
1392	ntpd/refclock_nmea.c:
1393	ntpd/refclock_palisade.c:
1394	ntpd/refclock_palisade.h:
1395	ntpd/refclock_shm.c:
1396	ntpdate/ntpdate.c:
1397	ntptrace/ntptrace.c: Cleanup
1398	* libntp/recvbuff.c:
1399	libntp/iosignal.c:
1400	include/iosignal.h:
1401	include/recvbuff.h: Added
1402	From: Sven_Dietrich@Trimble.COM
1403
1404	* README: Add README.cvs
1405
1406	* configure.in (ac_cv_var_struct_ntptime_val_timespec): Typo.
1407	From: John Hay <jhay@mikom.csir.co.za>
1408
14091999-07-19  Harlan Stenn  <stenn@whimsy.udel.edu>
1410
1411	* Makefile.am (EXTRA_DIST): Lose ntpmak; "build" does a better job.
1412
1413	* ntpq/Makefile.am (version.o): Use mkver
1414	* ntptrace/Makefile.am (version.o): Ditto
1415	* ntpdate/Makefile.am (version.o): Ditto
1416	* ntpd/Makefile.am (version.o): Ditto
1417	* ntpdc/Makefile.am (version.o): Ditto
1418
1419	* configure.in (AC_OUTPUT): scripts/mkver
1420
1421	* scripts/mkver.in: Created.  Note RSAREF in the version string
1422
14231999-07-18  Harlan Stenn  <stenn@whimsy.udel.edu>
1424
1425	* README.des: Updated.
1426
1427	* ntpq/Makefile.am (LDADD): Add LIBRSAREF
1428
1429	* ntpdc/Makefile.am (LDADD): Add LIBRSAREF
1430
1431	* ntpdate/Makefile.am (LDADD): Add LIBRSAREF
1432
1433	* ntpd/Makefile.am (LDADD): Add LIBRSAREF
1434
1435	* configure.in (AC_OUTPUT): Added librsaref/Makefile
1436	Added tests for making/using librsaref.a
1437	Lose old DES stuff; AC_DEFINE(DES) if we find the rsaref stuff.
1438
14391999-07-11  Harlan Stenn  <stenn@whimsy.udel.edu>
1440
1441	* ntpd/refclock_trak.c (trak_receive): disambiguate expression.
1442	At least now it is unambiguous.  It may even still be correct.
1443	Reported by: Tom Smith <smith@cag.lkg.dec.com>
1444
1445	* ntp_update (UPDATE_OPTIONS): Typo.
1446
14471999-07-07  Harlan Stenn  <stenn@whimsy.udel.edu>
1448
1449	* ntp_update: Check out copyright.htm before COPYRIGHT
1450
1451	* ntpd/ntp_config.c: Support for PPS assert/clear/hardpps
1452	* ntpd/ntp_refclock.c (refclock_ioctl): Ditto
1453	(refclock_gtlin): Ditto
1454	* html/clockopt.htm: Document.
1455	From: John Hay <jhay@mikom.csir.co.za>
1456
1457        * html/monopt.htm: We have four types of files now
1458        * ntpd/refclock_oncore.c: If debug is on, tell when
1459        we are waiting for a valid almanac
1460	From: Poul-Henning Kamp <phk@critter.freebsd.dk>
1461
1462	* include/ntp_machine.h (HAVE_TERMIOS): STREAMS does not imply
1463	HAVE_TERMIOS !!!
1464	* include/parse.h (timercmp): Macro defined if needed.
1465	* ntpd/ntp_config.c (SIGCHLD): Macro defined as SIGCLD if needed.
1466	(sys/wait.h): File included only if HAVE_SYS_WAIT_H.
1467	* configure.in (sys/wait.h): File added to AC_CHECK_HEADERS list.
1468	From: Philippe De Muyter  <phdm@macqel.be>
1469
14701999-06-23  Harlan Stenn  <stenn@whimsy.udel.edu>
1471
1472	* ntpd/refclock_irig.c (irig_debug): NetBSD patches
1473	From: Frederick Bruckman <fb@enteract.com>
1474
1475	* util/ntptime.c (main): ntx.freq bugfix (-f option)
1476	From: Frederick Bruckman <fb@enteract.com>
1477
14781999-06-22  Harlan Stenn  <stenn@whimsy.udel.edu>
1479
1480	* configure.in: Fix typo with DECL_H_ERRNO test
1481
1482	* ntpd/ntp_loopfilter.c: Lose syscall decl, it's handled in
1483	l_stdlib.h now.
1484	* ntpd/ntp_request.c: Ditto
1485	* util/ntptime.c: Ditto
1486
1487Mon May 31 18:49:49 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1488
1489	* ntpd/ntp_proto.c (proto_config): Don't set sys_bclient on
1490	PROTO_MULTICAST_ADD, only caller can decide; remove wrong set on
1491	PROTO_MULTICAST_DEL.
1492
1493Mon May 31 18:49:49 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1494
1495	* ntpd/refclock_parse.c (stream_receive): Cast size_t to int to
1496	match format.
1497	(local_receive): Likewise.
1498	(trimbletaip_event): Likewise.
1499	(stream_receive): Cast struct timeval members to long to match
1500	format.
1501	(local_receive): Likewise.
1502
1503	* ntpd/ntp_util.c (stats_config): Cast size_t to int to match
1504	format.
1505
1506	* libparse/clk_rawdcf.c (cvt_rawdcf): Cast ptr difference to int
1507	to match format.
1508	* ntpd/refclock_parse.c (gps16x_poll): Likewise.
1509
1510	* ntpd/ntp_filegen.c (filegen_open): Use long format, cast arg to
1511	match.
1512
1513	* ntpd/refclock_parse.c (list_err): Use long format to match arg.
1514	(parse_statistics): Likewise.
1515	(gps16x_message): Likewise.
1516	(cvt_ts): Use long format, cast args to match.
1517	(parse_start): Add missing arg.
1518	(gps16x_message): Swap args to match format.
1519
1520	* ntpd/ntpd.c (ntpdmain): Cast uid to long, adapt format.
1521
1522	* ntpd/ntp_intres.c (readconf): Use long format to match arg.
1523	* ntpd/ntp_io.c (getrecvbufs): Likewise.
1524	* ntpd/ntp_proto.c (default_get_precision): Likewise.
1525
1526	* ntpd/ntp_loopfilter.c (local_clock): Cast clock_panic to int to
1527 	match format.
1528
1529	* ntpd/ntp_io.c (io_multicast_add): Print s_addr member, not
1530	struct in_addr, to match format.
1531
1532	* include/ntp_stdlib.h: Declare msyslog() as printf-like for gcc
1533	format checking.
1534
1535Fri May 28 16:39:35 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1536
1537	* ntpdc/ntpdc_ops.c (iostats): Align timereset line.
1538
1539	* ntpq/ntpq_ops.c (doopeers): Properly align header.
1540
1541	* ntpdc/ntpdc_ops.c (debug): Removed declaration, already in
1542	ntp_stdlib.h.
1543	* ntpq/ntpq_ops.c: Likewise.
1544
1545	* ntpdate/ntpdate.c (debug): Declare volatile to match
1546	ntp_stdlib.h.
1547	* ntpdc/ntpdc.c, ntpq/ntpq.c, ntptrace/ntptrace.c, util/tickadj.c,
1548	util/ntptime.c: Likewise.
1549
1550	* include/parse.h (debug): Don't declare to avoid clash with
1551	ntp_stdlib.h.
1552
1553	* include/Makefile.am (noinst_HEADERS): Add new ntp_syscall.h.
1554
1555	* configure.in: Also check for -lrt for POSIX.1c functions.
1556
1557Wed May 26 21:03:30 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1558
1559	* configure.in: Removed -Wwrite-strings from CFLAGS.
1560
1561	* ntpdc/ntpdc.c (help): Remove superfluous cast.
1562	* ntpq/ntpq.c (help): Likewise.
1563
1564Tue May 25 18:00:49 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1565
1566	* ntpq/ntpq_ops.c (struct varlist): name cannot be const char *
1567	since it may be malloc'ed.
1568
1569	* ntpdc/ntpdc.c (sendrequest): Declare pass as const char *, don't
1570	loose const in cast.
1571	* ntpq/ntpq.c (sendrequest): Likewise.
1572
1573	* ntpd/ntp_control.c (ctl_getitem): Remove superfluous cast.
1574	* include/ntpd.h (struct ctl_var): text cannot be const char *
1575	since it's malloc'ed.
1576
15771999-06-22  Harlan Stenn  <stenn@whimsy.udel.edu>
1578
1579	* include/l_stdlib.h: Don't include <netinet/in.h>, add	forward
1580	declaration of struct in_addr instead.
1581	From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1582
1583	Patch:
1584
1585	* include/l_stdlib.h: Fixed syscall() declaration.
1586	* configure.in: Updated test to match.
1587
1588	* configure.in: Check if we need to declare errno and h_errno.
1589	Check for <resolv.h> which may provide a h_errno declaration and
1590	<arpa/nameserv.h> which the latter needs.
1591	* acconfig.h: Provide the necessary templates.
1592
1593	* include/ntp_syscall.h: New file, hides various implementations
1594	of ntp_adjtime() and ntp_gettime() syscalls.
1595	* ntpd/ntp_loopfilter.c: Use it.
1596	* ntpd/ntp_request.c: Likewise.
1597	* ntpd/refclock_local.c: Likewise.
1598	* util/ntptime.c: Likewise.
1599
1600	* include/l_stdlib.h: Include <netinet/in.h>, declare inet_ntoa if
1601	necessary.
1602	Moved syscall() declaration here.
1603
1604	* kernel/sys/parsestreams.h: Include <sys/termios.h> for it's
1605	definition of struct ppsclockev.
1606	Include <sys/ppsclock.h> unconditionally for definition of
1607	CIOGETEV via TIOCGPPSEV.
1608	* kernel/sys/ppsclock.h: Protect struct ppsclockev from
1609	redefinition.
1610
1611	* include/ntp_refclock.h: Protect it from multiple inclusion.
1612	* include/ntp_fp.h: Likewise.
1613	* include/ntp.h: Likewise.
1614
1615	* include/ntpd.h: Include ntp_refclock.h for MAXDIAL declaration.
1616	* libntp/authkeys.c: Include ntpd.h for current_time declaration.
1617
1618	* include/ntpd.h (getauthkeys, auth_agekeys, rereadkeys): Moved
1619	prototypes to ntp_stdlib.h
1620
1621	* include/ntp_stdlib.h: Declare variables exported by libntp.
1622	* include/ntpd.h: Likewise for ntpd.
1623
1624	* libntp/authkeys.c (key_hash, authnokey, authfreekeys,
1625	cache_flags): Made static.
1626	* libntp/systime.c (tvu_maxslew, tsf_maxslew, sys_clock_offset,
1627	sys_residual): Likewise.
1628	* ntpd/ntp_intres.c (confentries): Likewise.
1629	* ntpd/ntp_loopfilter.c (clock_offset, clock_panic): Likewise.
1630	(pll_nano): Likewise. Removed duplicate definition.
1631	* ntpd/ntp_peer.c (peer_free, current_association_ID,
1632	assocpeer_calls, init_peer_starttime): Likewise.
1633	* ntpd/ntp_proto.c (sys_offset, sys_authdly): Likewise.
1634	* ntpd/ntp_request.c (numrequests, numresppkts, errorcounter):
1635	Likewise.
1636	* ntpd/ntp_restrict.c (res_calls, res_found, res_not_found,
1637	res_timereset, res_limited_refcnt): Likewise.
1638	* ntpd/ntpd.c (was_alarmed, worker_thread): Likewise.
1639
1640	* ntpq/ntpq_ops.c: Moved declaration of external variable from
1641	ntpq.c to file scope.
1642
1643	* adjtimed/adjtimed.c: Moved declarations of external variables to
1644	ntpd.h and ntp_stdlib.h.
1645	* clockstuff/propdelay.c: Likewise.
1646	* libntp/a_md5encrypt.c, libntp/authencrypt.c, libntp/authkeys.c,
1647	libntp/mfp_mul.c, libntp/msyslog.c, libntp/systime.c: Likewise.
1648	* ntpd/ntp_config.c, ntpd/ntp_control.c, ntpd/ntp_filegen.c,
1649	ntpd/ntp_intres.c, ntpd/ntp_io.c, ntpd/ntp_loopfilter.c,
1650	ntpd/ntp_monitor.c, ntpd/ntp_peer.c, ntpd/ntp_proto.c,
1651	ntpd/ntp_refclock.c, ntpd/ntp_request.c, ntpd/ntp_restrict.c,
1652	ntpd/ntp_timer.c, ntpd/ntp_util.c, ntpd/ntpd.c,
1653	ntpd/refclock_acts.c, ntpd/refclock_arbiter.c, ntpd/refclock_arc.c,
1654	ntpd/refclock_as2201.c, ntpd/refclock_atom.c,
1655	ntpd/refclock_bancomm.c, ntpd/refclock_chronolog.c,
1656	ntpd/refclock_chu.c, ntpd/refclock_datum.c,
1657	ntpd/refclock_dumbclock.c, ntpd/refclock_gpsvme.c,
1658	ntpd/refclock_heath.c, ntpd/refclock_hpgps.c, ntpd/refclock_irig.c,
1659	ntpd/refclock_jupiter.c, ntpd/refclock_leitch.c,
1660	ntpd/refclock_local.c, ntpd/refclock_msfees.c,
1661	ntpd/refclock_mx4200.c, ntpd/refclock_nmea.c,
1662	ntpd/refclock_oncore.c, ntpd/refclock_palisade.h,
1663	ntpd/refclock_parse.c, ntpd/refclock_pst.c, ntpd/refclock_shm.c,
1664	ntpd/refclock_tpro.c, ntpd/refclock_trak.c, ntpd/refclock_true.c,
1665	ntpd/refclock_usno.c, ntpd/refclock_wwvb.c: Likewise.
1666	* ntpdate/ntpdate.c: Likewise.
1667	* ntpdc/ntpdc.c, ntpdc/ntpdc_ops.c: Likewise.
1668	* ntpq/ntpq.c: Likewise.
1669	* ntptrace/ntptrace.c: Likewise.
1670	* util/ntptime.c, til/tickadj.c: Likewise.
1671	From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1672
1673	* include/ntp_machine.h: Removed superfluous yy/mm/dd comments.
1674	* include/ntpd.h: Likewise.
1675	* libntp/authencrypt.c: Likewise.
1676	* libntp/a_md5encrypt.c: Likewise.
1677	* libntp/caljulian.c: Likewise.
1678	* libntp/ymd2yd.c: Likewise.
1679	* libntp/syssignal.c: Likewise.
1680	* libntp/ymd2yd.c: Likewise.
1681	* ntpd/ntp_control.c: Likewise.
1682	* ntpd/ntp_io.c: Likewise.
1683	* ntpd/ntp_timer.c: Likewise.
1684	* ntpdate/ntpdate.c: Likewise.
1685	* ntpq/ntpq_ops.c: Likewise.
1686	* ntpd/ntp_peer.c (findpeer): Wrap debug output in DEBUG/debug.
1687	From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1688
1689	* dot.emacs: Removed wrong indentation of substatements.
1690	Wrap in c-style.
1691	From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1692
1693	* ntpd/refclock_palisade.c: Patches from Marc Brett
1694	* ntpd/refclock_palisade.h: Ditto.
1695	* util/hist.c: Ditto.
1696
1697Tue Jun  1 00:40:04 1999  Harlan Stenn  <stenn@pogo.udel.edu>
1698
1699	* build: mips-dec-ultrix4.4 hates "set -e"
1700
1701	* flock-build: Created
1702
1703	* build: added -l option
1704
1705Mon May 31 20:28:40 1999  Harlan Stenn  <stenn@pogo.udel.edu>
1706
1707	* README: Removed auto{make,conf}.patch files
1708
1709Tue May 25 01:20:53 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1710
1711	* Makefile.am ($(srcdir)/COPYRIGHT): Added
1712	(EXTRA_DIST): Remove auto*.patches
1713
1714Thu May 20 01:03:00 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1715
1716	* Makefile.am (dist-hook): Call dos2unix on the .htm files
1717
1718	* ntpd/refclock_palisade.h: Clean up declarations.
1719
1720	* configure.in (ac_cv_struct_ntptimeval_timespec): Added.
1721	(ac_cv_make_ntptime): Only if ntptimeval does not use timespec.
1722
1723	* util/tickadj.c: Linux Patches
1724	From: Reg Clemens <reg@dwf.com>
1725
1726Wed May 19 01:18:24 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1727
1728	* configure.in: 4.0.93a
1729
1730	* ntpd/refclock_palisade.h: Restore some lost patches
1731	From: Kamal A Mostafa <kamal@whence.com>
1732
1733Sun May 16 13:18:32 1999  Philippe De Muyter  <phdm@macqel.be>
1734
1735	* libparse/clk_wharton.c (cvt_wharton_400a, inp_wharton_400a): Expect
1736	serial output format number 1, not 5.
1737	(clock_wharton_400a) : Likewise.
1738	* ntpd/refclock_parse.c (parse_clockinfo): For Wharton 400a clock,
1739	do not poll, but expect a message every second.
1740	* html/parsedata.htm : Entry added for Wharton 400a clock.
1741	* html/driver8.htm : Entry fixed for Wharton 400a clock.
1742
1743Sun May 16 02:59:46 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1744
1745	* configure.in: 4.0.93
1746
1747Sat May 15 18:53:47 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1748
1749	* configure.in (ntp_refclock): ONCORE requires PPSAPI, CIOGETEV,
1750	or TIOCGPPSEV.
1751	Reported by: Reg Clemens <reg@dwf.com>
1752
1753Fri May 14 23:58:35 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1754
1755	* configure.in: 4.0.92h2
1756
1757	* configure.in (ac_cv_make_ntptime): Not under Linux.  Yes, it
1758	works for some people.  We're tired of the complaints from the
1759	others.
1760
1761Fri May 14 18:58:59 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1762
1763	* libntp/authreadkeys.c (authreadkeys): Reject autokey keys.
1764	Include ntp.h for NTP_MAXKEY definition, ntp_fp.h for types used
1765	in ntp.h.
1766
1767Wed May 12 23:02:22 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1768
1769	* libntp/authkeys.c (auth_delkeys): Don't remove autokey keys,
1770	leave info on KEY_TRUSTED flag alone.
1771	Include ntp.h for NTP_MAXKEY definition.
1772
1773Thu May 13 02:19:02 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1774
1775	* configure.in: 4.0.92h1
1776
1777	* configure.in: patch for ReliantUNIX
1778 	From: Andrej Borsenkow <borsenkow.msk@sni.de>
1779
1780	* ntpd/refclock_oncore.c: Patches
1781	From: Reg Clemens <reg@dwf.com>
1782
1783Thu Apr 29 14:01:04 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1784
1785	* html/*.htm: Remove unnecessary &nbsp;.  Cleanup <pre></pre>
1786	sections.
1787
1788	* configure.in: Properly align configure --help output.
1789	* html/config.htm: Include this version, removing Netscape &nbsp;
1790	cruft.
1791
1792Wed Apr 28 15:08:55 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1793
1794	* kernel/sys/parsestreams.h: Only include <sys/ppsclock.h> if
1795	struct ppsclockev is missing from system headers.
1796
1797	* util/tickadj.c (getoffsets): Define kernels[] only if used.
1798	(openfile): Rename fd to avoid shadowing global fd.
1799	(writevar): Likewise.
1800	(readvar): Likewise.
1801
1802	* parseutil/dcfd.c (read_drift): drift_file is const char *.
1803	(update_drift): Likewise.
1804	(adjust_clock): Likewise.
1805	(main): Likewise.
1806
1807	* ntpd/refclock_parse.c (gps16x_poll): Adapt format to match
1808	parse->localstate type.
1809
1810	* ntpd/ntp_refclock.c (refclock_gtlin): Only define gotit label
1811	if used.
1812
1813	* include/l_stdlib.h (openlog, syslog): char * args are const.
1814
1815	* configure.in (*-*-osf4*): Enable declaration of stime().
1816
1817	* ntpd/refclock_oncore.c (oncore_msg_any): Cast args to long to
1818	match prototype.
1819	(oncore_msg_En): Likewise.
1820
1821	* include/ntp_refclock.h (struct refclockstat): Declare p_lastcode
1822	as const char *.
1823
1824	* ntpq/ntpq_ops.c (struct varlist): Define name as const.
1825
1826	* ntpdc/ntpdc.c (tokenize): Define cp as const char *, remove
1827	wrong cast instead.
1828
1829	* ntpd/ntp_util.c (record_clock_stats): Make text arg const.
1830	* include/ntpd.h (record_clock_stats): Adapt declaration.
1831	* ntpd/refclock_oncore.c (oncore_start): Removed superfluous casts.
1832	(oncore_msg_Cf): Likewise.
1833	(oncore_msg_Fa): Likewise.
1834	(oncore_msg_Cj): Likewise.
1835	(oncore_msg_Ea): Likewise.
1836	(oncore_msg_Bj): Likewise.
1837
1838	* configure.in (*-*-solaris2.4): Enable declarations of
1839	gettimeofday(), settimeofday(); they are `protected' by
1840	__cplusplus in <sys/time.h>.
1841
1842Tue Apr 27 21:14:47 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1843
1844	* scripts/summary.pl: Use . as default statsdir.
1845	(do_loop): Accept new loopstats format with additional sys_error
1846	and clock_stability fields.
1847	(do_peer): Accept new peerstats format with additional skew field.
1848
1849Mon Apr 26 01:50:38 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1850
1851	* Upgraded automake (1.4a) and autoconf (2.14.1)
1852
1853	* configure.in (ac_refclock_irig): We no longer need stropts.h.
1854	* ntpd/refclock_irig.c: Ditto
1855
1856Mon Apr 26 17:33:33 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1857
1858	* configure.in (*-*-irix6*): Don't pass MIPSpro cc-only flag -n32
1859	to gcc.
1860
1861Thu Apr 22 15:06:40 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1862
1863	* ntpd/ntp_config.c (getconfig): IN_CLASSD() expects address in
1864	host byte order, but struct sockaddr_in.s_addr is in network byte
1865	order.
1866	* ntpd/ntp_io.c (io_multicast_del): Likewise.
1867
1868Sat Apr 24 01:00:53 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1869
1870	* configure.in: 4.0.92h
1871
1872	* ntptrace/ntptrace.c: -m maxhost patch
1873	From: "R. Gary Cutbill" <rgary@chrysalis.com>
1874
1875	* util/ntptime.c: Patches.
1876	From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
1877
1878	* html/accopt.htm, html/assoc.htm, html/authopt.htm,
1879	html/biblio.htm, html/build.htm, html/clockopt.htm,
1880	html/confopt.htm, html/copyright.htm, html/debug.htm,
1881	html/exec.htm, html/extern.htm, html/hints.htm, html/index.htm,
1882	html/kern.htm, html/miscopt.htm, html/monopt.htm, html/notes.htm,
1883	html/ntpd.htm, html/ntpdate.htm, html/ntpdc.htm, html/ntpq.htm,
1884	html/ntptime.htm, html/ntptrace.htm, html/patches.htm,
1885	html/porting.htm, html/pps.htm, html/rdebug.htm,
1886	html/refclock.htm, html/release.htm, html/tickadj.htm,
1887	html/hints/solaris.html: Fixed many typos and problems.
1888	* acconfig.h (DECL_CFSETISPEED_0, DECL_MRAND48_0, DECL_NLIST_0,
1889	DECL_SRAND48_0, DECL_STIME_0): New templates.
1890	* include/l_stdlib.h: Include termios.h to get definition of
1891	speed_t.
1892	(cfsetispeed, cfsetospeed, mrand48, nlist, srand48, stime): New
1893	declarations.
1894	(openlog): Declare 2- or 3-argument form.
1895	* configure.in: Enable declarations of functions missing from
1896	Ultrix V4.3 system headers.
1897	* ntpd/refclock_oncore.c: Include <sys/types.h>, Ultrix V4.3
1898	<sys/stat.h> needs it for dev_t.
1899	From: Rainer Orth <ro@techfak.uni-bielefeld.de>
1900
1901	* ntpdc/ntpdc_ops.c: Reality checks.
1902
1903	* configure.in: netbsd has stubs for the timer_* stuff and doesn't
1904	support PPSAPI.  IRIG requires <stropts.h> .
1905	From: Frederick Bruckman <fb@enteract.com>
1906
1907	* ntpdc/ntpdc_ops.c: (kerninfo)  Report in seconds regardless of
1908	kernel precision.  Report kernel flags as text.
1909	From: Poul-Henning Kamp <phk@critter.freebsd.dk>
1910
1911Sun Apr 18 14:26:51 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1912
1913	* configure.in: 4.0.92g
1914
1915	* ntpd/ntp_refclock.c (refclock_ioctl): We don't want
1916	PPS_HARDPPSONASSERT by default.
1917	* ntpd/refclock_oncore.c: Prefer timepps.h over sys/timepps.h
1918	From: Poul-Henning Kamp <phk@freebsd.org>
1919
1920Tue Apr 13 17:32:35 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1921
1922	* configure.in: 4.0.92f
1923
1924	* ntpd/ntp_refclock.c (refclock_open): VMIN should be 1, not 0
1925	From: Reg Clemens <reg@dwf.com>
1926
1927Sun Apr 11 18:26:44 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1928
1929	* ntpd/refclock_mx4200.c: Patches/improvements
1930	* ntpd/ntpd.c (set_process_priority): Lint
1931	From: Marc.Brett@westgeo.com
1932
1933	* util/ntptime.c: Lint, bit definition cleanup
1934	From: Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
1935
1936Wed Apr  7 03:02:23 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1937
1938	* ntpd/refclock_oncore.c: Use timepps.h or sys/timepps.h
1939	* configure.in: Look for either timepps.h or sys/timepps.h
1940	From: Poul-Henning Kamp <phk@critter.freebsd.dk>
1941
1942	* ntpd/ntp_io.c (create_sockets): Don't warn about ENXIO.
1943	(Several places)
1944	From: Andrej Borsenkow <borsenkow.msk@sni.de>
1945
1946	* libntp/mfp_mul.c (mfp_mul): Lint.
1947	Marc.Brett@westgeo.com
1948
1949Sun Apr  4 03:23:53 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1950
1951	* configure.in: 4.0.92e
1952	Dave redesigned the clock state machine.
1953
19541999-02-28  Frank Kardel  <kardel@acm.org>
1955
1956	* parseutil/dcfd.c: added DCF77 module powersetup
1957
1958	* ntpd/refclock_parse.c (parse_control): using gmprettydate instead of prettydate()
1959	(mk_utcinfo): new function for formatting GPS derived UTC information
1960	(gps16x_message): changed to use mk_utcinfo()
1961	(trimbletsip_message): changed to use mk_utcinfo()
1962	ignoring position information in unsynchronized mode
1963	(parse_start): augument linux support for optional ASYNC_LOW_LATENCY
1964
1965	* ntpd/ntp_control.c (ctl_putclock): cleanup of end of buffer handling
1966
1967	* libparse/parse.c (timepacket): removed unnecessary code
1968
1969	* libparse/clk_trimtsip.c (struct trimble): new member t_utcknown
1970	(cvt_trimtsip): fixed status monitoring, bad receiver states are
1971 	now recognized
1972
1973	* libntp/prettydate.c (gmprettydate): new function for format date
1974 	and time with respect to UTC
1975
1976	* libntp/gpstolfp.c (GPSWRAP): update GPS rollover to 990 weeks
1977
1978	* include/trimble.h (CMD_RUTCPARAM): control variable name unification
1979
1980	* include/ntp_fp.h: added prototype for gmprettydate()
1981
1982Sat Feb 27 00:03:16 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1983
1984	* libntp/systime.c: definition
1985	* ntpd/ntp_proto.c: sco5_oldclock declaration
1986	* configure.in: SCO5_CLOCK for *-*-sco3.2v5*
1987	* util/tickadj.c (main): SCO5_OLDCLOCK -> SCO5_CLOCK
1988	From: Kees Hendrikse <kees@echelon.nl>
1989
1990	* ntpd/ntp_config.c (getconfig): Indentation cleanup
1991	Deal with 'P' case better
1992	* ntpd/ntpd.c: Declare set_process_priority()
1993	* ntpd/refclock_dumbclock.c: Lint cleanup
1994	From: Marc.Brett@westgeo.com
1995
1996Wed Feb 24 10:22:51 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
1997
1998	* configure.in: 4.0.92d
1999
2000	* configure.in: Dave says we can't enable PARSE clocks by default.
2001	Also, Solaris 2.7 still has its kernel bug - disable kernel FLL
2002	there.
2003	Reported by: Dave Mills <dlm@udel.edu>
2004
2005Tue Feb 23 23:37:44 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2006
2007	* libparse/Makefile.am (parsesolaris.o): Devious hack to deal
2008	with bug in sys/systm.h .
2009	Suggested by: Chaim Frenkel <chaimf@pobox.com>
2010
2011Tue Feb 23 20:46:31 1999  Frank Kardel  <kardel@acm.org>
2012
2013	* ntpd/refclock_parse.c: fixed #endifs
2014	(stream_receive): fixed formats
2015
2016Mon Feb 22 00:35:06 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2017
2018	* configure.in: 4.0.92c
2019
2020	* ntpd/refclock_chronolog.c: Lint
2021	* ntpd/refclock_dumbclock.c: Ditto
2022	* ntpd/refclock_oncore.c: Ditto
2023	From: Marc.Brett@westgeo.com
2024
2025	* ntpd/refclock_oncore.c (oncore_msg_any): Call GETTIMEOFDAY, not
2026	gettimeofday().
2027	From: david.higgins@mail.ccur.com
2028
2029	* configure.in (MCAST): Not in i386-sequent-sysv4
2030	Reported by: Joseph Geter <joe.geter@somills.com>
2031
2032	* util/ntptime.c: Linux cleanup.
2033	From: Reg Clemens <reg@dwf.com>
2034
2035	* configure.in: Rename SCO5_OLDCLOCK to SCO5_CLOCK
2036	* acconfig.h: Ditto
2037
2038	* ntpd/ntp_proto.c: SCO5_CLOCK stuff
2039	(init_proto): Use the SCO5_CLOCK stuff
2040	* libntp/systime.c: SCO5_CLOCK stuff
2041	(get_systime): Use the SCO5_CLOCK stuff
2042	(adj_systime): Use the SCO5_CLOCK stuff
2043	From: Kees Hendrikse <kees@echelon.nl>
2044
2045	* ntpd/ntp_config.c: Added -P option and associated baggage.
2046	(getstartup): Update help text
2047	(getconfig): Process -P option
2048	(getconfig): Update help text
2049	* ntpd/ntpd.c (set_process_priority): Created.
2050	(service_main): remove process priority stuff - we want to do at
2051	after we start up the resolver, so call set_process_priority()
2052	after getconfig().
2053	From: Kamal A Mostafa <kamal@whence.com>
2054
20551999-02-21  Frank Kardel  <kardel@acm.org>
2056
2057	* ntpd/ntp_util.c (hourly_stats): removed unused variable
2058
2059	* libntp/ieee754io.c: renamed index to fieldindex to avoid index() name clash
2060
2061	* ntpd/refclock_parse.c (parse_start): add initialization for Linux PPSkit
2062
2063Sun Feb 21 17:53:33 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2064
2065	* ntpd/ntp_io.c (create_sockets): Skip interfaces that are really
2066	just aliases.
2067	From: "Erik R. Leo" <erikl@sover.net>
2068
2069	* configure.in: 4.0.92b
2070
2071	* ntpd/ntpd.c (service_main): Check for an error return from
2072	sched_get_priority_max().
2073
2074Wed Feb 17 03:48:47 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2075
2076	* configure.in: 4.0.92a
2077
2078	* configure.in: configure.in requires autoconf 2.13 or later.
2079	Reported by Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
2080
2081Wed Feb 17 00:12:11 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2082
2083	* acconfig.h: TERMIOS_NEEDS__SVID3
2084	* configure.in: Ditto
2085	* ntpd/refclock_palisade.h: Ditto
2086	* include/ntp_refclock.h: Ditto
2087	* ntpd/ntpd.c (service_main): We want sched_get_priority_max().
2088	From: Kamal A Mostafa <kamal@whence.com>
2089
2090	* ntpd/ntp_refclock.c (refclock_open): Zero the entire c_cc[] array.
2091	From: Reg Clemens <reg@dwf.com>
2092
2093Tue Feb 16 23:37:49 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2094
2095	* Updated ansi2knr
2096	Reported by: Marc Brett
2097
2098Mon Feb 15 02:55:28 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2099
2100	* configure.in: 4.0.92
2101
2102	* ntpd/ntp_refclock.c: Added refclock_chronolog and
2103	refclock_dumbclock.
2104	From: Robert McMillin <rlm@syseca-us.com>
2105
2106Sun Feb 14 15:57:53 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2107
2108	* dropped SCO3 support #defines.
2109	* changed SCO5_TICKADJ #define to SCO5_OLDCLOCK
2110	* Added code in libntp/systime.c to accumulate changes until a whole
2111	  tick can be added or dropped. Adjusted gettimeofday() output
2112	  to include the contents of the accumulator.
2113	* cleaned up util/tickadj.c; tickadj -As now does the right thing.
2114	From: Kees Hendrikse <kees@echelon.nl>
2115
2116	* ntpq/ntpq.c: Rename delay() to auth_delay()
2117	Reported by: Andrej Borsenkow <borsenkow.msk@sni.de>
2118
2119	* ntpd/refclock_palisade.h: Cleanup.
2120	From: Marc.Brett@westgeo.com
2121
2122	* ntpd/ntp_refclock.c (refclock_ioctl): Typo.
2123	From: Reg Clemens <reg@dwf.com>
2124
2125	* ntpd/ntp_io.c (create_sockets): Only bind a given network once.
2126	From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
2127
2128Sat Jan 30 11:48:37 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2129
2130	* configure.in: 4.0.91f
2131
2132Thu Jan 28 22:58:40 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2133
2134	* ntpd/refclock_parse.c (CLK_REALTYPE): We really want ttl, not hmode.
2135	* ntpd/ntp_config.c (getconfig): "mode" really should update the
2136	ttl member, not the hmode member.
2137
2138	* ntpd/refclock_local.c: More offset cleanup from Dave.
2139
2140Thu Jan 28 00:15:20 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2141
2142	* configure.in: 4.0.91e
2143
2144	* ntpd/refclock_local.c: Bugfix.
2145	From: Dave Mills
2146
2147	* ntpd/refclock_palisade.c: Lint/IRIX portability cleanup
2148	* ntpd/refclock_palisade.h: Re-enable the declaration of float()
2149	* ntpd/ntp_io.c (create_sockets): Initialize size to 0
2150	From: Marc.Brett@westgeo.com
2151
2152	* ntpd/refclock_parse.c (CLK_REALTYPE): Use hmode, not ttl.
2153	* configure.in (ac_cv_var_no_parenb_ignpar): Not under Linux.
2154	Reported by: Thomas Quinot <thomas@Cuivre.FR.EU.ORG>
2155
2156	* ntpdc/ntpdc.c (my_delay): Renamed, from delay.
2157	Reported by: Andrej Borsenkow <borsenkow.msk@sni.de>
2158
2159Tue Jan 26 00:56:10 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2160
2161	* configure.in: 4.0.91d
2162
2163	* ntpq/ntpq.c: Y2K patches
2164	From: Marc.Brett@westgeo.com
2165
2166	* html/driver29.htm: New version
2167	* ntpd/refclock_palisade.c: Ditto
2168	* ntpd/refclock_palisade.h: Ditto
2169	From: Sven_Dietrich@Trimble.COM
2170
2171	* upgrade ansi2knr.c
2172
2173	* Some stuff that Dave did.
2174
2175	* configure.in: 4.0.91c
2176
2177	* ntpd/refclock_oncore.c: Prototype cleanup.  Enum cleanup.
2178	* ntpd/ntp_proto.c (clock_select): Fix memory leak.
2179	* configure.in (ac_cv_struct_ppsclockev): Might need sys/time.h to
2180	check for struct clockppsev.  Return pce->serial, not 0;
2181	From: Marc.Brett@westgeo.com
2182
2183	* ntpd/refclock_oncore.c (oncore_msg_En): Clean up.
2184	From: John.Hay@mikom.csir.co.za
2185
2186Mon Jan 25 11:50:29 1999  Philippe De Muyter  <phdm@macqel.be>
2187
2188	* libparse/parse_conf.c (clockformats): Entry added for
2189 	clock_wharton_400a.
2190	* libparse/clk_wharton.c: New file.
2191	* libparse/Makefile.am (libparse_a_SOURCES): clk_wharton.c added;
2192	(libparse_kernel_a_SOURCES): kclk_wharton.c added.
2193	(kclk_wharton.o): New dependency rule.
2194	* ntpd/refclock_parse.c (parse_clockinfo): Entry added for the
2195	WHARTON clock (mode 15).
2196	* acconfig.h (CLOCK_WHARTON_400A): New configuration macro.
2197	* configure.in (CLOCK_WHARTON_400A): Macro defined like other
2198	CLOCK_xxx macros.
2199
2200Sun Jan 24 13:51:30 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2201
2202	* ntpd/ntp_config.c (do_resolve_internal): Missing #ifdef DEBUG
2203	From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
2204
2205	* Makefile.am (SUBDIRS): Lose authstuff
2206	* configure.in: Ditto
2207
2208Sat Jan 23 15:28:03 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2209
2210	* configure.in: 4.0.91b
2211
2212Sat Jan 23 15:02:25 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2213
2214	* ntpd/refclock_oncore.c: use HAVE_STRUCT_PPSCLOCKEV
2215	* acconfig.h: HAVE_STRUCT_PPSCLOCKEV
2216	* configure.in (ac_cv_struct_ppsclockev): Added test
2217
2218Thu Jan 21 15:35:25 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2219
2220	* configure.in: 4.0.91a
2221
2222	* ntpd/refclock_nmea.c (nmea_receive): Call refclock_process()
2223	every second (or each time a nmea string is received).
2224	From: John Hay <jhay@mikom.csir.co.za>
2225
2226	* ntpd/ntp_refclock.c (refclock_ioctl): Use TIOCPPS if we have it.
2227	(refclock_ioctl): Use LDISC_CLKPPS, not LDISC_PPS when deciding
2228	how to set str.
2229	* ntpd/ntp_loopfilter.c: Lose unused ntp_gettime() stuff.
2230	* ntpd/ntp_request.c: Ditto.
2231	* ntpd/refclock_local.c: Ditto.
2232	* ntpd/refclock_shm.c (shm_poll): Fix the refclock_process() call.
2233	* ntpd/refclock_oncore.c: patches and cleanup
2234	* configure.in: ioctl/PPS checks, ONCORE cleanup
2235	* acconfig.h: ONCORE cleanup
2236	From: Reg Clemens <reg@dwf.com>
2237
2238	* configure.in (CFLAGS): cc on Sequent wants -Wc,+abi-socket.
2239	We also need to figure out why -lsocket isn't being detected;
2240	-lsocket is needed.
2241	From: Dana Kaempen <decay@flash.net>
2242
2243	* include/ntp_stdlib.h: AIX portability patches, header cleanup.
2244	* ntptrace/ntptrace.c: Ditto.
2245	* ntpdate/ntpdate.c: Ditto.
2246	* ntpd/refclock_true.c: Ditto.
2247	* ntpd/refclock_mx4200.c: Ditto.
2248	* ntpd/refclock_jupiter.c: Ditto.
2249	* libntp/msyslog.c: Ditto.
2250	From: Marc.Brett@waii.com
2251
2252Sun Jan 10 15:15:07 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2253
2254	* configure.in: 4.0.91
2255
2256Sat Jan  9 00:11:34 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2257
2258	* include/ntp_stdlib.h: msyslog() is declared differently if we're
2259	not __STDC__.
2260
2261	* include/ntp_types.h: It's HAVE_PROTOTYPES, not USE_PROTOTYPES.
2262	* include/ntp_machine.h: Ditto.
2263
2264Fri Jan  8 20:47:10 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2265
2266	* configure.in: Upgrade to autoconf-2.13
2267	Do the prototypes check much earlier, as it might alter CFLAGS and
2268 	things which will affect other tests.
2269
2270	* ntpd/ntp_request.c (do_conf): The problem was with a template
2271	for "version" on an IRIX C compiler...
2272	From: Marc.Brett@waii.com
2273
2274	* libntp/authkeys.c: #include config.h first.
2275	Reported by: brian.bumpass@funb.com
2276
2277Thu Jan  7 00:24:35 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2278
2279	* util/tickadj.c (main): return() instead of exit().
2280	* ntpd/ntp_request.c (do_conf): Disambiguate ||.
2281	* ntpd/ntp_proto.c (clock_select): Initialize variables.
2282	From: Marc.Brett@waii.com
2283
2284	* scripts/ntpver.in: Use PATH_SH
2285
2286	* configure.in (PATH_SH): Added.
2287
2288Tue Jan  5 19:02:51 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2289
2290	* configure.in: 4.0.90h
2291
2292	* html/driver30.htm: Updated.
2293	* html/refclock.htm: Refer to driver30
2294	* ntpd/refclock_oncore.c: Vastly improve and make less FreeBSD centric,
2295	From: Poul-Henning Kamp <phk@critter.freebsd.dk> and
2296		Reg.Clemens <reg@dwf.com>
2297
2298	* include/ntp.h: Portability/lint patches
2299	* libntp/binio.c: Ditto.
2300	* libntp/caljulian.c: Ditto.
2301	* libntp/caltontp.c: Ditto.
2302	* libntp/ieee754io.c: Ditto.
2303	* libntp/md5c.c: Ditto.
2304	* libntp/mfp_mul.c: Ditto.
2305	* libntp/msyslog.c: Ditto.
2306	* libntp/statestr.c: Ditto.
2307	* libntp/systime.c: Ditto.
2308	* libparse/clk_trimtsip.c: Ditto.
2309	* libparse/data_mbg.c: Ditto.
2310	* libparse/parse.c: Ditto.
2311	* ntpd/ntp_control.c: Ditto.
2312	* ntpd/ntp_filegen.c: Ditto.
2313	* ntpd/ntp_intres.c: Ditto.
2314	* ntpd/ntp_io.c: Ditto.
2315	* ntpd/ntp_peer.c: Ditto.
2316	* ntpd/ntp_proto.c: Ditto.
2317	* ntpd/ntp_util.c: Ditto.
2318	* ntpd/ntpd.c: Ditto.
2319	* ntpd/refclock_arc.c: Ditto.
2320	* ntpd/refclock_chu.c: Ditto.
2321	* ntpd/refclock_datum.c: Ditto.
2322	* ntpd/refclock_leitch.c: Ditto.
2323	* ntpd/refclock_parse.c: Ditto.
2324	* ntpd/refclock_usno.c: Ditto.
2325	* ntpq/ntpq.c: Ditto.
2326	* util/tickadj.c: Ditto.
2327	From: Marc.Brett@waii.com
2328
2329Mon Jan  4 00:56:55 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
2330
2331	* configure.in: 4.0.90g
2332
2333	* ntpd/ntp_config.c (getconfig): MODE was setting ttl, not hmode.
2334	Reported by: Carsten Emde <ce@ceag.ch>
2335
2336Fri Dec  4 01:01:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2337
2338	* configure.in: 4.0.90f
2339
2340	* ntpd/refclock_mx4200.c: New version
2341	From: Marc.Brett@waii.com
2342
23431998-12-02  Harlan Stenn  <stenn@whimsy.udel.edu>
2344
2345	* ntpd/ntp_config.c (do_resolve_internal): If fork fails, say why.
2346	Reported by: Jeff_Dennison@admin.tc.faa.gov
2347
2348	* ntpd/ntpd.c (ntpdmain):  fork() can return a -1.  Someday we'll
2349	report this condition...
2350
23511998-12-02  Harlan Stenn  <stenn@whimsy.udel.edu>
2352
2353	* configure.in: 4.0.90e
2354
2355	* ntpd/refclock_palisade.c: Reformat code so ansi2knr will work
2356	* ntpd/refclock_palisade.h: Ditto
2357	From: Marc.Brett@waii.com
2358
2359Sun Nov 29 21:00:53 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2360
2361	* configure.in: 4.0.90d
2362
2363	* configure.in (CFLAGS): Use "-O2 -g3 -n32" by default for Irix6.2
2364	and later.
2365	Reported by: Jack Bryans <jbryans@csulb.edu>
2366
23671998-11-29  Harlan Stenn  <stenn@whimsy.udel.edu>
2368
2369	* configure.in: 4.0.90c
2370
2371	* ntpd/refclock_oncore.c (oncore_msg_En): Convert to nano
2372	From: John Hay <jhay@mikom.csir.co.za>
2373
2374	* include/ntp_request.h (RM_VN_MODE): Add version parameter, so
2375	xntpdc will work across v3 and v4.
2376	* ntpd/ntp_request.c: Track requested version
2377	(req_ack): Use requested version in RM_VN_MODE
2378	(more_pkt): Ditto
2379	(flush_pkt): Ditto
2380	(process_private): Get requested version
2381	* ntpd/ntp_intres.c (request): Use default version
2382	* ntpdc/ntpdc.c (sendrequest): Ditto
2383	From: John Hay <jhay@mikom.csir.co.za>
2384
2385Fri Nov 27 14:27:21 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2386
2387	* ntpd/refclock_palisade.c: Lint cleanup
2388	* ntpd/refclock_palisade.h: Ditto.
2389	From: Marc Brett <mbrett@rgs0.london.waii.com>
2390
2391Mon Nov 23 04:45:03 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2392
2393	* configure.in: 4.0.90b
2394
2395	* New code and cleanup for the NT stuff
2396	From: Carl Byington <carl@five-ten-sg.com>
2397
2398Sat Nov 21 21:21:45 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2399
2400	* configure.in: 4.0.90a
2401
2402	* libntp/systime.c (step_systime): net_set_tod calls clock_settime.
2403	* libntp/machines.c (ntp_set_tod): Take a 2nd arg for NT.
2404	* include/ntp_machine.h: ntp_set_tod() has 2 args always.
2405	* ports/winnt/bldrel.bat: Typo.
2406	From: Carl Byington <carl@five-ten-sg.com>
2407
2408	* ntpd/ntp_intres.c (findhostaddr): h_errno is a #define under AIX.
2409	* configure.in:  clock_settime is a stub in AIX4.
2410	From: Perry Ross <pross@platinum.com>
2411
2412	* libntp/Makefile.am (EXTRA_DIST): Lose libntp.mak
2413	* ntpd/Makefile.am (EXTRA_DIST): Ditto.
2414	* ntpdate/Makefile.am (EXTRA_DIST): Ditto.
2415	* ntpdc/Makefile.am (EXTRA_DIST): Ditto.
2416	* ntpq/Makefile.am (EXTRA_DIST): Ditto.
2417	From: Greg Schueman <schueman@ix.netcom.com>
2418
2419Sat Nov 21 12:33:16 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2420
2421	* configure.in: 4.0.90
2422
2423	Nano changes from Dave Mills.
2424
2425Thu Nov 19 04:23:46 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2426
2427	* include/ntp_machine.h: STREAM also needs HAVE_SYS_STREAM_H
2428	Reported by: Ronald Cole <ronald@forte-intl.com>
2429
2430Mon Nov 16 19:17:34 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2431
2432	* configure.in: 4.0.73e14
2433
2434	* util/ntptime.c (main): Protect STA_NANO
2435
2436	* ntpd/refclock_oncore.c: General overhaul and simplifications.
2437	The new manual clarifies a lot of fine points, and the driver has
2438	been suitably simplified.  Uses Site Survey if possible, otherwise
2439	does it by hand.  Should also work with non-UT models, as long as
2440	they talk the Motorola Binary Protocol.  The driver Doesn't (need
2441	to) know where the author lives anymore.
2442	From: Poul-Henning Kamp <phk@critter.freebsd.dk>
2443
2444	* ntpd/refclock_palisade.h: New version.
2445	* ntpd/refclock_palisade.c: New version.
2446	From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
2447
2448Sat Oct 24 01:19:21 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2449
2450	* configure.in: 4.0.73e13
2451
2452	* ntpdc/ntpdc_ops.c (clkbug): Patches
2453	* ntpd/ntp_refclock.c (refclock_buginfo): Patches
2454	From: Marc.Brett@waii.com
2455
2456Sat Oct 10 20:13:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2457
2458	* configure.in: 4.0.73e12
2459
2460	* ntpd/ntp_util.c (hourly_stats): Added prio_set stuff.
2461
2462	* ntpd/ntpd.c (ntpdmain): HAVE_SETPGRP_0 typo.
2463	* parseutil/dcfd.c (detach): Ditto.
2464	* ntpd/ntp_control.c (ctl_putpeer): Sometimes, peer->dstadr is
2465	NIL.
2466	From: Perry Ross <pross@platinum.com>
2467
2468	* ntpd/ntpd.c:
2469	Some systems use sys/sched.h, not sched.h (Irix)
2470	* configure.in (CFLAGS): nextstep needs -posix.
2471	Reported by: Jack Bryans <jbryans@csulb.edu>
2472
2473Sat Oct  3 02:32:46 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2474
2475	* configure.in: 4.0.73e11
2476
2477	* configure.in (ac_refclock_palisade): Needs termios.
2478
2479	* libntp/mktime.c: Some systems need sys/types.h
2480
2481	* configure.in: Added AC_TYPE_SIZE_T and AC_CHECK_TYPE(time_t, long)
2482	The time_t stuff should only be needed on Older machines, so the
2483	fact that I'm using a long shouldn't be a problem (hollow laugh).
2484
2485	* include/l_stdlib.h: Sometimes we need to #include <sys/types.h>
2486
2487	* libntp/Makefile.am (../include/des.h): Typo.
2488
2489Fri Oct  2 20:52:47 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2490
2491	* ntpd/ntp_intres.c (request): Accept responses back thru V2.
2492
2493Thu Oct  1 00:11:16 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2494
2495	* configure.in: 4.0.73e9
2496
2497	* ntpd/ntpd.c (catch_danger): Added.
2498	(ntpdmain): AIX SIGDANGER stuff
2499	From: Lars-Owe Ivarsson <larsowe@paradisaea.its.uu.se>
2500
2501	* configure.in:
2502	* include/ntp_machine.h:
2503	* include/ntp_string.h:
2504	* libntp/machines.c:
2505	* libparse/clk_hopf6021.c:
2506	* libparse/clk_trimtsip.c:
2507	* ntpd/refclock_leitch.c:
2508	* ntpd/refclock_palisade.c:
2509	* ntpd/refclock_parse.c:
2510	Here are some patches to suppress warnings from various compilers
2511	(IRIX 5.3, MipsPro C 7.1 on IRIX 6.4, AIX 4.1) and loaders (IRIX
2512	5.3, IRIX 6.4).  Shouldn't affect functionality at all.
2513	From: Marc Brett <mbrett@rgs0.london.waii.com>
2514	(I got similar patches for AIX from Lars-Owe Ivarsson
2515	<larsowe@paradisaea.its.uu.se>)
2516
2517Thu Sep 24 21:33:50 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2518
2519	* configure.in: '73e8
2520
2521	* configure.in: AIX4 stubs the POSIX timer_ stuff,
2522	sched_setscheduler, and mlockall.
2523	Reported by: Lars-Owe Ivarsson <larsowe@paradisaea.its.uu.se>
2524
2525	* configure.in: OpenBSD stubs the POSIX timer_ stuff.
2526	Reported by:  sidney august cammeresi iv <cammeres@uiuc.edu>
2527	(and several other folks whose names I can't find at the moment)
2528
2529Mon Sep 21 15:35:23 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2530
2531	* configure.in: '73e7
2532
2533	* ntpd/refclock_parse.c: Missing declaration
2534	From: Marc Brett <mbrett@rgs0.london.waii.com>
2535
2536	* include/README: Remove old MCAST descriptions
2537
2538	* include/Makefile.am (noinst_HEADERS): Lose sun-in.h .
2539
2540Mon Sep 21 14:50:12 1998  Harlan Stenn  <stenn@grundoon.udel.edu>
2541
2542	* ntpdate/ntpdate.c (timer): Properly format the definition.
2543
2544Sun Sep 20 23:02:50 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2545
2546	* configure.in: '73e6
2547
2548	* include/Makefile.am (noinst_HEADERS): Renamed in.h to sun-in.h
2549
2550Fri Sep 18 01:05:55 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2551
2552	* configure.in: '73e5
2553
2554	* ntpd/refclock_palisade.c: SCO patch
2555	From: Kamal A Mostafa <kamalm@sco.com>
2556
2557	* libparse/clk_trimtsip.c (cvt_trimtsip): Fix rollover bug.
2558	From: "Michael J. Tubby B.Sc. G8TIC" <Mike.Tubby@thorcom.co.uk>
2559
2560	* libntp/authencrypt.c:
2561	* libntp/systime.c:
2562	* ntpd/refclock_acts.c:
2563	* ntpd/refclock_arbiter.c:
2564	* ntpd/refclock_arc.c:
2565	* ntpd/refclock_as2201.c:
2566	* ntpd/refclock_atom.c:
2567	* ntpd/refclock_chu.c:
2568	* ntpd/refclock_conf.c:
2569	* ntpd/refclock_datum.c:
2570	* ntpd/refclock_heath.c:
2571	* ntpd/refclock_hpgps.c:
2572	* ntpd/refclock_irig.c:
2573	* ntpd/refclock_leitch.c:
2574	* ntpd/refclock_nmea.c:
2575	* ntpd/refclock_palisade.c:
2576	* ntpd/refclock_parse.c:
2577	* ntpd/refclock_pst.c:
2578	* ntpd/refclock_trak.c:
2579	* ntpd/refclock_true.c:
2580	* ntpd/refclock_usno.c:
2581	* ntpd/refclock_wwvb.c:
2582	Typos, cleanup, and bugfixes
2583	From: Marc Brett <mbrett@rgs0.london.waii.com>
2584
2585	* ntpd/ntp_timer.c (timer): Typo.
2586	* include/ntp_refclock.h: in refclockstat, clockdesc should be const.
2587	* ntpd/ntp_io.c (create_sockets): Typo.
2588	* ntpd/ntp_control.c (free_varlist): Use the appropriate cast when
2589	calling free().
2590	(set_var): Use char *td for non-const char data.
2591	(ctl_getitem): Use char * for non-const data.
2592	(Many of these reported by Marc Brett)
2593
2594Sun Sep 13 19:19:09 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2595
2596	* ntpd/ntpd.c: Added nofork declaration.
2597	(ntpdmain): Initialize it...
2598	* ntpd/ntp_config.c: added nofork.
2599	Updated ntp_options.
2600	(getstartup): Updated "usage" string.  Deal with -n flag.
2601	(getconfig): Ditto.
2602	From: Jeffrey Hutzelman <jhutz@cs.cmu.edu>
2603
2604	* ntpd/ntp_io.c (open_socket): Use ntoa() to print out the address
2605	when bind() fails. (in 2 places)
2606	Reported by: "Markus W. Fehr" <mfehr@ch.ibm.com>
2607	Only soft-fail if an interface is unavailable.
2608	(create_sockets):  Don't SO_REUSEADDR if the interface is unavailable.
2609	From: "Markus W. Fehr" <mfehr@ch.ibm.com>
2610
2611	* configure.in:  If we --disable-all-clocks, then don't enable
2612	parse clocks by default.
2613	Reported by: Marion Hakanson <hakanson@cse.ogi.edu>
2614
2615Sat Aug 22 23:58:14 1998  Frank Kardel  <kardel@acm.org>
2616
2617	* ntpd/refclock_parse.c (local_input): fixed IO handling for non-STREAM IO
2618
2619Sun Aug 16 20:13:32 1998  Frank Kardel  <kardel@acm.org>
2620
2621	* libntp/ieee754io.c: debug information only compile for LIBDEBUG case
2622
2623	* ntpd/refclock_parse.c (gps16x_message): reduced UTC parameter information (dropped A0,A1)
2624	made uval a local variable (killed one of the last globals)
2625	(sendetx): added logging of messages when in debug mode
2626	(trimble_check): added periodic checks to facilitate re-initialization
2627	(trimbletsip_init): made use of EOL character if in non-kernel operation
2628	(trimbletsip_message): extended message interpretation
2629	(getdbl): fixed data conversion
2630
2631	* libparse/parse_conf.c (clockformats): Trimble TSIP driver now also
2632	available for kernel operation
2633
2634	* libparse/info_trimble.c: re-generated
2635
2636	* libparse/clk_trimtsip.c (cvt_trimtsip): initial kernel capable version (no more floats)
2637	(clock_trimtsip =): new format name
2638
2639	* libparse/clk_trimtaip.c (clock_trimtaip =): changed format name
2640
2641	* include/trimble.h (CMD_RSTATTRACK): renamed mode 6 variable name
2642
2643	* scripts/monitoring/ntploopwatch: moved emacs mode selector
2644
2645Mon Aug 10 15:32:48 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2646
2647	* ntpd/refclock_acts.c: Patch cleanup
2648	* ntpd/ntp_refclock.c: Patch cleanup
2649	* ntpd/ntp_timer.c: Patch cleanup
2650	From: qli@huey.udel.edu
2651
2652Wed Jul 29 15:23:21 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2653
2654	* libntp/machines.c: IRIX needs time.h
2655	Reported by: Judith E Bush <jbush@fi.edu>
2656
2657	* ntpd/ntpd.c (service_main): Better AIX PROCLOCK fix.
2658	From: Matt Ladendorf <matt.ladendorf@anheuser-busch.com> and
2659	Grover Davidson <Grover.Davidson@anheuser-busch.com>
2660
2661Wed Jul 29 01:36:48 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2662
2663	* include/ntpd.h (MAXINTERFACES): Moved here...
2664	* ntpd/ntp_io.c: From here...
2665	(create_sockets): Only deal with MAXINTERFACES.
2666	(create_sockets): Only deal with specified interfaces.
2667
2668	* ntpd/ntp_config.c (CONFIG_LISTEN): Added
2669	Added ifnum and listenaddrs[]
2670	(getconfig): Added defn for "addr"
2671	(getconfig): Initialize ifnum.
2672
2673	* ntpd/ntpd.c (service_main): call init_io after getconfig
2674	From: Vebjorn Ljosa <ljosa@initio.no>
2675
2676Wed Jul 29 00:42:28 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2677
2678	* ntpd/refclock_palisade.c: Use NEED_HPUX9_TIOCM_STUFF
2679
2680	* acconfig.h (NEED_HPUX9_TIOCM_STUFF):  Added.
2681
2682	* configure.in (REFCLOCK_PALISADE): Needs termio*.h
2683	(NEED_HPUX9_TIOCM_STUFF): Added.
2684
2685	* ntpd/ntp_io.c (create_sockets): Use strchr instead of strstr.
2686
2687	* libntp/mktime.c: #include <sys/types.h>
2688
2689	* libntp/ieee754io.c: #include <sys/types.h>
2690
2691Wed Jul 29 00:24:22 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2692
2693	* ntpd/refclock_acts.c (ACTS_MAXPOLL): 14 -> 18.
2694	Import current_nextdate
2695	(acts_receive): Update peer->nextdate with current_nextdate
2696	(acts_poll): Call acts_timeout() (debugging)
2697
2698	* ntpd/ntp_refclock.c: Export current_nextdate.
2699	(refclock_transmit): Check peer->valid >= NTP_SHIFT - 2, not >.
2700	(refclock_transmit): hpoll wiggles, update current_nextdate
2701
2702	* ntpd/ntp_timer.c: #include "ntp_refclock.h"
2703	(MODE_MANUAL): Added.
2704	(timer): MODE_MANUAL stuff
2705
2706	From: qli@huey.udel.edu
2707
2708Tue Jul 28 23:23:15 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2709
2710	* configure.in: Check for inet_ntoa in -lbind .
2711
2712	* ntpd/ntpd.c: #undef PROCLOCK for AIX.
2713
2714Mon Jul 20 01:06:24 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2715
2716	* configure.in (AC_TYPE_SIZE_T): Added.
2717
2718Sat Jul 11 09:38:30 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2719
2720	* configure.in: 4.0.73e
2721
2722	* ports/winnt/: Replaced with new code (no SHM or PALISADE)
2723	From: Greg Schueman <schueman@ix.netcom.com>
2724
2725Fri Jul 10 12:12:59 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2726
2727	* configure.in: 4.0.73d
2728
2729	* include/ntp_machine.h (HAVE_SRANDOM): VxWorks patches
2730	(HAVE_RANDOM): Ditto.
2731	(CALL): Ditto.
2732	From: Casey Crellin <ccrellin@mweb.com>
2733
2734	* ntpd/refclock_parse.c (local_input): Typo.
2735	Reported by: Tony Li <tony1@home.net>
2736
2737Wed Jul  8 01:49:01 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2738
2739	* configure.in: 4.0.73c
2740
2741	* PARSE patches from Frank Kardel
2742
2743	* libntp/machines.c (ntp_set_tod): Get it right.
2744
2745Sun Jul  5 22:15:34 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2746
2747	* configure.in: 4.0.73a
2748
2749	* kernel/sys/timex.h (MOD_CANSCALE): Add rest of patch to handle
2750	scaling.
2751	From: Poul-Henning Kamp <phk@critter.freebsd.dk>
2752
2753Wed Jun 10 21:16:01 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
2754
2755	* configure.in: 4.0.73
2756
2757	* ntpd/ntp_loopfilter.c (local_clock): MOD_CANSCALE patches, and
2758	be careful with the integration if we're nearly perfect.
2759	From: Poul-Henning Kamp <phk@critter.freebsd.dk>
2760
2761	* util/tickadj.c (main): Typo fix...
2762	From: Marion Hakanson <hakanson@cse.ogi.edu>
2763
2764	* ntpd/ntp_io.c (create_sockets): Attempt to ignore alias
2765	interfaces.
2766	From: Kenneth Maupin <maupin@easystreet.com>
2767
2768	* ntpd/ntp_refclock.c: PPS fixes
2769	* ntpd/refclock_msfees.c (msfees_start): Portability fixes and
2770	PPS/STREAM enhancements
2771	From: John Hay <jhay@mikom.csir.co.za>
2772
2773	* ntpd/ntp_refclock.c (refclock_gtlin): Patch...
2774	From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
2775
2776Sun Jun 28 18:43:30 1998  Frank Kardel  <kardel@acm.org>
2777
2778	* libntp/buftvtots.c (buftvtots): using WORD_BIGENDIAN instead of XNTP_BIG_ENDIAN
2779
2780	* libparse/clk_trimtsip.c (getflt): fixed ENDIAN issue
2781	(getdbl): fixed ENDIAN issue
2782	(getint): use get_msb_short()
2783	(cvt_trimtsip): use gpstolfp() for conversion
2784
2785	* libntp/Makefile.am (libntp_a_SOURCES): added gpstolfp.c source
2786
2787	* libntp/binio.c: added {get,put}_msb_{short,long}() functions
2788
2789	* include/ntp_fp.h: added gpstolfp() prototype
2790
2791	* include/binio.h: added binio MSB prototypes
2792
2793Sat Jun 13 13:48:17 1998  Frank Kardel  <kardel@acm.org>
2794
2795	* parseutil/testdcf.c: signed/unsigned
2796	SYSV clock name clash fixed
2797
2798	* parseutil/dcfd.c: signed/unsigned
2799	SYSV clock name clash fixed
2800	year wrapping at 1998
2801	ctype macros take ints as args
2802
2803	* ntptrace/ntptrace.c (decodeipaddr): ctype macros take ints as args
2804
2805	* ntpq/ntpq_ops.c (doprintpeers): signed/unsigned
2806
2807	* ntpq/ntpq.c: ctype macros take ints as args
2808	signed/unsigned
2809
2810	* ntpdc/ntpdc.c: signed/unsigned
2811
2812	* ntpd/refclock_usno.c: signed/unsigned
2813
2814	* ntpd/refclock_true.c (true_send): signed/unsigned, name clashes
2815
2816	* ntpd/refclock_parse.c: signed/unsigned, name clashes
2817
2818	* ntpd/refclock_nmea.c (nmea_receive): ctype macros take ints as args
2819
2820	* ntpd/refclock_heath.c (heath_receive): prototypes (signed/unsigned issues)
2821
2822	* ntpd/refclock_arc.c: prototypes (signed/unsigned issues)
2823
2824	* ntpd/refclock_acts.c: prototypes (signed/unsigned issues)
2825
2826	* ntpd/ntpd.c: prototypes (signed/unsigned issues)
2827
2828	* ntpd/ntp_util.c (getauthkeys): prototypes (signed/unsigned issues)
2829	fix SYSV clock name clash
2830
2831	* ntpd/ntp_request.c: prototypes (signed/unsigned issues)
2832	fix SYSV clock name clash
2833
2834	* ntpd/ntp_io.c (input_handler): variable naming, signed/unsigned
2835
2836	* ntpd/ntp_intres.c (readconf): signed/unsigned issues
2837
2838	* ntpd/ntp_control.c: prototypes (signed/unsigned issues)
2839	fix SYSV clock name clash
2840
2841	* ntpd/ntp_config.c: fix SYSV clock name clash
2842        ctype macros take ints as args
2843
2844	* libparse/parsestreams.c: dirt (debug) removed
2845
2846	* libparse/parsesolaris.c: more prototypes
2847	fix name clashes
2848	allow for ansi2knr
2849
2850	* libparse/parse.c: bcopy/memcpy cleanup
2851	fix SYSV clock name clash
2852
2853	* libparse/clk_trimtsip.c (cvt_trimtsip): fix SYSV clock name clash
2854
2855	* libparse/clk_trimtaip.c (cvt_trimtaip): fix SYSV clock name clash
2856
2857	* libparse/clk_schmid.c (cvt_schmid): fix SYSV clock name clash
2858
2859	* libparse/clk_rcc8000.c (cvt_rcc8000): fix SYSV clock name clash
2860
2861	* libparse/clk_rawdcf.c (cvt_rawdcf): fix SYSV clock name clash
2862
2863	* libparse/clk_hopf6021.c (cvt_hopf6021): fix SYSV clock name clash
2864
2865	* libparse/clk_dcf7000.c (cvt_dcf7000): fix SYSV clock name clash
2866
2867	* libparse/clk_computime.c: fix SYSV clock name clash
2868
2869	* libntp/octtoint.c (octtoint): ctype macros take ints as args
2870
2871	* libntp/mstolfp.c (mstolfp): ctype macros take ints as args
2872
2873	* libntp/hextolfp.c (hextolfp): ctype macros take ints as args
2874
2875	* libntp/hextoint.c (hextoint): ctype macros take ints as args
2876
2877	* libntp/decodenetnum.c (decodenetnum): ctype macros take ints as args
2878
2879	* libntp/atouint.c (atouint): ctype macros take ints as args
2880
2881	* libntp/atolfp.c (atolfp): ctype macros take ints as args
2882
2883	* libntp/atoint.c (atoint): ctype macros take ints as args
2884
2885	* kernel/sys/parsestreams.h:  STREAM macro gone in favor of HAVE_SYS_STREAM_H
2886
2887	* include/parse.h: STREAM macro gone in favor of HAVE_SYS_STREAM_H
2888
2889Fri Jun 12 11:08:53 1998  Frank Kardel  <kardel@acm.org>
2890
2891	* ntpd/ntp_timer.c: prototype fixes (ansi2knr/knr compiler)
2892
2893	* ntpd/ntp_proto.c (make_keylist): type cast for e(!!!)malloc()
2894
2895	* libparse/Makefile.am: adjust for ansi2knr
2896
2897	* libntp/ieee754io.c: ansi2knr compatibility
2898
2899	* include/ntp_refclock.h: added pps_sample() extern declaration
2900	added refclock_process_offset() extern declaration
2901
2902	* include/ntp.h: fixed function * prototypes
2903
2904	* ntpd/refclock_parse.c (bind): added input routine
2905	(local_input): added input routine
2906
2907	* ntpd/ntp_io.c (input_handler): direct input processing for
2908	refclocks to save input recv buffers
2909
2910	* include/ntp_refclock.h: added int io_input(struct recvbuf *)
2911	pointer to allow direct processing of read refclock data in
2912	order to save many bug recv buffers on single character input
2913	(problem with "fast" machines)
2914
2915	* parse_conf.c:  conditional compile macros fixed
2916
2917	* parse.c:  conditional compile macros fixed
2918	printf prototype
2919
2920	* clk_trimtaip.c:  conditional compile macros fixed
2921	printf prototype
2922
2923	* clk_schmid.c:  conditional compile macros fixed
2924	printf prototype
2925
2926	* clk_rcc8000.c:  conditional compile macros fixed
2927	printf prototype
2928
2929	* clk_hopf6021.c:  conditional compile macros fixed
2930	printf prototype
2931
2932	* clk_dcf7000.c: conditional compile macros fixed
2933	printf prototype
2934
2935	* clk_computime.c: conditional compile macros fixed
2936	printf prototype
2937
2938Sat Jun  6 07:41:54 1998  Frank Kardel  <kardel@acm.org>
2939
2940	* ntpd/refclock_palisade.c: fixed termio.h / termios.h inclusion
2941
2942	* include/ntp_refclock.h: made refclockproc/clockdesc const
2943
2944	* ntpd/ntp_control.c (ctl_putpeer): avoided ambigous 'else' (gcc)
2945
2946	* ntpd/refclock_parse.c (parse_start): added BURST mode initialisation
2947
2948	* scripts/stats/summary.sh (CLOCK): allow for Y2K log files
2949
2950	* libparse/clk_rawdcf.c: simplified condidional compile expression
2951
2952Wed May 27 08:10:43 1998  Frank Kardel  <kardel@acm.org>
2953
2954	* include/Makefile.am (noinst_HEADERS): added new header files
2955	mbg_gps166.h binio.h ascii.h ieee754io.h
2956
2957	* ntpdc/ntpdc.c (sendrequest): fixed info_auth_keyid setting it
2958	got accidentally trashed every other round
2959
2960Mon May 25 22:55:07 1998  Frank Kardel  <kardel@acm.org>
2961
2962	* configure.in: PARSE clocks are enabled by default whenever
2963	possible (termio.h or termios.h present)
2964	removed RAWDCF_SETDTR feature
2965
2966	* acconfig.h: removed RAWDCF_SETDTR option (now implicit by
2967	compilation and run time configuration)
2968
2969	* ntpd/refclock_parse.c (rawdcf_init): offer a RAWDCF clock (type 14)
2970	that attempts to set the DTR modem line for receiver power
2971
2972	* libparse/clk_meinberg.c (cvt_meinberg): support current standard
2973	Meinberg data formats
2974
2975Sun May 24 09:43:19 1998  Frank Kardel  <kardel@acm.org>
2976
2977	* libparse/clk_rawdcf.c (pps_rawdcf): trigger pps on zero going
2978	edge - that is simpler wiring (Rx->DCD).
2979
2980	* parseutil/testdcf.c (wday): const keyword
2981
2982	* parseutil/dcfd.c (cvt_rawdcf): sign issues and calling interfaces
2983
2984	* ntpq/ntpq.c (MAXVARLEN): adjusted internal buffer length for
2985	variable values
2986
2987	* ntpd/refclock_parse.c: adjust to new io handling (fixed formats
2988	only)
2989	(mkreadable): don't include >"< in readable ASCII output (-> ntpq
2990	parsing)
2991	output debug messages to stdout instead of msyslog()
2992	fixed version information string
2993
2994	* ntpd/refclock_atom.c (pps_sample): new auxiliary pps interface
2995
2996	* libparse/parsestreams.c (parserput): get event status consistent
2997	with direct calls
2998	(zs_xsisr): simulate CARRIER status to avoid unnecessary M_xHANGUP
2999	events
3000
3001	* libparse/parsesolaris.c (parserput): get event status consistent
3002	with direct calls
3003	(zs_xsisr): simulate CARRIER status to avoid unnecessary M_xHANGUP
3004	events
3005
3006	* libparse/parse.c: removed old input cruft
3007	(parse_restart): new generic input help function
3008	(parse_addchar): ditto
3009	(parse_end): ditto
3010	(pps_one): new generic pps help function
3011	(pps_zero): ditto
3012
3013	* libparse/clk_trimtsip.c (clock_trimtsip =): new input handling
3014
3015	* libparse/clk_trimtaip.c (clock_trimtaip =): new input handling
3016	(inp_trimtaip): new input handler
3017
3018	* libparse/clk_schmid.c (clock_schmid =): new input handling
3019	(inp_schmid): new input handler
3020
3021	* libparse/clk_rcc8000.c (clock_rcc8000 =): new input handling
3022	(inp_rcc8000): new input handler
3023
3024	* libparse/clk_rawdcf.c (clock_rawdcf =): new input handling
3025	(snt_rawdcf): adjusted to new input handling
3026	(inp_rawdcf): new input handler
3027
3028	* libparse/clk_meinberg.c (clock_meinberg): new input handling
3029	(gps_input): new input handler
3030	(mbg_input): new input handler
3031
3032	* libparse/clk_hopf6021.c (clock_hopf6021 =): new input handling
3033	(inp_hopf6021): new input handler
3034
3035	* libparse/clk_dcf7000.c (clock_dcf7000 =): new input handling
3036	(inp_dcf7000): new input handler
3037
3038	* libparse/clk_computime.c (clock_computime =): new input handling
3039	(inp_computime): new input handler
3040
3041	* libparse/Makefile.am: link kernel module with libntp.a
3042
3043	* include/parse.h (struct parse): removed old data structure cruft
3044	(new input model) new PARSE_INP* macros for input handling
3045	removed old SYNC_* macros from old input model
3046	(struct clockformat): removed old parse functions in favor of the
3047	new input model
3048	updated prototypes
3049
3050	* include/ntp_refclock.h: prototype for refclock_atom pps_sample()
3051	interface
3052
3053	* acconfig.h: added PPS_SAMPLE define
3054	* configure.in (LIBPARSE): added PPS_SAMPLE configuration
3055	<refclock_atom aux interface>
3056
3057	* libntp/systime.c (adj_systime): debug output (> level 6) for
3058	adjtime results
3059
3060	* libntp/mfp_mul.c (mfp_mul): controlled debug output
3061
3062	* libntp/ieee754io.c (get_byte): controlled debug output
3063	(fetch_ieee754): ditto
3064	(put_ieee754): ditto
3065
3066Tue May  5 20:09:51 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3067
3068	* configure.in: document DES is not usually present.
3069
3070Wed Apr 29 22:00:22 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3071
3072	* configure.in: 4.0.72h
3073
3074	* authstuff/Makefile.am (check-local-rsn): check-local doesn't
3075	work with RSAREF...
3076	Reported by: "Auteria Wally Winzer Jr." <wally.winzer@champusa.com>
3077
3078	* libntp/machines.c: the settime() choices were ordered badly.
3079	Reported by: Michael Joosten <joost@c-lab.de>
3080
3081Sat Apr 25 00:35:53 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3082
3083	* configure.in (ac_cv_var_no_parenb_ignpar): Undo the kernel PLL
3084	block I just installed - Dave wants to control this via
3085	KERNEL_FLL_BUG.
3086
3087Fri Apr 24 20:35:57 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3088
3089	* libntp/Makefile.am (libntp_a_DEPENDENCIES): Set per libntp_a_LIBADD
3090
3091	* configure.in: Do a better job of blocking kernel PLL under
3092	solaris2.6.
3093
3094Fri Apr 24 00:41:12 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3095
3096	* configure.in: 4.0.72f
3097	(ac_cv_struct_nlist_n_un): Don't look for ntp_adjtime or
3098	ntp_gettime under solaris2.6.
3099
3100	* ntpd/ntp_proto.c (process_packet): Give verbose error messages
3101
3102	* include/global.h (PROTOTYPES): Drive via HAVE_PROTOTYPES.
3103
3104Wed Apr 22 16:55:55 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3105
3106	* configure.in (ac_cv_var_use_des): Added. 4.0.72e.
3107	* libntp/Makefile.am (libntp_a_LIBADD): Added DESOBJS
3108
3109Tue Apr 21 02:08:06 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3110
3111	* ntpd/refclock_arc.c (arc_receive): Typo...
3112	From: Sam Steingold <sds@usa.net>
3113
3114Fri Apr 10 03:05:35 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3115
3116	* configure.in (ac_refclock_chu): AUDIO_CHU support.  Disabled by
3117	default, and currently only supported on SunOS and Solaris.
3118	* acconfig.h: AUDIO_CHU
3119
3120Wed Apr  8 19:53:53 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3121
3122	* libntp/Makefile.am (EXTRA_DIST): Added mktime.c
3123
3124	* configure.in:  AC_REPLACE_FUNCS(mktime).
3125	(--enable-dst-minutes=60): Added, for (missing) mktime().
3126
3127	* ntpd/refclock_heath.c (heath_receive): Use mktime() instead of
3128	the old hack.
3129
3130Tue Apr  7 21:15:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3131
3132	* configure.in (LIBOBJS): Hack it before AC_OUTPUT to deal with
3133	ANSI2KNR-filtering rules.
3134	From: Jim Meyering <meyering@ascend.com>
3135
3136Mon Apr  6 01:40:45 1998  Harlan Stenn  <stenn@grundoon.udel.edu>
3137
3138	* libntp/strerror.c: ANSIfy strerror's definition.
3139
3140Thu Mar 12 20:24:45 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3141
3142	* libntp/statestr.c: Only #include <config.h> if HAVE_CONFIG_H is
3143	#define'd.
3144	From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
3145
3146Wed Mar 11 00:27:32 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3147
3148	* configure.in: Cygwin needs to check for the advapi32 library.
3149	NT doesn't support a root user, so don't bother with getuid().
3150	Also, don't bother with umask().
3151
3152	* ntpd/ntp_io.c: cygwin32 patches
3153	* ntpd/ntp_proto.c: Ditto.
3154	* ntpd/ntpd.c: Ditto.
3155	* ntpd/ntp_timer.c: Ditto.
3156	* ntpdate/ntpdate.c: Ditto.
3157	* libntp/machines.c: Ditto.
3158	* libntp/systime.c: Ditto.
3159	* include/ntp_machine.h: Ditto.
3160	* include/ntp_unixtime.h: Ditto.
3161	From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
3162
3163Tue Mar 10 22:26:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3164
3165	* configure.in (ac_cv_make_tickadj): Added.
3166	Now that tickadj is the only(?) utility that cares about tick and
3167	tickadj, we don't need to have NOKMEM and no PRESET_* be fatal.
3168
3169Sat Mar  7 02:57:17 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3170
3171	* ntpd/ntp_loopfilter.c (local_clock): Patch STA_FLL check
3172	From: Poul-Henning Kamp <phk@freebsd.org>
3173
3174	* various: Renamed ACTS to CLOCK_ACTS, ARBITER to CLOCK_ARBITER,
3175	ARCRON_MSF to CLOCK_ARCRON_MSF, AS2201 to CLOCK_AS2201, BANC to
3176	CLOCK_BANC, DATUM to CLOCK_DATUM, GPSVME to CLOCK_GPSVME, HEATH to
3177	CLOCK_HEATH, HPGPS to CLOCK_HPGPS, IRIG to CLOCK_IRIG, JUPITER to
3178	CLOCK_JUPITER, LEITCH to CLOCK_LEITCH, MSFEES to CLOCK_MSFEES,
3179	MX4200 to CLOCK_MX4200, NMEA to CLOCK_NMEA, PALISADE to
3180	CLOCK_PALISADE, PARSE to CLOCK_PARSE, PPS720 to CLOCK_PPS720, PST
3181	to CLOCK_PST, PTBACTS to CLOCK_PTBACTS, SHM_CLOCK to CLOCK_SHM,
3182	ONCORE to CLOCK_ONCORE, TPRO to CLOCK_TPRO, TRAK to CLOCK_TRAK,
3183	TRUETIME to CLOCK_TRUETIME, USNO to CLOCK_USNO, WWVB to CLOCK_WWVB
3184
3185	* Makefile.am (ETAGS_ARGS): Added acconfig.h
3186
3187	* various: Renamed LOCAL_CLOCK to CLOCK_LOCAL.
3188
3189	* configure.in: First cut at  *-pc-cygwin32 support
3190	Requested by: Sven Dietrich <Sven_Dietrich@Trimble.COM>
3191
3192	* configure.in: gdt-surveying code is gone.  Sigh.
3193	Reported by: Poul-Henning Kamp <phk@critter.freebsd.dk>
3194
3195Wed Mar  4 21:41:06 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3196
3197	* many places: Renamed ATOM to CLOCK_ATOM
3198
3199Tue Mar  3 03:18:13 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3200
3201	* ntpd/ntp_timer.c (timer): Only call refclock_transmit if
3202	REFCLOCK is #define'd.
3203	Reported by a bunch of folks.
3204
3205Mon Mar  2 03:46:07 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3206
3207	* configure.in (ntp_refclock): Use CLOCK_CHU, which no longer
3208	needs any special headers.
3209	* ntpd/refclock_chu.c: Call it CLOCK_CHU
3210	(chu_receive): Define it correctly.
3211
3212	* include/winnt/sys/time.h (gettimeofday): Prototypes are OK.
3213	(settimeofday): Prototypes are OK.
3214	From: JJEVNISEK@qgraph.com
3215
3216	* ntpq/ntpq_ops.c: varlist name and value aren't const.
3217	* ntpdc/ntpdc_ops.c (fudge): The flags are u_val, not val.
3218	* ntpdc/ntpdc.c: const cleanup, exit cleanup.
3219	* ntpd/refclock_wwvb.c (wwvb_receive): Move the definition of tz
3220	somewhere more normal.
3221	* ntpd/ntp_request.c (do_trustkey): kp gets u_long data, not
3222	u_int32 (but Harlan thinks this patch may be wrong).
3223	* ntpd/ntp_refclock.c (refclock_process): clocktime needs
3224	offset.l_ui, not offset.l_i .
3225	* ntpd/ntp_control.c (set_var): t isn't const.
3226	* libntp/a_md5encrypt.c (session_key): Cast 2nd arg to MD5auth_setkey.
3227	* include/ntpd.h: ctl_var's text field isn't const.
3228	* include/ntp_refclock.h: clockdesc isn't const.
3229	From: Marc Brett <Marc.Brett@waii.com>
3230
3231	* ntpd/ntp_loopfilter.c (local_clock): Limit ntv.constant to
3232	MAXTC, and log error returns from ntp_adjtime.
3233	From: Juha Sarlin <juha@c3l.tyreso.se>
3234
3235Mon Mar  2 03:05:23 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3236
3237	* configure.in (ac_cv_var_kernel_fll_bug): KERNEL_FLL_BUG
3238	* acconfig.h: KERNEL_FLL_BUG: added.
3239	* ntpd/ntp_loopfilter.c (local_clock): Only avoid STA_FLL if
3240	KERNEL_FLL_BUG is #define'd (Solaris2.6)
3241
3242Sat Feb 21 00:45:10 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3243
3244	* automake-1.2d.patches: Added ansi2knr.o rules.
3245
3246	* ntpd/refclock_tpro.c: P() stuff
3247
3248Fri Feb 20 20:10:20 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3249
3250	* configure.in: Improve the ${CC} -pipe test (cygwin-32's gcc -pipe
3251	silently does nothing).
3252	Reported by: Sven Dietrich <Sven_Dietrich@Trimble.COM>
3253
3254Wed Feb 18 00:51:08 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3255
3256* configure.in: 4.0.72 released.
3257
3258* configure.in:AC_REPLACE_FUNCS(strerror), check for poll.h, and deal
3259  with the --enable-JUPITER stuff.
3260* libntp/Makefile.am (libntp_a_LIBADD): Added (for strerror support).
3261* libntp/clocktypes.c: Added REFCLK_GPS_JUPITER.
3262* ntpdate/ntpdate.c: poll() support
3263* ntpd/Makefile.am: Add refclock_jupiter.c
3264* ntpd/refclock_conf.c: Added refclock_jupiter
3265* ntpd/refclock_mx4200.c (mx4200_pps): Bugfixes.
3266* include/ntp.h (REFCLK_GPS_JUPITER): Added, and bumped REFCLK_MAX.
3267  From: Craig Leres <leres@ee.lbl.gov>
3268
3269Mon Feb 16 21:02:42 1998  Harlan Stenn  <stenn@grundoon.udel.edu>
3270
3271	* ntpd/ntp_proto.c: P()
3272
3273Mon Feb 16 12:43:11 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3274
3275* include/ntp_types.h: Added P() prototyping hack back in.
3276* include/parse.h: Ditto.
3277* include/ntpd.h:  Ditto.
3278* include/ntp_unixtime.h:  Ditto.
3279* include/ntp_stdlib.h: Ditto.
3280* include/ntp_select.h: Ditto.
3281* include/ntp_refclock.h: Ditto.
3282* include/ntp_fp.h: Ditto.
3283* include/md5.h: Ditto.
3284* include/ntp_filegen.h: Ditto.
3285* include/ntp_calendar.h: Ditto.
3286* include/l_stdlib.h: Ditto.
3287
3288	* configure.in (ACTS): Sometimes, TIOCMBIS is in sys/ioctl.h
3289	  Reported by Kenneth Jaldehag <kenneth.jaldehag@sp.se>
3290	* configure.in (HEATH): Ditto.
3291	* configure.in (PTBACTS): Ditto.
3292	* configure.in (USNO): Ditto.
3293
3294Sat Feb 14 00:02:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3295
3296	* ntpd/refclock_irig.c (irig_rf): Rename sincos[] to sin_cos[].
3297
3298Fri Feb 13 22:22:08 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3299
3300	* include/ntp.h (RANDPOLL): Use random or mrand48.
3301	* ntpd/ntp_config.c (do_resolve_internal): Ditto.
3302	* ntpd/ntp_peer.c (unpeer): Ditto.
3303	* ntpd/ntp_proto.c (make_keylist): Ditto.
3304
3305	* ntpd/ntpd.c (xntpdmain): Use srandom or srand48.
3306
3307	* configure.in: Look for {s,}random() and [ms]rand48().
3308
3309Wed Feb 11 22:50:24 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
3310
3311	* ntpd/ntp_restrict.c (hack_restrict): Renamed restrict()
3312	* include/ntpd.h: Ditto
3313	* ntpd/ntp_request.c (do_restrict): Ditto
3314	* ntpd/ntp_config.c (getconfig):
3315	* ntpd/ntp_io.c (create_sockets): Ditto.
3316
33171998-01-23  Harlan Stenn  <stenn@whimsy.udel.edu>
3318
3319	* ntpd/refclock_irig.c: Allow either <sun/audioio.h> or
3320	<sys/audioio.h> .  From Dave Mills.
3321
3322	* configure.in: Under SunOS, it's sun/audioio.h .
3323
33241998-01-22  Harlan Stenn  <stenn@whimsy.udel.edu>
3325
3326	* html/driver6.html: Updated header file info
3327	* html/irig.html: Ditto.
3328	* configure.in: sys/bsd_audioirig.h replaced with sys/audioio.h
3329	for new irig driver that Dave installed.
3330
33311998-01-08  Harlan Stenn  <stenn@whimsy.udel.edu>
3332
3333	* Many places: Lose the P(()) prototype stuff
3334
3335	* util/tickadj.c (writevar): Make offset an off_t
3336	(readvar): Ditto
3337	(getoffsets): Make offsets off_t
3338
3339	* adjtimed/adjtimed.c (GetClockRate): Fix lseek arg 2.
3340	(SetClockRate): Ditto
3341
3342	* Many things in many places from many people.
3343
3344	* configure.in: Added AC_TYPE_OFF_T
3345
33461997-11-26  Harlan Stenn  <stenn@whimsy.udel.edu>
3347
3348	* ntpd/refclock_palisade.c: ANSIfied.
3349
3350Wed Sep  3 23:51:44 1997  Harlan Stenn  <stenn@whimsy.udel.edu>
3351
3352	* configure.in (AM_C_PROTOTYPES): Added.
3353
3354	* Makefile.am (AUTOMAKE_OPTIONS): Added ansi2knr.
3355
3356