Happy new year, here is a late (or very early?) present.

I spent some time this holiday season getting OpenNTPD-portable back into 
shape with a new build tree. I hope to do an initial release in a few days to
go with the OpenBSD 5.7 beta switch.

In the mean time, I have published the source tree to:

  https://github.com/openntpd-portable/

Like LibreSSL-portable, it uses scripts to generate a release directly from the
OpenBSD source tree. It also shares portions with LibreSSL, like the
arc4random/getentropy compatibility code.

In the course of porting, Ineeded to make a few patches to the source tree in
order to get things working. To make the port easier to maintain over time, it
is nice to get the general fixes applied upstream as long as they don't muddy
the waters too much.

Following this email, I am sending the first batch of 5 easy build-related
patches to help make OpenNTPD more platform-independent.

[PATCH 01/16] include time.h for strftime, clock_gettime
[PATCH 02/16] removed unused libevent header and structures in ntpd.h
[PATCH 03/16] remove unused dns_pid
[PATCH 04/16] add MAX macro, used in a few places in ntpd
[PATCH 05/16] rename the s_un socket to avoid a variable called 'sun'

There are more patches that I can send later. They get less interesting from
an OpenBSD PoV the higher they get. I don't want to create a patch deluge or
abuse your bandwidth more than necessary, but you can check them out here:

https://github.com/openntpd-portable/openntpd-portable/tree/master/patches

Thanks to everyone who has helped so far with initial testing, feedback, and
support.

  - Brent

Reply via email to