Hi,
On Mon, Apr 06, 2026 at 04:09:22PM +0300, Martin---ric Racine wrote:
> PS: I forgot to ask, would anybody be willing to port OpenNTPd to
> Hurd? It has FTBS for quite a while. It's the closest thing we have to
> timesyncd on Hurd. Once it build, I'd add it as a Build-Depends for
> Hurd to enable automatic addition of the matching dhcpcd exit hook.
> Thanks!
I've just created merge request number 6 [1] at salsa with my attempt
at porting OpenNTPd to Hurd. It should build now on hurd-amd64 at least.
What I did:
* modified the build system to recognize GNU as a target OS.
* replaced IOV_MAX with a reallocating array.
* copy over the DARWIN (OS X) "implementation" of adjfreq to be
used for GNU (I need to fix comments, it can be done after review)
What I couldn't do:
* test the build program. I'm not sure how to do that
* make the debian patch to be named as I wanted (port-hurd.patch)
* prevent `gbp pq export` from touching every single patch file in
the debian/patches directory :/
I think that's all. Let me know what you think!
Regards,
Diego
--
[1] https://salsa.debian.org/debian/openntpd/-/merge_requests/6