head	1.2;
access;
symbols
	RELENG_8_4:1.2.0.18
	RELENG_9_1_0_RELEASE:1.2
	RELENG_9_1:1.2.0.16
	RELENG_9_1_BP:1.2
	RELENG_8_3_0_RELEASE:1.2
	RELENG_8_3:1.2.0.14
	RELENG_8_3_BP:1.2
	RELENG_9_0_0_RELEASE:1.2
	RELENG_9_0:1.2.0.12
	RELENG_9_0_BP:1.2
	RELENG_9:1.2.0.10
	RELENG_9_BP:1.2
	RELENG_7_4_0_RELEASE:1.1.1.3.18.1
	RELENG_8_2_0_RELEASE:1.2
	RELENG_7_4:1.1.1.3.18.1.0.8
	RELENG_7_4_BP:1.1.1.3.18.1
	RELENG_8_2:1.2.0.8
	RELENG_8_2_BP:1.2
	RELENG_8_1_0_RELEASE:1.2
	RELENG_8_1:1.2.0.6
	RELENG_8_1_BP:1.2
	RELENG_7_3_0_RELEASE:1.1.1.3.18.1
	RELENG_7_3:1.1.1.3.18.1.0.6
	RELENG_7_3_BP:1.1.1.3.18.1
	RELENG_8_0_0_RELEASE:1.2
	RELENG_8_0:1.2.0.4
	RELENG_8_0_BP:1.2
	RELENG_8:1.2.0.2
	RELENG_8_BP:1.2
	RELENG_7_2_0_RELEASE:1.1.1.3.18.1
	RELENG_7_2:1.1.1.3.18.1.0.4
	RELENG_7_2_BP:1.1.1.3.18.1
	RELENG_7_1_0_RELEASE:1.1.1.3.18.1
	RELENG_6_4_0_RELEASE:1.1.1.3.8.1
	RELENG_7_1:1.1.1.3.18.1.0.2
	RELENG_7_1_BP:1.1.1.3.18.1
	RELENG_6_4:1.1.1.3.8.1.0.2
	RELENG_6_4_BP:1.1.1.3.8.1
	RELENG_7_0_0_RELEASE:1.1.1.3
	RELENG_6_3_0_RELEASE:1.1.1.3
	RELENG_7_0:1.1.1.3.0.22
	RELENG_7_0_BP:1.1.1.3
	RELENG_6_3:1.1.1.3.0.20
	RELENG_6_3_BP:1.1.1.3
	RELENG_7:1.1.1.3.0.18
	RELENG_7_BP:1.1.1.3
	RELENG_6_2_0_RELEASE:1.1.1.3
	RELENG_6_2:1.1.1.3.0.16
	RELENG_6_2_BP:1.1.1.3
	RELENG_5_5_0_RELEASE:1.1.1.3
	RELENG_5_5:1.1.1.3.0.14
	RELENG_5_5_BP:1.1.1.3
	RELENG_6_1_0_RELEASE:1.1.1.3
	RELENG_6_1:1.1.1.3.0.12
	RELENG_6_1_BP:1.1.1.3
	RELENG_6_0_0_RELEASE:1.1.1.3
	RELENG_6_0:1.1.1.3.0.10
	RELENG_6_0_BP:1.1.1.3
	RELENG_6:1.1.1.3.0.8
	RELENG_6_BP:1.1.1.3
	RELENG_5_4_0_RELEASE:1.1.1.3
	RELENG_5_4:1.1.1.3.0.6
	RELENG_5_4_BP:1.1.1.3
	RELENG_4_11_0_RELEASE:1.1.1.1.2.1
	RELENG_4_11:1.1.1.1.2.1.0.14
	RELENG_4_11_BP:1.1.1.1.2.1
	RELENG_5_3_0_RELEASE:1.1.1.3
	RELENG_5_3:1.1.1.3.0.4
	RELENG_5_3_BP:1.1.1.3
	RELENG_5:1.1.1.3.0.2
	RELENG_5_BP:1.1.1.3
	v4_2_0:1.1.1.3
	RELENG_4_10_0_RELEASE:1.1.1.1.2.1
	RELENG_4_10:1.1.1.1.2.1.0.12
	RELENG_4_10_BP:1.1.1.1.2.1
	RELENG_5_2_1_RELEASE:1.1.1.2
	RELENG_5_2_0_RELEASE:1.1.1.2
	RELENG_5_2:1.1.1.2.0.6
	RELENG_5_2_BP:1.1.1.2
	RELENG_4_9_0_RELEASE:1.1.1.1.2.1
	RELENG_4_9:1.1.1.1.2.1.0.10
	RELENG_4_9_BP:1.1.1.1.2.1
	RELENG_5_1_0_RELEASE:1.1.1.2
	RELENG_5_1:1.1.1.2.0.4
	RELENG_5_1_BP:1.1.1.2
	RELENG_4_8_0_RELEASE:1.1.1.1.2.1
	RELENG_4_8:1.1.1.1.2.1.0.8
	RELENG_4_8_BP:1.1.1.1.2.1
	RELENG_5_0_0_RELEASE:1.1.1.2
	RELENG_5_0:1.1.1.2.0.2
	RELENG_5_0_BP:1.1.1.2
	v4_1_1b:1.1.1.2
	v4_1_1a:1.1.1.2
	RELENG_4_7_0_RELEASE:1.1.1.1.2.1
	RELENG_4_7:1.1.1.1.2.1.0.6
	RELENG_4_7_BP:1.1.1.1.2.1
	RELENG_4_6_2_RELEASE:1.1.1.1.2.1
	RELENG_4_6_1_RELEASE:1.1.1.1.2.1
	RELENG_4_6_0_RELEASE:1.1.1.1.2.1
	RELENG_4_6:1.1.1.1.2.1.0.4
	RELENG_4_6_BP:1.1.1.1.2.1
	RELENG_4_5_0_RELEASE:1.1.1.1.2.1
	RELENG_4_5:1.1.1.1.2.1.0.2
	RELENG_4_5_BP:1.1.1.1.2.1
	RELENG_4_4_0_RELEASE:1.1.1.1
	RELENG_4_4:1.1.1.1.0.6
	RELENG_4_4_BP:1.1.1.1
	v4_1_0:1.1.1.2
	RELENG_4_3_0_RELEASE:1.1.1.1
	RELENG_4_3:1.1.1.1.0.4
	RELENG_4_3_BP:1.1.1.1
	RELENG_4_2_0_RELEASE:1.1.1.1
	RELENG_4_1_1_RELEASE:1.1.1.1
	PRE_SMPNG:1.1.1.1
	RELENG_4_1_0_RELEASE:1.1.1.1
	RELENG_4_0_0_RELEASE:1.1.1.1
	RELENG_4:1.1.1.1.0.2
	RELENG_4_BP:1.1.1.1
	v4_0_99b:1.1.1.1
	v4_0_98f:1.1.1.1
	DMILLS:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2008.08.22.15.58.00;	author roberto;	state Exp;
