aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2008-08-18 14:37:44 +0000
committerOllivier Robert <roberto@FreeBSD.org>2008-08-18 14:37:44 +0000
commite1e2a2059117d6d3d69f8d70ec7d52138711719d (patch)
treee02de569cccac9abaee43d6524e05d984dfe3eeb
parent0f58a72abb7c4a05ef558bc315dcfdc0806b7da6 (diff)
downloadsrc-e1e2a2059117d6d3d69f8d70ec7d52138711719d.tar.gz
src-e1e2a2059117d6d3d69f8d70ec7d52138711719d.zip
Move FREEBSD-upgrade as well.
Notes
Notes: svn path=/vendor/ntp/dist/; revision=181837
-rw-r--r--FREEBSD-upgrade45
1 files changed, 45 insertions, 0 deletions
diff --git a/FREEBSD-upgrade b/FREEBSD-upgrade
new file mode 100644
index 000000000000..feea46704643
--- /dev/null
+++ b/FREEBSD-upgrade
@@ -0,0 +1,45 @@
+# ex:ts=8
+#
+# $FreeBSD$
+
+NTP 4.2.0
+ originals can be found on ftp://ftp.udel.edu/pub/ntp/ntp4/
+
+For the import of NTP the following files were removed:
+
+ ports/* NT files
+ html/pic/* GIF files
+ ElectricFence/* Support for the ElectricFence library
+ (only useful if you want to debug ntpd)
+
+The stripped down version was created using FREEBSD-Xlist during extraction:
+
+ tar -X FREEBSD-Xlist -xvzf ntp-4.2.0.tar.gz
+ mv ntp-4.2.0 ntp
+
+Imported by:
+
+ cvs import -ko -m 'Virgin import of ntpd 4.2.0' \
+ src/contrib/ntp DMILLS v4_2_0
+
+./configure --disable-all-clocks --enable-NMEA --enable-ONCORE
+--enable-RAWDCF --with-crypto --disable-debugging
+--enable-LOCAL-CLOCK --with-sntp --with-arlib --prefix=/usr
+
+config.h was generated by running configure and excluding almost all clock
+drivers (what is included is DCF77 -- what I use --, NMEA, Motorola OnCORE
+and local clocks).
+
+The file is then edited to edit the value of "NO_PARENB_IGNPAR" because we
+need to set no parity on the serial port (needed for DCF77). All clock
+drivers are then disabled (some of them are included by default by ntpd).
+
+Note that there are two #ifdef to support other architectures (WRT to long
+size and endianness). They'll need to be redone for each upgrade to the
+vendor branch to keep config.h in sync.
+
+ntpd/ntp_control.c is now the only file that is different from the vendor
+branch for unsigned char/int fixes and removal of a DoS.
+
+Documentation in /usr/share/doc/ntp is generated from the HTML files with
+lynx (without the GIF files of course).