source: trunk/third/xntp/ChangeLog @ 16192

Revision 16192, 168.4 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16191, which included commits to RCS files with non-trunk default branches.
Line 
12001-04-03  Harlan Stenn  <stenn@whimsy.udel.edu>
2
3        * ntpd/ntp_proto.c (clock_filter): Swell stuff.
4        From: Mark Martinec <Mark.Martinec@ijs.si>
5
6        * ports/winnt/ntpd/ntpd.dsp:
7        * ports/winnt/ntpd/hopf_PCI_io.c:
8        * ports/winnt/include/hopf_PCI_io.h:
9        * ports/winnt/include/config.h:
10        * ntpd/refclock_hopfser.c:
11        * ntpd/refclock_hopfpci.c:
12        * ntpd/refclock_conf.c:
13        * ntpd/ntp_control.c:
14        * ntpd/Makefile.am:
15        * libntp/clocktypes.c:
16        * include/ntp.h:
17        * include/hopf6039.h:
18        * include/Makefile.in:
19        * include/Makefile.am:
20        * html/pic/fg6039.jpg:
21        * html/refclock.htm:
22        * html/driver39.htm:
23        * html/driver38.htm:
24        * html/copyright.htm:
25        Updated Oncore dudes.
26
27        * configure.in:
28        HOPF drivers and documentation.
29        From: Bernd Altmeier <altmeier@atlsoft.de> (with some light
30        hacking from Harlan to clean up indentation and lose the // comments)
31
32        * ntpd/refclock_oncore.c:
33        * ntpd/refclock_conf.c: Make it go.
34        From: Reg Clemens <reg@dwf.com>
35
36        * configure.in (openssl): Publish and default to RSAREF; hide
37        openssl, and only use it if explicitly requested (at least until
38        we work with it).
39
402001-04-02  Harlan Stenn  <stenn@whimsy.udel.edu>
41
42        * html/y2k.htm:
43        * html/tickadj.htm:
44        * html/release.htm:
45        * html/refclock.htm:
46        * html/quick.htm:
47        * html/pps.htm:
48        * html/ntptrace.htm:
49        * html/ntptime.htm:
50        * html/ntpq.htm:
51        * html/ntpdc.htm:
52        * html/ntpdate.htm:
53        * html/ntpd.htm:
54        * html/miscopt.htm:
55        * html/index.htm:
56        * html/genkeys.htm:
57        * html/exec.htm:
58        * html/driver7.htm:
59        * html/driver22.htm:
60        * html/copyright.htm:
61        * html/confopt.htm:
62        * html/build.htm:
63        * html/authopt.htm:
64        * html/assoc.htm:
65        Updates from Dave Mills.
66       
672001-04-01  Harlan Stenn  <stenn@whimsy.udel.edu>
68
69        * configure.in (OPENSSL): Just use -lcrypto.
70        Reported by Dave Mills.
71
722001-03-31  Harlan Stenn  <stenn@whimsy.udel.edu>
73
74        * configure.in: 4.0.99k20
75
76        * ntpd/refclock_heath.c: Add support for GC-1000 II.
77        From Dave Mills.
78
79        * ntpd/ntp_proto.c (transmit): Check peer->unreach.
80        (peer_clear): peer->outdate is a f(BURST_INTERVAL1), not
81        NTP_MINPOLL.
82        * ntpd/ntp_loopfilter.c (local_clock): mode_ntpdate stuff.
83        * ntpd/ntp_crypto.c: OpenSSL/RSAREF support.
84        * ntpd/cmd_args.c: Use -q, not -z, for mode_ntpdate.
85        (getstartup): nofork on mode_ntpdate. Usage update.
86        * include/ntp_crypto.h: OpenSSL/RSAREF support.
87        From: Dave Mills.
88
89        * configure.in (rsaref): Buglet.
90
912001-03-30  Harlan Stenn  <stenn@whimsy.udel.edu>
92
93        * ntpd/ntp_proto.c (clock_update): mode_ntpdate support.
94        * ntpd/ntp_loopfilter.c (local_clock): mode_ntpdate support.
95        * ntpd/cmd_args.c: Added -z (mode_ntpdate).
96        * include/ntpd.h: mode_ntpdate added.
97        * include/ntp_crypto.h: RSAREF/OPENSSL cleanup.
98        From: Dave Mills.
99
1002001-03-29  Harlan Stenn  <stenn@whimsy.udel.edu>
101
102        * config.h.in:
103        * aclocal.m4:
104        * configure.in: Prepare for OpenSSL support
105
1062001-03-28  Harlan Stenn  <stenn@whimsy.udel.edu>
107
108        * README.rsa: Note that RSAEURO will not work.
109        Reported by: pieter.delacourt@banksys.be
110
1112001-03-25  Harlan Stenn  <stenn@whimsy.udel.edu>
112
113        * include/ntp_if.h:
114        * include/ntp_machine.h:
115        * include/ntp_unixtime.h:
116        * libntp/humandate.c:
117        * libntp/iosignal.c:
118        * libntp/mktime.c:
119        * libntp/prettydate.c:
120        * libntp/systime.c:
121        * libntp/tvtoa.c:
122        * libntp/uglydate.c:
123        * libntp/utvtoa.c:
124        * libparse/clk_computime.c:
125        * libparse/clk_dcf7000.c:
126        * libparse/clk_hopf6021.c:
127        * libparse/clk_meinberg.c:
128        * libparse/clk_rawdcf.c:
129        * libparse/clk_rcc8000.c:
130        * libparse/clk_schmid.c:
131        * libparse/clk_trimtaip.c:
132        * libparse/clk_trimtsip.c:
133        * libparse/clk_varitext.c:
134        * libparse/parse.c:
135        * libparse/parse_conf.c:
136        * ntpd/check_y2k.c:
137        * ntpd/ntp_config.c:
138        * ntpd/ntp_control.c:
139        * ntpd/ntp_intres.c:
140        * ntpd/ntp_io.c:
141        * ntpd/ntp_loopfilter.c:
142        * ntpd/ntp_monitor.c:
143        * ntpd/ntp_proto.c:
144        * ntpd/ntp_refclock.c:
145        * ntpd/ntp_request.c:
146        * ntpd/ntp_resolver.c:
147        * ntpd/ntp_timer.c:
148        * ntpd/ntp_util.c:
149        * ntpd/ntpd.c:
150        * ntpd/refclock_acts.c:
151        * ntpd/refclock_arbiter.c:
152        * ntpd/refclock_arc.c:
153        * ntpd/refclock_as2201.c:
154        * ntpd/refclock_atom.c:
155        * ntpd/refclock_bancomm.c:
156        * ntpd/refclock_chronolog.c:
157        * ntpd/refclock_chu.c:
158        * ntpd/refclock_datum.c:
159        * ntpd/refclock_dumbclock.c:
160        * ntpd/refclock_fg.c:
161        * ntpd/refclock_gpsvme.c:
162        * ntpd/refclock_heath.c:
163        * ntpd/refclock_hpgps.c:
164        * ntpd/refclock_irig.c:
165        * ntpd/refclock_jupiter.c:
166        * ntpd/refclock_leitch.c:
167        * ntpd/refclock_local.c:
168        * ntpd/refclock_msfees.c:
169        * ntpd/refclock_mx4200.c:
170        * ntpd/refclock_nmea.c:
171        * ntpd/refclock_oncore.c:
172        * ntpd/refclock_pcf.c:
173        * ntpd/refclock_pst.c:
174        * ntpd/refclock_shm.c:
175        * ntpd/refclock_tpro.c:
176        * ntpd/refclock_trak.c:
177        * ntpd/refclock_true.c:
178        * ntpd/refclock_ulink.c:
179        * ntpd/refclock_usno.c:
180        * ntpd/refclock_wwv.c:
181        * ntpd/refclock_wwvb.c:
182        * ntpdate/ntpdate.c:
183        * ntpdate/ntptime_config.c:
184        * ntpdate/ntptimeset.c:
185        * ntpdc/ntpdc.c:
186        * ntpdc/ntpdc_ops.c:
187        * ntpq/ntpq.c:
188        * ntpq/ntpq_ops.c:
189        * ntptrace/ntptrace.c:
190        * parseutil/testdcf.c:
191        * util/hist.c:
192        * util/ntp-genkeys.c:
193        * util/ntptime.c:
194        * util/precision.c:
195        * util/tickadj.c:
196        time.h and sys/time.h cleanup.
197
1982001-03-24  Harlan Stenn  <stenn@whimsy.udel.edu>
199
200        * configure.in: '99k19
201
202        * ntpd/refclock_atom.c (atom_ppsapi): PPS API RFC alignment patches.
203        From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
204
205        * util/ntptime.c: MNT options
206        From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
207
208        * ntpd/ntp_refclock.c (refclock_newpeer): Lose "extra" free().
209        From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
210
211        * configure.in: 4.0.99k18 and auto* upgrade
212
2132001-03-14  Harlan Stenn  <stenn@whimsy.udel.edu>
214
215        * ntpdc/ntpdc_ops.c (printpeer): No more "valid".
216        * ntpd/ntp_request.c (peer_info): No more "valid".
217        * ntpd/ntp_refclock.c (refclock_transmit): valid/hpoll cleanup.
218        * ntpd/ntp_proto.c (transmit): valid/hpoll and peer->ttl cleanup.
219        peer->valid/oreach cleanup.
220        (receive): Call newpeer() with the pkt->ppoll, not
221        NTP_MINDPOLL (in several places).
222        In AM_NEWPASS, if we have a NULL peer, return.
223        (poll_update): Added xpoll definition, fixed oldpoll definition.
224        Algorithmic improvements.
225        * ntpd/ntp_peer.c (newpeer): Better minpoll/maxpoll
226        initialization.
227        (resetmanycast): That's a poll_update() on an MDF_ACAST, not a
228        poll_clear().
229        * ntpd/ntp_crypto.c: include <fcntl.h>.
230        (crypto_recv): Leave the crypto_flags alone when wiggling the
231        peer-> stuff.
232        (crypto_cert): Make room for daddy.  Do a real open() on the cert
233        file.  Read the cert.  Initial hack and slash.  Better debug info.
234        * ntpd/ntp_control.c: CP_VALID now does "unreach".
235        (ctl_putpeer): Ditto.
236        * include/ntp_request.h: info_peer gets a placeholder for "valid".
237        * include/ntp_crypto.h (CRYPTO_FLAG_CERT): Comment update.
238        * include/ntp.h: Lose "valid" from struct peer.
239        From: Dave Mills.
240
2412001-03-05  Harlan Stenn  <stenn@whimsy.udel.edu>
242
243        * ntpd/ntp_proto.c (transmit): hpoll calc logic cleanup.
244        (receive): New cert stuff.
245        (poll_update): Improvements.
246        (peer_clear): New cert stuff.
247        (peer_xmit): New cert stuff.
248        * ntpd/ntp_crypto.c: New cert stuff, documentation cleanup.  Lose
249        extraneous poll_uopdate()s.
250        * ntpd/ntp_control.c: Deal with new cert stuff.
251        * ntpd/ntp_config.c (getconfig): Handle CONF_CRYPTO_CERT.
252        * include/ntp_crypto.h (CRYPTO_FLAG_CERT): Added.
253        (CRYPTO_CERT): Added.
254        (CRYPTO_CONF_CERT): Added.
255        Add declaration for struct value certif.
256        * include/ntp_control.h (CS_CERTIF): Added.
257        (CP_CERTIF): Added.
258        * include/ntp_config.h (CONF_CRYPTO_CERT): Added.
259        * include/ntp.h (TEST10,TEST11): New meaning.  Add certif to
260        struct peer.
261        (FLAG_PROVEN): Added.
262        (MAX_EXT_LEN): Removed.
263        exten grew from 672/4 to 5000/4 for PUBKEY.
264        From: Dave Mills.
265
2662001-03-03  Harlan Stenn  <stenn@whimsy.udel.edu>
267
268        * ntpd/ntp_proto.c (transmit): Documentation cleanup.
269        (receive): Watch for NULL peer->pubkey.ptr (TEST11).
270        (poll_update): peer->nextdate, not ->outdate. More cleanup around
271        the disabled PUBKEY chunk.
272        * ntpd/ntp_crypto.c (make_keylist): ltemp might be smaller than
273        sys_automax - check peer->kpoll, too.  Other ltemp cleanup.
274        (crypto_recv): fstamp is a PUBKEY-only variable.
275        * include/ntp.h (NTP_AUTOMAX): 13, not 12.
276        From: Dave Mills.
277
2782001-03-01  Harlan Stenn  <stenn@whimsy.udel.edu>
279
280        * ntpd/ntp_proto.c (transmit): hpoll cleanup.  Call clock_select()
281        after calling poll_update, not before.
282        (receive): Call poll_update after crypto_recv if FLAG_SKEY.
283        (process_packet): Set peer->ppoll Later.
284        (poll_update): peer->hpoll sanity checking.  Set peer->outdate,
285        not ->nextate, when burst > 0.  MDF_ACAST cleanup.
286        (clock_select): Fix hpoll typo in call to poll_update().
287        * ntpd/ntp_crypto.c (crypto_xmit): tstamp's value is a function of
288        PUBKEY.
289        * include/ntp.h (clear_to_zero): #define value is a function of
290        AUTOKEY.
291        From: Dave Mills.
292
2932001-02-28  Harlan Stenn  <stenn@whimsy.udel.edu>
294
295        * ntpd/ntp_proto.c (transmit): Documentation/code update.
296        (poll_update): Sanity check peer->hpoll.  Improve debug info.
297        (peer_clear): Improve debug info.  Turn off FLAG_ASSOC in addition
298        to FLAG_AUTOKEY.
299        (clock_select): peer->status is CTL_PST_SEL_DISTSYSPEER, and don't
300        call poll_update().  Make each entry in the peer_list a
301        CTL_PST_SEL_SELCAND sooner, too.  Rework similar logic later on.
302        Change debug level on some info.
303        (peer_xmit): Check peer->flags using FLAG_ASSOC, not
304        CRYPTO_FLAG_AUTO in a couple places.  Don't call poll_update() if
305        sendlen > LEN_PKT_NOMAC.
306        * ntpd/ntp_loopfilter.c (local_clock): Improve debug info.
307        Sanity-check sys_poll sooner.
308        * ntpd/ntp_crypto.c: New artwork.
309        (COOKIE_LEN,AUTOKEY_LEN,VALUE_LEN): New.
310        (make_keylist): More debug info.  Use FLAG_ASSOC, not
311        CRYPTO_FLAG_ASSOC.
312        (crypto_recv): More debug info.  Clean up/improve sanity checks on
313        CRYPTO_ASSOC and CRYPTO_RESP packets, and in other places.
314        (crypto_xmit): Clean up/improve sanity checks on CRYPTO_ASSOC and
315        CRYPTO_RESP packets.  Use FLAG_ASSOC, not CRYPTO_FLAG_ASSOC.  More
316        debug info.
317        * include/ntp.h (NTP_CANLOCK): Lose it.
318        (clear_to_zero): is now "assoc".
319        (FLAG_ASSOC): Added.
320        From: Dave Mills
321
3222001-02-23  Harlan Stenn  <stenn@whimsy.udel.edu>
323
324        * ntpdate/ntpdate.h (NTP_MAXAGE): Added.
325        * ntpd/ntp_refclock.c (refclock_receive): Cleanup.
326        * ntpd/ntp_proto.c (transmit): Don't reset peer->ppoll in one case.
327        Update peer->hpoll based on CTL_PST_SEL_CORRECT, not FLAG_SYSPEER.
328        Don't update peer->ppoll based on MDF_[BM]CAST.
329        (peer_clear): ppoll is initialized to maxpoll.
330        (clock_select): call poll_update(peer->hpoll) earlier.
331        (peer_xmit): Call poll_update later.
332        * ntpd/ntp_peer.c (peer_config): Rework initial values of [hkp]poll.
333        * ntpd/ntp_loopfilter.c (CLOCK_PHI): Added.  Deal with other
334        (allow_*) stuff.  Treat Windows/NT the same as others regarding
335        panic steps.  Deal with tinker stuff.
336        * ntpd/ntp_config.c: Tinker stuff.
337        * ntpd/cmd_args.c (getCmdOpts): -g now wiggles "allow_panic"
338        (renamed from "correct_any").  -x now wiggles "allow_step"
339        (renamed from "allow_step_backward").
340        * include/ntpd.h: Add tinker variables.  Rename/rework variables
341        associated with "permission to step" and "permission to make a
342        panic correction"       
343        * include/ntp_config.h (CONFIG_TINKER): Added.
344        (CONF_CLOCK_MAX): Tinker keyword
345        (CONF_CLOCK_PANIC): Tinker keyword
346        (CONF_CLOCK_PHI): Tinker keyword
347        (CONF_CLOCK_MINSTEP): Tinker keyword
348        * include/ntp.h (NTP_MINCLOCK): Tinker and other cleanup.
349        From: Dave Mills
350       
3512001-02-19  Harlan Stenn  <stenn@whimsy.udel.edu>
352
353        * ntpd/ntp_proto.c (transmit): Don't peer_clear() and reset
354        minpoll unconditionally; make sure the peer is configured.
355        (poll_update): When updating peer->ppoll, check on BCAST and
356        MCAST, not ACAST
357        (peer_clear): PUBKEY cleanup.  Zero out the peer structure
358        earlier. Initialization cleanup/fixes.
359        (peer_xmit): CRYPTO_FLAG_AUTO is in peer->flags now.
360        (key_expire): Debug output.
361        * ntpd/ntp_peer.c (unpeer): PUBKEY cleanup.
362        (newpeer): peer variable setup cleanup.
363        * ntpd/ntp_crypto.c (make_keylist): Keep CRYPTO_FLAG_AUTO in
364        peer->flags, not crypto_flags.
365        (crypto_xmit): Ditto.
366        (crypto_recv): Fix up RV_TSP logic (several places).
367        * include/ntp.h (clear_to_zero): Moved...
368        From: Dave Mills.
369
3702001-02-14  Harlan Stenn  <stenn@whimsy.udel.edu>
371
372        * ntpd/ntp_proto.c (peer_xmit): Crypto-related fixes
373        From Dave Mills.
374
375        * ntpd/ntp_crypto.c (crypto_recv): Allocate space for the trailing
376        NUL on the keystr.
377
3782001-01-28  Harlan Stenn  <stenn@whimsy.udel.edu>
379
380        * configure.in: 4.0.99k17
381
382        * ntpd/refclock_local.c (STRATUM): 3 -> 5
383        * ntpd/ntp_proto.c: sys_maxd -> sys_selerr, sys_epsil ->
384        sys_syserr.  various cleanups and improvements.
385        From: Dave Mills.
386
3872001-01-19  Harlan Stenn  <stenn@whimsy.udel.edu>
388
389        * configure.in: 4.0.99k16
390
391        * config.h.in: Regenerated - became empty somehow.
392        Reported by John.Hay@icomtek.csir.co.za
393
394        * ntpd/ntp_proto.c (clock_select): Fix sdisp calculation.
395        From Dave Mills.
396
397        * util/ntp-genkeys.c:
398        * ntpd/refclock_chu.c:
399        * ntpd/refclock_atom.c:
400        * ntpd/ntpd.c:
401        * ntpd/ntp_loopfilter.c:
402        * ntpd/ntp_io.c:
403        * ntpd/cmd_args.c:
404        * libntp/audio.c:
405        * include/l_stdlib.h:
406        * html/copyright.htm:
407        Lint fixes (Thanks bunches!)
408        From: Marc.Brett@westerngeco.com
409
4102001-01-18  Harlan Stenn  <stenn@whimsy.udel.edu>
411
412        * configure.in: 4.0.99k15
413
414        * ntpd/ntp_proto.c (clock_select): Track error[] items sooner.
415        Typo grabbing the dtemp value and in the sdisp calculation.
416        From Dave Mills.
417
4182001-01-17  Harlan Stenn  <stenn@whimsy.udel.edu>
419
420        * configure.in: 4.0.99k14
421
422        * ntpd/ntp_proto.c: Change description of sys_rootdelay and
423        sys_rootdispersion.
424        (process_packet): Fix p_del test (bad distance).
425        (process_packet): Fix bad synch distance test.
426        (process_packet): Fix call to clock_filter (p_disp)
427        (clock_update): Fix sys_rootdelay calculation.
428        (clock_filter): Initialize jit to f(sys_precision)
429        (clock_filter): Update jit using distance[i] instead of
430        SQUARE().  peer->jitter uses dtemp instead of SQUARE().
431        (clock_filter): Updated CLOCK_SGATE checks.  When printing debug
432        info, show jitter along with popcorn spike.
433        (clock_select): New sdisp calc.
434        (root_distance): New return value calc.
435        (peer_xmit): xpkt.rootdispersion value change.
436        * include/ntp.h (CLOCK_SGATE): Popcorn spike gate (Whoa, Molly!)
437        From Dave Mills.
438
4392001-01-13  Harlan Stenn  <stenn@whimsy.udel.edu>
440
441        * config.sub (Repository): Updated.
442        * config.guess (Repository): Updated.
443
444        * ntpd/ntp_loopfilter.c (local_clock): Just use sys_jitter in the
445        calculation for rootdispersion.
446        From Dave Mills.
447
4482001-01-02  Harlan Stenn  <stenn@whimsy.udel.edu>
449
450        * ntpd/ntp_proto.c (transmit): Fix documentation. Set
451        peer->outdate and call poll_update in a new place.  Sanity checks
452        in the MODE_BROADCAST case.
453        (clock_select): Track the old peer.  Use the old peer in
454        subsequent checks, where appropriate.  Clean up unpeer() logic.
455        From Dave Mills.
456
4572001-01-01  Harlan Stenn  <stenn@whimsy.udel.edu>
458
459        * ntpd/refclock_chu.c: Start using HAVE_AUDIO.
460        * ntpd/ntp_proto.c (clock_select): If about to discard an
461        ephemeral association, do it only if not the system peer.
462        From Dave Mills.
463
464        * html/pic/wingdorothy.gif:
465        * html/pic/bustardfly.gif:
466        * html/pic/boom3a.gif:
467        * html/pic/tonea.gif:
468        * html/pic/stack1a.jpg:
469        * html/pic/pogoa.gif:
470        * html/pic/pogo8.gif:
471        * html/pic/pogo6.gif:
472        * html/pic/pogo5.gif:
473        * html/pic/pogo4.gif:
474        * html/pic/pogo3.gif:
475        * html/pic/pogo1.gif:
476        * html/pic/oz2.gif:
477        * html/pic/flatheads.gif:
478        * html/pic/boom4.gif:
479        * html/pic/boom3.gif:
480        * html/pic/appletree.gif:
481        * html/pic/alice51.gif:
482        * html/pic/alice44.gif:
483        * html/pic/alice35.gif:
484        * html/pic/alice31.gif:
485        * html/pic/alice15b.gif:
486        * html/pic/alice13.gif:
487        * html/pic/alice11.gif:
488        * html/release.htm:
489        * html/rdebug.htm:
490        * html/prefer.htm:
491        * html/porting.htm:
492        * html/ntptrace.htm:
493        * html/ntpq.htm:
494        * html/ntpdate.htm:
495        * html/monopt.htm:
496        * html/kernpps.htm:
497        * html/index.htm:
498        * html/hints.htm:
499        * html/gadget.htm:
500        * html/driver7.htm:
501        * html/copyright.htm:
502        * html/config.htm:
503        * html/build.htm:
504        * html/authopt.htm:
505        * html/assoc.htm:
506        * html/accopt.htm:
507        Cleanup from Dave Mills.
508
5092000-12-30  Harlan Stenn  <stenn@whimsy.udel.edu>
510
511        * configure.in: 4.0.99k13
512
513        * ntpd/refclock_wwv.c (wwv_start): Call audio_init with DEVICE_AUDIO.
514        * ntpd/refclock_irig.c (irig_start): Call audio_init with DEVICE_AUDIO.
515        * ntpd/refclock_chu.c: Documentation cleanup.
516        (DEVICE_AUDIO): Added.
517        (fd_audio): Added.
518        (chu_start): Separate audio from serial device.
519        (chu_receive): Rewrite - get data from serial or audio device as
520        appropriate.
521        (chu_audio_receive): Renamed (from chu_receive) to allow both
522        audio and serial capability.
523        (chu_serial_receive): Ditto.
524        (chu_decode): Do the Right Thing based on audio/serial data.
525        * ntpd/ntp_refclock.c (refclock_open): Check for failure using <0
526        instead of ==-1.
527        * libntp/audio.c: Header cleanup, and remove
528        HAVE_STRUCT_AUDIO_INFO_* related fields.
529        (audio_init): Func arg is device to attempt to open.
530        * include/audio.h (audio_init): Now takes a char * argument.
531        From Dave Mills.
532
533        * configure.in (ntp_refclock): HAVE_AUDIO added.  Remove
534        HAVE_STRUCT_AUDIO_INFO_* stuff; Dave rewrote the audio stuff.
535
5362000-12-28  Harlan Stenn  <stenn@whimsy.udel.edu>
537
538        * configure.in: 4.0.99k12
539
5402000-12-27  Harlan Stenn  <stenn@whimsy.udel.edu>
541
542        * html/release.htm:
543        * html/patches.htm:
544        * html/measure.htm:
545        * html/confopt.htm:
546        * html/clockopt.htm:
547        * html/biblio.htm:
548        * html/authopt.htm:
549        * html/assoc.htm:
550        Updates from Dave Mills.
551
552        * include/ntp_crypto.h: Make sure crypto_flags is visible.
553        From Dave Mills.
554
5552000-12-14  Harlan Stenn  <stenn@whimsy.udel.edu>
556
557        * ntpd/ntp_proto.c (process_packet): pleap/pstratum.
558        (peer_xmit): Use CRYPTO_FLAG_AUTO.
559        * ntpd/ntp_crypto.c (make_keylist): Use CRYPTO_FLAG_AUTO. Only
560        sign host name and timestamps if the clock is synched.
561        * include/ntp_crypto.h (CRYPTO_FLAG_AUTO): Added.
562        From: Dave Mills
563
5642000-12-11  Harlan Stenn  <stenn@whimsy.udel.edu>
565
566        * ntpd/ntp_proto.c (transmit): Call clock_select in a few new
567        places.  BURST/IBURST cleanup.  Don't turn off FLAG_BURST at the
568        EOburst. 
569        (receive): Set peer->unreach = 0 before we call process_packet().
570        (process_packet): ditto, before calling poll_update().  Lose some
571        debugging, MODE_BCLIENT/CLIENT cleanup.
572        (poll_update): Bump nextupdate on FLAG_REFCLOCK, not _REFCLOCK or
573        _IBURST.
574        (peer_clear): Don't set IBURST on MDF_BCLNT.
575        From: Dave Mills.
576
577        * ntpdate/ntpdate.c (alarming): Appease ansi2knr.
578
5792000-12-10  Harlan Stenn  <stenn@whimsy.udel.edu>
580
581        * ntpd/ntp_control.c (ctl_putpeer): CP_TTL and CP_TTLMAX
582        MDF_ACAST and MDF_MCAST cleanup.
583
584        * ntpd/refclock_wwv.c (wwv_start): ttlmax/ttl cleanup.
585        * ntpd/refclock_usno.c (usno_timeout): ttlmax/ttl cleanup.
586        * ntpd/refclock_parse.c (CLK_REALTYPE): ttlmax/ttl cleanup.
587        * ntpd/refclock_chu.c (chu_start): ttlmax/ttl cleanup.
588        * ntpd/refclock_acts.c (acts_timeout): ttlmax/ttl cleanup.
589        * ntpd/ntp_refclock.c (refclock_newpeer): Don't do the
590        any_interface -> loopback_interface trick.
591        * ntpd/ntp_proto.c (transmit): Broadcast/manycast cleanup.
592        * ntpd/ntp_peer.c: Cleanup.
593        * ntpd/ntp_io.c: Cleanup.
594        * ntpd/ntp_crypto.c (crypto_recv): AUTOKEY based on BCLNT, not MCAST2.
595        * include/ntpd.h: Declare findbcastinter().
596        * include/ntp.h: struct peer's ttlmax is now max ttl/refclock
597        mode.  ttl is now ttl for manycast mode.
598        (FLAG_MCAST): Reworked several FLAG_ bits.
599        From Dave Mills.
600
6012000-12-05  Harlan Stenn  <stenn@whimsy.udel.edu>
602
603        * ntpq/ntpq.c: CP_TTLMAX support.
604        * ntpd/ntp_proto.c (transmit): MDF_ACAST ttl fixes.
605        * ntpd/ntp_peer.c (resetmanycast): Reset ttl if MDF_ACAST.
606        (peer_config): Save max ttl in ttlmax.
607        * ntpd/ntp_control.c: ttlmax support.
608        * include/ntp_control.h (CP_TTLMAX): Added.
609        * include/ntp.h: Added ttlmax to struct peer.
610        Dave Mills.
611
6122000-12-03  Harlan Stenn  <stenn@whimsy.udel.edu>
613
614        * ntpd/ntp_proto.c (receive): That any_interface is now an
615        rbufp->dstadr.
616        Various other doc and code cleanup.
617        * ntpd/ntp_peer.c (findmanycastpeer): Fixes
618        From Dave Mills
619
6202000-12-02  Harlan Stenn  <stenn@whimsy.udel.edu>
621
622        * ntpd/ntp_request.c (do_conf): call peer_config with
623        any_interface, not 0.
624        * ntpd/ntp_proto.c (transmit): Manycast cleanup
625        * ntpd/ntp_peer.c (findmanycastpeer): manycast cleanup
626        * ntpd/ntp_io.c (sendpkt): Only check ttl if we have a ttl
627        (findinterface): Cleanup
628        * ntpd/ntp_control.c: cleanup
629        * include/ntpd.h: Added resetmanycast.
630        * include/ntp_control.h (CP_TTL): disp -> ttl
631        * ntpq/ntpq.c: disp -> ttl
632        From Dave Mills
633
6342000-11-26  Harlan Stenn  <stenn@whimsy.udel.edu>
635
636        * configure.in: 4.0.99k11
637
638        * ntpd/ntp_proto.c (transmit):
639        * ntpd/ntp_peer.c:
640        * ntpd/ntp_io.c:
641        * ntpd/ntp_control.c (ctl_putpeer):
642        * ntpd/ntp_config.c (getconfig):
643        * include/ntpd.h: mcast/ucast interface cleanup.
644        From: Dave Mills
645
646        * include/ntp_request.h: Put data[] as MAXFILENAME+16.  This will
647        fix the conf_peer requests again, but re-break compatibility with
648        old versions of the daemon.  Sigh.
649
650        * util/ntp-genkeys.c (cleanlinks): Don't do it if nosymlinks.
651
6522000-11-19  Harlan Stenn  <stenn@whimsy.udel.edu>
653
654        * ntpd/refclock_parse.c (rawdcf_init_1): make Linux happier with
655        some modem control stuff.
656        From: Wolfram Pienkoss <wp@bszh.de> (via Frank Kardel)
657
658        * ntpd/refclock_pcf.c (pcf_poll): isdst fix
659        From: Andreas Voegele <andreas.voegele@gmx.de>
660
6612000-10-28  Harlan Stenn  <stenn@whimsy.udel.edu>
662
663        * configure.in: 4.0.99k10
664
665        * ntpd/refclock_wwvb.c (wwvb_start): Cosmetic reorder.
666        * ntpd/refclock_atom.c (RANGEGATE): Cleanup.  Add ASTAGE.
667        Add ppsparams to struct ppsunit.
668        (atom_start): Init peer->burst to ASTAGE.
669        (atom_shutdown): Multi-handle
670        (atom_pps): Multi-handle
671        (atom_pps): RANGEGATE cleanup
672        (atom_poll): Poll count cleanup.  Error check cleanup.  Burst cleanup.
673        * ntpd/ntp_refclock.c (refclock_transmit): Lose the pre-burst
674        check poll_update().
675        (refclock_sample): Fix the jitter calc.
676        (refclock_receive): Pass the jitter to the clock_filter().
677
678        * ntpd/ntp_proto.c (clock_update): If we lose sync, reset the poll
679        to NTP_MINDPOLL.
680        (poll_update): Poll wiggles.  Make sure peer->nextdate is timely.
681        (clock_select): If we lose sync, reset the poll to NTP_MINDPOLL.
682        * ntpd/ntp_loopfilter.c (local_clock): Show the asocid in debug
683        output.  popcorn debug message changes.  Clamp the poll interval
684        if the system peer has changed.  PPS wiggle changes.
685        From Dave Mills.
686
6872000-10-16  Harlan Stenn  <stenn@whimsy.udel.edu>
688
689        * ntpd/refclock_pcf.c (pcf_start):
690        * html/driver35.htm:
691        The radio clock transmits 69 bits with a period of 2.5
692        milliseconds per bit. Thus the driver now sets the default
693        calibration offset to 0.1725 (69 * 2.5 = 172.5).
694        Its now possible to disable the check of the radio clock's
695        synchronisation status bit. Several users requested this option.
696        From: Andreas Voegele <andreas.voegele@gmx.de>
697
698        * html/refclock.htm:
699        * html/rdebug.htm:
700        * html/prefer.htm:
701        * html/pps.htm:
702        * html/ntpdc.htm:
703        * html/miscopt.htm:
704        * html/ldisc.htm:
705        * html/kern.htm:
706        * html/index.htm:
707        * html/exec.htm:
708        * html/driver22.htm:
709        * html/clockopt.htm:
710        Updates from Dave Mills
711
712        * ntpd/ntp_intres.c (request): Sanity check the size of the response
713
7142000-10-15  Harlan Stenn  <stenn@whimsy.udel.edu>
715
716        * ntpq/ntpq_ops.c (dopeers): Dave didn't like the patch to show
717        the units on the times...
718        * ntpdc/ntpdc_ops.c (doset): SYS_FLAG_PPS cleanup
719        * ntpd/refclock_wwv.c (wwv_newchan): Update the peer refid if
720        we're talking to a stratum 0 source
721        * ntpd/refclock_trak.c: Needs PPS
722        * ntpd/refclock_oncore.c: Disable for now
723        * ntpd/refclock_mx4200.c: Needs PPSAPI, not PPS
724        Header cleanup.  PPS interface cleanup.
725        Process sentences with a switch
726        Cleanup and sanity checks
727        * ntpd/refclock_datum.c: header cleanup, light body cleanup
728        * ntpd/refclock_conf.c: CLOCK_TRAK needs PPS
729        MX4200 needs PPSAPI, not PPS
730        Disable ONCORE for now
731        * ntpd/refclock_bancomm.c: Surgery
732        * ntpd/refclock_atom.c: Cleanup
733        (atom_control): added
734        (atom_ppsapi): added
735        * ntpd/ntp_request.c (setclr_flags): SYS_FLAG_PPS cleanup
736        * ntpd/ntp_refclock.c: stropts.h back in in TTYCLK and
737        HAVE_SYS_CLKDEFS_H
738        Get ntp_syscall if KERNEL_PLL
739        Define cal_enable
740        (refclock_receive): Cleanup
741        (refclock_control): sanity check procptr
742        * ntpd/ntp_proto.c (init_proto): pps_enable
743        (proto_config): Turn on/off PPS discipline
744        * ntpd/ntp_loopfilter.c: pps_enable
745        (local_clock): record_loop_stats() if !ntp_enable
746        (local_clock): Turn off PPS if it's not enabled
747        Other cleanup/fixes
748        * ntpd/ntp_config.c: pps and calibrate keywords.  Initialize
749        pps_assert to 0, not 1 (swap assert/clear?)
750        * include/ntpd.h: We have pll_status if KERNEL_PLL
751        Added pps_enable and cal_enable
752        * include/ntp_request.h (SYS_FLAG_PPS): Renamed from
753        SYS_FLAG_AUTHENTICATE
754        * include/ntp.h (PROTO_PPS): Added
755        (PROTO_CAL): Added
756        From: Dave Mills
757       
7582000-09-23  Harlan Stenn  <stenn@whimsy.udel.edu>
759
760        * include/ntp_refclock.h (stropts.h, sys/clkdefs.h): Harmful and
761        useless file include's turned off.
762        * libntp/iosignal.c (netinet/in.h, sys/sockio.h): Duplicate file
763        include's turned off.
764        * ntpd/ntp_refclock.c (ntp_tty.h): File included.
765        (refclock_open, refclock_ioctl): Use `TTY' from ntp_tty.h.
766        * ntpd/refclock_atom.c: Grab a few headers regardless; if we don't
767        CLOCK_ATOM we provide a stub pps_sample() routine so the WHARTON
768        can be compiled/used.
769        * ntpq/ntpq_ops.c (dopeers, doopeers): Print the units for
770        each column header.
771        Tue Sep 12 16:25:51 2000  Philippe De Muyter  <phdm@macqel.be>
772
773        * ntpd/refclock_atom.c (atom_start): Lose "temp", because we now
774        initially either CAPTUREASSERT or CAPTURECLEAR.
775        (atom_pps): pps_info_t is our friend.  Update comments to reflect
776        reality.  DTRT with pps_info.  Do some overflow checks.
777        From: Dave Mills.
778
7792000-09-21  Harlan Stenn  <stenn@whimsy.udel.edu>
780
781        * configure.in: Much improved Solaris patch-level check for the
782        FLL bug test.
783        From: Marc.Brett@westgeo.com
784
7852000-09-19  Harlan Stenn  <stenn@whimsy.udel.edu>
786
787        * include/Makefile.am (noinst_HEADERS): Added ntp_tty.h
788        Reported by Dave Mills
789
7902000-09-16  Harlan Stenn  <stenn@whimsy.udel.edu>
791
792        * ntptrace/ntptrace.c:
793        * ntpdate/ntptimeset.c (receive):
794        * ntpdate/ntpdate.c (receive):
795        STRATUM cleanup
796        * ntpd/refclock_atom.c (atom_poll): Autostratum.  Lose the leap.
797        * ntpd/ntp_proto.c: sys_prefer
798        (process_packet): stratum cleanup
799        (clock_select): Autostratum the ATOM
800        * ntpd/ntp_loopfilter.c: pps_update/pps_stratum wiggle.
801        * include/ntpd.h: Lose pps_update, gain sys_prefer
802        * include/ntp.h: STRATUM variable cleanup
803        From Dave Mills
804
8052000-09-13  Harlan Stenn  <stenn@whimsy.udel.edu>
806
807        * ntpd/refclock_oncore.c (oncore_get_timestamp): Print debug
808        messages being aware of HAVE_STRUCT_TIMESPEC.
809
810        * ntpd/refclock_atom.c: Have pps_params tag along in the ppsunit
811        structure, where it really belongs.
812        (atom_pps): Use PPS_CAPTURE{ASSERT,CLEAR}
813        From: Dave Mills.
814
8152000-09-12  Harlan Stenn  <stenn@whimsy.udel.edu>
816
817        * configure.in (ac_cv_var_atom_ok): Cleanup ATOM/PPSAPI stuff...
818
819        * scripts/ntp-close: Find "close" ntp servers.
820        From: Neal McBurnett <neal@bcn.boulder.co.us>
821
822        * ntpd/refclock_conf.c:
823        * ntpd/refclock_oncore.c: Re-enabled oncore driver for HAVE_PPSAPI
824        case only.
825
8262000-09-12  Philippe De Muyter  <phdm@macqel.be>
827
828        * ntpd/refclock_parse.c (we400a_pollinfo): Useless variable removed.
829        [WHARTON slot]: Set NO_POLL, NO_INIT and NO_DATA; fix `fixed format'
830        and `offset' fields.
831
832        * include/ntp_tty.h: New file
833        * libntp/icom.c: Use it.
834
835        * ntp_update (UPDATE_OPTIONS): Use -d, too.  Fix Pass 1 comment.
836
8372000-09-12  Harlan Stenn  <stenn@whimsy.udel.edu>
838
839        * ntpd/refclock_oncore.c: shmem_fname added.  oncore_init_shmem()
840        updated.
841        (oncore_start): Comment cleanup
842        (oncore_read_config): Move call to oncore_shmem_init()
843        (oncore_init_shmem): Prototype change
844        (oncore_init_shmem): Don't exit on errors
845        (oncore_msg_any): timespec/timeval cleanup
846        (oncore_msg_Cj_id): shmem_fname changes
847        (oncore_msg_BaEaHa): saw_At bugfix
848        (oncore_get_timestamp): Added current_mode/current_params.  Commented.
849        Added time_pps_getcap() calls.
850        From: Reg Clemens <reg@dwf.com>
851
852        * ntpd/ntp_io.c (input_handler): Better recvfrom() error message
853        From: Dean Gibson <timekeeper@tcp-udp.net>
854
855        * ntpdc/ntpdc.c (passwd): Get them working again.
856        From: Benjamin Greenwald <beng@lcs.mit.edu>
857
8582000-09-11  Harlan Stenn  <stenn@whimsy.udel.edu>
859
860        * ntpd/refclock_atom.c:
861        (atom_start):
862        * ntpd/ntp_refclock.c: Comment cleanup.  PPS/PPSAPI cleanup
863        (refclock_open): PPS/PPSAPI cleanup
864        From: Dave Mills
865
866        * ntpd/refclock_oncore.c:
867        * ntpd/refclock_mx4200.c:
868        HAVE_TIMESPEC -> HAVE_STRUCT_TIMESPEC
869
870        * configure.in: ATOM requires struct timespec, not PPSAPI.  Clean
871        up dependencies accordingly.
872
8732000-09-09  Harlan Stenn  <stenn@whimsy.udel.edu>
874
875        * configure.in (ac_cv_var_atom_ok): Improve ATOM configure message
876        PARSE requires ATOM.
877
878        * ntpd/ntpd.c (set_process_priority): Clean up debug messages.
879
8802000-09-07  Harlan Stenn  <stenn@whimsy.udel.edu>
881
882        * configure.in: ac_cv_atom_ok, depends on HAVE_PPSAPI.
883        I notice the PARSE clocks require ATOM.  Could be interesting...
884
8852000-09-06  Harlan Stenn  <stenn@whimsy.udel.edu>
886
887        * Makefile.in (distdir): Seems to be a bug in an automake library
888        somewhere...
889
8902000-09-05  Harlan Stenn  <stenn@whimsy.udel.edu>
891
892        * ntpd/ntp_loopfilter.c (loop_config): V3 API needs MOD_BITS when
893        initializing ntv.modes.  Initialize ntv.{maxerror,esterror,status}
894        earlier.  Clean up KERNEL_PLL code.
895
8962000-09-04  Harlan Stenn  <stenn@whimsy.udel.edu>
897
898        * ntpq/ntpq.c: report offset as "offset", not "phase".  Lose
899        compliance.
900        * ntpd/refclock_local.c (local_poll): variance -> jitter
901        * ntpd/refclock_chu.c (chu_major): Lose variance.
902        * ntpd/ntp_util.c (hourly_stats): sys_error -> sys_jitter
903        (record_loop_stats): ditto
904        * ntpd/ntp_request.c (peer_info): variance -> jitter
905        * ntpd/ntp_refclock.c (refclock_sample): variance -> jitter
906        (refclock_receive): variance -> jitter
907        * ntpd/ntp_proto.c (process_packet): variance -> jitter
908        (clock_filter): variance -> jitter
909        (clock_select): variance -> jitter
910        (root_distance): variance -> jitter
911        * ntpd/ntp_peer.c (newpeer): variance -> jitter
912        * ntpd/ntp_loopfilter.c: Cleanup pll_nano selection bogon.
913        Centralize the kernel API data.
914        (local_clock): Lose sys_error.
915        (loop_config): Code cleanup.
916        * ntpd/ntp_control.c: Call offset "offset" and not "phase". Lose
917        CS_COMPLIANCE.  Deal with variance/jitter rename.
918        * include/ntp_refclock.h: Rename variance to jitter in struct
919        refclockproc.
920        * include/ntp_control.h (CS_COMPLIANCE): Lose it.
921        * include/ntp.h: Rename variance to jitter in struct peer.
922        From: Dave Mills
923
9242000-09-01  Harlan Stenn  <stenn@whimsy.udel.edu>
925
926        * ntpd/refclock_atom.c: Use the new ppsunit.  Cleanup and improve
927        documentation.
928        * ntpd/ntp_refclock.c (refclock_sample): Don't accumulate
929        variance.
930        From Dave Mills
931
9322000-08-31  Harlan Stenn  <stenn@whimsy.udel.edu>
933
934        * html/driver22.htm: Update the docs.
935        * ntpd/refclock_atom.c (atom_start): Open the device if it hasn't
936        been opened already.
937        (pps_sample): Make it more visible.
938        From Dave Mills.
939
940        * configure.in: 4.0.99k8
941
942        Revert to the older automake.
943
944        * configure.in: The PPSAPI headers use "inline", so require a STDC
945        compiler.
946
947        * ntpd/refclock_atom.c (atom_shutdown): Typo
948        From Dave Mills
949
950        * configure.in: Convert to autoconf-2.49
951
952        * ntpd/refclock_atom.c: Header cleanup Comment cleanup.  Lose the
953        TTYCLK stuff.  Convert to PPSAPI.
954        * ntpd/ntp_refclock.c (refclock_newpeer): Move refclock_unpeer().
955        From: Dave Mills
956
9572000-08-29  Harlan Stenn  <stenn@whimsy.udel.edu>
958
959        * configure: Fix the autoconf problem...
960
9612000-08-20  Harlan Stenn  <stenn@whimsy.udel.edu>
962
963        * configure.in: 99k7
964
965        * util/ntptime.c (main): Report TAI stuff
966        * ntpq/ntpq.c: CS_COMPLIANCE/CS_JITTER cleanup
967        * ntpd/ntp_loopfilter.c (local_clock): sys_error/sys_jitter cleanup.
968        kernel PPL cleanup.
969        * ntpd/ntp_crypto.c: Check NTP_API if we're doing KERNEL_PLL so we
970        can get the TAI stuff.
971        * ntpd/ntp_control.c: CS_COMPLIANCE now reports "error" instead of
972        "jitter".  CS_JITTER now reports jitter.
973        * include/ntpd.h: Added sys_jitter
974        * include/ntp_control.h (CS_JITTER): Added
975        From: Dave Mills
976
977        * ntpd/cmd_args.c (getCmdOpts): Crack -N at pre-scan, as we do the
978        priority wiggle before the final scan.
979        From: Tom Smith <smith@cag.lkg.dec.com>
980        We might do better to move the priority wiggle to after the final
981        scan.  Especially if we want to permit command-line options to
982        have decent control over the priority.  When we rewrite the config
983        file stuff we might go to a multi-scan to solve some of these
984        problems.
985
9862000-08-19  Harlan Stenn  <stenn@whimsy.udel.edu>
987
988        * configure.in: '99k6, and manually fix configure.
989
990        * include/ntp_request.h (NTP_MAXHOSTNAME): 144 -> 32
991
9922000-08-18  Harlan Stenn  <stenn@whimsy.udel.edu>
993
994        * util/ntp-genkeys.c (main): Don't call fclose if stream is NULL.
995
9962000-08-17  Harlan Stenn  <stenn@whimsy.udel.edu>
997
998        * html/driver35.htm:
999        * ntpd/refclock_pcf.c: Updates and improvements
1000        From: Andreas Voegele <andreas.voegele@gmx.de>
1001
1002        * configure.in (ac_cv_struct_ntptimeval): Lose the TAI check - we
1003        don't need it since we can check NTP_API.  Re-hack the generated
1004        configure script.
1005
1006        * configure: Manual hack to the ntptimeval.time.tv_nsec stuff
1007        because we're running an old autoconf.
1008
10092000-08-16  Harlan Stenn  <stenn@whimsy.udel.edu>
1010
1011        * util/ntptime.c: Use: HAVE_STRUCT_NTPTIMEVAL_TIME_TV_NSEC, it's
1012        the standard name.
1013
1014        * configure.in: Look for struct ntptimeval.tai in sys/timex.h
1015        Cleanup struct tptimeval member tests.
1016
1017        * util/ntp-genkeys.c: New command-line arguments
1018
10192000-08-14  Harlan Stenn  <stenn@whimsy.udel.edu>
1020
1021        * util/ntp-genkeys.c (main): More small steps...
1022
10232000-08-13  Harlan Stenn  <stenn@whimsy.udel.edu>
1024
1025        * ntpd/ntp_crypto.c (crypto_rsa): Now that we're using
1026        NTP_KEYSDIR, make sure there is a '/ between the dir and the file.
1027
1028        * util/ntp-genkeys.c (main): More small steps...
1029
10302000-08-12  Harlan Stenn  <stenn@whimsy.udel.edu>
1031
1032        * util/ntp-genkeys.c (main): Another small step...
1033
1034        * configure.in: 99k5
1035
1036        * include/ntp_request.h: Make data[] member of req_pkt 32 again.
1037        Bump the version number...
1038
1039        * ntpd/ntp_loopfilter.c (local_clock): Change 0. to 0 in a couple
1040        of places.
1041        From Dave Mills
1042
10432000-08-11  Harlan Stenn  <stenn@whimsy.udel.edu>
1044
1045        * util/ntp-genkeys.c (main): Minimal progress...
1046
10472000-08-06  Harlan Stenn  <stenn@whimsy.udel.edu>
1048
1049        * ntpd/check_y2k.c: Make debug definition match ntpd.h's declaration
1050
1051        * ntpd/Makefile.am (check-local): Use test in favor of [
1052
10532000-08-05  Harlan Stenn  <stenn@whimsy.udel.edu>
1054
1055        * configure.in (NTP_KEYSDIR): Typo
1056
10572000-08-04  Harlan Stenn  <stenn@whimsy.udel.edu>
1058
1059        * ElectricFence/Makefile.am (check-local): use test instead of [
1060
1061        * configure.in: AC_REPLACE_FUNCS(strdup)
1062        * libntp/strdup.c (strdup): Added.
1063        * libntp/Makefile.am (EXTRA_libntp_a_SOURCES): Added strdup.c
1064
1065        * util/Makefile.am (ntp_genkeys_DEPENDENCIES): Use $U on .o files
1066        (ntp_genkeys_LDADD): ditto.
1067
1068        * ntpd/ntp_crypto.c: Use NTP_KEYSDIR
1069
1070        * util/ntp-genkeys.c (snifflink): Ignore ENOENT, too.
1071
1072        * ntpd/ntp_proto.c (peer_xmit): Crypto cleanup
1073        * ntpd/ntp_crypto.c: Cleanup
1074        * ntpd/ntp_control.c: Join the club
1075        * ntpd/ntp_config.c: Call crypto_config() instead; we got rid of
1076        crypto_flags.
1077        * include/ntp_crypto.h (CRYPTO_FLAG_ENAB): New crypto flags, rework
1078        * include/ntp_control.h (CS_FLAGS): Wiggle in.
1079        * include/ntp.h: Added crypto peer status to struct peer
1080        From Dave Mills
1081
10822000-08-03  Harlan Stenn  <stenn@whimsy.udel.edu>
1083
1084        * util/ntp-genkeys.c: Initialize path_keysdir to NTP_KEYSDIR.
1085
1086        * configure.in (NTP_KEYSDIR): Added
1087        * acinclude.m4: Added AC_DEFINE_DIR macro
1088
1089        * util/ntp-genkeys.c (main): Sanity checks on the file paths.
1090
10912000-08-02  Harlan Stenn  <stenn@whimsy.udel.edu>
1092
1093        * util/ntp-genkeys.c (crypto_config): Only #ifdef PUBKEY
1094        (PATH_MAX): Try harder...
1095
10962000-08-01  Harlan Stenn  <stenn@whimsy.udel.edu>
1097
1098        * util/ntp-genkeys.c (main): Use snifflink()
1099        (snifflink): Implement...
1100
1101        * configure.in: Check for readlink()
1102
11032000-07-31  Harlan Stenn  <stenn@whimsy.udel.edu>
1104
1105        * util/ntp-genkeys.c (main): Use strdup on the tokens returned
1106        from ntp_config...
1107        (crypto_config): Fix a typo...
1108        (crypto_config): Even more...
1109        (usage): Flesh it out.
1110
1111        * include/ntp_config.h:
1112        * ntpd/ntp_config.c: Move a whack of #defines to ntp_config.h so
1113        ntp-genkeys.c can see them, too.
1114
1115        * util/ntp-genkeys.c: Add stubs to work with ../ntpd/ntp_config.o,
1116        start hooking things up.
1117        (main): debugging
1118        (crypto_config): better implementation
1119       
1120
1121        * ntpd/ntp_config.c (getconfig):
1122        * ntpd/ntpd.c: Initialize "debug" here, not in ntp_config.c
1123
1124        * util/Makefile.am (ntp_genkeys_LDADD): Added ../ntpd/ntp_config.o
1125        * util/Makefile.am (ntp_genkeys_DEPENDENCIES): Added.
1126
11272000-07-30  Harlan Stenn  <stenn@whimsy.udel.edu>
1128
1129        * configure.in: 4.0.99k4
1130        * util/ntp-genkeys.c: Start hacking for new functionality.
1131        * include/Makefile.am (noinst_HEADERS): Added ntp_cmdargs.h and
1132        ntp_config.h .
1133        * ntpd/ntp_config.c: Grab ntp_cmdargs.h.  Make some new globals
1134        (ugh), move ntpd-specific variables and code to cmd_args.c .
1135        * ntpd/cmd_args.c: Move command argument processing functions from
1136        ntp_config.c to this file.
1137        * ntpd/Makefile.am (ntpd_SOURCES): Added cmd_args.c
1138        * include/ntpd.h: Move getstartup() to ntp_cmdargs.h
1139        * include/ntp_cmdargs.h: New file
1140        Begin the hacking fest to make it easier for ntp-genkeys to use
1141        ntpd's config processing code.  I really hope this is the lesser
1142        of the evils...
1143       
11442000-07-28  Harlan Stenn  <stenn@whimsy.udel.edu>
1145
1146        * util/ntp-genkeys.c (usage): Added.
1147
1148        * ntpd/ntp_crypto.c: Cleanup
1149        * ntpd/ntp_proto.c (transmit): Add some parens.
1150        (peer_xmit): Add ntohl when grabbing sndauto.seq for broadcast.
1151        * ntpd/ntp_peer.c (findpeer): Cleanup
1152        * ntpd/ntp_loopfilter.c (local_clock): Typo
1153        From Dave Mills
1154
1155        * include/ntp_config.h: Created
1156
1157        * util/ntp-genkeys.c: Always build, but realize we may not have
1158        RSAREF.  Compile parts appropriately.
1159
1160        * util/Makefile.am (bin_PROGRAMS): Always make ntp-genkeys
1161        (ntp-genkeys_LDADD): Use $LIBRSAREF instead of the "real path"
1162        * configure.in: Lose MAKE_NTP_GENKEYS
1163
1164        * configure.in:
1165        * util/ntp-genkeys.c:
1166        * util/Makefile.am:
1167        Renamed ntp_genkeys to ntp-genkeys.
1168
11692000-07-27  Harlan Stenn  <stenn@whimsy.udel.edu>
1170
1171        * ntpdate/ntpdate.c (ntpdatemain): Cleanup error message.
1172
1173        * ntpdate/ntpdate.c (ntpdatemain): Add missing authtrust() call
1174        From: Jason Heiss <jheiss@cruzeiro.ugcs.caltech.edu>
1175
1176        * ntpd/refclock_ulink.c (ulink_receive):
1177        * ntpd/ntp_crypto.c:
1178        * libntp/authparity.c:
1179        Lint/noise cleanup
1180        From: Marc Brett <mbrett@rgs0.london.waii.com>
1181
1182        * ntpd/ntp_proto.c: Specifically track manycastserver and
1183        survivors
1184        From: Dave Mills
1185
11862000-07-26  Sven Dietrich  <sven_dietrich@trimble.com>
1187
1188        * ntpd/ntpd.c: remove WINNT priority adjustment to the ports/winnt area
1189        where it does not clutter up the main distribution.
1190
11912000-07-24  Harlan Stenn  <stenn@whimsy.udel.edu>
1192
1193        * ntpd/ntp_proto.c (receive): dstadr_sin needs  higher visibility
1194        From: Dave Mills
1195
1196        * flock-build: Added baldwin
1197
1198        * ntpd/ntp_request.c:
1199        * ntpd/ntp_proto.c:
1200        * ntpd/ntp_peer.c:
1201        * ntpd/ntp_io.c:
1202        * ntpd/ntp_intres.c:
1203        * ntpd/ntp_crypto.c (make_keylist):
1204        * ntpd/ntp_control.c:
1205        * ntpd/ntp_config.c (CONF_MOD_IBURST, save_resolve):
1206        * include/ntpd.h (findpeerbyassoc, newpeer, peer_config, *_interface):
1207        * include/ntp_request.h (CONF_FLAG_IBURST):
1208        * include/ntp_crypto.h (crypto_xmit, make_keylist):
1209        * include/ntp.h (FLAG_IBURST):
1210        * html/release.htm:
1211        * html/confopt.htm:
1212        * html/assoc.htm:
1213        Add iburst option, fix broadcast/multicast and some types.
1214        From: Dave Mills
1215
12162000-07-20  Harlan Stenn  <stenn@whimsy.udel.edu>
1217
1218        * scripts/Makefile.am (bin_SCRIPTS): Install ntp-wait
1219
1220        * configure.in: 4.0.99k
1221
12222000-07-19  Harlan Stenn  <stenn@whimsy.udel.edu>
1223
1224        * ntpd/ntp_proto.c (peer_xmit): PUBKEY cleanup
1225
12262000-07-18  Harlan Stenn  <stenn@whimsy.udel.edu>
1227
1228        * configure.in: 4.0.99j5
1229
1230        * html/ntpd.htm (HREF): Document other missing command-line options
1231
1232        * html/ntpd.htm (HREF): Document
1233        * html/confopt.htm (href): Undocument
1234        * ntpd/ntp_config.c (getconfig): -N high for high-priority.
1235        Lose the ntp.conf way of setting priority.
1236       
1237        * ntpd/ntp_crypto.c: PUBKEY/AUTOKEY cleanup
1238        From Dave Mills
1239
12402000-07-17  Harlan Stenn  <stenn@whimsy.udel.edu>
1241
1242        * html/confopt.htm (href): Document it.
1243        * ntpd/ntp_config.c (getconfig): CONFIG_PRIORITY support
1244        * ntpd/ntpd.c (set_process_priority): Use it.
1245
1246        * ntpd/ntp_crypto.c: Crypto key stuff
1247        * ntpd/ntp_proto.c: pubkey -> pubkey.ptr
1248        * ntpd/ntp_control.c (ctl_putpeer): fstamp -> pubkey.fstamp
1249        * ntpd/ntp_peer.c:
1250        * include/ntpd.h:
1251        * include/ntp_types.h:
1252        * include/ntp_request.h:
1253        * include/ntp_crypto.h:
1254        * include/ntp_control.h:
1255        * include/ntp.h: Type cleanup
1256        From: Dave Mills
1257
12582000-07-14  Harlan Stenn  <stenn@whimsy.udel.edu>
1259
1260        * ElectricFence/Makefile.am (check-local): Don't run the tests if
1261        we didn't build the programs...
1262        (check-local): Same, but watch the return codes...
1263
1264        * ElectricFence/page.c: #include config.h if it's there.
1265        Properly handle the sys_errlist declaration.
1266
1267        * html/ntpq.htm:
1268        * html/index.htm:
1269        * html/debug.htm:
1270        * html/authopt.htm:
1271        Reality check.
1272        From Dave Mills
1273
12742000-07-13  Harlan Stenn  <stenn@whimsy.udel.edu>
1275
1276        * Makefile.am (SUBDIRS): Added ElectricFence
1277        * configure.in (AC_CONFIG_FILES): Added ElectricFence support
1278        * ElectricFence: Imporpted.
1279
12802000-07-12  Harlan Stenn  <stenn@whimsy.udel.edu>
1281
1282        * util/ntp_genkeys.c (main): Cleanup
1283        * ntpd/refclock_wwv.c (wwv_qrz): sqrt -> SQRT
1284        * ntpd/refclock_chu.c (chu_rf): sqrt -> SQRT
1285        * ntpd/ntpd.c (set_process_priority): Disable  high-priority for now.
1286        PUBKEY cleanup.
1287        * ntpd/ntp_timer.c: sys_revoketime cleanup.
1288        * ntpd/ntp_proto.c (receive): PUBKEY cleanup.  Comment and code
1289        cleanup.
1290        (process_packet): Comment and code (PUBKEY) cleanup.
1291        (peer_xmit): Comment and code cleanup.
1292        (fast_xmit): Comment and code cleanup.
1293        * ntpd/ntp_peer.c (expire_all): revoketime cleanup.  PUBKEY cleanup.
1294        * ntpd/ntp_crypto.c: Comment reorg.  DH parameters are now
1295        file-static instead of local to subroutines.
1296        (make_keylist): peer->pcookie.key cleanup/fix
1297        (crypto_recv): Subroutine documentation cleanup, other cleanup
1298        (crypto_xmit): Cleanup/document.
1299        (crypto_setup): Cleanup/document.
1300        (crypto_agree): Cleanup/document.
1301        (crypto_rsa): now static
1302        (crypto_dh): now static.  Comment cleanup.  Code cleanup.
1303        (crypto_tai): now static.  Code and comment cleanup.
1304        (crypto_config): Deal with CRYPTO_CONF_LEAP.
1305        * ntpd/ntp_control.c (CS_DHPARAMS): Rename corresponding token to
1306        "params".  Remove CS_TAI from def_sys_var[].
1307        (ctl_putsys): CS_HOST, CS_DHPARAMSm CS_REVTIME, and CS_LEAPTIME
1308        bugfix.  CS_TAI cleanup.
1309        * ntpd/ntp_config.c (CONF_CRYPTO_LEAP): Added
1310        (getconfig): Added CONF_CRYPTO_LEAP support.
1311        * include/ntp_syslog.h: Lose GIZMO stuff.
1312        * include/ntp_crypto.h (CRYPTO_CONF_LEAP): Added
1313        * include/ntp.h: struct autokey, cookie,value, and pkt changes for
1314        signature field.  Update the inline docs on pkt's exten field.
1315        From: Dave Mills
1316       
1317
13182000-07-08  Harlan Stenn  <stenn@whimsy.udel.edu>
1319
1320        * ntpd/ntp_util.c (stats_config): If we read a bogus old_drift,
1321        use 0 instead of failing.
1322
13232000-07-03  Harlan Stenn  <stenn@whimsy.udel.edu>
1324
1325        * README.cvs: Cleanup.
1326
1327        * ntpd/refclock_datum.c (datum_pts_poll): index -> unit_index
1328        * ntpd/ntp_resolver.c (findhostaddr): const cleanup
1329        * libntp/recvbuff.c:
1330        * libntp/msyslog.c:
1331        * libntp/emalloc.c:
1332        * libntp/authreadkeys.c:
1333        Fix header order.
1334        From: Simon Burge <simonb@netbsd.org>
1335
1336        * ntpd/ntp_util.c (stats_config): Use HAVE_FINITE and HAVE_ISFINITE
1337        * configure.in (ac_cv_struct_ntptimeval_timespec): isfinite()
1338        checks for HP-UX11.
1339        From: Albert Chin-A-Young <china@thewrittenword.com>
1340
13412000-07-02  Harlan Stenn  <stenn@whimsy.udel.edu>
1342
1343        * flock-build (LIST): Lose malarky, update some machine/OS descriptions
1344
1345        * configure.in: 4.0.99j4
1346
1347        * ntpq/ntpq.c: Lose PUBKEY stuff - older ntpq's will complain when
1348        they see the info in a packet.
1349        * ntpd/ntp_proto.c (peer_xmit): TAI changes.
1350        * ntpd/ntp_crypto.c: Fix host/network byteorder stuff.  Follow
1351        global->struct changes.  TAI changes.  Bugfixes.
1352        * ntpd/ntp_control.c: Follow field reorder/rename.
1353        * include/ntp_crypto.h: Move crypto stuff from separate globals
1354        into structs.
1355        * include/ntp_control.h (CS_HOST): Reorder/rename some fields
1356        From: Dave Mills
1357
13582000-06-30  Harlan Stenn  <stenn@whimsy.udel.edu>
1359
1360        * ntpd/ntp_peer.c (unpeer): Moved keystr cleanup inside ifdef PUBKEY
1361
1362        * configure.in: 4.0.99j3
1363
1364        * html/release.htm:
1365        * html/ntpq.htm:
1366        * html/authopt.htm:
1367        Updates from Dave Mills
1368
1369        * ntpd/ntp_request.c (dns_a): Don't call crypto_public for now...
1370        * ntpd/ntp_proto.c (receive): Follow the TEST wiggles
1371        (peer_xmit): TAI support
1372        * ntpd/ntp_crypto.c: TAI support
1373        * ntpd/ntp_control.c: CS_VERSION  and CS_TAI support
1374        * include/ntp_crypto.h (CRYPTO_FLAG_TAI): Added.
1375        * include/ntp_control.h (CS_VERSION): Added.
1376        * include/ntp.h (TEST4,TEST5,TEST8,TEST9): Wiggle.
1377        From: Dave Mills
1378
1379        * ntpd/Makefile.am (ntpd_SOURCES): Lose refclock_ulink331.c
1380        because the new refclock_ulink.c handles it.
1381
13822000-06-28  Harlan Stenn  <stenn@whimsy.udel.edu>
1383
1384        * ntpd/ntp_config.c (getconfig): Sanity check the right variable
1385        From: Dave Mills.
1386
13872000-06-25  Harlan Stenn  <stenn@whimsy.udel.edu>
1388
1389        * configure.in: 4.0.99j2
1390
1391        * ntpd/ntp_proto.c:
1392        * ntpd/ntp_peer.c:
1393        * ntpd/ntp_crypto.c:
1394        * include/ntp_crypto.h:
1395        * include/ntp.h:
1396        AUTOKEY/PUBKEY/DH/crypto changes
1397        From: Dave Mills
1398
13992000-06-23  Harlan Stenn  <stenn@whimsy.udel.edu>
1400
1401        * html/driver34.htm:
1402        * ntpd/refclock_ulink.c:
1403        * ntpd/refclock_ulink331.c: (removed)
1404        Updated for 320/330 series refclocks
1405        From: joseph lang <tcnojl1@earthlink.net>
1406
1407        * ntpd/refclock_oncore.c: Patches/improvements
1408        * html/driver30.htm: New release
1409        From: Reg Clemens <reg@orion.dwf.com>
1410
14112000-06-17  Harlan Stenn  <stenn@whimsy.udel.edu>
1412
1413        * configure.in: 4.0.99j1
1414
1415        * ntpdc/ntpdc.c (getcmds):
1416        * configure.in:
1417        Readline support.
1418        From: Aaron Sherman <ajs@narn.ajs.com>
1419
1420        * ntpd/refclock_ulink331.c: Added.
1421        Sent in by Doug Grosso <dgrosso@mint.net>
1422        * ntpd/Makefile.am (ntpd_SOURCES): Added refclock_ulink331.c
1423
1424        * libntp/snprintf.c: Added stdio.h
1425        From: Marc Brett <mbrett@rgs0.london.waii.com>
1426
1427        * include/ntp.h: struct autokey's siglen is u_int32.  So is the
1428        siglen in struct cookie.  So is siglen and value length in struct
1429        value. Add fstamp to struct peer.  Resize the exten AUTOKEY field
1430        in struct pkt.
1431        * include/ntp_crypto.h: crypto_enable -> crypto_flags and a
1432        variety of other cleanups.
1433        * ntpd/ntp_config.c: crypto_enable -> crypto_flags, and some
1434        key/fudge cleanup.
1435        * ntpd/ntp_control.c: Much cleanup.
1436        * ntpd/ntp_crypto.c: Many changes that Harlan is too tired to
1437        properly document.
1438        * ntpd/ntp_peer.c: crypto_enable -> crypto_flags
1439        (peer_config): Hold off on crypto_public() until some resolver
1440        issue is fixed.
1441        * ntpd/ntp_proto.c (receive): Disable the reverse DNS lookup for now.
1442        (process_packet): Don't record_raw_stats() for now.
1443        crypto_enable was renamed to crypto_flags.
1444        (peer_xmit): In MODE_ACTIVE or MODE_PASSIVE, only call
1445        crypto_xmit() if the peer->cmmd is not CRYPTO_AUTO.  Reset
1446        peer->cmmd to 0 when we're thru.
1447        Don't reset peer->cmmd to 0 until the end of MODE_CLIENT.
1448        * ntpd/ntpd.c: Lose the call to crypto_init().  Instead, call
1449        crypto_setup() later on if we have crypto_flags.
1450        * util/ntp_genkeys.c: Lose GENLEN; use PRIMELEN/2 .
1451        From Dave Mills.
1452
1453        * ntpd/ntp_crypto.c (crypto_rsa):
1454        (crypto_dh):
1455        Do some debug logging if readlink() fails with something other
1456        than EINVAL (file isn't a symlink).
1457
14582000-06-04  James R. Van Zandt  <jrv@vanzandt.mv.com>
1459
1460        * html/miscopt.htm (trap): punctuation
1461
1462        * html/ntpd.htm (-g): typo
1463
1464        * html/miscopt.htm (logconfig): List the "clock" event class.
1465        "allprefix" should be two words.
1466
14672000-05-31  Harlan Stenn  <stenn@whimsy.udel.edu>
1468
1469        * ntpd/ntp_timer.c: Protect <unistd.h>
1470
14712000-05-30  Harlan Stenn  <stenn@whimsy.udel.edu>
1472
1473        * ntpd/Makefile.am: Document what we expect from -lm
1474
14752000-05-29  Harlan Stenn  <stenn@whimsy.udel.edu>
1476
1477        * configure.in: 4.0.99j
1478
14792000-05-22  Harlan Stenn  <stenn@whimsy.udel.edu>
1480
1481        * html/ntptime.htm: More fixes
1482        From: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
1483
14842000-05-16  Harlan Stenn  <stenn@whimsy.udel.edu>
1485
1486        * build (KEYSUF):
1487        * flock-build:
1488        * configure.in: Lose the "md5" options from the --with-crypto
1489        check; Dave hates it.
1490
1491        * ntpd/ntp_util.c (stats_config):
1492        * ntpd/ntp_loopfilter.c (loop_config):
1493        * libntp/systime.c (adj_systime):
1494        * include/ntp_proto.h (NTP_MAXFREQ):
1495        Renamed MAX_FREQ to NTP_MAXFREQ
1496
1497        * ntpd/ntpd.c (ntpdmain):
1498        * ntpd/ntp_proto.c (receive):
1499        (poll_update):
1500        * ntpd/ntp_intres.c (addentry):
1501        * ntpd/ntp_config.c (getconfig):
1502        Lint cleanup
1503        From: Marc Brett <mbrett@rgs0.london.waii.com>
1504
1505        * include/ntp_stdlib.h:
1506        * libntp/systime.c (adj_systime):
1507        * ntpd/ntp_loopfilter.c (loop_config):
1508        * ntpd/ntp_util.c (stats_config):
1509        * ports/winnt/ntpd/nt_clockstuff.c (adj_systime):
1510        MAXFREQ -> MAX_FREQ
1511        * include/ntp_proto.h: Define MAX_FREQ
1512
15132000-05-15  Harlan Stenn  <stenn@whimsy.udel.edu>
1514
1515        * include/ntp_stdlib.h:
1516        * libntp/systime.c (adj_systime):
1517        * ntpd/ntp_loopfilter.c (loop_config):
1518        * ntpd/ntp_util.c (stats_config):
1519        * ports/winnt/ntpd/nt_clockstuff.c (adj_systime):
1520        sys_maxfreq -> MAXFREQ
1521        Per Dave Mills.
1522
15232000-05-14  Harlan Stenn  <stenn@whimsy.udel.edu>
1524
1525        * acinclude.m4: Typo...
1526
15272000-05-13  Harlan Stenn  <stenn@whimsy.udel.edu>
1528
1529        * libntp/gpstolfp.c (GPSORIGIN): Try new ULONG_CONST macro
1530
1531        * ntpdate/ntptimeset.c:
1532        * ntpdate/ntpdate.h:
1533        * ntpd/refclock_oncore.c (oncore_msg_En):
1534        * ntpd/ntp_util.c (stats_config):
1535        * ntpd/ntp_request.c:
1536        * ntpd/ntp_intres.c (findhostaddr):
1537        * ntpd/ntp_config.c (getconfig):
1538        * libntp/systime.c (adj_systime):
1539        * libntp/lib_strbuf.c:
1540        * libntp/authparity.c:
1541        * libntp/audio.c:
1542        Header/lint cleanup
1543        From/reported by: Simon Burge <simonb@netbsd.org>
1544
1545        * ntpd/ntp_resolver.c (findhostaddr): Compiler noise cleanup
1546
1547        * ntpd/ntp_intres.c: Compiler noise cleanup
1548
1549        * html/ntptime.htm: Document reality check
1550        From: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
1551
15522000-05-12  Harlan Stenn  <stenn@whimsy.udel.edu>
1553
1554        * ntpd/ntp_intres.c (ntp_intres): Quiet some debug messages
1555        Reported by: Brian Bergstrand <brianb@mac.com>
1556
15572000-05-11  Harlan Stenn  <stenn@whimsy.udel.edu>
1558
1559        * scripts/mkver.in (ConfStr): Use -r if we're using RSAREF,
1560        otherwise use -a if we're using autokey, otherwise use no extra
1561        suffix.
1562
15632000-05-11  Sven Dietrich  <sven_dietrich@trimble.com>
1564
1565        * ports/winnt/include/config.h: New defines to support AUTOKEY
1566        * ports/winnt/include/unistd.h: Added another dummy placeholder.h
1567        * ports/winnt/ntpd/ntpd.dsp: Added ntp_crypt.c to makefile
1568        * ports/winnt/ntpd/ntpd.c: service_main needs a local hostname[]
1569        * html/hints/winnt.htm: Add remark about 4.0.99i not compiling.
1570        These changes got WINNT running again. No idea if the keys stuff
1571        works however.
1572
15732000-05-10  Harlan Stenn  <stenn@whimsy.udel.edu>
1574
1575        * configure.in: 4.0.99i9
1576
1577        * ntpd/ntp_crypto.c: tstamp and autokey cleanup
1578        From: Dave Mills
1579
1580        * ntpd/ntp_proto.c (clock_update): Only call expire_all() if
1581        AUTOKEY
1582        From many folks, including Reg Clemens <reg@dwf.com>
1583
15842000-05-07  Harlan Stenn  <stenn@whimsy.udel.edu>
1585
1586        * configure.in: 4.0.99i8
1587
1588        * flock-build: Use new --with-crypto choices
1589        * build (KEYSUF): Deal with new --with-crypto
1590        * configure.in: --with-crypto={md5,autokey,rsaref};
1591        lose --enable-autokey
1592
15932000-05-06  Harlan Stenn  <stenn@whimsy.udel.edu>
1594
1595        * build (KEYSUF): Catch --disable-autokey first.
1596
15972000-05-05  Harlan Stenn  <stenn@whimsy.udel.edu>
1598
1599        * flock-build: If we don't use autokey, don't use rsaref either.
1600
1601        * configure.in: 4.0.99i7
1602
1603        * build (KEYSUF):
1604        * flock-build:
1605        It's --disable-autokey now
1606
1607        * configure.in: MD5 is not optional (but AUTOKEY is)
1608        * include/ntp_stdlib.h:
1609        * libntp/a_md5encrypt.c:
1610        * libntp/authkeys.c:
1611        (authhavekey):
1612        (MD5auth_setkey):
1613        (auth_delkeys):
1614        (authencrypt):
1615        (authdecrypt):
1616        * libntp/authreadkeys.c:
1617        (authreadkeys):
1618        * ntpd/ntp_proto.c (init_proto):
1619        * libntp/authusekey.c:
1620        MD5 is required.
1621
16222000-05-04  Harlan Stenn  <stenn@whimsy.udel.edu>
1623
1624        * configure.in: 4.0.99i6
1625
1626        * ntpd/ntp_proto.c (transmit): Fix up the UNREACH code.
1627        (receive): Lose some debug code.
1628        (clock_update): expire_all() if LEAP_NOTINSYNC
1629        crypto_xmit() a CRYPTO_AUTO if !FLAG_AUTOKEY instead of recauto.tstamp
1630        crypto_xmit() a CRYPTO_PRIV (not CRYPTO_AUTO) based on pcookie.tstamp
1631        crypto_xmit() a CRYPTO_AUTO (not CRYPTO_PRIV) based on FLAG_MCAST2
1632        and !FLAG_AUTOKEY       
1633        * ntpd/ntp_crypto.c (crypto_recv): Clean up debug output.
1634        Don't AUTOKEY if FLAG_MCAST2
1635        From: Dave Mills
1636
1637        * flock-build: Also make obe withouyt md5 (no AUTOKEY)
1638        * build (BDIR): Handle -noautokey build directory suffix
1639        * configure.in: Prepare for AUTOKEY in mkver.in
1640        * scripts/mkver.in (ConfStr): Indicate in the version string if
1641        we're not using AUTOKEY.
1642
16432000-05-03  Harlan Stenn  <stenn@whimsy.udel.edu>
1644
1645        * scripts/ntp-wait.in: Fun things with backspaces
1646
1647        * configure.in: 4.0.99i5
1648
1649        * ntptrace/ntptrace.c: Protect sys/ioctl.h; grab config.h
1650
1651        * ntpd/ntp_proto.c (transmit): AUTOKEY and tstamp fixes.
1652        (clock_update): Check oleap against LEAP_NOTINSYNC
1653        (peer_clear): Free pubkey when we're done
1654        Check peer's keynumber against the seq in MODE_BROADCAST.
1655        Reorder tstamp changes.
1656        * ntpd/ntp_crypto.c (crypto_recv): Check the packet if we get a
1657        CRYPTO_RESP and reorder the update of tstamp.
1658        (crypto_recv): Don't expire the peer until we're thru with it.
1659        * include/ntp.h: AUTOKEY and pkeyid changes
1660        From Dave Mills
1661
1662        * ntpdate/ntpdate.c: Protect sys/ioctl.h
1663
16642000-05-01  Harlan Stenn  <stenn@whimsy.udel.edu>
1665
1666        * configure.in: 4.0.99i4
1667
1668        * include/ntp.h:
1669        * include/ntp_crypto.h:
1670        * include/ntpd.h:
1671        * ntpd/ntp_crypto.c:
1672        * ntpd/ntp_proto.c:
1673        * ntpd/ntpd.c:
1674        * util/ntp_genkeys.c:
1675        Dave Mills closed some potential vulnerabilities in the key protocol.
1676
16772000-04-28  Harlan Stenn  <stenn@whimsy.udel.edu>
1678
1679        * configure.in: 4.0.99i3
1680
1681        * ntpd/ntp_proto.c: Just check tstamp, forget about sndauto.seq
1682        * ntpd/ntp_crypto.c (crypto_recv): Lose inappropriate ntohl()
1683        conversion on tstamp.
1684        AUTOKEY if tstamp>0, not !=
1685        Stash tstamp before we check pcookie.key (several places)
1686        * ntpd/ntp_control.c (ctl_putpeer): In CP_INITSEQ, check
1687        recauto.key, not keylist.
1688        From: Dave Mills
1689
16902000-04-27  Harlan Stenn  <stenn@whimsy.udel.edu>
1691
1692        * configure.in: 4.0.99i2
1693
1694        * ntpq/ntpq.c: PUBKEY stuff
1695        * ntpd/ntp_proto.c (clock_select): nreach, and better survivor pick.
1696        * ntpd/ntp_peer.c (newpeer): Better nextdate choice.
1697        * ntpd/ntp_control.c (ctl_putsys): Buglet in CS_HOSTNAM code.
1698        From Dave Mills.
1699
17002000-04-24  Harlan Stenn  <stenn@whimsy.udel.edu>
1701
1702        * build (IAM): Show hostname if we trip a buildkey check.
1703
17042000-04-23  Harlan Stenn  <stenn@whimsy.udel.edu>
1705
1706        * build: deal with optional 1st argument (SIG), which must match
1707        the contents of .buildkey
1708
1709        * flock-build: Generalize, implement SIG and .buildkey, and drive
1710        list from LIST, which the user can override.
1711
17122000-04-21  Harlan Stenn  <stenn@whimsy.udel.edu>
1713
1714        * configure.in: 4.0.99i1
1715        Dave updated some docs, implemented the kpoll variable, and
1716        wiggled a host/network byte order thing in the crypto key code.
1717
17182000-04-16  Harlan Stenn  <stenn@whimsy.udel.edu>
1719
1720        * ntpd/refclock_wwvb.c (wwvb_receive): Grab any character (instead
1721        of just a space) before the DSTchar.
1722        From: Dave Mills
1723
17242000-04-11  Harlan Stenn  <stenn@whimsy.udel.edu>
1725
1726        * configure.in: 4.0.99i
1727
1728        Dave made some documentation updates.
1729
17302000-04-08  Harlan Stenn  <stenn@whimsy.udel.edu>
1731
1732        * flock-build: Add malarky.  By default, --enable-parse-clocks.
1733        Start 2 builds, one with and the other without rsaref.
1734
1735        * configure.in: 4.0.99h6
1736        Dave improved the crypto stuff some more.
1737
17382000-04-05  Harlan Stenn  <stenn@whimsy.udel.edu>
1739
1740        * ntpd/refclock_acts.c (acts_receive): Do a better job with year
1741        conversions and leap-year checks.  The PTB stuff caught this.
1742        Reported by: Daniel.Aeby@eam.admin.ch
1743
17442000-04-02  Harlan Stenn  <stenn@whimsy.udel.edu>
1745
1746        * ntpd/refclock_atom.c (atom_pps): Bugfix
1747        From: Philippe Charnier <charnier@xp11.frmug.org>
1748
17492000-03-30  Harlan Stenn  <stenn@whimsy.udel.edu>
1750
1751        * libparse/clk_wharton.c (cvt_wharton_400a): Do not return
1752        CVT_NONE when receiving the early warning bit set.
1753        From: Philippe De Muyter  <phdm@macqel.be>
1754
1755        * configure.in: 4.0.99h5
1756        Dave made more changes to the auth key stuff.
1757
17582000-03-29  Harlan Stenn  <stenn@whimsy.udel.edu>
1759
1760        * configure.in: 4.0.99h4
1761        Dave made a bunch of changes/fixes to the auth key stuff.
1762
17632000-03-22  Harlan Stenn  <stenn@whimsy.udel.edu>
1764
1765        * ntpd/ntp_resolver.c: Typos.
1766
17672000-03-21  Harlan Stenn  <stenn@whimsy.udel.edu>
1768
1769        * configure.in: 4.0.99h3
1770
1771        * ntpd/ntp_intres.c: Use LOG_INFO instead of LOG_DEBUG.
1772        * ntpd/ntp_resolver.c: Ditto.
1773
17742000-03-20  Harlan Stenn  <stenn@whimsy.udel.edu>
1775
1776        * util/Makefile.am (ntp_genkeys_LDADD): Might need snprintf (-lntp)
1777
1778        * librsaref/Makefile.am (stamp-rsaref): nodist_HEADERS are not
1779        supoprted yet.  Hack around it.
1780
1781        * ntpd/ntp_resolver.c (findhostaddr): hstrerror isn't always available.
1782
1783        * configure.in: Look for hstrerror.
1784
1785        * util/ntp_genkeys.c (main): Use snprintf, not sprintf.
1786       
1787        * ntpd/ntp_crypto.c: Use gethostname, not uname
1788        * util/ntp_genkeys.c: Ditto
1789        From: Dave Mills
1790
17912000-03-19  Harlan Stenn  <harlan@pfcs.com>
1792
1793        * ntpd/ntp_proto.c (receive): Rename ntp_res_send() to
1794          ntp_res_name() and adjust the number of arguments.
1795        * ntpd/ntp_resolver.c (ntp_res_name): Ditto
1796        * include/ntpd.h: Ditto
1797
1798        * ntpd/ntp_resolver.c: Add de_done to the dns_entry structure.
1799
18002000-03-18  Harlan Stenn  <stenn@whimsy.udel.edu>
1801
1802        * configure.in: 4.0.99h2
1803
1804        * libparse/Makefile.am (info_trimble.c): Use $(srcdir)/foo.sed
1805        instead of foo.sed .
1806
1807        * librsaref/Makefile.am (stamp-rsaref): Copy each file to the build
1808        directory, not to the source directory.  This sucks; it wastes
1809        space (but it's more portable).
1810
1811        * configure.in (ac_busted_vpath_in_make): Add FreeBSD.  I bet all
1812        systems that use pmake will need this.
1813        (ac_busted_vpath_in_make): Remove FreeBSD - I found a workaround.
1814
1815        * Makefile.am: General cleanup
1816
1817        * configure.in: 4.0.99h1
1818
1819        * ntpd/ntp_resolver.c: Lose unneeded header.
1820
18212000-03-17  Harlan Stenn  <stenn@whimsy.udel.edu>
1822
1823        * libntp/snprintf.c: #include <config.h>
1824
1825        * libntp/Makefile.am (EXTRA_libntp_a_SOURCES): Use it correctly...
1826
18272000-03-16  Harlan Stenn  <stenn@whimsy.udel.edu>
1828
1829        * libntp/Makefile.am (EXTRA_DIST): Added snprintf.c
1830
1831        * configure.in: Look for (and provide if it's missing) snprintf()
1832
1833        * ntpd/ntp_request.c (dns_a): Call crypto_public with the resolved
1834        name and the peer pointer.
1835        (dns_a): crypto_public() is only available if PUBKEY is #defined.
1836
1837        * ntpd/ntp_crypto.c (crypto_public): sprintf is Evil.  Use snprintf.
1838        (crypto_setup): Ditto
1839        (crypto_read): Ditto
1840
1841        * ntpd/ntp_resolver.c (ntp_res_send): Lose some debugging noise.
1842
1843        * ntpd/ntp_config.c (getconfig): Lose testing code.
1844
1845        * ntpd/ntp_request.c (dns_a): Fix buglet in hostname length check.
1846
18472000-03-16  Harlan Stenn  <harlan@pfcs.com>
1848
1849        * ntpd/ntp_request.c (dns_a): Start cracking the returned information.
1850
18512000-03-15  Harlan Stenn  <stenn@whimsy.udel.edu>
1852
1853        * ntpd/ntp_resolver.c (ntp_res): Authenticate the keyid.
1854
1855        * ntpd/ntp_crypto.c (crypto_line): Fix definition
1856        (crypto_read): Ditto.
1857
1858        * ntpd/ntp_config.c (getconfig): Move req_keyid generation here.
1859
1860        * librsaref/Makefile.am (BUILT_SOURCES): Cleanup more nodist_ stuff.
1861
18622000-03-14  Harlan Stenn  <stenn@whimsy.udel.edu>
1863
1864        * build (RSASUF): If we have rsaref2/ and are building
1865        --without-rsaref, note it as a build-directory suffix.
1866
1867        * configure.in: 4.0.99h
1868        Crypto merge
1869
1870        * librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Added nodist_
1871
18722000-02-28  Harlan Stenn  <stenn@whimsy.udel.edu>
1873
1874        * configure.in: Lose the changequote calls and fix the quoting.
1875        Reported by: Akim Demaille <akim@epita.fr>
1876
1877        * ntpd/ntp_request.c: Log various error conditions.
1878
18792000-02-27  Harlan Stenn  <stenn@whimsy.udel.edu>
1880
1881        * configure.in: 4.0.99g
1882
1883        * ntpd/ntpd.c: Only log EINTR if debug > 2.
1884
18852000-02-25  Harlan Stenn  <stenn@whimsy.udel.edu>
1886
1887        * scripts/mkver.in (ConfStr): Use `-r' when configured with crypto.
1888
1889        * ntpd/refclock_wwvb.c (wwvb_receive): Undo the previous chagne.
1890
18912000-02-24  Harlan Stenn  <stenn@whimsy.udel.edu>
1892
1893        * ntpd/refclock_wwvb.c (wwvb_receive): LENWWVB0 can return 6 or 7
1894        fields.
1895        From: Michael Sinatra <msinatra@uclink4.berkeley.edu>
1896        with a cleanup from Ulrich.
1897
1898        * scripts/mkver.in (ConfStr): Make RSAREF appear as part of the
1899        version.
1900
19012000-02-21  Sven Dietrich <sven_dietrich@trimble.com>
1902
1903        * ports/winnt/include/config.h: Enable MD5 and RANDOM by default
1904        * ports/winnt/libntp/SetSystemTime.c: Fix warning and const declaration
1905        From: Carl Byington <carl@five-ten-sg.com>
1906
19072000-02-21  Harlan Stenn  <stenn@whimsy.udel.edu>
1908
1909        * Makefile.am (SUBDIRS): Make librsaref right after includes so we
1910        can copy any needed header files over.
1911
1912        * libntp/Makefile.am (INCLUDES): Also look in librsaref for des.h
1913        * ntpd/Makefile.am (INCLUDES): Ditto
1914        * util/Makefile.am (INCLUDES): Ditto
1915
1916        * librsaref/Makefile.am (librsaref_a_SOURCES): Use the des.h from
1917        the rsaref2 distribution.
1918
1919        * include/Makefile.am (noinst_HEADERS): No, we don't want des.h
1920
19212000-02-20  Harlan Stenn  <stenn@whimsy.udel.edu>
1922
1923        * include/Makefile.am (noinst_HEADERS): Add des.h
1924
19252000-02-19  Harlan Stenn  <stenn@whimsy.udel.edu>
1926
1927        * ntpd/ntp_config.c (do_resolve_internal): Try Real Hard to
1928        generate a full random key.
1929        From: Carl Byington <carl@five-ten-sg.com>
1930
1931        * include/ntp.h: Now we know we have either mrand48() or random().
1932        * configure.in: If we have mrand48, use it.  Otherwise, use (and
1933        provide if necessary) random().
1934        * libntp/Makefile.am (EXTRA_DIST): random.c
1935        * libntp/random.c: Added.
1936
19372000-02-18  Harlan Stenn  <stenn@whimsy.udel.edu>
1938
1939        * librsaref/Makefile.am (stamp-rsaref): Typo
1940
1941        * configure.in (ac_cv_func_ctty_for_f_setown): Yes for OpenBSD
1942        (ac_cv_var_ntp_syscalls): Fix quoting of description
1943        From: Jonathan Rozes <jrozes@vinton.com>
1944
1945        * librsaref/Makefile.am: Fix stamp-rsaref dependency order.
1946
1947        * configure.in: 4.0.99f
1948
19492000-02-17  Harlan Stenn  <stenn@whimsy.udel.edu>
1950
1951        * ntpd/refclock_mx4200.c: Remove the DOP-weighted position
1952        averaging code and revert to a simple mean average.  The weighted
1953        average consistently produced a *worse* result.  Go figure.
1954        * html/mx4200data.htm: Cleanup, reflect current reality.
1955        * html/driver9.htm: Cleanup, reflect current reality.
1956        * html/copyright.htm: Cleanup, and credit where credit is due.
1957        From: Marc.Brett@westgeo.com
1958       
1959        * ntpd/refclock_oncore.c: Cleanup/fixes
1960        * html/driver30.htm: Cleanup
1961        * html/Oncore-SHMEM.htm: Cleanup
1962        From: Reg Clemens <reg@dwf.com>
1963
19642000-02-16  Sven Dietrich <sven_dietrich@trimble.com>
1965
1966        * winnt/scripts/mkver.bat:    Frederick Czajka [w2k@austin.rr.com]
1967          winnt/ntpq/ntpq.dsp:        modified mkver.bat to eliminate the
1968          winnt/ntpd/ntpd.dsp:        need to have Perl installed and the
1969          winnt/ntpdc/ntpdc.dsp:      PERL environment variable to be set.
1970          winnt/ntpdate/ntpdate.dsp:
1971          winnt/ntptrace/ntptrace.dsp:    Thanks, Frederick!
1972
1973        * ntpd/refclock_nmea.c: Correctly interpret the quality indicator.
1974
19752000-02-15  Harlan Stenn  <stenn@whimsy.udel.edu>
1976
1977        * ntpd/refclock_nmea.c: Correctly interpret the quality indicator.
1978        Deal with the time supplied in centiseconds.  GPGCA/GPGGA cleanup.
1979        From: Andrew Hood <ajhood@fl.net.au>
1980
1981        * libparse/Makefile.am (K_CFLAGS): Use instead.  Add NEED_NTP_BOPS.
1982
19832000-02-10  Harlan Stenn  <stenn@whimsy.udel.edu>
1984
1985        * scripts/ntp-wait.in: Intensify, including some suggestions from
1986        Ulrich.
1987
1988        * configure.in: 4.0.99e
1989
1990        * scripts/ntp-wait.in: Lose cruft, sleep after each try.
1991
1992        * scripts/ntp-restart: It's ntpd now.  Also, call ntp-wait.
1993
1994        * configure.in (AC_CONFIG_*): New scripts that use PATH_PERL
1995
1996        * scripts/Makefile.am (noinst_SCRIPTS): Added ntp-wait
1997        (noinst_SCRIPTS): Added all of the scripts that now use PATH_PERL
1998
1999        * configure.in: Get the path to perl
2000        (AC_CONFIG_*): Added scripts/ntp-wait
2001
2002        * ntptrace/ntptrace.c (DoTrace): If the server's srcadr is 0.0.0.0
2003        then we haven't synced yet.  Note and punt.
2004        Reported by: Bdale Garbee <bdale@gag.com>,http://bugs.debian.org/56551
2005
20062000-02-09  Harlan Stenn  <stenn@whimsy.udel.edu>
2007
2008        * ports/winnt/include/config.h: Typo (CLOCK_PALISADE comment)
2009        From: Carl Byington <carl@five-ten-sg.com>
2010
2011        * configure.in: Disable kernel_fll_bug for Generic_105181-17 under
2012        Solaris-2.6
2013        From: Juergen Georgi <georgi@belwue.de>
2014
20152000-02-07  Harlan Stenn  <stenn@whimsy.udel.edu>
2016
2017        * configure.in: 4.0.99d
2018
2019        * html/Oncore-SHMEM.htm: New document
2020        * html/driver30.htm: Cleanup and improvements
2021        From: Reg Clemens <reg@dwf.com>
2022
20232000-01-30  Harlan Stenn  <stenn@whimsy.udel.edu>
2024
2025        * ntpd/refclock_oncore.c: Patches/improvements
2026        From: Reg Clemens <reg@dwf.com>
2027       
20282000-01-29  Harlan Stenn  <stenn@whimsy.udel.edu>
2029
2030        * configure.in: 4.0.99c
2031
20322000-01-28  Harlan Stenn  <stenn@whimsy.udel.edu>
2033
2034        * configure.in: Autoconf update...
2035
2036        * ntpdate/ntpdate.c (ntpdatemain): Typo
2037        From: Jack Bryans <jbryans@csulb.edu>
2038
2039        * Makefile.am (EXTRA_DIST): Add flock-build.  Probably UDel specific...
2040
20412000-01-23  Harlan Stenn  <stenn@whimsy.udel.edu>
2042
2043        * ntpd/check_y2k.c (main): Reformat for ansi2knr
2044
2045        * configure.in (AC_OUTPUT): Revert to obsolete form until automake
2046        catches up.
2047
20482000-01-22  Harlan Stenn  <stenn@whimsy.udel.edu>
2049
2050        * configure.in: Use AC_CHECK_TYPES((s_char)) instead of
2051        AC_CHECK_TYPE.
2052        (ac_cv_var_kernel_fll_bug): Generic_106541-08 is apparently OK, too.
2053
2054        * scripts/Makefile.am (EXTRA_DIST): Need to explicitly distribute
2055        mkver.in and ntpver.in now, apparently.
2056        * configure.in: Search for the various audio_info members so the
2057        printing in audio_show is less of a circus.  This required an
2058        autoconf upgrade.  Major sigh.
2059
2060        * libntp/audio.c (audio_show): Clean up (more) properly.
2061
20622000-01-21  Sven Dietrich <sven_dietrich@trimble.com>
2063
2064        * Add pointer to html/hints/winnt.htm to INSTALL file
2065        * Fix NT makefiles to accomodate at least one weird
2066          version of Visual C that can't handle the LFs without
2067          the DOS CR also.
2068
20692000-01-20  Sven Dietrich <sven_dietrich@trimble.com>
2070
2071        * Update Copyright in Palisade driver to 2000
2072        * Fix Palisade MIN & MAX POLL to optimal values
2073
20742000-01-19  Harlan Stenn  <stenn@whimsy.udel.edu>
2075
2076        * html/driver7.htm: Patches from Dave Mills
2077        * html/driver36.htm: Patches from Dave Mills
2078
2079        * html/copyright.htm: Added Kamal Mostafa
2080
20812000-01-19  Harlan Stenn  <stenn@whimsy.udel.edu>
2082
2083        * configure.in: 4.0.99b
2084
20852000-01-18  Harlan Stenn  <stenn@whimsy.udel.edu>
2086
2087        * ntpd/refclock_chu.c: NCHAN is used with generic ICOM.
2088
2089        * ntpd/refclock_wwv.c: Use new audio stuff
2090        * ntpd/refclock_irig.c: Use new audio stuff
2091        * ntpd/refclock_chu.c: Use new audio stuff
2092        * ntpd/ntp_proto.c: Clean up
2093        * ntpd/ntp_loopfilter.c (local_clock): Clean up error message
2094        * include/icom.h: Number of arguments changed
2095        * libntp/Makefile.am (libntp_a_SOURCES): Added audio.c
2096        * libntp/audio.c: New file
2097        * include/Makefile.am (noinst_HEADERS): audio.h added
2098        * include/audio.h: New file
2099        From: Dave Mills <mills@udel.edu>
2100
2101        * scripts/freq_adj: Added.  FreeBSD frequency adjustment script.
2102
2103        * configure.in: Do a better job on my oncore_ok check for SCO.
2104
21052000-01-15  Harlan Stenn  <stenn@whimsy.udel.edu>
2106
2107        * configure.in: 4.0.99a
2108
2109        * scripts/ntpsweep: New version
2110        * html/copyright.htm: Added Hans Lambermont
2111        From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
2112
21132000-01-14  Harlan Stenn  <stenn@whimsy.udel.edu>
2114
2115        * ntpd/refclock_oncore.c (oncore_start): Only dance with the
2116        pps_device if it's there.
2117        From: reg@dwf.com
2118
2119        * configure.in: ONCORE is OK if ac_cv_hdr_def_tiocdcdtimestamp=yes
2120
2121        * build: Just overwrite the log file each time; sometimes NFS goes
2122        a little goofy.
2123
2124        * ntpd/refclock_fg.c: Syntax/punctuation cleanup
2125
21262000-01-13  Harlan Stenn  <stenn@whimsy.udel.edu>
2127
2128        * scripts/ntpsweep: New version
2129        From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
2130
2131        * ntpd/refclock_fg.c: New version
2132        * html/driver37.htm: New version
2133        From: Dmitry Smirnov <das@online.nsk.su>
2134
21352000-01-12  Harlan Stenn  <stenn@whimsy.udel.edu>
2136
2137        * README.des: Cleanup
2138
21392000-01-12  Harlan Stenn  <stenn@whimsy.udel.edu>
2140
2141        * configure.in: 4.0.99
2142
2143        * html/driver36.htm: Cleanup
2144        * html/monopt.htm: Ditto
2145        From: Dave Mills <mills@udel.edu>
2146       
2147        * ntpd/ntp_intres.c (ntp_intres): Put "NTP_INTRES running" at a
2148        higher debug level
2149
21502000-01-11  Harlan Stenn  <stenn@whimsy.udel.edu>
2151
2152        * ntpd/refclock_wwv.c: More improvements
2153        From: Dave Mills <mills@udel.edu>
2154
21552000-01-10  Harlan Stenn  <stenn@whimsy.udel.edu>
2156
2157        * ntpd/refclock_wwv.c: Bugfixes/improvements
2158        From: Dave Mills <mills@udel.edu>
2159
2160        * configure.in: Get the quoting right on the sys_errlist check.
2161        From documentation by: Akim Demaille <akim@epita.fr>
2162
21632000-01-08  Harlan Stenn  <stenn@whimsy.udel.edu>
2164
2165        * configure.in: <netinet/ip.h> cannot be detected...
2166        * ntpd/ntp_io.h: ...but every OS has it
2167        * ntpd/refclock_oncore.c: Lint removal
2168        * ntpq/ntpq_ops.c: Lint removal
2169        * ntpq/refclock_chu.c: chu_major() is not an audio routine (?), lint
2170        * libntp/icom.c: AIX doesn't have <sys/termios.h>
2171        From: Marc.Brett@westgeo.com
2172
2173        * ntpd/refclock_chu.c: NetBSD needs sys/ioctl.h
2174        (chu_debug): NetBSD-specific debug output.
2175        From: Frederick Bruckman <fb@enteract.com>
2176
21772000-01-06  Harlan Stenn  <stenn@whimsy.udel.edu>
2178
2179        * configure.in: 4.0.98m
2180        I skipped `l' - it looks like a `1'.
2181       
2182        * html/driver7.htm: Doc update
2183        * html/driver36.htm: Ditto
2184        * html/audio.htm: Ditto
2185
2186        * ntpd/refclock_wwv.c: Dvae snuck another fix/change in on me.
2187
2188        * configure.in: 4.0.98k
2189
2190        * ntpd/refclock_chu.c (chu_start): Call icom_init with the speed
2191        * ntpd/refclock_wwv.c (wwv_start): Ditto, plus other improvements.
2192        * libntp/icom.c (icom_init): Add speed parameter
2193        * include/icom.h: Update declaration
2194        From: Dave Mills <mills@udel.edu>
2195
2196        * include/Makefile.am (noinst_HEADERS): Added icom.h
2197        From: Frederick Bruckman <fb@enteract.com>
2198
21992000-01-05  Harlan Stenn  <stenn@whimsy.udel.edu>
2200
2201        * configure.in: 4.0.98j
2202
2203        * ntpd/refclock_wwv.c (timecode): Make definition == declaration
2204        (wwv_newchan): Ditto
2205        (wwv_corr4): Dave fixed the declaration.
2206
2207        * flock-build: Add rackety to the flock - it runs SunOS 4.1.3/cc
2208
2209        * ntpd/refclock_wwv.c: Undo that declaration cleanup for now...
2210
2211        * ntpd/ntp_io.c (open_socket): TOS support
2212        From: Marc.Brett@westgeo.com
2213
22142000-01-04  Harlan Stenn  <stenn@whimsy.udel.edu>
2215
2216        * ntpd/refclock_wwv.c: Declaration cleanup
2217        * ntpd/refclock_fg.c (fg_receive): Not all sprintf's are created
2218        equal...
2219        From: Marc.Brett@westgeo.com
2220
2221        * ntpd/refclock_wwv.c: Dave Cleaned and Improved things.
2222        * ntpd/ntp_loopfilter.c (local_clock): Dave fixed something.
2223
2224        * ntpd/refclock_wwv.c: Rename max to p_max or s_max as appropriate
2225        to avoid native SunOS compiler collision.
2226        (wwv_epoch): Make declaration == definition
2227        (wwv_rsec): Ditto
2228        (wwv_newchan): Ditto
2229        (wwv_qsy): Ditto
2230        (timecode): Ditto
2231
2232        * ntpd/refclock_oncore.c (oncore_init_shmem): Use a cast to widen
2233        mmap's NIL offset.
2234
2235        * ntpd/refclock_chu.c (chu_rf): Make declaration == definition.
2236        Rename min/max to es_min/es_max to avoid native SunOS compiler
2237        collision.
2238        (chu_uart): Make declaration == definition.
2239
2240        * libntp/icom.c (sndpkt): Make declaration and definition equivalent.
2241        (doublefreq): Ditto.
2242
2243        * ntpd/refclock_oncore.c (MAP_FAILED): Some systems do not #define
2244        this.
2245
2246        * ntpd/refclock_wwv.c:
2247        * ntpd/refclock_chu.c:
2248        * libntp/icom.c:
2249        * libntp/Makefile.am:
2250        * include/icom.h:
2251        * html/driver7.htm:
2252        * html/driver36.htm:
2253        Support for ICOM.  The WWV/H driver, by the way, is getting truly
2254        awesome.  The CHU autotune function works okay as it is.  I'd like
2255        to find somebody else to test the audio drivers just to make sure
2256        I haven't done something stupid.  There is a new define ICOM
2257        intended for the driver autotune function; however, I crafted the
2258        thing in much the same way as the refclock_atom.c thing - it tries
2259        to open /dev/icom and, if that fails, goes quietly to sleep.
2260        From: Dave Mills <mills@udel.edu>
2261
22622000-01-03  Harlan Stenn  <stenn@whimsy.udel.edu>
2263
2264        * ntpd/refclock_oncore.c (oncore_read_config): Patches and cleanup
2265        From: Poul-Henning Kamp <phk@critter.freebsd.dk>
2266        more isascii() stuff from HMS.
2267
2268        * ntpd/refclock_fg.c (fg_receive): Cast.
2269        From: Tom Smith <smith@cag.lkg.dec.com>
2270
2271        * ntpd/map_vme.c (map_vme): tx.access_result indicates failure on
2272        < 0, not <= 0.  A fix that apparently did not get brought over
2273        from the ntp3 base.
2274        From: Michael Barone <michael.barone@lmco.com>
2275
2276        * configure.in: Move the ONCORE_SHMEM_STATUS check and definition
2277        here.
2278
2279        * ntpd/refclock_oncore.c (oncore_init_shmem): Some systems do not
2280        have MAP_HASSEMAPHORE.
2281
2282        * ntpd/refclock_oncore.c: Drive ONCORE_SHMEM_STATUS based on
2283        HAVE_SYS_MMAN_H .  If this needs finer checks, do it in
2284        configure.in .
2285        (oncore_read_config): Add the isascii() checks; older versions of
2286        Unix don't guarantee correct behavior of is*() without it.
2287
2288        * ntpd/refclock_oncore.c: Add proof-of-concept support for
2289          delivering receiver data stream to other processes through
2290          a memory-mapped file.
2291          From: Poul-Henning Kamp <phk@FreeBSD.org>
2292
22932000-01-02  Harlan Stenn  <stenn@whimsy.udel.edu>
2294
2295        * configure.in (ac_refclock_chu): Provide the CHU driver by
2296        default, and by default prefer the AUDIO version.  We used to
2297        limit this to SunOS or Solaris; now we drive by the availability
2298        of the audioio header file.
2299        Select the IRIG and WWV audio drivers the same way.
2300
2301        * flock-build: build ignores the -l flag; lose it.
2302        (BUILD_ARGS): added.
2303        * build: Remove unused -l stuff (LOG variable).
2304
2305        * ntpd/ntp_refclock.c: HAVE_PPSAPI header cleanup
2306        From: Reg Clemens <reg@dwf.com>
2307
23082000-01-01  Harlan Stenn  <stenn@whimsy.udel.edu>
2309
2310        * configure.in (CLOCK_WWV): Require <sys/audioio.h> or <sun/audioio.h>
2311
23121999-12-29  Harlan Stenn  <stenn@whimsy.udel.edu>
2313
2314        * configure.in: 4.0.98i
2315
2316        * ntpd/refclock_gpsvme.c: Fixes
2317        From: Michael Barone <michael.barone@lmco.com>
2318        Patch severely hacked by HMS to "make it conform".  I hope I
2319        didn't break anything.
2320
2321        * scripts/ntpsweep: Nifty utility
2322        From: Hans.Lambermont@nl.origin-it.com
2323
2324        * ntpd/refclock_fg.c:
2325        * ntpd/refclock_conf.c:
2326        * ntpd/ntp_control.c:
2327        * ntpd/Makefile.am:
2328        * libntp/clocktypes.c:
2329        * include/ntp.h:
2330        * html/refclock.htm:
2331        * html/driver37.htm:
2332        * configure.in:
2333        * acconfig.h:
2334        Forum Graphic GPS clock support
2335        From: Dmitry Smirnov <das@online.nsk.su>
2336       
2337        * configure.in: Default to compile the IRIG, CHU and WWV/H
2338        drivers and compile the CHU driver for audio, not modem.
2339        Requested by Dave Mills.
2340
2341        * html/audio.htm:
2342        * html/driver36.htm:
2343        * html/qth.htm:
2344        Dave wrote these to go along with the changes I checked in yesterday.
2345       
23461999-12-28  Harlan Stenn  <stenn@whimsy.udel.edu>
2347
2348        * ntpd/refclock_wwv.c:
2349        * ntpd/refclock_conf.c:
2350        * ntpd/refclock_chu.c:
2351        * ntpd/ntp_refclock.c:
2352        * ntpd/ntp_loopfilter.c:
2353        * html/refclock.htm:
2354        * html/pps.htm:
2355        * html/index.htm:
2356        * html/driver7.htm:
2357        * html/driver6.htm:
2358        * html/copyright.htm:
2359
2360        I indulged an old agenda to polish up some programs originally
2361        written for a DSP evaluation board. The result is a really hot
2362        audio driver for the NIST WWV/WWVH time/frequency station plus a
2363        makeover for the CHU audio driver. Currently, they and their IRIG
2364        audio driver buddy use the SunOS/Solaris audio interface, which is
2365        clean and simple. I hook the line in jack to a shortwave radio and
2366        these drivers (driver 7 for CHU and driver 36 for WWV) and the
2367        drivers do the rest. The WWV/H driver is really hot - I am
2368        currently watching the ionosphere move from the doppler that shows
2369        up on the tick modulation tracked by the program. During midday
2370        when the F2 layer settles down, the program closes in on a few
2371        tens of microseconds of spare jitter and wander.  This watch on
2372        whichever 15/20 MHz signal sounds the best. At night on 5/10 MHz
2373        and even 2.5 HMz where the multipath, interference and noise are
2374        much worse, the driver bangs around somewhat more.
2375
2376        The CHU driver makeover discovered a few broken bones after all
2377        these years, but its majority decoder is back in business. For
2378        various reasons to icky to reveal here, its 103-modem demodulator
2379        is not quite as good as the chip, but it comes close and hey,
2380        2025/2125 FSK is just not a good idea for HF radio. This driver is
2381        not nearly as sophisitcated as the WWV/H driver, but here a few
2382        hundred miles south of Ottawa, it does a passably good job.
2383
2384        I tell you this in the hopes of getting somebody interested in
2385        porting the audio interface to other machines, in particular
2386        Linux, FreeBSD and anything else with a sound card. When the
2387        ionosphere stays cool, the WWV/H driver is as good as anything
2388        else around here and with much less jitter than a serial port. The
2389        only downside is all the audio drivers chew up a modest fraction
2390        of cycles for the DSP routines - a few percent on the newer
2391        silicon, up to half the cycles on an old Sparc IPC. Whattheheck,
2392        these old machines aren't doing anything else around here except
2393        serving time, and even when sucking cycles for DSP they still mind
2394        the PPS microseconds.
2395
2396        The audio driver documentation had a makeover, too.
2397        From: Dave Mills <mills@udel.edu>
2398
23991999-12-20  Harlan Stenn  <stenn@whimsy.udel.edu>
2400
2401        * configure.in: 4.0.98h
2402
24031999-12-19  Harlan Stenn  <stenn@whimsy.udel.edu>
2404
2405        * libntp/syssignal.c: Small cleanup to Marc's patch.
2406
2407        * ntpd/ntp_refclock.c:
2408        * ntpd/refclock_atom.c: Header cleanup
2409        * html/driver30.htm: Cleanup and improvements.
2410        From: Reg Clemens <reg@dwf.com>
2411
2412        * ntpd/ntp_refclock.c:
2413        * ntpd/refclock_jupiter.c:
2414        * ntpd/refclock_msfees.c:
2415        * ntpd/refclock_mx4200.c:
2416        Portability (Solaris) patches
2417        * ntpd/refclock_mx4200.c:
2418        Self-survey improvements, cleanup for, PPS re-activation
2419        * libntp/syssignal.c:
2420        Fix for "interrupted system call" (EINTR) failure of the PPS
2421        ioctl(TIOCGPPSEV) call in Solaris.  Not sure why it was
2422        interrupted, but this works around the failure.  Not sure if
2423        the (now silent) interrupt affects the timing accuracy.
2424                THERE IS A CHANCE THIS PART OF THE PATCH MAY ADVERSELY
2425                AFFECT OTHER SYSTEMS!
2426        * scripts/ntp-status: Added.
2427        From: Marc.Brett@westgeo.com
2428       
2429        * ntpdate/ntpdate.c: Deal with multiple addresses.
2430        From: Jeffrey C Honig <jch@bsdi.com>
2431
2432        * ntpd/refclock_conf.c: Replaced macro SHM with CLOCK_SHM.
2433        * ntpd/refclock_shm.c (shm_poll): Take clock time in UTC.
2434                pp->day starts at 1, t->tm_yday starts at 0.
2435        From: Jakob Stoklund Olesen <stoklund@taxidriver.dk>
2436
24371999-12-16  Harlan Stenn  <stenn@whimsy.udel.edu>
2438
2439        * NEWS: Updated ONCORE instructions
2440        From: Kamal A Mostafa <kamal@whence.com>
2441
24421999-12-13  Harlan Stenn  <stenn@whimsy.udel.edu>
2443
2444        * configure.in: 4.0.98g
2445
2446        * ntpd/refclock_oncore.c: Cleanup and fixes
2447        From: Reg Clemens <reg@dwf.com> and Kamal A Mostafa <kamal@whence.com>
2448
24491999-12-11  Harlan Stenn  <stenn@whimsy.udel.edu>
2450
2451        * ntpd/refclock_wwv.c: Cleanup/checkin of the current state of affairs.
2452        From: Dave Mills <mills@udel.edu>
2453
2454        * ntpd/refclock_oncore.c: #elif conversion.  I can only hope I did
2455        it right.
2456
2457        * ntpd/refclock_oncore.c: Various patches
2458        From: Reg Clemens <reg@dwf.com> and Kamal A Mostafa <kamal@whence.com>
2459
24601999-12-09  Harlan Stenn  <stenn@whimsy.udel.edu>
2461
2462        * ntpd/ntp_proto.c (default_get_precision): Use the right arg type
2463        to pass "sizeof freq" to sysctlbyname().
2464        From: Ollivier Robert <roberto@eurocontrol.fr>
2465
2466        * ntpd/refclock_wwv.c: Cleanup and fixes.
2467        From: Dave Mills <mills@udel.edu>
2468
24691999-12-08  Harlan Stenn  <stenn@whimsy.udel.edu>
2470
2471        * ntpd/refclock_wwv.c: Cleanup and fixes
2472        * ntpd/refclock_conf.c: WWV declaration cleanup.
2473        From: Dave Mills <mills@udel.edu>
2474       
24751999-12-07  Harlan Stenn  <stenn@whimsy.udel.edu>
2476
2477        * libparse/clk_rawdcf.c (cvt_rawdcf): Buglet.
2478        From: Frank Kardel <kardel@acm.org>
2479
24801999-12-06  Harlan Stenn  <stenn@whimsy.udel.edu>
2481
2482        * ntpd/Makefile.am (ntpd_SOURCES): Added refclock_wwv.c
2483
2484        * ntpd/refclock_wwvb.c:
2485        * ntpd/refclock_wwv.c:
2486        * ntpd/refclock_conf.c:
2487        * ntpd/refclock_chu.c:
2488        * libntp/clocktypes.c:
2489        * include/ntp.h: Dave cleaned some things up
2490        Dave cleaned some things up (WWVB -> SPECTRACOM, CHU -> CHU_AUDIO,
2491        WWV_AUDIO)
2492
2493        * acconfig.h: REFCLOCK_WWVB -> REFCLOCK_SPECTRACOM, added REFCLOCK_WWV
2494        * configure.in: Deal with it.
2495
24961999-12-05  Harlan Stenn  <stenn@whimsy.udel.edu>
2497
2498        * ntpd/ntp_refclock.c (refclock_open): More PPS cleanup
2499        From: Dave Mills <mills@udel.edu>
2500
2501        * ntpq/ntpq.c:
2502        * ntpq/ntpq_ops.c:
2503        Make `ntpq -pn' independent of DNS, ad advertised.
2504        From: Kamal A Mostafa <kamal@whence.com>
2505       
2506        * ntpd/refclock_mx4200.c (mx4200_start): make missing 3rd
2507        parameter a 0.
2508
25091999-12-04  Harlan Stenn  <stenn@whimsy.udel.edu>
2510
2511        * ntpd/ntp_refclock.c (refclock_open): "flags" processing cleanup
2512        (refclock_open): PPS device initialization cleanup
2513        * include/ntp_refclock.h (LDISC_CHU):
2514        (LDISC_PPS): Clean up comments
2515        From: Dave Mills <mills@udel.edu>
2516
25171999-12-03  Sven Dietrich <sven_dietrich@trimble.com>
2518
2519        * libntp/mexit.c: Moved WINNT port specific file to ports/winnt/libntp
2520        * ports/winnt/libntp/libntp.dsp: Fix WinNT makefile for new source loc.
2521
25221999-12-03  Harlan Stenn  <stenn@whimsy.udel.edu>
2523
2524        * libntp/Makefile.am (libntp_a_SOURCES): Lose mexit.c - Sven will
2525        move it to the winnt port area.
2526
25271999-12-03  Sven Dietrich <sven_dietrich@trimble.com>
2528
2529        * libntp/systime.c: Removed adjtime hack for WINNT
2530        * ports/winnt/ntpd/nt_clockstuff.c: Winnt double precision adjtime
2531        * ports/winnt/inlcude/clockstuff.h: Remove no longer needed externs
2532
25331999-12-02  Harlan Stenn  <stenn@whimsy.udel.edu>
2534
2535        * libparse/Makefile.in: Manually hacked to remove the
2536        libparse_kernel.a.[co] cruft
2537
2538        * libparse/Makefile.am (k*.o): Generate these form the Makefile,
2539        not from separate .c files
2540
2541        * html/tickadj.htm:
2542        * html/notes.htm:
2543        * html/hints/solaris.html:
2544        Point to the new dosynctodr report.
2545
2546        * html/hints/solaris.xtra.S99ntpd:
2547        Update.  Should be rewritten to take advantage of the new -g
2548        switch and perhaps a loop to wait until ntpd hits a reasonable
2549        "state".
2550       
2551        * html/hints/solaris-dosynctodr.html: New information
2552        From: "John W. Sopko Jr." <sopko@cs.unc.edu>
2553
25541999-12-01  Harlan Stenn  <stenn@whimsy.udel.edu>
2555
2556        * libntp/authkeys.c (auth_moremem): Clear memory allocated for sk.
2557        From: Hugo Mildenberger <hugo.mildenberger@topmail.de>
2558
25591999-12-01  Sven Dietrich <sven_dietrich@trimble.com>
2560
2561        * libntp/recvbuff.c: Unused functions cleanup
2562        * ntpd/ntpd.c: ProcessorAffinity, IO cleanup
2563        * ports/winnt/instsrv/instsrv.c: Service name changed to NTP
2564
2565        NT port shouldn;t hop between CPUs. Set affinity to first processor.
2566        Service name was NetworkTimeProtocol. Too long. Now NTP.
2567
25681999-12-01  Harlan Stenn  <stenn@whimsy.udel.edu>
2569
2570        * scripts/plot_summary.pl: Improved option parsing.  Fixed one
2571        minor Perl compatibility error.
2572        * scripts/summary.pl: Official revision for NTPv4: Parse new
2573        statistic file formats correctly, provide error checking for bad
2574        input files, and guard against negative arguments to sqrt()
2575        because of numeric effects.  Use one pattern to select valid
2576        statistic files.  Add selectable output directory
2577        (``--output-directory'') and improved option parsing.  Directory
2578        with statistic files (now settable also with
2579        ``--input-directory'') defaults to ``/var/log/ntp''.
2580        From: Ulrich Windl  <Ulrich.Windl@rz.uni-regensburg.de>
2581
2582        * html/driver8.htm:
2583        * libparse/clk_computime.c:
2584        * libparse/clk_dcf7000.c:
2585        * libparse/clk_hopf6021.c:
2586        * libparse/clk_meinberg.c:
2587        * libparse/clk_rawdcf.c:
2588        * libparse/clk_rcc8000.c:
2589        * libparse/clk_schmid.c:
2590        * libparse/clk_trimtaip.c:
2591        * libparse/clk_trimtsip.c:
2592        * libparse/data_mbg.c:
2593        * libparse/kclk_computime.c:
2594        * libparse/kclk_dcf7000.c:
2595        * libparse/kclk_hopf6021.c:
2596        * libparse/kclk_meinberg.c:
2597        * libparse/kclk_rawdcf.c:
2598        * libparse/kclk_rcc8000.c:
2599        * libparse/kclk_schmid.c:
2600        * libparse/kclk_trimtaip.c:
2601        * libparse/kclk_trimtsip.c:
2602        * libparse/kparse.c:
2603        * libparse/kparse_conf.c:
2604        * libparse/parse.c:
2605        * libparse/parse_conf.c:
2606        * libparse/parsesolaris.c:
2607        * libparse/parsestreams.c:
2608        * ntpd/refclock_parse.c:
2609        Mods and updates
2610        From: Frank Kardel <kardel@acm.org>
2611       
2612        * acconfig.h: PCF refclock
2613        * configure.in:
2614        * html/driver35.htm:
2615        * html/refclock.htm:
2616        * include/ntp.h:
2617        * libntp/clocktypes.c:
2618        * ntpd/Makefile.am:
2619        * ntpd/ntp_control.c:
2620        * ntpd/refclock_conf.c:
2621        * ntpd/refclock_pcf.c:
2622        From: Andreas Voegele <andreas.voegele@gmx.de>
2623       
2624        * acconfig.h: DECL_STIME_1
2625
2626        * configure.in (iCFLAGS): Use -std1 for alpha*-dec-osf* if we are
2627        using "cc".
2628        Reported by: Tom Smith <smith@cag.lkg.dec.com>
2629
26301999-11-30  Harlan Stenn  <stenn@whimsy.udel.edu>
2631
2632        * include/l_stdlib.h: DECL_SYSTIME_1 --- a long *
2633        * configure.in: Use it for DEC OSF[45]
2634        Reported by: Tom Smith <smith@cag.lkg.dec.com>
2635
2636        * ntpd/refclock_parse.c: Add missing declarations
2637        * ntptrace/ntptrace.c: Ditto
2638        * ntpd/ntp_proto.c: Ditto
2639        * ntpd/refclock_palisade.c: Ditto
2640        From: Jonathan Stone <jonathan@dsg.stanford.edu>
2641
26421999-11-18  Sven Dietrich  <sven_dietrich@trimble.com>
2643        * Win NT port updates
2644        * ntpd.dsp: makefile only builds supported refclocks
2645        * config.h: cleanup, undefine unsupported clock_atom
2646        * win32_io, clock_NMEA: foundation for future refclock support
2647        * recvbuff, transmitbuff, IOcompletionport: streamline packet handler
2648        * html/hints/winnt.htm: Added up-to-date html docs for WINNT
2649
26501999-11-17  Harlan Stenn  <stenn@whimsy.udel.edu>
2651
2652        * html/copyright.htm: Credit Jack for his work.
2653
2654        * html/pic/*: Save a *ton* of space on the pictures.
2655        From: Jack Sasportas <jack@innovativeinternet.com>
2656
26571999-11-16  Harlan Stenn  <stenn@whimsy.udel.edu>
2658
2659        * configure.in :  changequote for osf[45] test.
2660        Reported by: Tom Smith <smith@cag.lkg.dec.com>
2661
2662        * ntp_update: Ignore stuff in any A.* directory.
2663
26641999-11-15  Harlan Stenn  <stenn@whimsy.udel.edu>
2665
2666        * configure.in: Clean up header checks for sys/syssgi.h and
2667        sys/select.h .  Originally, we did not check for sys/select.h
2668        under some versions of SCO (see xntp3-5).  Somewhere in ntp4 we
2669        dropped the SCO check and added the check for sys/syssgi.h,
2670        exclusive of checking for sys/select.h.  Marc Brett can't think of
2671        a reason why we should not be checking for sys/select.h, so let's
2672        look for it now.
2673
26741999-11-13  Harlan Stenn  <stenn@whimsy.udel.edu>
2675
2676        * ntpdate/ntpdate.c: Add the ability for ntpdate to query a
2677        multicast address.  We use the response to the multicast address
2678        to learn new servers which we then add to the peer list and query.
2679        In changing this I made the list of peers a linked list.
2680
2681        To be complete I should detect a broadcast address and make it
2682        behave the same way.  But that requires a scan of the interface
2683        list which is more complicated that I want to deal with...
2684
2685        Fix a bug, allowing ntpdate to compile if SLEWALWAYS and STEP_SLEW
2686        are both defined.
2687
2688        From: Jeffrey C Honig <jch@bsdi.com>
2689       
2690        * ntpd/ntp_refclock.c: sys/sio.h and SCO5_CLOCK cleanup
2691        From: Kamal A Mostafa <kamal@whence.com>       
2692
2693        * ntpd/ntp_loopfilter.c: Let -g do a "correct any" for the first
2694        time adjustment.
2695        From: Dave Mills <mills@udel.edu>
2696
2697        * configure.in: sys/sio.h needs to be checked independently.
2698        Reported by: Kamal A Mostafa <kamal@whence.com>
2699
27001999-11-11  Harlan Stenn  <stenn@whimsy.udel.edu>
2701
2702        * configure.in: 4.0.98f
2703
2704        * configure.in: DECL_PLOCK_0 and DECL_STIME_0 are for dec-osf5*, too
2705        * ntpd/ntpd.c:  DEC OSF cleanup (editorial comments by HMS)
2706        From: Tom Smith <smith@cag.lkg.dec.com>
2707       
2708        * ntpd/ntp_refclock.c: MAXUNIT bugfix
2709        From: Marc.Brett@westgeo.com
2710       
2711        * ntpd/ntp_refclock.c:
2712        * ntpd/ntpd.c:
2713        * ntpd/refclock_arc.c:
2714        * ntpd/refclock_as2201.c:
2715        * ntpd/refclock_atom.c:
2716        * ntpdc/ntpdc.c:
2717        * ntpq/ntpq.c:
2718        Code cleanup.
2719        From: Marc.Brett@westgeo.com
2720
2721        * include/ntp_stdlib.h:
2722        * libntp/systime.c:
2723        * ntpd/ntp_proto.c:
2724        Replaced the 'sco5_oldclock' variable with 'systime_10ms_ticks'.
2725        Cleared libntp/systime.c and include/ntp_stdlib.h of references
2726        to SCO5_CLOCK and RELIANTUNIX_CLOCK (moved to ntpd/ntp_proto.c).
2727        From: Kamal A Mostafa <kamal@whence.com>       
2728
2729        * configure.in: alpha-dec-osf4* -> alpha*-dec-osf4*|alpha*-dec-osf5*
2730        From: Tom Smith <smith@cag.lkg.dec.com>
2731
2732        * configure.in: Look for <sys/sio.h>.  If TIOCDCDTIMESTAMP is
2733        there, we have TTYCLK.
2734        * acconfig.h: Lose old AIOCTIMESTAMP stuff
2735        Reported by: Kamal A Mostafa <kamal@whence.com>
2736
27371999-11-10  Harlan Stenn  <stenn@whimsy.udel.edu>
2738
2739        * ntpd/ntpd.c (set_process_priority): Clean up nice() and setpriority()
2740
27411999-11-09  Harlan Stenn  <stenn@whimsy.udel.edu>
2742
2743        * Makefile.am (EXTRA_DIST): Added README.cvs
2744        Reported by: Kamal A Mostafa <kamal@whence.com>
2745
27461999-11-08  Harlan Stenn  <stenn@whimsy.udel.edu>
2747
2748        * configure.in: 4.0.98e
2749
27501999-11-07  Harlan Stenn  <stenn@whimsy.udel.edu>
2751
2752        * configure.in: Lose AIOCTIMESTAMP tests
2753
2754        * ntpd/ntpd.c: lose select() EINTR debug warning
2755        * ntpd/ntp_refclock.c: AIOCTIMESTAMP -> TIOCDCDTIMESTAMP.  Watch
2756        CLK_SETSTR.
2757        * ntpd/refclock_atom.c: fdpps is only there for PPS or PPSAPI.
2758        AIOCTIMESTAMP is gone now.
2759        From: Kamal A Mostafa <kamal@whence.com>
2760       
2761        * configure.in (HAVE_MLOCKALL): Deal with dec-osf5 realities
2762        * ntpd/refclock_ulink.c (ulink_poll): Fix cast.
2763        * libntp/machines.c (ntp_set_tod): Use a long* for the argument to
2764        stime().
2765        Reported by: Tom Smith <smith@cag.lkg.dec.com>
2766
2767        * ntpd/ntpd.c (set_process_priority): Use whatever we have until
2768        something works.
2769
2770        * ntpd/ntp_loopfilter.c: Keep clock_frequency changes in a temp
2771        variable so we can record it to loopstats (near as HMS can tell).
2772        From: Dave Mills <mills@udel.edu>
2773
27741999-11-06  Harlan Stenn  <stenn@whimsy.udel.edu>
2775
2776        * acconfig.h: RELIANTUNIX_CLOCK
2777        * configure.in (ac_cv_var_tickadj): RELIANTUNIX_CLOCK
2778        * libntp/systime.c (adj_systime): Reliant patches
2779        From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
2780
27811999-11-05  Harlan Stenn  <stenn@whimsy.udel.edu>
2782
2783        * ntpd/refclock_parse.c (parse_start): ASYNC_PPS_CD_NEG cleanup
2784        * configure.in (ac_cv_make_ntptime): OK on Linux
2785        From: <Ulrich.Windl@rz.uni-regensburg.de>
2786
2787        * configure.in: NetBSD has PPSAPI now
2788        F_SETOWN is needed for NetBSD
2789        From: Jonathan Stone <jonathan@dsg.stanford.edu>
2790
27911999-11-02  Harlan Stenn  <stenn@whimsy.udel.edu>
2792
2793        * configure.in: 4.0.98d
2794
2795        * ntpd/refclock_parse.c: Cleanup/fixes
2796        From: John Hay <jhay@mikom.csir.co.za>
2797
2798        * ntpd/refclock_parse.c: Lose #include "ntp_select.h"
2799        * ntpd/ntpd.c: Lose #include "ntp_select.h"
2800        * ntpd/ntp_io.c: Lose #include "ntp_select.h"
2801        * ntpd/ntp_intres.c: Lose #include "ntp_select.h"
2802        * libntp/iosignal.c: Lose #include "ntp_select.h"
2803        * include/ntpd.h: #include "ntp_select.h" for declaration of activefds
2804        Reported by: Christian Krackowizer <kra1@technodat.co.at>
2805
28061999-11-01  Harlan Stenn  <stenn@whimsy.udel.edu>
2807
2808        * configure.in: 4.0.98c
2809
2810        * libntp/syssignal.c: Don't warn about SA_RESTART
2811        * libntp/recvbuff.c: Fix free buffer count
2812        From: Jeffrey C Honig <jch@bsdi.com>
2813
2814        * html/pps.htm:
2815        * html/howto.htm:
2816        * html/confopt.htm:
2817        * html/clockopt.htm:
2818        * html/uthopt.htm:
2819        Updates.
2820        From: Dave Mills <mills@udel.edu>
2821
2822        * ntpd/refclock_wwvb.c: burst fixes
2823        * ntpd/refclock_ulink.c: burst fixes
2824        * ntpd/refclock_tpro.c: burst and NSTAGE fixes
2825        * ntpd/refclock_pst.c: burst fixes
2826        * ntpd/refclock_irig.c: SAMPLE -> SAMPLES
2827        * ntpd/refclock_heath.c: burst fixes
2828        * ntpd/refclock_dumbclock.c: burst fixes
2829        * ntpd/refclock_chronolog.c: burst fixes
2830        * ntpd/refclock_bancomm.c: burst fixes
2831        * ntpd/refclock_atom.c: burst fixes
2832        * ntpd/refclock_as2201.c: burst fixes
2833        * ntpd/ntp_refclock.c: PPSAPI, code, and comment cleanup/fixes
2834        * ntpd/ntp_proto.c: Broadcast/restrict cleanup
2835        * ntpd/ntp_loopfilter.c: Cleanup and fixes
2836        * libntp/gpstolfp.c: Lose the UL qualifiers - old compilers hate them
2837        From: Dave Mills <mills@udel.edu>
2838       
28391999-10-31  Harlan Stenn  <stenn@whimsy.udel.edu>
2840
2841        * configure.in: TIOCSPPS cleanup
2842
28431999-10-20  Harlan Stenn  <stenn@whimsy.udel.edu>
2844
2845        * configure.in: 4.0.98b
2846
2847        * ntpd/refclock_atom.c: AIOCTIMESTAMP patch
2848        * ntpd/ntpd.c: SCO clock patch
2849        * ntpd/ntp_request.c: noselect patch
2850        * ntpd/ntp_refclock.c: AIOCTIMESTAMP patch
2851        * ntpd/ntp_proto.c: noselect patch
2852        * ntpd/ntp_intres.c: noselect patch
2853        * ntpd/ntp_config.c: noselect patch
2854        * include/ntp_request.h: noselect patch
2855        * include/ntp.h: noselect patch
2856        From: Kamal A Mostafa <kamal@whence.com>
2857
2858        * configure.in:
2859        * acconfig.h: TTYCLK_AIOCTIMESTAMP
2860        Stuff for Kamal
2861
2862        * ntpd/refclock_atom.c (atom_pps): make "result" initialization
2863        uglier, but more bulletproof.
2864
2865        * configure.in (sys/timepps.h): Fixed.
2866        From: John Hay <jhay@mikom.csir.co.za>
2867
28681999-10-19  Harlan Stenn  <stenn@whimsy.udel.edu>
2869
2870        * ntpd/refclock_oncore.c: Rename instance.state to instance.o_state
2871
2872        * refclock_oncore.c:
2873        * refclock_mx4200.c:
2874        * refclock_chu.c:
2875        * refclock_atom.c:
2876        * ntp_refclock.c:
2877        * ntp_peer.c:
2878        * ntp_loopfilter.c:
2879        * include/ntp_refclock.h:
2880        Various cleanup and fixes
2881        From: Dave Mills <mills@udel.edu>
2882
28831999-10-17  Harlan Stenn  <stenn@whimsy.udel.edu>
2884
2885        * ntpd/ntp_config.c (CONFIG_FILE): NT changes
2886        From: Sven Dietrich <Sven_Dietrich@trimble.com>
2887
28881999-10-16  Harlan Stenn  <stenn@whimsy.udel.edu>
2889
2890        * configure.in: sys/timepps.h verification changes
2891
2892        * ntpd/refclock_atom.c (atom_poll): PPS cleanup
2893        From: Dave Mills <mills@udel.edu>
2894        (atom_pps): Portability patch
2895        From: John Hay <jhay@mikom.csir.co.za>
2896
2897
2898        * libntp/msyslog.c:
2899        * libntp/gpstolfp.c:
2900        Lint cleanup
2901        From: Jonathan Stone <jonathan@dsg.stanford.edu>
2902
2903        * parseutil/dcfd.c:  abs() -> l_abs(), time.h (AIX 4.3.2 patches)
2904        From: Dana Kaempen <decay@flash.net>
2905
2906        * ntpd/refclock_oncore.c:
2907        * ntpd/refclock_atom.c:
2908        * ntpd/ntp_refclock.c:
2909        PPS cleanup
2910        From: John.Hay@mikom.csir.co.za
2911       
2912        * util/ntptime.c:
2913        * ntpdate/ntptimeset.c:
2914        * ntpdate/ntpdate.c:
2915        * ntpd/refclock_trak.c:
2916        * ntpd/refclock_oncore.c:
2917        * ntpd/refclock_mx4200.c:
2918        * ntpd/refclock_msfees.c:
2919        * ntpd/refclock_atom.c:
2920        * ntpd/ntp_control.c:
2921        * ntpd/ntp_config.c:
2922        * configure.in:
2923        * configure:
2924        PPS, Solaris 7, cleanup patches
2925        From: Marc.Brett@westgeo.com
2926
2927        * ports/winnt/ntptrace/ntptrace.dsp:
2928        * ports/winnt/ntpq/ntpq.dsp:
2929        * ports/winnt/ntpdc/ntpdc.dsp:
2930        * ports/winnt/ntpdate/ntpdate.dsp:
2931        * ports/winnt/ntpd/refclock_trimbledc.c:
2932        * ports/winnt/ntpd/ntpd.dsp:
2933        * ports/winnt/ntpd/ntp_iocompletionport.c:
2934        * ports/winnt/ntpd/nt_clockstuff.c:
2935        * ports/winnt/libntp/util_clockstuff.c:
2936        * ports/winnt/libntp/libntp.dsp:
2937        * ports/winnt/libntp/SetSystemTime.c:
2938        * ports/winnt/instsrv/instsrv.c:
2939        * ports/winnt/include/sys/ioctl.h:
2940        * ports/winnt/include/termios.h:
2941        * ports/winnt/include/config.h:
2942        * ports/winnt/include/clockstuff.h:
2943        * ports/winnt/ntp.dsw:
2944        * ntpd/refclock_shm.c:
2945        * ntpd/refclock_palisade.c:
2946        * ntpd/ntpd.c:
2947        * ntpd/ntp_timer.c:
2948        * ntpd/ntp_refclock.c:
2949        * libntp/systime.c:
2950        * libntp/machines.c:
2951        NT patches
2952        From: Sven Dietrich <Sven_Dietrich@trimble.com>
2953
29541999-10-15  Harlan Stenn  <stenn@whimsy.udel.edu>
2955
2956        * ntpd/refclock_wwvb.c:
2957        * ntpd/refclock_usno.c:
2958        * ntpd/refclock_ulink.c:
2959        * ntpd/refclock_tpro.c:
2960        * ntpd/refclock_pst.c:
2961        * ntpd/refclock_parse.c:
2962        * ntpd/refclock_palisade.c:
2963        * ntpd/refclock_oncore.c:
2964        * ntpd/refclock_mx4200.c:
2965        * ntpd/refclock_msfees.c:
2966        * ntpd/refclock_jupiter.c:
2967        * ntpd/refclock_irig.c:
2968        * ntpd/refclock_heath.c:
2969        * ntpd/refclock_chu.c:
2970        * ntpd/refclock_atom.c:
2971        * ntpd/refclock_as2201.c:
2972        * ntpd/refclock_arc.c:
2973        * ntpd/refclock_arbiter.c:
2974        * ntpd/refclock_acts.c:
2975        * ntpd/ntp_refclock.c:
2976        * include/ntp_refclock.h:
2977        Bunches of fixes.
2978        From: Dave Mills <mills@udel.edu>
2979
29801999-10-10  Harlan Stenn  <stenn@whimsy.udel.edu>
2981
2982        * html/driver16.htm: New version
2983        * ntpd/refclock_bancomm.c: New version
2984        From: "Cliff, Gary" <gary.cliff@cdott.com>
2985        "Ramasivan, Ganesh" <ganesh.ramasivan@cdott.com>
2986
2987        * ntpd/refclock_ulink.c (ulink_receive): Cleanup
2988        (ulink_poll): Cleanup
2989        * ntpd/refclock_atom.c (atom_pps): SunOS timespec/timeval cleanup
2990        From: Marc.Brett@westgeo.com
2991
2992        * INSTALL: Point NT folks at ports/winnt
2993        Reported by: Stephen Gildea <gildea@intouchsys.com>
2994
2995        * include/ntp_stdlib.h: Noise abatement
2996        * include/ntpd.h: Noise abatement
2997        Reported by: "W. David Higgins" <wdh@grouper.ccur.com>
2998
2999        * configure.in: DECL_STDIO_0 with gcc under solaris.
3000
3001        * include/l_stdlib.h: DECL_TOUPPER_0
3002        DECL_STRERROR_0
3003
3004        * configure.in: Fix a bunch of implicit declarations for SunOS
3005
3006        * html/release.htm: cleanup - we still provide MD5.
3007        Reported by: Winslowe Lacesso <lacesso@cs.ubc.ca>
3008
30091999-10-09  Harlan Stenn  <stenn@whimsy.udel.edu>
3010
3011        * ntpd/refclock_oncore.c:
3012        * ntpd/refclock_atom.c:
3013        * ntpd/ntp_refclock.c:
3014        PPS API code updated to the current spec
3015        From: Dave Mills
3016
3017        * configure.in (ac_cv_make_tickadj): Don't make tickadj starting
3018        with solaris2.5
3019        Requested by: Dave Mills
3020
30211999-10-04  Harlan Stenn  <stenn@whimsy.udel.edu>
3022
3023        * configure.in: We might need -lsocket for the -lnsl check.
3024
30251999-09-19  Harlan Stenn  <stenn@whimsy.udel.edu>
3026
3027        * ntpd/refclock_ulink.c: Typos in C++ comment
3028        Reported by: Thomas.Tornblom@Sun.SE
3029
3030        * configure.in: 4.0.98a
3031
3032        * ntpd/ntp_config.c (getconfig): Fix typo.
3033        From: "David E. Myers" <dem@skyline.rtp.nc.us>
3034        From: David Godfrey <dave@delta.demon.co.uk>
3035        From: Geoffrey Sisson <geoff@nominet.org.uk>
3036
30371999-09-17  Harlan Stenn  <stenn@whimsy.udel.edu>
3038
3039        * configure.in: 4.0.98
3040
3041        NetInfo support:
3042
3043        * config.guess
3044        * config.sub
3045        Add Mac OS (versions 10 and up).
3046
3047        * acconfig.h
3048        * config.h.in
3049        * configure.in
3050        Check for NetInfo API; add HAVE_NETINFO macro and friends.
3051
3052        * include/ntp.h
3053        * ntpd/ntp_config.c
3054        * ntpdate/ntpdate.c
3055        Add support for reading configuration from NetInfo.
3056
3057        * ntpd/ntp_config.c
3058        Get rid of unnecessary eol variable in tokenizer.
3059
3060        * html/notes.htm
3061        * html/ntpd.htm
3062        * html/ntpdate.htm
3063        Document NetInfo functionality.
3064
3065        * util/tickadj.c
3066        Use HAVE_KVM_OPEN conditional around kvm.h include.
3067       
3068        From: Wilfredo Sanchez <wsanchez@apple.com>
3069
30701999-09-15  Harlan Stenn  <stenn@whimsy.udel.edu>
3071
3072        * acconfig.h:
3073        * config.h.in:
3074        * configure.in:
3075        * html/driver34.htm:
3076        * html/refclock.htm:
3077        * include/ntp.h:
3078        * libntp/clocktypes.c:
3079        * ntpd/Makefile.am:
3080        * ntpd/ntp_control.c:
3081        * ntpd/refclock_conf.c:
3082        * ntpd/refclock_ulink.c:
3083        Ultralink driver
3084        From: Dave Strout <dstrout@linuxfoundary.com>
3085
30861999-09-14  Harlan Stenn  <stenn@whimsy.udel.edu>
3087
3088        * configure.in: ReliantUNIX patches
3089        From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
3090
3091        * ntpd/refclock_atom.c: PPS cleanup
3092        * ntpd/ntp_refclock.c (refclock_ioctl): PPS cleanup
3093        From: Dave Mills <mills@udel.edu>
3094
3095        * ntptrace/ntptrace.c (ReceiveBuf): addserver() can return NIL.
3096        Reported by: "Alan J. Wylie" <alanw@cyrano.com>
3097
3098        * libntp/ieee754io.c:
3099        * ntpd/ntp_proto.c:
3100        * ntpd/ntp_refclock.c:
3101        Lint cleanup.
3102        From: Marc.Brett@westgeo.com
3103
31041999-09-12  Harlan Stenn  <stenn@whimsy.udel.edu>
3105
3106        * ntpd/ntp_refclock.c (refclock_ioctl): Declaration cleanup.
3107
3108        * ntpd/ntp_proto.c (init_proto): msyslog kern_enable at LOG_DEBUG.
3109
3110        * ntpd/refclock_atom.c: Add missing declaration.
3111
31121999-09-11  Harlan Stenn  <stenn@whimsy.udel.edu>
3113
3114        * configure.in (ac_cv_make_ntptime): Just look for struct
3115        ntptimeval, not timespec or nsec (Solaris 2.7 should get ntptime
3116        and it uses msec).
3117        (ac_cv_var_oncore_ok): Reorder so it's a "normal" clock
3118
3119        * configure.in: Solaris Kernel FLL bug fixed in 106541-07
3120
31211999-09-02  Harlan Stenn  <stenn@whimsy.udel.edu>
3122
3123        * configure.in: 4.0.97f
3124
3125        * ntptrace/ntptrace.c:
3126        * ntpdate/ntptimeset.c:
3127        * ntpdate/ntptime_config.c:
3128        * ntpdate/ntpdate.c:
3129        * util/ntptime.c:
3130        * parseutil/dcfd.c:
3131        * libparse/parsestreams.c:
3132        * libparse/parse_conf.c:
3133        * libparse/parse.c:
3134        * libparse/clk_varitext.c:
3135        * libparse/clk_trimtsip.c:
3136        * libparse/clk_trimtaip.c:
3137        * libparse/clk_schmid.c:
3138        * libparse/clk_rcc8000.c:
3139        * libparse/clk_rawdcf.c:
3140        * libparse/clk_meinberg.c:
3141        * libparse/clk_hopf6021.c:
3142        * libparse/clk_dcf7000.c:
3143        * libparse/clk_computime.c:
3144        * libntp/msyslog.c:
3145        * libntp/iosignal.c:
3146        * libntp/syssignal.c:
3147        * adjtimed/adjtimed.c:
3148        * ntpd/refclock_shm.c:
3149        * ntpd/refclock_parse.c:
3150        * ntpd/refclock_palisade.c:
3151        * ntpd/refclock_mx4200.c:
3152        * ntpd/refclock_jupiter.c:
3153        * ntpd/refclock_datum.c:
3154        * ntpd/ntpd.c:
3155        * ntpd/ntp_util.c:
3156        * ntpd/ntp_timer.c:
3157        * ntpd/ntp_request.c:
3158        * ntpd/ntp_refclock.c:
3159        * ntpd/ntp_monitor.c:
3160        * ntpd/ntp_loopfilter.c:
3161        * ntpd/ntp_io.c:
3162        * ntpd/ntp_intres.c:
3163        * ntpd/ntp_filegen.c:
3164        * include/l_stdlib.h:
3165        <errno.h> and errno declaration cleanup.
3166
3167        * ntpd/map_vme.c: cleanup some spacing.
3168
31691999-09-01  Harlan Stenn  <stenn@whimsy.udel.edu>
3170
3171        * configure.in: 4.0.97e
3172
3173        * configure.in (ac_cv_struct_sigaction_has_sa_sigaction):
3174        * acconfig.h: Ditto
3175        * parseutil/dcfd.c (main): Use it.
3176        From: HOSAKA Eiichi <HOSAKA.Eiichi@dd.anritsu.co.jp>
3177
31781999-08-29  Harlan Stenn  <stenn@whimsy.udel.edu>
3179
3180        * configure.in: 4.0.97d
3181
3182        * include/ntp_stdlib.h: Clean up previous NeXT patch.
3183        From: Jack Bryans <jbryans@csulb.edu>
3184
3185        * ntpd/refclock_parse.c: Permit RTS to power a DCF77.
3186        From: Carsten Paeth <calle@calle.in-berlin.de>
3187
3188        * ntpd/refclock_oncore.c (oncore_start): This makes the Oncore run
3189        on systems without hardpps().
3190        From: Poul-Henning Kamp <phk@freebsd.org>
3191
31921999-08-28  Harlan Stenn  <stenn@whimsy.udel.edu>
3193
3194        * configure.in: 4.0.97c
3195
3196        * configure.in (ac_cv_make_ntptime):  Typo.
3197        From: Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
3198
31991999-08-26  Harlan Stenn  <stenn@whimsy.udel.edu>
3200
3201        * configure.in: 4.0.97b
3202
3203        * libntp/iosignal.c:
3204        * ntpd/ntp_peer.c:
3205        * ntpd/refclock_nmea.c:
3206        * ntpdate/ntptime_config.c:
3207        * ntpdate/ntptimeset.c:
3208        AIX, Irix, and SunOS lint cleanup
3209        From: Marc.Brett@westgeo.com
3210
32111999-08-24  Harlan Stenn  <stenn@whimsy.udel.edu>
3212
3213        * configure.in 4.0.97a
3214
3215        * configure.in (AC_OUTPUT): added scripts/Makefile
3216        * Makefile.am (SUBDIRS): Added scripts
3217        * scripts/Makefile.am: Added
3218
32191999-08-23  Harlan Stenn  <stenn@whimsy.udel.edu>
3220
3221        * ntpd/refclock_nmea.c: Patches for:
3222        Trimble OEM Ace-II receiver. Low cost PCB with single
3223        voltage input, external active antenna and two serial
3224        ports with either NMEA and ITAPs output. Programmable
3225        to be tuned for 'time' accuracy in fixed station config.
3226        From: Nick Hibma <nick.hibma@jrc.it>
3227
32281999-08-21  Harlan Stenn  <stenn@whimsy.udel.edu>
3229
3230        * ntpd/ntp_config.c: Added listen_to_virtual_ips support (-L flag)
3231        * ntpd/ntp_io.c: Ditto
3232
32331999-08-19  Harlan Stenn  <stenn@whimsy.udel.edu>
3234
3235        * ntpd/ntp_intres.c (request): Lint cleanup
3236        * ntpd/ntp_control.c (ctl_putclock): Ditto
3237        * libntp/recvbuff.c (getrecvbufs): Ditto
3238        (get_free_recv_buffer): Ditto
3239        * libntp/systime.c (adj_systime): Ditto
3240
32411999-08-18  Harlan Stenn  <stenn@whimsy.udel.edu>
3242
3243        * configure.in: 4.0.97
3244
3245        * libntp/systime.c:
3246        * ntpd/ntp_loopfilter.c:
3247        * ntpd/ntpd.c:
3248        * ports/winnt/libntp/nt_clockstuff.c:
3249        From: Sven Dietrich <Sven_Dietrich@trimble.com>
3250       
3251        * README.cvs: Updated.
3252
3253        * configure.in:
3254        * include/ntp_machine.h:
3255        * libntp/mexit.c:
3256        * ntpd/ntp_config.c:
3257        * ntpd/ntp_peer.c:
3258        * ntpd/ntp_restrict.c:
3259        * ntpd/refclock_arc.c:
3260        * ntpdate/ntpdate.c:
3261        Irix, SunOS, AIX, lint patches
3262        From: Marc.Brett@westgeo.com
3263
3264        * util/ansi2knr.c: New release (fix for bug reported by Marc Brett)
3265        From: "L. Peter Deutsch" <ghost@aladdin.com>
3266
3267        * include/ntp_stdlib.h: NeXT portability patch
3268        From: Jack Bryans <jbryans@csulb.edu>
3269
3270        * configure.in:
3271        * dot.emacs: (cleanup)
3272        * ntpdate/Makefile.am:
3273        * ntpdate/ntpdate.h:
3274        * ntpdate/ntptime_config.c:
3275        * ntpdate/ntptimeset.c:
3276        ntptimeset patches.
3277        From: Jeffrey Hutzelman <jhutz@cmu.edu>
3278       
3279        * ntpd/refclock_parse.c (local_input): ts.l_ui -> ts.fp.l_ui
3280
32811999-08-11  Harlan Stenn  <stenn@whimsy.udel.edu>
3282
3283        * configure.in: 4.0.96p1
3284
3285        * ntpd/ntpd.c (sys/resource.h): Include this file only #if
3286        HAVE_SYS_RESOURCE_H.
3287        (set_process_priority): Use TIOCNOTTY only if it is #define'd.
3288        * ntpd/refclock_parse.c (STREAM): STREAM does not imply HAVE_TERMIOS.
3289        (termios.h, termio.h, fcntl.h): Do not include those files here;
3290        they are already included by ntp_refclock.h or ntp_io.h.
3291        * ntpd/refclock_leitch.c (sgtty.h, termios.h, termio.h): Do not
3292        include those files here; they are already included by ntp_refclock.h.
3293        * ntpdate/ntpdate.c (sys/resource.h) : Include that file only #if
3294        HAVE_RESOURCE_H.
3295        From: Philippe De Muyter <phdm@macqel.be>
3296       
3297        * ntptrace/ntptrace.c (input_handler): Make it a "normal" function
3298        definition.
3299        Reported by: GIANNI_CATANIA@hp-italy-om6.om.hp.com
3300
3301        * configure.in:  pc-cygwin32 -> pc-cygwin* because of a change in
3302        B20.
3303        From: Stephen Gildea <gildea@intouchsys.com>
3304
33051999-08-09  Harlan Stenn  <stenn@whimsy.udel.edu>
3306
3307        * configure.in: 4.0.96
3308
3309        * parseutil/dcfd.c (main): Replace SA_ONSTACK and SV_ONSTACK with
3310        HAVE_SIGACTION and HAVE_SIGVEC, respectively.  HP-UX provides both
3311        of the former but only one of the latter...
3312
33131999-08-08  Harlan Stenn  <stenn@whimsy.udel.edu>
3314
3315        * configure.in: Better tests for -lnsl and -lsocket
3316        From: Albert Chin-A-Young <china@thewrittenword.com>
3317
3318        Works for me - handle openlog() and -lgen the same way.
3319
3320        * Makefile.am (EXTRA_DIST): Add in the y2k notes
3321
3322        * parseutil/dcfd.c: Renamed drift_comp to accum_drift
3323
3324        * configure.in: Added MAKE_CHECK_Y2K support; check_y2k needs libparse.
3325        * ntpd/Makefile.am (check_PROGRAMS): Use MAKE_CHECK_Y2K
3326        * ntpd/Makefile.am (check-local): Added.
3327        * parseutil/Makefile.am (check-local): Added.
3328
3329        * include/ntp.h: Y2KFixes
3330        * libparse/parse.c: Ditto
3331        * ntpd/Makefile.am (check_PROGRAMS): Ditto
3332        * ntpd/refclock_acts.c: Ditto
3333        * ntpd/refclock_arc.c (arc_receive): Ditto
3334        * ntpd/refclock_heath.c: Ditto
3335        * ntpd/refclock_hpgps.c: Ditto
3336        * parseutil/Makefile.am (check-local): Ditto
3337        * parseutil/dcfd.c (check_y2k): Ditto
3338        * NOTES.y2kfixes: Ditto
3339        * readme.y2kfixes: Ditto
3340        * results.y2kfixes: Ditto
3341        * ntpd/check_y2k.c: Ditto
3342        From: y2k@y2k.labs.att.com
3343
33441999-08-07  Harlan Stenn  <stenn@whimsy.udel.edu>
3345
3346        * configure.in: Look for sys/ppstime.h.
3347
33481999-07-31  Harlan Stenn  <stenn@whimsy.udel.edu>
3349
3350        * ntpd/ntp_io.c (create_sockets): Typo.
3351        From: Doug Wells <dmw@contek.com>
3352
33531999-07-29  Harlan Stenn  <stenn@whimsy.udel.edu>
3354
3355        * configure.in (ac_cv_struct_ntptimeval): Explicitly look for
3356        struct ntptimeval.
3357        (ac_cv_var_kernel_pll): Require struct ntptimeval.
3358        Linux.  Grrr.
3359        Reported by: Ronald Kuetemeier <ronaldk@smginc.com>
3360
33611999-07-27  Harlan Stenn  <stenn@whimsy.udel.edu>
3362
3363        * configure.in: 4.0.95
3364       
3365        * ports/winnt: New release
3366        From: Sven Dietrich <Sven_Dietrich@trimble.com>
3367
33681999-07-26  Harlan Stenn  <stenn@whimsy.udel.edu>
3369
3370        * libntp/machines.c (ntp_set_tod): Bugfix
3371        From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
3372
33731999-07-25  Harlan Stenn  <stenn@whimsy.udel.edu>
3374
3375        * configure.in: 4.0.94b
3376
3377        * acconfig.h:
3378        * configure.in:
3379        * libparse/Makefile.am:
3380        * libparse/parse_conf.c:
3381        * libparse/clk_varitext.c:
3382        * libparse/kclk_varitext.c:
3383        * ntpd/refclock_parse.c: VARITEXT parse clock
3384        * ntpdate/ntpdate.c: bugfix
3385        From: Tony McConnell <tonym@datel-technology.co.uk>
3386
33871999-07-24  Harlan Stenn  <stenn@whimsy.udel.edu>
3388
3389        * include/ntp_syscall.h (ntp_gettime): Make it static
3390        * configure.in: Added AC_C_INLINE
3391        Reported by: "Charles C. Fu" <ccwf@klab.caltech.edu>
3392
33931999-07-23  Harlan Stenn  <stenn@whimsy.udel.edu>
3394
3395        * include/ntpd.h:
3396        * libntp/machines.c:
3397        * libntp/systime.c:
3398        * ntpd/ntp_config.c:
3399        * ntpd/ntp_filegen.c:
3400        * ntpd/ntp_io.c:
3401        * ntpd/ntp_proto.c:
3402        * ntpd/ntp_timer.c:
3403        * ntpdate/ntpdate.c: Windows NT port cleanup
3404        From: Sven Dietrich <Sven_Dietrich@trimble.com>
3405
34061999-07-22  Harlan Stenn  <stenn@whimsy.udel.edu>
3407
3408        * libntp/authkeys.c:
3409        * libntp/ieee754io.c:
3410        * libntp/iosignal.c:
3411        * libntp/machines.c:
3412        * libntp/mexit.c:
3413        * libntp/recvbuff.c:
3414        * ntpd/ntp_filegen.c:
3415        * ntpd/ntp_loopfilter.c:
3416        * ntpd/ntp_request.c:
3417        * ntpd/ntp_timer.c:
3418        * ntpd/ntpd.c: Compile/lint cleanup
3419        From: Allen Smith <easmith@beatrice.rutgers.edu>
3420       
34211999-07-21  Harlan Stenn  <stenn@whimsy.udel.edu>
3422
3423        * configure.in: 4.0.94a
3424       
3425        * configure.in (ac_cv_make_ntptime): Add tv_nsec check.
3426
3427        * include/Makefile.am (noinst_HEADERS): Forgot ntp_syscall.h
3428        From: John.Hay@mikom.csir.co.za
3429
3430        * configure.in: 4.0.94
3431
3432        * Makefile.am (SUBDIRS): librsaref
3433        (dist-hook): Lose CVS subdirs in the distribution tarball
3434
3435        * include/Makefile.am (noinst_HEADERS): Added iosignal.h, recvbuff.h
3436
3437        * Makefile.am (dist-hook): Don't call dos2unix anymore
3438
34391999-07-20  Harlan Stenn  <stenn@whimsy.udel.edu>
3440
3441        * acconfig.h:
3442        * util/ntptime.c: FreeBSD nano patches
3443        From: Per Hedeland <per@erix.ericsson.se> and
3444        Allen Smith <easmith@beatrice.rutgers.edu>
3445
3446        * include/ntp.h:
3447        include/ntp_fp.h:
3448        include/ntp_io.h:
3449        include/ntp_machine.h:
3450        include/ntp_refclock.h:
3451        include/ntp_stdlib.h:
3452        include/ntpd.h:
3453        libntp/Makefile.am:
3454        libntp/emalloc.c:
3455        libntp/machines.c:
3456        libntp/mexit.c:
3457        libntp/msyslog.c:
3458        libntp/statestr.c:
3459        libntp/syssignal.c:
3460        libntp/systime.c:
3461        libparse/parse.c:
3462        libparse/parse_conf.c:
3463        ntpd/ntp_control.c:
3464        ntpd/ntp_intres.c:
3465        ntpd/ntp_io.c:
3466        ntpd/ntp_proto.c:
3467        ntpd/ntp_refclock.c:
3468        ntpd/ntp_request.c:
3469        ntpd/ntp_timer.c:
3470        ntpd/ntp_util.c:
3471        ntpd/ntpd.c:
3472        ntpd/refclock_nmea.c:
3473        ntpd/refclock_palisade.c:
3474        ntpd/refclock_palisade.h:
3475        ntpd/refclock_shm.c:
3476        ntpdate/ntpdate.c:
3477        ntptrace/ntptrace.c: Cleanup
3478        * libntp/recvbuff.c:
3479        libntp/iosignal.c:
3480        include/iosignal.h:
3481        include/recvbuff.h: Added
3482        From: Sven_Dietrich@Trimble.COM
3483
3484        * README: Add README.cvs
3485
3486        * configure.in (ac_cv_var_struct_ntptime_val_timespec): Typo.
3487        From: John Hay <jhay@mikom.csir.co.za>
3488
34891999-07-19  Harlan Stenn  <stenn@whimsy.udel.edu>
3490
3491        * Makefile.am (EXTRA_DIST): Lose ntpmak; "build" does a better job.
3492
3493        * ntpq/Makefile.am (version.o): Use mkver
3494        * ntptrace/Makefile.am (version.o): Ditto
3495        * ntpdate/Makefile.am (version.o): Ditto
3496        * ntpd/Makefile.am (version.o): Ditto
3497        * ntpdc/Makefile.am (version.o): Ditto
3498
3499        * configure.in (AC_OUTPUT): scripts/mkver
3500
3501        * scripts/mkver.in: Created.  Note RSAREF in the version string
3502
35031999-07-18  Harlan Stenn  <stenn@whimsy.udel.edu>
3504
3505        * README.des: Updated.
3506
3507        * ntpq/Makefile.am (LDADD): Add LIBRSAREF
3508
3509        * ntpdc/Makefile.am (LDADD): Add LIBRSAREF
3510
3511        * ntpdate/Makefile.am (LDADD): Add LIBRSAREF
3512
3513        * ntpd/Makefile.am (LDADD): Add LIBRSAREF
3514
3515        * configure.in (AC_OUTPUT): Added librsaref/Makefile
3516        Added tests for making/using librsaref.a
3517        Lose old DES stuff; AC_DEFINE(DES) if we find the rsaref stuff.
3518
35191999-07-11  Harlan Stenn  <stenn@whimsy.udel.edu>
3520
3521        * ntpd/refclock_trak.c (trak_receive): disambiguate expression.
3522        At least now it is unambiguous.  It may even still be correct.
3523        Reported by: Tom Smith <smith@cag.lkg.dec.com>
3524
3525        * ntp_update (UPDATE_OPTIONS): Typo.
3526
35271999-07-07  Harlan Stenn  <stenn@whimsy.udel.edu>
3528
3529        * ntp_update: Check out copyright.htm before COPYRIGHT
3530
3531        * ntpd/ntp_config.c: Support for PPS assert/clear/hardpps
3532        * ntpd/ntp_refclock.c (refclock_ioctl): Ditto
3533        (refclock_gtlin): Ditto
3534        * html/clockopt.htm: Document.
3535        From: John Hay <jhay@mikom.csir.co.za>
3536
3537        * html/monopt.htm: We have four types of files now
3538        * ntpd/refclock_oncore.c: If debug is on, tell when
3539        we are waiting for a valid almanac
3540        From: Poul-Henning Kamp <phk@critter.freebsd.dk>
3541
3542        * include/ntp_machine.h (HAVE_TERMIOS): STREAMS does not imply
3543        HAVE_TERMIOS !!!
3544        * include/parse.h (timercmp): Macro defined if needed.
3545        * ntpd/ntp_config.c (SIGCHLD): Macro defined as SIGCLD if needed.
3546        (sys/wait.h): File included only if HAVE_SYS_WAIT_H.
3547        * configure.in (sys/wait.h): File added to AC_CHECK_HEADERS list.
3548        From: Philippe De Muyter  <phdm@macqel.be>
3549
35501999-06-23  Harlan Stenn  <stenn@whimsy.udel.edu>
3551
3552        * ntpd/refclock_irig.c (irig_debug): NetBSD patches
3553        From: Frederick Bruckman <fb@enteract.com>
3554
3555        * util/ntptime.c (main): ntx.freq bugfix (-f option)
3556        From: Frederick Bruckman <fb@enteract.com>
3557
35581999-06-22  Harlan Stenn  <stenn@whimsy.udel.edu>
3559
3560        * configure.in: Fix typo with DECL_H_ERRNO test
3561
3562        * ntpd/ntp_loopfilter.c: Lose syscall decl, it's handled in
3563        l_stdlib.h now.
3564        * ntpd/ntp_request.c: Ditto
3565        * util/ntptime.c: Ditto
3566
3567Mon May 31 18:49:49 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3568
3569        * ntpd/ntp_proto.c (proto_config): Don't set sys_bclient on
3570        PROTO_MULTICAST_ADD, only caller can decide; remove wrong set on
3571        PROTO_MULTICAST_DEL.
3572
3573Mon May 31 18:49:49 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3574
3575        * ntpd/refclock_parse.c (stream_receive): Cast size_t to int to
3576        match format.
3577        (local_receive): Likewise.
3578        (trimbletaip_event): Likewise.
3579        (stream_receive): Cast struct timeval members to long to match
3580        format.
3581        (local_receive): Likewise.
3582
3583        * ntpd/ntp_util.c (stats_config): Cast size_t to int to match
3584        format.
3585
3586        * libparse/clk_rawdcf.c (cvt_rawdcf): Cast ptr difference to int
3587        to match format.
3588        * ntpd/refclock_parse.c (gps16x_poll): Likewise.
3589
3590        * ntpd/ntp_filegen.c (filegen_open): Use long format, cast arg to
3591        match.
3592
3593        * ntpd/refclock_parse.c (list_err): Use long format to match arg.
3594        (parse_statistics): Likewise.
3595        (gps16x_message): Likewise.
3596        (cvt_ts): Use long format, cast args to match.
3597        (parse_start): Add missing arg.
3598        (gps16x_message): Swap args to match format.
3599
3600        * ntpd/ntpd.c (ntpdmain): Cast uid to long, adapt format.
3601
3602        * ntpd/ntp_intres.c (readconf): Use long format to match arg.
3603        * ntpd/ntp_io.c (getrecvbufs): Likewise.
3604        * ntpd/ntp_proto.c (default_get_precision): Likewise.
3605
3606        * ntpd/ntp_loopfilter.c (local_clock): Cast clock_panic to int to
3607        match format.
3608
3609        * ntpd/ntp_io.c (io_multicast_add): Print s_addr member, not
3610        struct in_addr, to match format.
3611
3612        * include/ntp_stdlib.h: Declare msyslog() as printf-like for gcc
3613        format checking.
3614
3615Fri May 28 16:39:35 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3616
3617        * ntpdc/ntpdc_ops.c (iostats): Align timereset line.
3618
3619        * ntpq/ntpq_ops.c (doopeers): Properly align header.
3620
3621        * ntpdc/ntpdc_ops.c (debug): Removed declaration, already in
3622        ntp_stdlib.h.
3623        * ntpq/ntpq_ops.c: Likewise.
3624
3625        * ntpdate/ntpdate.c (debug): Declare volatile to match
3626        ntp_stdlib.h.
3627        * ntpdc/ntpdc.c, ntpq/ntpq.c, ntptrace/ntptrace.c, util/tickadj.c,
3628        util/ntptime.c: Likewise.
3629
3630        * include/parse.h (debug): Don't declare to avoid clash with
3631        ntp_stdlib.h.
3632
3633        * include/Makefile.am (noinst_HEADERS): Add new ntp_syscall.h.
3634
3635        * configure.in: Also check for -lrt for POSIX.1c functions.
3636
3637Wed May 26 21:03:30 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3638
3639        * configure.in: Removed -Wwrite-strings from CFLAGS.
3640
3641        * ntpdc/ntpdc.c (help): Remove superfluous cast.
3642        * ntpq/ntpq.c (help): Likewise.
3643
3644Tue May 25 18:00:49 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3645
3646        * ntpq/ntpq_ops.c (struct varlist): name cannot be const char *
3647        since it may be malloc'ed.
3648
3649        * ntpdc/ntpdc.c (sendrequest): Declare pass as const char *, don't
3650        loose const in cast.
3651        * ntpq/ntpq.c (sendrequest): Likewise.
3652
3653        * ntpd/ntp_control.c (ctl_getitem): Remove superfluous cast.
3654        * include/ntpd.h (struct ctl_var): text cannot be const char *
3655        since it's malloc'ed.
3656
36571999-06-22  Harlan Stenn  <stenn@whimsy.udel.edu>
3658
3659        * include/l_stdlib.h: Don't include <netinet/in.h>, add forward
3660        declaration of struct in_addr instead.
3661        From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3662
3663        Patch:
3664       
3665        * include/l_stdlib.h: Fixed syscall() declaration.
3666        * configure.in: Updated test to match.
3667
3668        * configure.in: Check if we need to declare errno and h_errno.
3669        Check for <resolv.h> which may provide a h_errno declaration and
3670        <arpa/nameserv.h> which the latter needs.
3671        * acconfig.h: Provide the necessary templates.
3672
3673        * include/ntp_syscall.h: New file, hides various implementations
3674        of ntp_adjtime() and ntp_gettime() syscalls.
3675        * ntpd/ntp_loopfilter.c: Use it.
3676        * ntpd/ntp_request.c: Likewise.
3677        * ntpd/refclock_local.c: Likewise.
3678        * util/ntptime.c: Likewise.
3679
3680        * include/l_stdlib.h: Include <netinet/in.h>, declare inet_ntoa if
3681        necessary.
3682        Moved syscall() declaration here.
3683
3684        * kernel/sys/parsestreams.h: Include <sys/termios.h> for it's
3685        definition of struct ppsclockev.
3686        Include <sys/ppsclock.h> unconditionally for definition of
3687        CIOGETEV via TIOCGPPSEV.
3688        * kernel/sys/ppsclock.h: Protect struct ppsclockev from
3689        redefinition.
3690
3691        * include/ntp_refclock.h: Protect it from multiple inclusion.
3692        * include/ntp_fp.h: Likewise.
3693        * include/ntp.h: Likewise.
3694       
3695        * include/ntpd.h: Include ntp_refclock.h for MAXDIAL declaration.
3696        * libntp/authkeys.c: Include ntpd.h for current_time declaration.
3697
3698        * include/ntpd.h (getauthkeys, auth_agekeys, rereadkeys): Moved
3699        prototypes to ntp_stdlib.h
3700
3701        * include/ntp_stdlib.h: Declare variables exported by libntp.
3702        * include/ntpd.h: Likewise for ntpd.
3703       
3704        * libntp/authkeys.c (key_hash, authnokey, authfreekeys,
3705        cache_flags): Made static.
3706        * libntp/systime.c (tvu_maxslew, tsf_maxslew, sys_clock_offset,
3707        sys_residual): Likewise.
3708        * ntpd/ntp_intres.c (confentries): Likewise.
3709        * ntpd/ntp_loopfilter.c (clock_offset, clock_panic): Likewise.
3710        (pll_nano): Likewise. Removed duplicate definition.
3711        * ntpd/ntp_peer.c (peer_free, current_association_ID,
3712        assocpeer_calls, init_peer_starttime): Likewise.
3713        * ntpd/ntp_proto.c (sys_offset, sys_authdly): Likewise.
3714        * ntpd/ntp_request.c (numrequests, numresppkts, errorcounter):
3715        Likewise.
3716        * ntpd/ntp_restrict.c (res_calls, res_found, res_not_found,
3717        res_timereset, res_limited_refcnt): Likewise.
3718        * ntpd/ntpd.c (was_alarmed, worker_thread): Likewise.
3719
3720        * ntpq/ntpq_ops.c: Moved declaration of external variable from
3721        ntpq.c to file scope.
3722
3723        * adjtimed/adjtimed.c: Moved declarations of external variables to
3724        ntpd.h and ntp_stdlib.h.
3725        * clockstuff/propdelay.c: Likewise.
3726        * libntp/a_md5encrypt.c, libntp/authencrypt.c, libntp/authkeys.c,
3727        libntp/mfp_mul.c, libntp/msyslog.c, libntp/systime.c: Likewise.
3728        * ntpd/ntp_config.c, ntpd/ntp_control.c, ntpd/ntp_filegen.c,
3729        ntpd/ntp_intres.c, ntpd/ntp_io.c, ntpd/ntp_loopfilter.c,
3730        ntpd/ntp_monitor.c, ntpd/ntp_peer.c, ntpd/ntp_proto.c,
3731        ntpd/ntp_refclock.c, ntpd/ntp_request.c, ntpd/ntp_restrict.c,
3732        ntpd/ntp_timer.c, ntpd/ntp_util.c, ntpd/ntpd.c,
3733        ntpd/refclock_acts.c, ntpd/refclock_arbiter.c, ntpd/refclock_arc.c,
3734        ntpd/refclock_as2201.c, ntpd/refclock_atom.c,
3735        ntpd/refclock_bancomm.c, ntpd/refclock_chronolog.c,
3736        ntpd/refclock_chu.c, ntpd/refclock_datum.c,
3737        ntpd/refclock_dumbclock.c, ntpd/refclock_gpsvme.c,
3738        ntpd/refclock_heath.c, ntpd/refclock_hpgps.c, ntpd/refclock_irig.c,
3739        ntpd/refclock_jupiter.c, ntpd/refclock_leitch.c,
3740        ntpd/refclock_local.c, ntpd/refclock_msfees.c,
3741        ntpd/refclock_mx4200.c, ntpd/refclock_nmea.c,
3742        ntpd/refclock_oncore.c, ntpd/refclock_palisade.h,
3743        ntpd/refclock_parse.c, ntpd/refclock_pst.c, ntpd/refclock_shm.c,
3744        ntpd/refclock_tpro.c, ntpd/refclock_trak.c, ntpd/refclock_true.c,
3745        ntpd/refclock_usno.c, ntpd/refclock_wwvb.c: Likewise.
3746        * ntpdate/ntpdate.c: Likewise.
3747        * ntpdc/ntpdc.c, ntpdc/ntpdc_ops.c: Likewise.
3748        * ntpq/ntpq.c: Likewise.
3749        * ntptrace/ntptrace.c: Likewise.
3750        * util/ntptime.c, til/tickadj.c: Likewise.
3751        From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3752
3753        * include/ntp_machine.h: Removed superfluous yy/mm/dd comments.
3754        * include/ntpd.h: Likewise.
3755        * libntp/authencrypt.c: Likewise.
3756        * libntp/a_md5encrypt.c: Likewise.
3757        * libntp/caljulian.c: Likewise.
3758        * libntp/ymd2yd.c: Likewise.
3759        * libntp/syssignal.c: Likewise.
3760        * libntp/ymd2yd.c: Likewise.
3761        * ntpd/ntp_control.c: Likewise.
3762        * ntpd/ntp_io.c: Likewise.
3763        * ntpd/ntp_timer.c: Likewise.
3764        * ntpdate/ntpdate.c: Likewise.
3765        * ntpq/ntpq_ops.c: Likewise.
3766        * ntpd/ntp_peer.c (findpeer): Wrap debug output in DEBUG/debug.
3767        From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3768
3769        * dot.emacs: Removed wrong indentation of substatements.
3770        Wrap in c-style.
3771        From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3772
3773        * ntpd/refclock_palisade.c: Patches from Marc Brett
3774        * ntpd/refclock_palisade.h: Ditto.
3775        * util/hist.c: Ditto.
3776
3777Tue Jun  1 00:40:04 1999  Harlan Stenn  <stenn@pogo.udel.edu>
3778
3779        * build: mips-dec-ultrix4.4 hates "set -e"
3780
3781        * flock-build: Created
3782
3783        * build: added -l option
3784
3785Mon May 31 20:28:40 1999  Harlan Stenn  <stenn@pogo.udel.edu>
3786
3787        * README: Removed auto{make,conf}.patch files
3788
3789Tue May 25 01:20:53 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
3790
3791        * Makefile.am ($(srcdir)/COPYRIGHT): Added
3792        (EXTRA_DIST): Remove auto*.patches
3793
3794Thu May 20 01:03:00 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
3795
3796        * Makefile.am (dist-hook): Call dos2unix on the .htm files
3797
3798        * ntpd/refclock_palisade.h: Clean up declarations.
3799
3800        * configure.in (ac_cv_struct_ntptimeval_timespec): Added.
3801        (ac_cv_make_ntptime): Only if ntptimeval does not use timespec.
3802
3803        * util/tickadj.c: Linux Patches
3804        From: Reg Clemens <reg@dwf.com>
3805
3806Wed May 19 01:18:24 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
3807
3808        * configure.in: 4.0.93a
3809
3810        * ntpd/refclock_palisade.h: Restore some lost patches
3811        From: Kamal A Mostafa <kamal@whence.com>
3812
3813Sun May 16 13:18:32 1999  Philippe De Muyter  <phdm@macqel.be>
3814
3815        * libparse/clk_wharton.c (cvt_wharton_400a, inp_wharton_400a): Expect
3816        serial output format number 1, not 5.
3817        (clock_wharton_400a) : Likewise.
3818        * ntpd/refclock_parse.c (parse_clockinfo): For Wharton 400a clock,
3819        do not poll, but expect a message every second.
3820        * html/parsedata.htm : Entry added for Wharton 400a clock.
3821        * html/driver8.htm : Entry fixed for Wharton 400a clock.
3822
3823Sun May 16 02:59:46 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
3824
3825        * configure.in: 4.0.93
3826
3827Sat May 15 18:53:47 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
3828
3829        * configure.in (ntp_refclock): ONCORE requires PPSAPI, CIOGETEV,
3830        or TIOCGPPSEV.
3831        Reported by: Reg Clemens <reg@dwf.com>
3832
3833Fri May 14 23:58:35 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
3834
3835        * configure.in: 4.0.92h2
3836       
3837        * configure.in (ac_cv_make_ntptime): Not under Linux.  Yes, it
3838        works for some people.  We're tired of the complaints from the
3839        others.
3840
3841Fri May 14 18:58:59 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3842
3843        * libntp/authreadkeys.c (authreadkeys): Reject autokey keys.
3844        Include ntp.h for NTP_MAXKEY definition, ntp_fp.h for types used
3845        in ntp.h.
3846
3847Wed May 12 23:02:22 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3848
3849        * libntp/authkeys.c (auth_delkeys): Don't remove autokey keys,
3850        leave info on KEY_TRUSTED flag alone.
3851        Include ntp.h for NTP_MAXKEY definition.
3852       
3853Thu May 13 02:19:02 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
3854
3855        * configure.in: 4.0.92h1
3856       
3857        * configure.in: patch for ReliantUNIX
3858        From: Andrej Borsenkow <borsenkow.msk@sni.de>
3859
3860        * ntpd/refclock_oncore.c: Patches
3861        From: Reg Clemens <reg@dwf.com>
3862
3863Thu Apr 29 14:01:04 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3864
3865        * html/*.htm: Remove unnecessary &nbsp;.  Cleanup <pre></pre>
3866        sections.
3867
3868        * configure.in: Properly align configure --help output.
3869        * html/config.htm: Include this version, removing Netscape &nbsp;
3870        cruft.
3871
3872Wed Apr 28 15:08:55 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3873
3874        * kernel/sys/parsestreams.h: Only include <sys/ppsclock.h> if
3875        struct ppsclockev is missing from system headers.
3876
3877        * util/tickadj.c (getoffsets): Define kernels[] only if used.
3878        (openfile): Rename fd to avoid shadowing global fd.
3879        (writevar): Likewise.
3880        (readvar): Likewise.
3881
3882        * parseutil/dcfd.c (read_drift): drift_file is const char *.
3883        (update_drift): Likewise.
3884        (adjust_clock): Likewise.
3885        (main): Likewise.
3886
3887        * ntpd/refclock_parse.c (gps16x_poll): Adapt format to match
3888        parse->localstate type.
3889
3890        * ntpd/ntp_refclock.c (refclock_gtlin): Only define gotit label
3891        if used.
3892
3893        * include/l_stdlib.h (openlog, syslog): char * args are const.
3894
3895        * configure.in (*-*-osf4*): Enable declaration of stime().
3896
3897        * ntpd/refclock_oncore.c (oncore_msg_any): Cast args to long to
3898        match prototype.
3899        (oncore_msg_En): Likewise.
3900
3901        * include/ntp_refclock.h (struct refclockstat): Declare p_lastcode
3902        as const char *.
3903
3904        * ntpq/ntpq_ops.c (struct varlist): Define name as const.
3905
3906        * ntpdc/ntpdc.c (tokenize): Define cp as const char *, remove
3907        wrong cast instead.
3908
3909        * ntpd/ntp_util.c (record_clock_stats): Make text arg const.
3910        * include/ntpd.h (record_clock_stats): Adapt declaration.
3911        * ntpd/refclock_oncore.c (oncore_start): Removed superfluous casts.
3912        (oncore_msg_Cf): Likewise.
3913        (oncore_msg_Fa): Likewise.
3914        (oncore_msg_Cj): Likewise.
3915        (oncore_msg_Ea): Likewise.
3916        (oncore_msg_Bj): Likewise.
3917
3918        * configure.in (*-*-solaris2.4): Enable declarations of
3919        gettimeofday(), settimeofday(); they are `protected' by
3920        __cplusplus in <sys/time.h>.
3921
3922Tue Apr 27 21:14:47 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3923
3924        * scripts/summary.pl: Use . as default statsdir.
3925        (do_loop): Accept new loopstats format with additional sys_error
3926        and clock_stability fields.
3927        (do_peer): Accept new peerstats format with additional skew field.
3928
3929Mon Apr 26 01:50:38 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
3930
3931        * Upgraded automake (1.4a) and autoconf (2.14.1)
3932
3933        * configure.in (ac_refclock_irig): We no longer need stropts.h.
3934        * ntpd/refclock_irig.c: Ditto
3935
3936Mon Apr 26 17:33:33 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3937
3938        * configure.in (*-*-irix6*): Don't pass MIPSpro cc-only flag -n32
3939        to gcc.
3940
3941Thu Apr 22 15:06:40 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3942
3943        * ntpd/ntp_config.c (getconfig): IN_CLASSD() expects address in
3944        host byte order, but struct sockaddr_in.s_addr is in network byte
3945        order.
3946        * ntpd/ntp_io.c (io_multicast_del): Likewise.
3947
3948Sat Apr 24 01:00:53 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
3949
3950        * configure.in: 4.0.92h
3951
3952        * ntptrace/ntptrace.c: -m maxhost patch
3953        From: "R. Gary Cutbill" <rgary@chrysalis.com>
3954
3955        * util/ntptime.c: Patches.
3956        From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
3957
3958        * html/accopt.htm, html/assoc.htm, html/authopt.htm,
3959        html/biblio.htm, html/build.htm, html/clockopt.htm,
3960        html/confopt.htm, html/copyright.htm, html/debug.htm,
3961        html/exec.htm, html/extern.htm, html/hints.htm, html/index.htm,
3962        html/kern.htm, html/miscopt.htm, html/monopt.htm, html/notes.htm,
3963        html/ntpd.htm, html/ntpdate.htm, html/ntpdc.htm, html/ntpq.htm,
3964        html/ntptime.htm, html/ntptrace.htm, html/patches.htm,
3965        html/porting.htm, html/pps.htm, html/rdebug.htm,
3966        html/refclock.htm, html/release.htm, html/tickadj.htm,
3967        html/hints/solaris.html: Fixed many typos and problems.
3968        * acconfig.h (DECL_CFSETISPEED_0, DECL_MRAND48_0, DECL_NLIST_0,
3969        DECL_SRAND48_0, DECL_STIME_0): New templates.
3970        * include/l_stdlib.h: Include termios.h to get definition of
3971        speed_t.
3972        (cfsetispeed, cfsetospeed, mrand48, nlist, srand48, stime): New
3973        declarations.
3974        (openlog): Declare 2- or 3-argument form.
3975        * configure.in: Enable declarations of functions missing from
3976        Ultrix V4.3 system headers.
3977        * ntpd/refclock_oncore.c: Include <sys/types.h>, Ultrix V4.3
3978        <sys/stat.h> needs it for dev_t.
3979        From: Rainer Orth <ro@techfak.uni-bielefeld.de>
3980
3981        * ntpdc/ntpdc_ops.c: Reality checks.
3982
3983        * configure.in: netbsd has stubs for the timer_* stuff and doesn't
3984        support PPSAPI.  IRIG requires <stropts.h> .
3985        From: Frederick Bruckman <fb@enteract.com>
3986
3987        * ntpdc/ntpdc_ops.c: (kerninfo)  Report in seconds regardless of
3988        kernel precision.  Report kernel flags as text.
3989        From: Poul-Henning Kamp <phk@critter.freebsd.dk>
3990       
3991Sun Apr 18 14:26:51 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
3992
3993        * configure.in: 4.0.92g
3994
3995        * ntpd/ntp_refclock.c (refclock_ioctl): We don't want
3996        PPS_HARDPPSONASSERT by default.
3997        * ntpd/refclock_oncore.c: Prefer timepps.h over sys/timepps.h
3998        From: Poul-Henning Kamp <phk@freebsd.org>
3999
4000Tue Apr 13 17:32:35 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4001
4002        * configure.in: 4.0.92f
4003
4004        * ntpd/ntp_refclock.c (refclock_open): VMIN should be 1, not 0
4005        From: Reg Clemens <reg@dwf.com>
4006
4007Sun Apr 11 18:26:44 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4008
4009        * ntpd/refclock_mx4200.c: Patches/improvements
4010        * ntpd/ntpd.c (set_process_priority): Lint
4011        From: Marc.Brett@westgeo.com
4012
4013        * util/ntptime.c: Lint, bit definition cleanup
4014        From: Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
4015
4016Wed Apr  7 03:02:23 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4017
4018        * ntpd/refclock_oncore.c: Use timepps.h or sys/timepps.h
4019        * configure.in: Look for either timepps.h or sys/timepps.h
4020        From: Poul-Henning Kamp <phk@critter.freebsd.dk>
4021
4022        * ntpd/ntp_io.c (create_sockets): Don't warn about ENXIO.
4023        (Several places)
4024        From: Andrej Borsenkow <borsenkow.msk@sni.de>
4025
4026        * libntp/mfp_mul.c (mfp_mul): Lint.
4027        Marc.Brett@westgeo.com
4028
4029Sun Apr  4 03:23:53 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4030
4031        * configure.in: 4.0.92e
4032        Dave redesigned the clock state machine.
4033
40341999-02-28  Frank Kardel  <kardel@acm.org>
4035
4036        * parseutil/dcfd.c: added DCF77 module powersetup
4037
4038        * ntpd/refclock_parse.c (parse_control): using gmprettydate instead of prettydate()
4039        (mk_utcinfo): new function for formatting GPS derived UTC information
4040        (gps16x_message): changed to use mk_utcinfo()
4041        (trimbletsip_message): changed to use mk_utcinfo()
4042        ignoring position information in unsynchronized mode
4043        (parse_start): augument linux support for optional ASYNC_LOW_LATENCY
4044
4045        * ntpd/ntp_control.c (ctl_putclock): cleanup of end of buffer handling
4046
4047        * libparse/parse.c (timepacket): removed unnecessary code
4048
4049        * libparse/clk_trimtsip.c (struct trimble): new member t_utcknown
4050        (cvt_trimtsip): fixed status monitoring, bad receiver states are
4051        now recognized
4052
4053        * libntp/prettydate.c (gmprettydate): new function for format date
4054        and time with respect to UTC
4055
4056        * libntp/gpstolfp.c (GPSWRAP): update GPS rollover to 990 weeks
4057
4058        * include/trimble.h (CMD_RUTCPARAM): control variable name unification
4059
4060        * include/ntp_fp.h: added prototype for gmprettydate()
4061
4062Sat Feb 27 00:03:16 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4063
4064        * libntp/systime.c: definition
4065        * ntpd/ntp_proto.c: sco5_oldclock declaration
4066        * configure.in: SCO5_CLOCK for *-*-sco3.2v5*
4067        * util/tickadj.c (main): SCO5_OLDCLOCK -> SCO5_CLOCK
4068        From: Kees Hendrikse <kees@echelon.nl>
4069
4070        * ntpd/ntp_config.c (getconfig): Indentation cleanup
4071        Deal with 'P' case better
4072        * ntpd/ntpd.c: Declare set_process_priority()
4073        * ntpd/refclock_dumbclock.c: Lint cleanup
4074        From: Marc.Brett@westgeo.com
4075
4076Wed Feb 24 10:22:51 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4077
4078        * configure.in: 4.0.92d
4079
4080        * configure.in: Dave says we can't enable PARSE clocks by default.
4081        Also, Solaris 2.7 still has its kernel bug - disable kernel FLL
4082        there.
4083        Reported by: Dave Mills <dlm@udel.edu>
4084
4085Tue Feb 23 23:37:44 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4086
4087        * libparse/Makefile.am (parsesolaris.o): Devious hack to deal
4088        with bug in sys/systm.h .
4089        Suggested by: Chaim Frenkel <chaimf@pobox.com>
4090
4091Tue Feb 23 20:46:31 1999  Frank Kardel  <kardel@acm.org>
4092
4093        * ntpd/refclock_parse.c: fixed #endifs
4094        (stream_receive): fixed formats
4095
4096Mon Feb 22 00:35:06 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4097
4098        * configure.in: 4.0.92c
4099
4100        * ntpd/refclock_chronolog.c: Lint
4101        * ntpd/refclock_dumbclock.c: Ditto
4102        * ntpd/refclock_oncore.c: Ditto
4103        From: Marc.Brett@westgeo.com
4104
4105        * ntpd/refclock_oncore.c (oncore_msg_any): Call GETTIMEOFDAY, not
4106        gettimeofday().
4107        From: david.higgins@mail.ccur.com
4108
4109        * configure.in (MCAST): Not in i386-sequent-sysv4
4110        Reported by: Joseph Geter <joe.geter@somills.com>
4111
4112        * util/ntptime.c: Linux cleanup.
4113        From: Reg Clemens <reg@dwf.com>
4114
4115        * configure.in: Rename SCO5_OLDCLOCK to SCO5_CLOCK
4116        * acconfig.h: Ditto
4117
4118        * ntpd/ntp_proto.c: SCO5_CLOCK stuff
4119        (init_proto): Use the SCO5_CLOCK stuff
4120        * libntp/systime.c: SCO5_CLOCK stuff
4121        (get_systime): Use the SCO5_CLOCK stuff
4122        (adj_systime): Use the SCO5_CLOCK stuff
4123        From: Kees Hendrikse <kees@echelon.nl>
4124
4125        * ntpd/ntp_config.c: Added -P option and associated baggage.
4126        (getstartup): Update help text
4127        (getconfig): Process -P option
4128        (getconfig): Update help text
4129        * ntpd/ntpd.c (set_process_priority): Created.
4130        (service_main): remove process priority stuff - we want to do at
4131        after we start up the resolver, so call set_process_priority()
4132        after getconfig().
4133        From: Kamal A Mostafa <kamal@whence.com>
4134
41351999-02-21  Frank Kardel  <kardel@acm.org>
4136
4137        * ntpd/ntp_util.c (hourly_stats): removed unused variable
4138
4139        * libntp/ieee754io.c: renamed index to fieldindex to avoid index() name clash
4140
4141        * ntpd/refclock_parse.c (parse_start): add initialization for Linux PPSkit
4142
4143Sun Feb 21 17:53:33 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4144
4145        * ntpd/ntp_io.c (create_sockets): Skip interfaces that are really
4146        just aliases.
4147        From: "Erik R. Leo" <erikl@sover.net>
4148
4149        * configure.in: 4.0.92b
4150
4151        * ntpd/ntpd.c (service_main): Check for an error return from
4152        sched_get_priority_max().
4153
4154Wed Feb 17 03:48:47 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4155
4156        * configure.in: 4.0.92a
4157
4158        * configure.in: configure.in requires autoconf 2.13 or later.
4159        Reported by Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
4160
4161Wed Feb 17 00:12:11 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4162
4163        * acconfig.h: TERMIOS_NEEDS__SVID3
4164        * configure.in: Ditto
4165        * ntpd/refclock_palisade.h: Ditto
4166        * include/ntp_refclock.h: Ditto
4167        * ntpd/ntpd.c (service_main): We want sched_get_priority_max().
4168        From: Kamal A Mostafa <kamal@whence.com>
4169
4170        * ntpd/ntp_refclock.c (refclock_open): Zero the entire c_cc[] array.
4171        From: Reg Clemens <reg@dwf.com>
4172
4173Tue Feb 16 23:37:49 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4174
4175        * Updated ansi2knr
4176        Reported by: Marc Brett
4177
4178Mon Feb 15 02:55:28 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4179
4180        * configure.in: 4.0.92
4181
4182        * ntpd/ntp_refclock.c: Added refclock_chronolog and
4183        refclock_dumbclock.
4184        From: Robert McMillin <rlm@syseca-us.com>
4185
4186Sun Feb 14 15:57:53 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4187
4188        * dropped SCO3 support #defines.
4189        * changed SCO5_TICKADJ #define to SCO5_OLDCLOCK
4190        * Added code in libntp/systime.c to accumulate changes until a whole
4191          tick can be added or dropped. Adjusted gettimeofday() output
4192          to include the contents of the accumulator.
4193        * cleaned up util/tickadj.c; tickadj -As now does the right thing.
4194        From: Kees Hendrikse <kees@echelon.nl>
4195
4196        * ntpq/ntpq.c: Rename delay() to auth_delay()
4197        Reported by: Andrej Borsenkow <borsenkow.msk@sni.de>
4198
4199        * ntpd/refclock_palisade.h: Cleanup.
4200        From: Marc.Brett@westgeo.com
4201
4202        * ntpd/ntp_refclock.c (refclock_ioctl): Typo.
4203        From: Reg Clemens <reg@dwf.com>
4204
4205        * ntpd/ntp_io.c (create_sockets): Only bind a given network once.
4206        From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
4207
4208Sat Jan 30 11:48:37 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4209
4210        * configure.in: 4.0.91f
4211
4212Thu Jan 28 22:58:40 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4213
4214        * ntpd/refclock_parse.c (CLK_REALTYPE): We really want ttl, not hmode.
4215        * ntpd/ntp_config.c (getconfig): "mode" really should update the
4216        ttl member, not the hmode member.
4217
4218        * ntpd/refclock_local.c: More offset cleanup from Dave.
4219
4220Thu Jan 28 00:15:20 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4221
4222        * configure.in: 4.0.91e
4223
4224        * ntpd/refclock_local.c: Bugfix.
4225        From: Dave Mills
4226
4227        * ntpd/refclock_palisade.c: Lint/IRIX portability cleanup
4228        * ntpd/refclock_palisade.h: Re-enable the declaration of float()
4229        * ntpd/ntp_io.c (create_sockets): Initialize size to 0
4230        From: Marc.Brett@westgeo.com
4231
4232        * ntpd/refclock_parse.c (CLK_REALTYPE): Use hmode, not ttl.
4233        * configure.in (ac_cv_var_no_parenb_ignpar): Not under Linux.
4234        Reported by: Thomas Quinot <thomas@Cuivre.FR.EU.ORG>
4235
4236        * ntpdc/ntpdc.c (my_delay): Renamed, from delay.
4237        Reported by: Andrej Borsenkow <borsenkow.msk@sni.de>
4238
4239Tue Jan 26 00:56:10 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4240
4241        * configure.in: 4.0.91d
4242
4243        * ntpq/ntpq.c: Y2K patches
4244        From: Marc.Brett@westgeo.com
4245
4246        * html/driver29.htm: New version
4247        * ntpd/refclock_palisade.c: Ditto
4248        * ntpd/refclock_palisade.h: Ditto
4249        From: Sven_Dietrich@Trimble.COM
4250
4251        * upgrade ansi2knr.c
4252
4253        * Some stuff that Dave did.
4254
4255        * configure.in: 4.0.91c
4256
4257        * ntpd/refclock_oncore.c: Prototype cleanup.  Enum cleanup.
4258        * ntpd/ntp_proto.c (clock_select): Fix memory leak.
4259        * configure.in (ac_cv_struct_ppsclockev): Might need sys/time.h to
4260        check for struct clockppsev.  Return pce->serial, not 0;
4261        From: Marc.Brett@westgeo.com
4262
4263        * ntpd/refclock_oncore.c (oncore_msg_En): Clean up.
4264        From: John.Hay@mikom.csir.co.za
4265
4266Mon Jan 25 11:50:29 1999  Philippe De Muyter  <phdm@macqel.be>
4267
4268        * libparse/parse_conf.c (clockformats): Entry added for
4269        clock_wharton_400a.
4270        * libparse/clk_wharton.c: New file.
4271        * libparse/Makefile.am (libparse_a_SOURCES): clk_wharton.c added;
4272        (libparse_kernel_a_SOURCES): kclk_wharton.c added.
4273        (kclk_wharton.o): New dependency rule.
4274        * ntpd/refclock_parse.c (parse_clockinfo): Entry added for the
4275        WHARTON clock (mode 15).
4276        * acconfig.h (CLOCK_WHARTON_400A): New configuration macro.
4277        * configure.in (CLOCK_WHARTON_400A): Macro defined like other
4278        CLOCK_xxx macros.
4279
4280Sun Jan 24 13:51:30 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4281
4282        * ntpd/ntp_config.c (do_resolve_internal): Missing #ifdef DEBUG
4283        From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
4284
4285        * Makefile.am (SUBDIRS): Lose authstuff
4286        * configure.in: Ditto
4287
4288Sat Jan 23 15:28:03 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4289
4290        * configure.in: 4.0.91b
4291
4292Sat Jan 23 15:02:25 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4293
4294        * ntpd/refclock_oncore.c: use HAVE_STRUCT_PPSCLOCKEV
4295        * acconfig.h: HAVE_STRUCT_PPSCLOCKEV
4296        * configure.in (ac_cv_struct_ppsclockev): Added test
4297
4298Thu Jan 21 15:35:25 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4299
4300        * configure.in: 4.0.91a
4301
4302        * ntpd/refclock_nmea.c (nmea_receive): Call refclock_process()
4303        every second (or each time a nmea string is received).
4304        From: John Hay <jhay@mikom.csir.co.za>
4305
4306        * ntpd/ntp_refclock.c (refclock_ioctl): Use TIOCPPS if we have it.
4307        (refclock_ioctl): Use LDISC_CLKPPS, not LDISC_PPS when deciding
4308        how to set str.
4309        * ntpd/ntp_loopfilter.c: Lose unused ntp_gettime() stuff.
4310        * ntpd/ntp_request.c: Ditto.
4311        * ntpd/refclock_local.c: Ditto.
4312        * ntpd/refclock_shm.c (shm_poll): Fix the refclock_process() call.
4313        * ntpd/refclock_oncore.c: patches and cleanup
4314        * configure.in: ioctl/PPS checks, ONCORE cleanup
4315        * acconfig.h: ONCORE cleanup
4316        From: Reg Clemens <reg@dwf.com>
4317
4318        * configure.in (CFLAGS): cc on Sequent wants -Wc,+abi-socket.
4319        We also need to figure out why -lsocket isn't being detected;
4320        -lsocket is needed.
4321        From: Dana Kaempen <decay@flash.net>
4322
4323        * include/ntp_stdlib.h: AIX portability patches, header cleanup.
4324        * ntptrace/ntptrace.c: Ditto.
4325        * ntpdate/ntpdate.c: Ditto.
4326        * ntpd/refclock_true.c: Ditto.
4327        * ntpd/refclock_mx4200.c: Ditto.
4328        * ntpd/refclock_jupiter.c: Ditto.
4329        * libntp/msyslog.c: Ditto.
4330        From: Marc.Brett@waii.com
4331
4332Sun Jan 10 15:15:07 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4333
4334        * configure.in: 4.0.91
4335
4336Sat Jan  9 00:11:34 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4337
4338        * include/ntp_stdlib.h: msyslog() is declared differently if we're
4339        not __STDC__.
4340
4341        * include/ntp_types.h: It's HAVE_PROTOTYPES, not USE_PROTOTYPES.
4342        * include/ntp_machine.h: Ditto.
4343
4344Fri Jan  8 20:47:10 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4345
4346        * configure.in: Upgrade to autoconf-2.13
4347        Do the prototypes check much earlier, as it might alter CFLAGS and
4348        things which will affect other tests.
4349
4350        * ntpd/ntp_request.c (do_conf): The problem was with a template
4351        for "version" on an IRIX C compiler...
4352        From: Marc.Brett@waii.com
4353
4354        * libntp/authkeys.c: #include config.h first.
4355        Reported by: brian.bumpass@funb.com
4356
4357Thu Jan  7 00:24:35 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4358
4359        * util/tickadj.c (main): return() instead of exit().
4360        * ntpd/ntp_request.c (do_conf): Disambiguate ||.
4361        * ntpd/ntp_proto.c (clock_select): Initialize variables.
4362        From: Marc.Brett@waii.com
4363
4364        * scripts/ntpver.in: Use PATH_SH
4365
4366        * configure.in (PATH_SH): Added.
4367
4368Tue Jan  5 19:02:51 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4369
4370        * configure.in: 4.0.90h
4371
4372        * html/driver30.htm: Updated.
4373        * html/refclock.htm: Refer to driver30
4374        * ntpd/refclock_oncore.c: Vastly improve and make less FreeBSD centric,
4375        From: Poul-Henning Kamp <phk@critter.freebsd.dk> and
4376                Reg.Clemens <reg@dwf.com>
4377
4378        * include/ntp.h: Portability/lint patches
4379        * libntp/binio.c: Ditto.
4380        * libntp/caljulian.c: Ditto.
4381        * libntp/caltontp.c: Ditto.
4382        * libntp/ieee754io.c: Ditto.
4383        * libntp/md5c.c: Ditto.
4384        * libntp/mfp_mul.c: Ditto.
4385        * libntp/msyslog.c: Ditto.
4386        * libntp/statestr.c: Ditto.
4387        * libntp/systime.c: Ditto.
4388        * libparse/clk_trimtsip.c: Ditto.
4389        * libparse/data_mbg.c: Ditto.
4390        * libparse/parse.c: Ditto.
4391        * ntpd/ntp_control.c: Ditto.
4392        * ntpd/ntp_filegen.c: Ditto.
4393        * ntpd/ntp_intres.c: Ditto.
4394        * ntpd/ntp_io.c: Ditto.
4395        * ntpd/ntp_peer.c: Ditto.
4396        * ntpd/ntp_proto.c: Ditto.
4397        * ntpd/ntp_util.c: Ditto.
4398        * ntpd/ntpd.c: Ditto.
4399        * ntpd/refclock_arc.c: Ditto.
4400        * ntpd/refclock_chu.c: Ditto.
4401        * ntpd/refclock_datum.c: Ditto.
4402        * ntpd/refclock_leitch.c: Ditto.
4403        * ntpd/refclock_parse.c: Ditto.
4404        * ntpd/refclock_usno.c: Ditto.
4405        * ntpq/ntpq.c: Ditto.
4406        * util/tickadj.c: Ditto.
4407        From: Marc.Brett@waii.com
4408
4409Mon Jan  4 00:56:55 1999  Harlan Stenn  <stenn@whimsy.udel.edu>
4410
4411        * configure.in: 4.0.90g
4412
4413        * ntpd/ntp_config.c (getconfig): MODE was setting ttl, not hmode.
4414        Reported by: Carsten Emde <ce@ceag.ch>
4415
4416Fri Dec  4 01:01:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4417
4418        * configure.in: 4.0.90f
4419
4420        * ntpd/refclock_mx4200.c: New version
4421        From: Marc.Brett@waii.com
4422
44231998-12-02  Harlan Stenn  <stenn@whimsy.udel.edu>
4424
4425        * ntpd/ntp_config.c (do_resolve_internal): If fork fails, say why.
4426        Reported by: Jeff_Dennison@admin.tc.faa.gov
4427
4428        * ntpd/ntpd.c (ntpdmain):  fork() can return a -1.  Someday we'll
4429        report this condition...
4430
44311998-12-02  Harlan Stenn  <stenn@whimsy.udel.edu>
4432
4433        * configure.in: 4.0.90e
4434
4435        * ntpd/refclock_palisade.c: Reformat code so ansi2knr will work
4436        * ntpd/refclock_palisade.h: Ditto
4437        From: Marc.Brett@waii.com
4438
4439Sun Nov 29 21:00:53 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4440
4441        * configure.in: 4.0.90d
4442
4443        * configure.in (CFLAGS): Use "-O2 -g3 -n32" by default for Irix6.2
4444        and later.
4445        Reported by: Jack Bryans <jbryans@csulb.edu>
4446
44471998-11-29  Harlan Stenn  <stenn@whimsy.udel.edu>
4448
4449        * configure.in: 4.0.90c
4450
4451        * ntpd/refclock_oncore.c (oncore_msg_En): Convert to nano
4452        From: John Hay <jhay@mikom.csir.co.za>
4453
4454        * include/ntp_request.h (RM_VN_MODE): Add version parameter, so
4455        xntpdc will work across v3 and v4.
4456        * ntpd/ntp_request.c: Track requested version
4457        (req_ack): Use requested version in RM_VN_MODE
4458        (more_pkt): Ditto
4459        (flush_pkt): Ditto
4460        (process_private): Get requested version
4461        * ntpd/ntp_intres.c (request): Use default version
4462        * ntpdc/ntpdc.c (sendrequest): Ditto
4463        From: John Hay <jhay@mikom.csir.co.za>
4464
4465Fri Nov 27 14:27:21 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4466
4467        * ntpd/refclock_palisade.c: Lint cleanup
4468        * ntpd/refclock_palisade.h: Ditto.
4469        From: Marc Brett <mbrett@rgs0.london.waii.com>
4470
4471Mon Nov 23 04:45:03 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4472
4473        * configure.in: 4.0.90b
4474
4475        * New code and cleanup for the NT stuff
4476        From: Carl Byington <carl@five-ten-sg.com>
4477
4478Sat Nov 21 21:21:45 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4479
4480        * configure.in: 4.0.90a
4481
4482        * libntp/systime.c (step_systime): net_set_tod calls clock_settime.
4483        * libntp/machines.c (ntp_set_tod): Take a 2nd arg for NT.
4484        * include/ntp_machine.h: ntp_set_tod() has 2 args always.
4485        * ports/winnt/bldrel.bat: Typo.
4486        From: Carl Byington <carl@five-ten-sg.com>
4487
4488        * ntpd/ntp_intres.c (findhostaddr): h_errno is a #define under AIX.
4489        * configure.in:  clock_settime is a stub in AIX4.
4490        From: Perry Ross <pross@platinum.com>
4491
4492        * libntp/Makefile.am (EXTRA_DIST): Lose libntp.mak
4493        * ntpd/Makefile.am (EXTRA_DIST): Ditto.
4494        * ntpdate/Makefile.am (EXTRA_DIST): Ditto.
4495        * ntpdc/Makefile.am (EXTRA_DIST): Ditto.
4496        * ntpq/Makefile.am (EXTRA_DIST): Ditto.
4497        From: Greg Schueman <schueman@ix.netcom.com>
4498
4499Sat Nov 21 12:33:16 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4500
4501        * configure.in: 4.0.90
4502
4503        Nano changes from Dave Mills.
4504
4505Thu Nov 19 04:23:46 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4506
4507        * include/ntp_machine.h: STREAM also needs HAVE_SYS_STREAM_H
4508        Reported by: Ronald Cole <ronald@forte-intl.com>
4509
4510Mon Nov 16 19:17:34 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4511
4512        * configure.in: 4.0.73e14
4513
4514        * util/ntptime.c (main): Protect STA_NANO
4515
4516        * ntpd/refclock_oncore.c: General overhaul and simplifications.
4517        The new manual clarifies a lot of fine points, and the driver has
4518        been suitably simplified.  Uses Site Survey if possible, otherwise
4519        does it by hand.  Should also work with non-UT models, as long as
4520        they talk the Motorola Binary Protocol.  The driver Doesn't (need
4521        to) know where the author lives anymore.
4522        From: Poul-Henning Kamp <phk@critter.freebsd.dk>
4523
4524        * ntpd/refclock_palisade.h: New version.
4525        * ntpd/refclock_palisade.c: New version.
4526        From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
4527
4528Sat Oct 24 01:19:21 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4529
4530        * configure.in: 4.0.73e13
4531
4532        * ntpdc/ntpdc_ops.c (clkbug): Patches
4533        * ntpd/ntp_refclock.c (refclock_buginfo): Patches
4534        From: Marc.Brett@waii.com
4535
4536Sat Oct 10 20:13:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4537
4538        * configure.in: 4.0.73e12
4539
4540        * ntpd/ntp_util.c (hourly_stats): Added prio_set stuff.
4541
4542        * ntpd/ntpd.c (ntpdmain): HAVE_SETPGRP_0 typo.
4543        * parseutil/dcfd.c (detach): Ditto.
4544        * ntpd/ntp_control.c (ctl_putpeer): Sometimes, peer->dstadr is
4545        NIL.
4546        From: Perry Ross <pross@platinum.com>
4547
4548        * ntpd/ntpd.c:
4549        Some systems use sys/sched.h, not sched.h (Irix)
4550        * configure.in (CFLAGS): nextstep needs -posix.
4551        Reported by: Jack Bryans <jbryans@csulb.edu>
4552
4553Sat Oct  3 02:32:46 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4554
4555        * configure.in: 4.0.73e11
4556
4557        * configure.in (ac_refclock_palisade): Needs termios.
4558
4559        * libntp/mktime.c: Some systems need sys/types.h
4560
4561        * configure.in: Added AC_TYPE_SIZE_T and AC_CHECK_TYPE(time_t, long)
4562        The time_t stuff should only be needed on Older machines, so the
4563        fact that I'm using a long shouldn't be a problem (hollow laugh).
4564
4565        * include/l_stdlib.h: Sometimes we need to #include <sys/types.h>
4566
4567        * libntp/Makefile.am (../include/des.h): Typo.
4568
4569Fri Oct  2 20:52:47 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4570
4571        * ntpd/ntp_intres.c (request): Accept responses back thru V2.
4572
4573Thu Oct  1 00:11:16 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4574
4575        * configure.in: 4.0.73e9
4576
4577        * ntpd/ntpd.c (catch_danger): Added.
4578        (ntpdmain): AIX SIGDANGER stuff
4579        From: Lars-Owe Ivarsson <larsowe@paradisaea.its.uu.se>
4580
4581        * configure.in:
4582        * include/ntp_machine.h:
4583        * include/ntp_string.h:
4584        * libntp/machines.c:
4585        * libparse/clk_hopf6021.c:
4586        * libparse/clk_trimtsip.c:
4587        * ntpd/refclock_leitch.c:
4588        * ntpd/refclock_palisade.c:
4589        * ntpd/refclock_parse.c:
4590        Here are some patches to suppress warnings from various compilers
4591        (IRIX 5.3, MipsPro C 7.1 on IRIX 6.4, AIX 4.1) and loaders (IRIX
4592        5.3, IRIX 6.4).  Shouldn't affect functionality at all.
4593        From: Marc Brett <mbrett@rgs0.london.waii.com>
4594        (I got similar patches for AIX from Lars-Owe Ivarsson
4595        <larsowe@paradisaea.its.uu.se>)
4596
4597Thu Sep 24 21:33:50 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4598
4599        * configure.in: '73e8
4600
4601        * configure.in: AIX4 stubs the POSIX timer_ stuff,
4602        sched_setscheduler, and mlockall.
4603        Reported by: Lars-Owe Ivarsson <larsowe@paradisaea.its.uu.se>
4604
4605        * configure.in: OpenBSD stubs the POSIX timer_ stuff.
4606        Reported by:  sidney august cammeresi iv <cammeres@uiuc.edu>
4607        (and several other folks whose names I can't find at the moment)
4608
4609Mon Sep 21 15:35:23 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4610
4611        * configure.in: '73e7
4612
4613        * ntpd/refclock_parse.c: Missing declaration
4614        From: Marc Brett <mbrett@rgs0.london.waii.com>
4615
4616        * include/README: Remove old MCAST descriptions
4617
4618        * include/Makefile.am (noinst_HEADERS): Lose sun-in.h .
4619
4620Mon Sep 21 14:50:12 1998  Harlan Stenn  <stenn@grundoon.udel.edu>
4621
4622        * ntpdate/ntpdate.c (timer): Properly format the definition.
4623
4624Sun Sep 20 23:02:50 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4625
4626        * configure.in: '73e6
4627
4628        * include/Makefile.am (noinst_HEADERS): Renamed in.h to sun-in.h
4629
4630Fri Sep 18 01:05:55 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4631
4632        * configure.in: '73e5
4633
4634        * ntpd/refclock_palisade.c: SCO patch
4635        From: Kamal A Mostafa <kamalm@sco.com>
4636
4637        * libparse/clk_trimtsip.c (cvt_trimtsip): Fix rollover bug.
4638        From: "Michael J. Tubby B.Sc. G8TIC" <Mike.Tubby@thorcom.co.uk>
4639
4640        * libntp/authencrypt.c:
4641        * libntp/systime.c:
4642        * ntpd/refclock_acts.c:
4643        * ntpd/refclock_arbiter.c:
4644        * ntpd/refclock_arc.c:
4645        * ntpd/refclock_as2201.c:
4646        * ntpd/refclock_atom.c:
4647        * ntpd/refclock_chu.c:
4648        * ntpd/refclock_conf.c:
4649        * ntpd/refclock_datum.c:
4650        * ntpd/refclock_heath.c:
4651        * ntpd/refclock_hpgps.c:
4652        * ntpd/refclock_irig.c:
4653        * ntpd/refclock_leitch.c:
4654        * ntpd/refclock_nmea.c:
4655        * ntpd/refclock_palisade.c:
4656        * ntpd/refclock_parse.c:
4657        * ntpd/refclock_pst.c:
4658        * ntpd/refclock_trak.c:
4659        * ntpd/refclock_true.c:
4660        * ntpd/refclock_usno.c:
4661        * ntpd/refclock_wwvb.c:
4662        Typos, cleanup, and bugfixes
4663        From: Marc Brett <mbrett@rgs0.london.waii.com>
4664
4665        * ntpd/ntp_timer.c (timer): Typo.
4666        * include/ntp_refclock.h: in refclockstat, clockdesc should be const.
4667        * ntpd/ntp_io.c (create_sockets): Typo.
4668        * ntpd/ntp_control.c (free_varlist): Use the appropriate cast when
4669        calling free().
4670        (set_var): Use char *td for non-const char data.
4671        (ctl_getitem): Use char * for non-const data.
4672        (Many of these reported by Marc Brett)
4673
4674Sun Sep 13 19:19:09 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4675
4676        * ntpd/ntpd.c: Added nofork declaration.
4677        (ntpdmain): Initialize it...
4678        * ntpd/ntp_config.c: added nofork.
4679        Updated ntp_options.
4680        (getstartup): Updated "usage" string.  Deal with -n flag.
4681        (getconfig): Ditto.
4682        From: Jeffrey Hutzelman <jhutz@cs.cmu.edu>
4683
4684        * ntpd/ntp_io.c (open_socket): Use ntoa() to print out the address
4685        when bind() fails. (in 2 places)
4686        Reported by: "Markus W. Fehr" <mfehr@ch.ibm.com>
4687        Only soft-fail if an interface is unavailable.
4688        (create_sockets):  Don't SO_REUSEADDR if the interface is unavailable.
4689        From: "Markus W. Fehr" <mfehr@ch.ibm.com>
4690
4691        * configure.in:  If we --disable-all-clocks, then don't enable
4692        parse clocks by default.
4693        Reported by: Marion Hakanson <hakanson@cse.ogi.edu>
4694
4695Sat Aug 22 23:58:14 1998  Frank Kardel  <kardel@acm.org>
4696
4697        * ntpd/refclock_parse.c (local_input): fixed IO handling for non-STREAM IO
4698
4699Sun Aug 16 20:13:32 1998  Frank Kardel  <kardel@acm.org>
4700
4701        * libntp/ieee754io.c: debug information only compile for LIBDEBUG case
4702
4703        * ntpd/refclock_parse.c (gps16x_message): reduced UTC parameter information (dropped A0,A1)
4704        made uval a local variable (killed one of the last globals)
4705        (sendetx): added logging of messages when in debug mode
4706        (trimble_check): added periodic checks to facilitate re-initialization
4707        (trimbletsip_init): made use of EOL character if in non-kernel operation
4708        (trimbletsip_message): extended message interpretation
4709        (getdbl): fixed data conversion
4710
4711        * libparse/parse_conf.c (clockformats): Trimble TSIP driver now also
4712        available for kernel operation
4713
4714        * libparse/info_trimble.c: re-generated
4715
4716        * libparse/clk_trimtsip.c (cvt_trimtsip): initial kernel capable version (no more floats)
4717        (clock_trimtsip =): new format name
4718
4719        * libparse/clk_trimtaip.c (clock_trimtaip =): changed format name
4720
4721        * include/trimble.h (CMD_RSTATTRACK): renamed mode 6 variable name
4722
4723        * scripts/monitoring/ntploopwatch: moved emacs mode selector
4724
4725Mon Aug 10 15:32:48 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4726
4727        * ntpd/refclock_acts.c: Patch cleanup
4728        * ntpd/ntp_refclock.c: Patch cleanup
4729        * ntpd/ntp_timer.c: Patch cleanup
4730        From: qli@huey.udel.edu
4731
4732Wed Jul 29 15:23:21 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4733
4734        * libntp/machines.c: IRIX needs time.h
4735        Reported by: Judith E Bush <jbush@fi.edu>
4736
4737        * ntpd/ntpd.c (service_main): Better AIX PROCLOCK fix.
4738        From: Matt Ladendorf <matt.ladendorf@anheuser-busch.com> and
4739        Grover Davidson <Grover.Davidson@anheuser-busch.com>
4740
4741Wed Jul 29 01:36:48 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4742
4743        * include/ntpd.h (MAXINTERFACES): Moved here...
4744        * ntpd/ntp_io.c: From here...
4745        (create_sockets): Only deal with MAXINTERFACES.
4746        (create_sockets): Only deal with specified interfaces.
4747
4748        * ntpd/ntp_config.c (CONFIG_LISTEN): Added
4749        Added ifnum and listenaddrs[]
4750        (getconfig): Added defn for "addr"
4751        (getconfig): Initialize ifnum.
4752
4753        * ntpd/ntpd.c (service_main): call init_io after getconfig
4754        From: Vebjorn Ljosa <ljosa@initio.no>
4755
4756Wed Jul 29 00:42:28 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4757
4758        * ntpd/refclock_palisade.c: Use NEED_HPUX9_TIOCM_STUFF
4759
4760        * acconfig.h (NEED_HPUX9_TIOCM_STUFF):  Added.
4761
4762        * configure.in (REFCLOCK_PALISADE): Needs termio*.h
4763        (NEED_HPUX9_TIOCM_STUFF): Added.
4764
4765        * ntpd/ntp_io.c (create_sockets): Use strchr instead of strstr.
4766
4767        * libntp/mktime.c: #include <sys/types.h>
4768
4769        * libntp/ieee754io.c: #include <sys/types.h>
4770
4771Wed Jul 29 00:24:22 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4772
4773        * ntpd/refclock_acts.c (ACTS_MAXPOLL): 14 -> 18.
4774        Import current_nextdate
4775        (acts_receive): Update peer->nextdate with current_nextdate
4776        (acts_poll): Call acts_timeout() (debugging)
4777
4778        * ntpd/ntp_refclock.c: Export current_nextdate.
4779        (refclock_transmit): Check peer->valid >= NTP_SHIFT - 2, not >.
4780        (refclock_transmit): hpoll wiggles, update current_nextdate
4781
4782        * ntpd/ntp_timer.c: #include "ntp_refclock.h"
4783        (MODE_MANUAL): Added.
4784        (timer): MODE_MANUAL stuff
4785
4786        From: qli@huey.udel.edu
4787
4788Tue Jul 28 23:23:15 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4789
4790        * configure.in: Check for inet_ntoa in -lbind .
4791
4792        * ntpd/ntpd.c: #undef PROCLOCK for AIX.
4793
4794Mon Jul 20 01:06:24 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4795
4796        * configure.in (AC_TYPE_SIZE_T): Added.
4797
4798Sat Jul 11 09:38:30 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4799
4800        * configure.in: 4.0.73e
4801
4802        * ports/winnt/: Replaced with new code (no SHM or PALISADE)
4803        From: Greg Schueman <schueman@ix.netcom.com>
4804
4805Fri Jul 10 12:12:59 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4806
4807        * configure.in: 4.0.73d
4808
4809        * include/ntp_machine.h (HAVE_SRANDOM): VxWorks patches
4810        (HAVE_RANDOM): Ditto.
4811        (CALL): Ditto.
4812        From: Casey Crellin <ccrellin@mweb.com>
4813
4814        * ntpd/refclock_parse.c (local_input): Typo.
4815        Reported by: Tony Li <tony1@home.net>
4816
4817Wed Jul  8 01:49:01 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4818
4819        * configure.in: 4.0.73c
4820
4821        * PARSE patches from Frank Kardel
4822
4823        * libntp/machines.c (ntp_set_tod): Get it right.
4824
4825Sun Jul  5 22:15:34 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4826
4827        * configure.in: 4.0.73a
4828
4829        * kernel/sys/timex.h (MOD_CANSCALE): Add rest of patch to handle
4830        scaling.
4831        From: Poul-Henning Kamp <phk@critter.freebsd.dk>
4832
4833Wed Jun 10 21:16:01 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
4834
4835        * configure.in: 4.0.73
4836
4837        * ntpd/ntp_loopfilter.c (local_clock): MOD_CANSCALE patches, and
4838        be careful with the integration if we're nearly perfect.
4839        From: Poul-Henning Kamp <phk@critter.freebsd.dk>
4840
4841        * util/tickadj.c (main): Typo fix...
4842        From: Marion Hakanson <hakanson@cse.ogi.edu>
4843
4844        * ntpd/ntp_io.c (create_sockets): Attempt to ignore alias
4845        interfaces.
4846        From: Kenneth Maupin <maupin@easystreet.com>
4847
4848        * ntpd/ntp_refclock.c: PPS fixes
4849        * ntpd/refclock_msfees.c (msfees_start): Portability fixes and
4850        PPS/STREAM enhancements
4851        From: John Hay <jhay@mikom.csir.co.za>
4852
4853        * ntpd/ntp_refclock.c (refclock_gtlin): Patch...
4854        From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
4855
4856Sun Jun 28 18:43:30 1998  Frank Kardel  <kardel@acm.org>
4857
4858        * libntp/buftvtots.c (buftvtots): using WORD_BIGENDIAN instead of XNTP_BIG_ENDIAN
4859
4860        * libparse/clk_trimtsip.c (getflt): fixed ENDIAN issue
4861        (getdbl): fixed ENDIAN issue
4862        (getint): use get_msb_short()
4863        (cvt_trimtsip): use gpstolfp() for conversion
4864
4865        * libntp/Makefile.am (libntp_a_SOURCES): added gpstolfp.c source
4866
4867        * libntp/binio.c: added {get,put}_msb_{short,long}() functions
4868
4869        * include/ntp_fp.h: added gpstolfp() prototype
4870
4871        * include/binio.h: added binio MSB prototypes
4872
4873Sat Jun 13 13:48:17 1998  Frank Kardel  <kardel@acm.org>
4874
4875        * parseutil/testdcf.c: signed/unsigned
4876        SYSV clock name clash fixed
4877
4878        * parseutil/dcfd.c: signed/unsigned
4879        SYSV clock name clash fixed
4880        year wrapping at 1998
4881        ctype macros take ints as args
4882
4883        * ntptrace/ntptrace.c (decodeipaddr): ctype macros take ints as args
4884
4885        * ntpq/ntpq_ops.c (doprintpeers): signed/unsigned
4886
4887        * ntpq/ntpq.c: ctype macros take ints as args
4888        signed/unsigned
4889
4890        * ntpdc/ntpdc.c: signed/unsigned
4891
4892        * ntpd/refclock_usno.c: signed/unsigned
4893
4894        * ntpd/refclock_true.c (true_send): signed/unsigned, name clashes
4895
4896        * ntpd/refclock_parse.c: signed/unsigned, name clashes
4897
4898        * ntpd/refclock_nmea.c (nmea_receive): ctype macros take ints as args
4899
4900        * ntpd/refclock_heath.c (heath_receive): prototypes (signed/unsigned issues)
4901
4902        * ntpd/refclock_arc.c: prototypes (signed/unsigned issues)
4903
4904        * ntpd/refclock_acts.c: prototypes (signed/unsigned issues)
4905
4906        * ntpd/ntpd.c: prototypes (signed/unsigned issues)
4907
4908        * ntpd/ntp_util.c (getauthkeys): prototypes (signed/unsigned issues)
4909        fix SYSV clock name clash
4910
4911        * ntpd/ntp_request.c: prototypes (signed/unsigned issues)
4912        fix SYSV clock name clash
4913
4914        * ntpd/ntp_io.c (input_handler): variable naming, signed/unsigned
4915
4916        * ntpd/ntp_intres.c (readconf): signed/unsigned issues
4917
4918        * ntpd/ntp_control.c: prototypes (signed/unsigned issues)
4919        fix SYSV clock name clash
4920
4921        * ntpd/ntp_config.c: fix SYSV clock name clash
4922        ctype macros take ints as args
4923
4924        * libparse/parsestreams.c: dirt (debug) removed
4925
4926        * libparse/parsesolaris.c: more prototypes
4927        fix name clashes
4928        allow for ansi2knr
4929
4930        * libparse/parse.c: bcopy/memcpy cleanup
4931        fix SYSV clock name clash
4932
4933        * libparse/clk_trimtsip.c (cvt_trimtsip): fix SYSV clock name clash
4934
4935        * libparse/clk_trimtaip.c (cvt_trimtaip): fix SYSV clock name clash
4936
4937        * libparse/clk_schmid.c (cvt_schmid): fix SYSV clock name clash
4938
4939        * libparse/clk_rcc8000.c (cvt_rcc8000): fix SYSV clock name clash
4940
4941        * libparse/clk_rawdcf.c (cvt_rawdcf): fix SYSV clock name clash
4942
4943        * libparse/clk_hopf6021.c (cvt_hopf6021): fix SYSV clock name clash
4944
4945        * libparse/clk_dcf7000.c (cvt_dcf7000): fix SYSV clock name clash
4946
4947        * libparse/clk_computime.c: fix SYSV clock name clash
4948
4949        * libntp/octtoint.c (octtoint): ctype macros take ints as args
4950
4951        * libntp/mstolfp.c (mstolfp): ctype macros take ints as args
4952
4953        * libntp/hextolfp.c (hextolfp): ctype macros take ints as args
4954
4955        * libntp/hextoint.c (hextoint): ctype macros take ints as args
4956
4957        * libntp/decodenetnum.c (decodenetnum): ctype macros take ints as args
4958
4959        * libntp/atouint.c (atouint): ctype macros take ints as args
4960
4961        * libntp/atolfp.c (atolfp): ctype macros take ints as args
4962
4963        * libntp/atoint.c (atoint): ctype macros take ints as args
4964
4965        * kernel/sys/parsestreams.h:  STREAM macro gone in favor of HAVE_SYS_STREAM_H
4966
4967        * include/parse.h: STREAM macro gone in favor of HAVE_SYS_STREAM_H
4968
4969Fri Jun 12 11:08:53 1998  Frank Kardel  <kardel@acm.org>
4970
4971        * ntpd/ntp_timer.c: prototype fixes (ansi2knr/knr compiler)
4972
4973        * ntpd/ntp_proto.c (make_keylist): type cast for e(!!!)malloc()
4974
4975        * libparse/Makefile.am: adjust for ansi2knr
4976
4977        * libntp/ieee754io.c: ansi2knr compatibility
4978
4979        * include/ntp_refclock.h: added pps_sample() extern declaration
4980        added refclock_process_offset() extern declaration
4981
4982        * include/ntp.h: fixed function * prototypes
4983
4984        * ntpd/refclock_parse.c (bind): added input routine
4985        (local_input): added input routine
4986
4987        * ntpd/ntp_io.c (input_handler): direct input processing for
4988        refclocks to save input recv buffers
4989
4990        * include/ntp_refclock.h: added int io_input(struct recvbuf *)
4991        pointer to allow direct processing of read refclock data in
4992        order to save many bug recv buffers on single character input
4993        (problem with "fast" machines)
4994
4995        * parse_conf.c:  conditional compile macros fixed
4996
4997        * parse.c:  conditional compile macros fixed
4998        printf prototype
4999
5000        * clk_trimtaip.c:  conditional compile macros fixed
5001        printf prototype
5002
5003        * clk_schmid.c:  conditional compile macros fixed
5004        printf prototype
5005
5006        * clk_rcc8000.c:  conditional compile macros fixed
5007        printf prototype
5008
5009        * clk_hopf6021.c:  conditional compile macros fixed
5010        printf prototype
5011
5012        * clk_dcf7000.c: conditional compile macros fixed
5013        printf prototype
5014
5015        * clk_computime.c: conditional compile macros fixed
5016        printf prototype
5017
5018Sat Jun  6 07:41:54 1998  Frank Kardel  <kardel@acm.org>
5019
5020        * ntpd/refclock_palisade.c: fixed termio.h / termios.h inclusion
5021
5022        * include/ntp_refclock.h: made refclockproc/clockdesc const
5023
5024        * ntpd/ntp_control.c (ctl_putpeer): avoided ambigous 'else' (gcc)
5025
5026        * ntpd/refclock_parse.c (parse_start): added BURST mode initialisation
5027
5028        * scripts/stats/summary.sh (CLOCK): allow for Y2K log files
5029
5030        * libparse/clk_rawdcf.c: simplified condidional compile expression
5031
5032Wed May 27 08:10:43 1998  Frank Kardel  <kardel@acm.org>
5033
5034        * include/Makefile.am (noinst_HEADERS): added new header files
5035        mbg_gps166.h binio.h ascii.h ieee754io.h
5036
5037        * ntpdc/ntpdc.c (sendrequest): fixed info_auth_keyid setting it
5038        got accidentally trashed every other round
5039
5040Mon May 25 22:55:07 1998  Frank Kardel  <kardel@acm.org>
5041
5042        * configure.in: PARSE clocks are enabled by default whenever
5043        possible (termio.h or termios.h present)
5044        removed RAWDCF_SETDTR feature
5045
5046        * acconfig.h: removed RAWDCF_SETDTR option (now implicit by
5047        compilation and run time configuration)
5048
5049        * ntpd/refclock_parse.c (rawdcf_init): offer a RAWDCF clock (type 14)
5050        that attempts to set the DTR modem line for receiver power
5051
5052        * libparse/clk_meinberg.c (cvt_meinberg): support current standard
5053        Meinberg data formats
5054
5055Sun May 24 09:43:19 1998  Frank Kardel  <kardel@acm.org>
5056
5057        * libparse/clk_rawdcf.c (pps_rawdcf): trigger pps on zero going
5058        edge - that is simpler wiring (Rx->DCD).
5059
5060        * parseutil/testdcf.c (wday): const keyword
5061
5062        * parseutil/dcfd.c (cvt_rawdcf): sign issues and calling interfaces
5063
5064        * ntpq/ntpq.c (MAXVARLEN): adjusted internal buffer length for
5065        variable values
5066
5067        * ntpd/refclock_parse.c: adjust to new io handling (fixed formats
5068        only)
5069        (mkreadable): don't include >"< in readable ASCII output (-> ntpq
5070        parsing)
5071        output debug messages to stdout instead of msyslog()
5072        fixed version information string
5073
5074        * ntpd/refclock_atom.c (pps_sample): new auxiliary pps interface
5075
5076        * libparse/parsestreams.c (parserput): get event status consistent
5077        with direct calls
5078        (zs_xsisr): simulate CARRIER status to avoid unnecessary M_xHANGUP
5079        events
5080
5081        * libparse/parsesolaris.c (parserput): get event status consistent
5082        with direct calls
5083        (zs_xsisr): simulate CARRIER status to avoid unnecessary M_xHANGUP
5084        events
5085
5086        * libparse/parse.c: removed old input cruft
5087        (parse_restart): new generic input help function
5088        (parse_addchar): ditto
5089        (parse_end): ditto
5090        (pps_one): new generic pps help function
5091        (pps_zero): ditto
5092
5093        * libparse/clk_trimtsip.c (clock_trimtsip =): new input handling
5094
5095        * libparse/clk_trimtaip.c (clock_trimtaip =): new input handling
5096        (inp_trimtaip): new input handler
5097
5098        * libparse/clk_schmid.c (clock_schmid =): new input handling
5099        (inp_schmid): new input handler
5100
5101        * libparse/clk_rcc8000.c (clock_rcc8000 =): new input handling
5102        (inp_rcc8000): new input handler
5103
5104        * libparse/clk_rawdcf.c (clock_rawdcf =): new input handling
5105        (snt_rawdcf): adjusted to new input handling
5106        (inp_rawdcf): new input handler
5107
5108        * libparse/clk_meinberg.c (clock_meinberg): new input handling
5109        (gps_input): new input handler
5110        (mbg_input): new input handler
5111
5112        * libparse/clk_hopf6021.c (clock_hopf6021 =): new input handling
5113        (inp_hopf6021): new input handler
5114
5115        * libparse/clk_dcf7000.c (clock_dcf7000 =): new input handling
5116        (inp_dcf7000): new input handler
5117
5118        * libparse/clk_computime.c (clock_computime =): new input handling
5119        (inp_computime): new input handler
5120
5121        * libparse/Makefile.am: link kernel module with libntp.a
5122
5123        * include/parse.h (struct parse): removed old data structure cruft
5124        (new input model) new PARSE_INP* macros for input handling
5125        removed old SYNC_* macros from old input model
5126        (struct clockformat): removed old parse functions in favor of the
5127        new input model
5128        updated prototypes
5129
5130        * include/ntp_refclock.h: prototype for refclock_atom pps_sample()
5131        interface
5132
5133        * acconfig.h: added PPS_SAMPLE define
5134        * configure.in (LIBPARSE): added PPS_SAMPLE configuration
5135        <refclock_atom aux interface>
5136
5137        * libntp/systime.c (adj_systime): debug output (> level 6) for
5138        adjtime results
5139
5140        * libntp/mfp_mul.c (mfp_mul): controlled debug output
5141
5142        * libntp/ieee754io.c (get_byte): controlled debug output
5143        (fetch_ieee754): ditto
5144        (put_ieee754): ditto
5145
5146Tue May  5 20:09:51 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5147
5148        * configure.in: document DES is not usually present.
5149
5150Wed Apr 29 22:00:22 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5151
5152        * configure.in: 4.0.72h
5153
5154        * authstuff/Makefile.am (check-local-rsn): check-local doesn't
5155        work with RSAREF...
5156        Reported by: "Auteria Wally Winzer Jr." <wally.winzer@champusa.com>
5157
5158        * libntp/machines.c: the settime() choices were ordered badly.
5159        Reported by: Michael Joosten <joost@c-lab.de>
5160
5161Sat Apr 25 00:35:53 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5162
5163        * configure.in (ac_cv_var_no_parenb_ignpar): Undo the kernel PLL
5164        block I just installed - Dave wants to control this via
5165        KERNEL_FLL_BUG.
5166
5167Fri Apr 24 20:35:57 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5168
5169        * libntp/Makefile.am (libntp_a_DEPENDENCIES): Set per libntp_a_LIBADD
5170
5171        * configure.in: Do a better job of blocking kernel PLL under
5172        solaris2.6.
5173
5174Fri Apr 24 00:41:12 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5175
5176        * configure.in: 4.0.72f
5177        (ac_cv_struct_nlist_n_un): Don't look for ntp_adjtime or
5178        ntp_gettime under solaris2.6.
5179
5180        * ntpd/ntp_proto.c (process_packet): Give verbose error messages
5181
5182        * include/global.h (PROTOTYPES): Drive via HAVE_PROTOTYPES.
5183
5184Wed Apr 22 16:55:55 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5185
5186        * configure.in (ac_cv_var_use_des): Added. 4.0.72e.
5187        * libntp/Makefile.am (libntp_a_LIBADD): Added DESOBJS
5188
5189Tue Apr 21 02:08:06 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5190
5191        * ntpd/refclock_arc.c (arc_receive): Typo...
5192        From: Sam Steingold <sds@usa.net>
5193
5194Fri Apr 10 03:05:35 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5195
5196        * configure.in (ac_refclock_chu): AUDIO_CHU support.  Disabled by
5197        default, and currently only supported on SunOS and Solaris.
5198        * acconfig.h: AUDIO_CHU
5199
5200Wed Apr  8 19:53:53 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5201
5202        * libntp/Makefile.am (EXTRA_DIST): Added mktime.c
5203
5204        * configure.in:  AC_REPLACE_FUNCS(mktime).
5205        (--enable-dst-minutes=60): Added, for (missing) mktime().
5206
5207        * ntpd/refclock_heath.c (heath_receive): Use mktime() instead of
5208        the old hack.
5209
5210Tue Apr  7 21:15:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5211
5212        * configure.in (LIBOBJS): Hack it before AC_OUTPUT to deal with
5213        ANSI2KNR-filtering rules.
5214        From: Jim Meyering <meyering@ascend.com>
5215
5216Mon Apr  6 01:40:45 1998  Harlan Stenn  <stenn@grundoon.udel.edu>
5217
5218        * libntp/strerror.c: ANSIfy strerror's definition.
5219
5220Thu Mar 12 20:24:45 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5221
5222        * libntp/statestr.c: Only #include <config.h> if HAVE_CONFIG_H is
5223        #define'd.
5224        From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
5225
5226Wed Mar 11 00:27:32 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5227
5228        * configure.in: Cygwin needs to check for the advapi32 library.
5229        NT doesn't support a root user, so don't bother with getuid().
5230        Also, don't bother with umask().
5231
5232        * ntpd/ntp_io.c: cygwin32 patches
5233        * ntpd/ntp_proto.c: Ditto.
5234        * ntpd/ntpd.c: Ditto.
5235        * ntpd/ntp_timer.c: Ditto.
5236        * ntpdate/ntpdate.c: Ditto.
5237        * libntp/machines.c: Ditto.
5238        * libntp/systime.c: Ditto.
5239        * include/ntp_machine.h: Ditto.
5240        * include/ntp_unixtime.h: Ditto.
5241        From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
5242
5243Tue Mar 10 22:26:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5244
5245        * configure.in (ac_cv_make_tickadj): Added.
5246        Now that tickadj is the only(?) utility that cares about tick and
5247        tickadj, we don't need to have NOKMEM and no PRESET_* be fatal.
5248
5249Sat Mar  7 02:57:17 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5250
5251        * ntpd/ntp_loopfilter.c (local_clock): Patch STA_FLL check
5252        From: Poul-Henning Kamp <phk@freebsd.org>
5253
5254        * various: Renamed ACTS to CLOCK_ACTS, ARBITER to CLOCK_ARBITER,
5255        ARCRON_MSF to CLOCK_ARCRON_MSF, AS2201 to CLOCK_AS2201, BANC to
5256        CLOCK_BANC, DATUM to CLOCK_DATUM, GPSVME to CLOCK_GPSVME, HEATH to
5257        CLOCK_HEATH, HPGPS to CLOCK_HPGPS, IRIG to CLOCK_IRIG, JUPITER to
5258        CLOCK_JUPITER, LEITCH to CLOCK_LEITCH, MSFEES to CLOCK_MSFEES,
5259        MX4200 to CLOCK_MX4200, NMEA to CLOCK_NMEA, PALISADE to
5260        CLOCK_PALISADE, PARSE to CLOCK_PARSE, PPS720 to CLOCK_PPS720, PST
5261        to CLOCK_PST, PTBACTS to CLOCK_PTBACTS, SHM_CLOCK to CLOCK_SHM,
5262        ONCORE to CLOCK_ONCORE, TPRO to CLOCK_TPRO, TRAK to CLOCK_TRAK,
5263        TRUETIME to CLOCK_TRUETIME, USNO to CLOCK_USNO, WWVB to CLOCK_WWVB
5264
5265        * Makefile.am (ETAGS_ARGS): Added acconfig.h
5266
5267        * various: Renamed LOCAL_CLOCK to CLOCK_LOCAL.
5268
5269        * configure.in: First cut at  *-pc-cygwin32 support
5270        Requested by: Sven Dietrich <Sven_Dietrich@Trimble.COM>
5271
5272        * configure.in: gdt-surveying code is gone.  Sigh.
5273        Reported by: Poul-Henning Kamp <phk@critter.freebsd.dk>
5274
5275Wed Mar  4 21:41:06 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5276
5277        * many places: Renamed ATOM to CLOCK_ATOM
5278
5279Tue Mar  3 03:18:13 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5280
5281        * ntpd/ntp_timer.c (timer): Only call refclock_transmit if
5282        REFCLOCK is #define'd.
5283        Reported by a bunch of folks.
5284
5285Mon Mar  2 03:46:07 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5286
5287        * configure.in (ntp_refclock): Use CLOCK_CHU, which no longer
5288        needs any special headers.
5289        * ntpd/refclock_chu.c: Call it CLOCK_CHU
5290        (chu_receive): Define it correctly.
5291
5292        * include/winnt/sys/time.h (gettimeofday): Prototypes are OK.
5293        (settimeofday): Prototypes are OK.
5294        From: JJEVNISEK@qgraph.com
5295
5296        * ntpq/ntpq_ops.c: varlist name and value aren't const.
5297        * ntpdc/ntpdc_ops.c (fudge): The flags are u_val, not val.
5298        * ntpdc/ntpdc.c: const cleanup, exit cleanup.
5299        * ntpd/refclock_wwvb.c (wwvb_receive): Move the definition of tz
5300        somewhere more normal.
5301        * ntpd/ntp_request.c (do_trustkey): kp gets u_long data, not
5302        u_int32 (but Harlan thinks this patch may be wrong).
5303        * ntpd/ntp_refclock.c (refclock_process): clocktime needs
5304        offset.l_ui, not offset.l_i .
5305        * ntpd/ntp_control.c (set_var): t isn't const.
5306        * libntp/a_md5encrypt.c (session_key): Cast 2nd arg to MD5auth_setkey.
5307        * include/ntpd.h: ctl_var's text field isn't const.
5308        * include/ntp_refclock.h: clockdesc isn't const.
5309        From: Marc Brett <Marc.Brett@waii.com>
5310
5311        * ntpd/ntp_loopfilter.c (local_clock): Limit ntv.constant to
5312        MAXTC, and log error returns from ntp_adjtime.
5313        From: Juha Sarlin <juha@c3l.tyreso.se>
5314
5315Mon Mar  2 03:05:23 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5316
5317        * configure.in (ac_cv_var_kernel_fll_bug): KERNEL_FLL_BUG
5318        * acconfig.h: KERNEL_FLL_BUG: added.
5319        * ntpd/ntp_loopfilter.c (local_clock): Only avoid STA_FLL if
5320        KERNEL_FLL_BUG is #define'd (Solaris2.6)
5321
5322Sat Feb 21 00:45:10 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5323
5324        * automake-1.2d.patches: Added ansi2knr.o rules.
5325
5326        * ntpd/refclock_tpro.c: P() stuff
5327
5328Fri Feb 20 20:10:20 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5329
5330        * configure.in: Improve the ${CC} -pipe test (cygwin-32's gcc -pipe
5331        silently does nothing).
5332        Reported by: Sven Dietrich <Sven_Dietrich@Trimble.COM>
5333
5334Wed Feb 18 00:51:08 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5335
5336* configure.in: 4.0.72 released.
5337
5338* configure.in:AC_REPLACE_FUNCS(strerror), check for poll.h, and deal
5339  with the --enable-JUPITER stuff.
5340* libntp/Makefile.am (libntp_a_LIBADD): Added (for strerror support).
5341* libntp/clocktypes.c: Added REFCLK_GPS_JUPITER.
5342* ntpdate/ntpdate.c: poll() support
5343* ntpd/Makefile.am: Add refclock_jupiter.c
5344* ntpd/refclock_conf.c: Added refclock_jupiter
5345* ntpd/refclock_mx4200.c (mx4200_pps): Bugfixes.
5346* include/ntp.h (REFCLK_GPS_JUPITER): Added, and bumped REFCLK_MAX.
5347  From: Craig Leres <leres@ee.lbl.gov>
5348
5349Mon Feb 16 21:02:42 1998  Harlan Stenn  <stenn@grundoon.udel.edu>
5350
5351        * ntpd/ntp_proto.c: P()
5352
5353Mon Feb 16 12:43:11 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5354
5355* include/ntp_types.h: Added P() prototyping hack back in.
5356* include/parse.h: Ditto.
5357* include/ntpd.h:  Ditto.
5358* include/ntp_unixtime.h:  Ditto.
5359* include/ntp_stdlib.h: Ditto.
5360* include/ntp_select.h: Ditto.
5361* include/ntp_refclock.h: Ditto.
5362* include/ntp_fp.h: Ditto.
5363* include/md5.h: Ditto.
5364* include/ntp_filegen.h: Ditto.
5365* include/ntp_calendar.h: Ditto.
5366* include/l_stdlib.h: Ditto.
5367
5368        * configure.in (ACTS): Sometimes, TIOCMBIS is in sys/ioctl.h
5369          Reported by Kenneth Jaldehag <kenneth.jaldehag@sp.se>
5370        * configure.in (HEATH): Ditto.
5371        * configure.in (PTBACTS): Ditto.
5372        * configure.in (USNO): Ditto.
5373
5374Sat Feb 14 00:02:14 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5375
5376        * ntpd/refclock_irig.c (irig_rf): Rename sincos[] to sin_cos[].
5377
5378Fri Feb 13 22:22:08 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5379
5380        * include/ntp.h (RANDPOLL): Use random or mrand48.
5381        * ntpd/ntp_config.c (do_resolve_internal): Ditto.
5382        * ntpd/ntp_peer.c (unpeer): Ditto.
5383        * ntpd/ntp_proto.c (make_keylist): Ditto.
5384
5385        * ntpd/ntpd.c (xntpdmain): Use srandom or srand48.
5386
5387        * configure.in: Look for {s,}random() and [ms]rand48().
5388
5389Wed Feb 11 22:50:24 1998  Harlan Stenn  <stenn@whimsy.udel.edu>
5390
5391        * ntpd/ntp_restrict.c (hack_restrict): Renamed restrict()
5392        * include/ntpd.h: Ditto
5393        * ntpd/ntp_request.c (do_restrict): Ditto
5394        * ntpd/ntp_config.c (getconfig):
5395        * ntpd/ntp_io.c (create_sockets): Ditto.
5396
53971998-01-23  Harlan Stenn  <stenn@whimsy.udel.edu>
5398
5399        * ntpd/refclock_irig.c: Allow either <sun/audioio.h> or
5400        <sys/audioio.h> .  From Dave Mills.
5401
5402        * configure.in: Under SunOS, it's sun/audioio.h .
5403
54041998-01-22  Harlan Stenn  <stenn@whimsy.udel.edu>
5405
5406        * html/driver6.html: Updated header file info
5407        * html/irig.html: Ditto.
5408        * configure.in: sys/bsd_audioirig.h replaced with sys/audioio.h
5409        for new irig driver that Dave installed.
5410
54111998-01-08  Harlan Stenn  <stenn@whimsy.udel.edu>
5412
5413        * Many places: Lose the P(()) prototype stuff
5414
5415        * util/tickadj.c (writevar): Make offset an off_t
5416        (readvar): Ditto
5417        (getoffsets): Make offsets off_t
5418
5419        * adjtimed/adjtimed.c (GetClockRate): Fix lseek arg 2.
5420        (SetClockRate): Ditto
5421
5422        * Many things in many places from many people.
5423
5424        * configure.in: Added AC_TYPE_OFF_T
5425
54261997-11-26  Harlan Stenn  <stenn@whimsy.udel.edu>
5427
5428        * ntpd/refclock_palisade.c: ANSIfied.
5429
5430Wed Sep  3 23:51:44 1997  Harlan Stenn  <stenn@whimsy.udel.edu>
5431
5432        * configure.in (AM_C_PROTOTYPES): Added.
5433
5434        * Makefile.am (AUTOMAKE_OPTIONS): Added ansi2knr.
5435
Note: See TracBrowser for help on using the repository browser.