branches
	1.2.18.1;
next	1.1;

1.1
date	99.12.09.13.01.02;	author roberto;	state Exp;
branches
	1.1.1.1;
next	;

1.2.18.1
date	2008.08.22.15.58.00;	author svnexp;	state dead;
branches;
next	1.2.18.2;

1.2.18.2
date	2013.03.28.13.01.44;	author svnexp;	state Exp;
branches;
next	;

1.1.1.1
date	99.12.09.13.01.02;	author roberto;	state Exp;
branches
	1.1.1.1.2.1;
next	1.1.1.2;

1.1.1.2
date	2001.08.29.14.35.06;	author roberto;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2004.07.20.15.00.59;	author roberto;	state Exp;
branches
	1.1.1.3.8.1
	1.1.1.3.18.1;
next	;

1.1.1.1.2.1
date	2001.12.21.17.38.53;	author roberto;	state Exp;
branches;
next	;

1.1.1.3.8.1
date	2008.09.04.12.49.54;	author roberto;	state Exp;
branches;
next	;

1.1.1.3.18.1
date	2008.09.03.08.49.07;	author roberto;	state Exp;
branches;
next	;


desc
@@


1.2
log
@SVN rev 182007 on 2008-08-22 15:58:00Z by roberto

Merge ntpd & friends 4.2.4p5 from vendor/ntp/dist into head.  Next commit
will update usr.sbin/ntp to match this.

MFC after:	2 weeks
@
text
@
      *** IF YOU CAN HELP FIX ANY OF THESE THINGS, PLEASE DO! ***

010402: Look harder at -lm and -lelf - they are needed less and less...

970711: Look Real Hard at changing the key stuff from u_long to u_int32.

970711: Make sure it's safe to convert proto_config's 2nd argument from
	u_long to u_int32.  Watch "set" in ntp_request.c:setclr_flags().

