>Number:         148836
>Category:       bin
>Synopsis:       Update to NTP in base system
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 22 10:30:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Niclas Zeising
>Release:        FreeBSD 9-CURRENT
>Organization:
>Environment:
>Description:
The NTP distribution in the FreeBSD base system is almost two years old, and 
new releases of NTP from www.ntp.org has come since it was imported. The patch 
located at http://www.lysator.liu.se/~zeising/FreeBSD/ntp-update/ updates NTP 
to the latest version available at this time (4.2.6p2). Note that the patches 
are the same;
http://www.lysator.liu.se/~zeising/FreeBSD/ntp-update/ntpupdate.diff is 
uncompressed, while
http://www.lysator.liu.se/~zeising/FreeBSD/ntp-update/ntpupdate.diff.bz2 is 
compressed with bz2.
The patch contains both the update to the NTP source in src/contrib/ntp and 
updates to the make files in src/usr.sbin/ntp to make it build.
The patch can be applied, while standing in the src directory, with 
patch -p0 < ntpupdate.diff .
I believe the new version of NTP works, but it might require some testing. Note 
that in the new distribution the HTML docs are excluded from the build since 
they can be found on the internet. It is possible to reconnect them though.

The patch above can't be used for a vendor import of ntp, since it doesn't take 
into account the vendor area. To import it, download ntp-4.2.6p2.tar.gz from
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.6p2.tar.gz
unpack it, and then remove the following files and directories:
ElectricFence
ports
html
lib/isc/win32
ntpd/ntp_parser.y
as these are not needed for the build.
The file 
http://www.lysator.liu.se/~zeising/FreeBSD/ntp-update/ntpupdate-no-vendor.diff 
then contains only the updates to make files in src/usr.sbin/ntp which also 
needs to be applied when doing the vendor update. I can't give more specific 
instructions regarding the vendor update, as I don't know how it is done. I 
will post updates to FREEBSD-upgrade and FREEBSD-Xlist later.

Please test it, and import it. If something is unclear just contact me.
//Niclas
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to