On 2026-08-30 13:36, Atanas Vladimirov wrote:
On 2026-08-30 09:07, Thomas Kupper wrote:
Good Morning,
A few days ago chrony 4.9 was released with support for OpenBSD
including pledge(2) support and support for refclock driver for
OpenBSD timedelta sensors.
I'd very much welcome feedback and testing of chrony.
For anyone not knowing what chrony is used for, here a short
introduction:
chrony is a versatile implementation of the Network Time Protocol
(NTP). It can synchronise the system clock with NTP servers, reference
clocks (e.g. GPS receiver), and manual input using wristwatch and
keyboard. It can also operate as an NTPv4 (RFC 5905) server and peer
to provide a time service to other computers in the network.
The news about 4.9 (and previous versions) can be found at :
https://chrony-project.org/news.html
Find attached the OpenBSD ports archive for it.
It run under the user _chrony which would have to be added to the
user.list beforehand with user ID 906, the lowest unused ID as of
today/2026-08-30.
---
diff -us infrastructure/db/user.list{.orig,}
--- infrastructure/db/user.list.orig Sun Aug 30 07:49:54 2026
+++ infrastructure/db/user.list Sun Aug 30 07:49:15 2026
@@ -414,3 +414,4 @@
903 _iaxmodem _iaxmodem telephony/iaxmodem
904 _neighbot _neighbot net/neighbot
905 _pgweb _pgweb www/pgweb
+906 _chrony _chrony net/chrony
---
The archive's content corresponds to tag 4.9 on my git repo
https://git.sr.ht/~patient0/chrony-OpenBSD-ports
A note regarding dependencies:
- it links against gnutls and nettle. On -current gnutls links against
nettle 4 (security/nettle) and that is how this port is setup at the
moment.
On OpenBSD < 8.0 gnutls links against nettle 3, named
security/libnettle. If one wants to compile chrony for OpenBSD < 8.0
you would have to change the Makefile accordingly.
Does it make sense to adapt the Makefile to handle this situation or
is handling -current only recommended?
Have an excellent Sunday
/Thomas
Hey Thomas, thanks!
I'm already testing your port (on -current) and it works for me :).
Good job!
Have a wonderfull Sunday,
Atanas
Hey Stuart,
Do you think that we can have this chrony 4.9 port merged?
Or there are things that have to be addressed before that?
Best wishes,
Atanas