970318: in hourly_stats(?), squawk if the magnitude of the drift is,
	say, >400.

970301: Implement the utmp/wtmp timestamping on time steps.

970210: Find a way to dump the current configuration to either syslog or
	a file.

Problems that need to be fixed:

- Get rid of the old SYS_* macros:
  (It's worth noting that any code that would have been "enabled" by any
  of these macros has not been used since 5.83, and there have been very
  few complaints...)

  SYS_44BSD:
   authstuff/md5driver.c

  SYS_BSDI:
   authstuff/md5driver.c

  SYS_DECOSF1:
   util/ntptime.c

  SYS_DOMAINOS:
   parseutil/dcfd.c
   xntpd/ntpd.c

  SYS_HPUX:
   kernel/sys/ppsclock.h
   ntpdate/ntpdate.c
   ntptrace/ntptrace.c

  SYS_PTX:
   libntp/machines.c

  SYS_SOLARIS:
   libparse/parse.c
   libparse/clk_trimtsip.c
   xntpd/ntp_io.c
   xntpd/ntp_refclock.c
   xntpd/ntpd.c

  SYS_SUNOS4:
   libparse/parse.c
   libparse/clk_trimsip.c

  SYS_WINNT:
   include/ntp.h
   include/ntp_fp.h
   include/ntp_if.h
   include/ntp_machine.h
   include/ntp_select.h
   include/ntp_syslog.h
   include/ntp_unixtime.h
   include/ntpd.h
   libntp/libntp.mak
   libntp/machines.c
   libntp/mexit.c
   libntp/msyslog.c
   libntp/systime.c
   ntpdate/ntpdate.c
   ntpdate/ntpdate.mak
   ntpq/ntpq.c
   ntpq/ntpq.mak
   ntpq/ntpq_ops.c
   ntptrace/ntptrace.c
   ntptrace/ntptrace.mak
   xntpd/ntp_config.c
   xntpd/ntp_filegen.c
   xntpd/ntp_intres.c
   xntpd/ntp_io.c
   xntpd/ntp_loopfilter.c
   xntpd/ntp_peer.c
   xntpd/ntp_proto.c
   xntpd/ntp_refclock.c
   xntpd/ntp_timer.c
   xntpd/ntp_unixclock.c
   xntpd/ntp_util.c
   xntpd/ntpd.c
   xntpd/xntpd.mak
   xntpdc/ntpdc.c
   xntpdc/xntpdc.mak

- config.guess might need help to identify:

  Fujitsu's UXP				--enable-adjtime-is-accurate
					--enable-step-slew

  Unixware				--enable-adjtime-is-accurate
					--enable-tick=10000
					--enable-tickadj=80
					--enable-udp-wildcard
					--disable-step-slew

  DomainOS				--enable-adjtime-is-accurate
					--disable-kmem
					--enable-tick=1000000

  OpenVMS				--enable-slew-always
					--enable-hourly-todr-sync

  Is adjtime accurate on ALL sysv4* machines?
  Can we identify DomainOS with *-apollo-* ?
  Do we catch all Unixware machines with *-univel-sysv* ?

- Combine enable-step-slew and enable-ntpdate-step

- Make sure enable-hourly-todr-sync is always disabled
  What about NextStep and OpenVMS, where hourly TODR sync used to be enabled?

- Check dcfd.c for variables that need to be volatile.
@


1.2.18.1
log
@file TODO was added on branch RELENG_8_4 on 2013-03-28 13:01:44 +0000
@
text
@d1 122
@


1.2.18.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 122

      *** IF YOU CAN HELP FIX ANY OF THESE THINGS, PLEASE DO! ***

010402: Look harder at -lm and -lelf - they are needed less and less...

970711: Look Real Hard at changing the key stuff from u_long to u_int32.

970711: Make sure it's safe to convert proto_config's 2nd argument from
	u_long to u_int32.  Watch "set" in ntp_request.c:setclr_flags().

970318: in hourly_stats(?), squawk if the magnitude of the drift is,
	say, >400.

970301: Implement the utmp/wtmp timestamping on time steps.

970210: Find a way to dump the current configuration to either syslog or
	a file.

Problems that need to be fixed:

