]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/ntp/FREEBSD-upgrade
Fix a regression with SA-15:24 patch that prevented NIS from
[FreeBSD/releng/10.2.git] / contrib / ntp / FREEBSD-upgrade
1 # ex:ts=8
2 #
3 # $FreeBSD$
4
5 NTP 4.2.8
6         originals can be found on http://www.ntp.org/downloads.html
7
8 Import
9 ------
10
11 For the import of NTP the following files were removed:
12
13         ports/*             NT files
14         html/pic/*          GIF files
15         html/build/hints/solaris.xtra.4095849 Trigger merge conflict script
16
17 The stripped down version was created using FREEBSD-Xlist during
18 extraction:
19
20         tar -X FREEBSD-Xlist -xvzf ntp-4.2.8.tar.gz
21         mv ntp-4.2.8 4.2.8
22
23 Imported by:
24         See procedure on
25 https://www.freebsd.org/doc/en_US.ISO8859-1/articles/committers-guide/subversion-primer.html
26
27 Updating usr.sbin/ntp
28 ---------------------
29
30 ./configure --disable-all-clocks --enable-NMEA --enable-ONCORE
31 --enable-RAWDCF --with-crypto --disable-debugging
32 --enable-LOCAL-CLOCK --with-sntp --with-arlib --prefix=/usr
33
34 config.h was generated by running configure and excluding almost all clock
35 drivers (what is included is DCF77 -- what I use --, NMEA, Motorola OnCORE
36 and local clocks).
37
38 The file is then edited to edit the value of "NO_PARENB_IGNPAR" because we
39 need to set no parity on the serial port (needed for DCF77). All clock
40 drivers are then disabled (some of them are included by default by ntpd).
41
42 Note that there are two #ifdef to support other architectures (WRT to long
43 size and endianness). They'll need to be redone for each upgrade to the
44 vendor branch to keep config.h in sync.
45
46 ntpd/ntp_control.c is now the only file that is different from the vendor
47 branch for unsigned char/int fixes and removal of a DoS.
48
49 Documentation in /usr/share/doc/ntp is generated from the HTML files with
50 lynx (without the GIF files of course).
51
52 A patch to fix IPV6_MULTICAST_LOOP was committed to head as r222444 and
53 filed as http://bugs.ntp.org/show_bug.cgi?id=1936.  Check if still needed
54 or re-apply on update.
55