- Get rid of the old SYS_* macros:
  (It's worth noting that any code that would have been "enabled" by any
  of these macros has not been used since 5.83, and there have been very
  few complaints...)

  SYS_44BSD:
   authstuff/md5driver.c

  SYS_BSDI:
   authstuff/md5driver.c

  SYS_DECOSF1:
   util/ntptime.c

  SYS_DOMAINOS:
   parseutil/dcfd.c
   xntpd/ntpd.c

  SYS_HPUX:
   kernel/sys/ppsclock.h
   ntpdate/ntpdate.c
   ntptrace/ntptrace.c

  SYS_PTX:
   libntp/machines.c

  SYS_SOLARIS:
   libparse/parse.c
   libparse/clk_trimtsip.c
   xntpd/ntp_io.c
   xntpd/ntp_refclock.c
   xntpd/ntpd.c

  SYS_SUNOS4:
   libparse/parse.c
   libparse/clk_trimsip.c

  SYS_WINNT:
   include/ntp.h
   include/ntp_fp.h
   include/ntp_if.h
   include/ntp_machine.h
   include/ntp_select.h
   include/ntp_syslog.h
   include/ntp_unixtime.h
   include/ntpd.h
   libntp/libntp.mak
   libntp/machines.c
   libntp/mexit.c
   libntp/msyslog.c
   libntp/systime.c
   ntpdate/ntpdate.c
   ntpdate/ntpdate.mak
   ntpq/ntpq.c
   ntpq/ntpq.mak
   ntpq/ntpq_ops.c
   ntptrace/ntptrace.c
   ntptrace/ntptrace.mak
   xntpd/ntp_config.c
   xntpd/ntp_filegen.c
   xntpd/ntp_intres.c
   xntpd/ntp_io.c
   xntpd/ntp_loopfilter.c
   xntpd/ntp_peer.c
   xntpd/ntp_proto.c
   xntpd/ntp_refclock.c
   xntpd/ntp_timer.c
   xntpd/ntp_unixclock.c
   xntpd/ntp_util.c
   xntpd/ntpd.c
   xntpd/xntpd.mak
   xntpdc/ntpdc.c
   xntpdc/xntpdc.mak

- config.guess might need help to identify:

  Fujitsu's UXP				--enable-adjtime-is-accurate
					--enable-step-slew

  Unixware				--enable-adjtime-is-accurate
					--enable-tick=10000
					--enable-tickadj=80
					--enable-udp-wildcard
					--disable-step-slew

  DomainOS				--enable-adjtime-is-accurate
					--disable-kmem
					--enable-tick=1000000

  OpenVMS				--enable-slew-always
					--enable-hourly-todr-sync

  Is adjtime accurate on ALL sysv4* machines?
  Can we identify DomainOS with *-apollo-* ?
  Do we catch all Unixware machines with *-univel-sysv* ?

- Combine enable-step-slew and enable-ntpdate-step

- Make sure enable-hourly-todr-sync is always disabled
  What about NextStep and OpenVMS, where hourly TODR sync used to be enabled?

- Check dcfd.c for variables that need to be volatile.
@


1.1
log
@Initial revision
@
text
@d4 2
a18 4
CPP macros we need to handle:

 SUN_3_3_STINKS  (this will be easy to handle if anybody still needs it)

a116 2
- How can we test if UDP_WILDCARD_DELIVERY should be used?

@


1.1.1.1
log
@Virgin import of ntpd 4.0.98f
@
text
@@


1.1.1.1.2.1
log
@MFC: ntp 4.1.0.

	See ChangeLog for all the many changes/bug fixes/new drivers.

	This code has been in CURRENT for months and several people use
	this version on 4.4-STABLE.

Approved by:	re
@
text
@a3 2
010402: Look harder at -lm and -lelf - they are needed less and less...

@


1.1.1.2
log
@Virgin import of ntpd 4.1.0
@
text
@a3 2
010402: Look harder at -lm and -lelf - they are needed less and less...

@


1.1.1.3
log
@Virgin import of ntpd 4.2.0
@
text
@d19 4
@


1.1.1.3.8.1
log
@SVN rev 182752 on 2008-09-04 12:49:54Z by roberto

MFH ntpd 4.2.4p5.

Main difference with the stable/7 merge is that 6.x does not support -lrt and
the corresponding *timer functions.

Approved by:	re (kensmith)
@
text
@d117 2
@


1.1.1.3.18.1
log
@SVN rev 182716 on 2008-09-03 08:49:07Z by roberto

MFH ntpd 4.2.4p5.

Approved by:	re (kensmith)
@
text
@d117 2
@


