Hi,
Between countless parcel notifications in my inbox, I suddenly found this message...
...just moments after I posted my modification (which is entirely focussed on setup.py):
I'm now merging that with what's suggested here.
So it's getting further than before, but is not yet completing successfully.
Leo.
On Fri, 02 Jan 2026, Michael Grimm wrote:
Vladim??r ??un??t via knot-resolver-users
<knot-resolver-users(a)lists.nic.cz> wrote:
On 31/12/2025 13.37, Michael Grimm via
knot-resolver-users wrote:
> FYI: This is FreeBSD and kresctl tool
isn't available here.
OK, that's a complication. In 6.0.17 we
added FreeBSD support to code added in 6.x, and now we're in contact with the
maintainer of the [port], but the last version I saw didn't seem to package all parts
needed for YAML (e.g. executables called knot-resolver and kresctl).
In March 2024 I tried to create a FreeBSD port for knot-resolver-6.0.8. I got it compiled
after applying the following changes (see tar file attached). I do remember that I could
use kresctl in a poudriere testport jail, only, but I can't reproduce that as of
today, sorry.
(This is intended as a FYI, just in case it helps.)
1) files/patch-meson_options.txt
This adds a manager section to meson_options.txt.
With that I could tell meson to use '-Dmanager=enabled' within the
port's Makefile
This section is missing in 6.0.17 as well. If added meson log file tells me that a
manager is enabled.
I do not have the knowledge if that is necessary at all, though
2) files/patch-controller_supervisord_plugin_notifymodule.c
This patch addresses:
#) include sys/ucred.h
#) use LOCAL_PEERCRED instead of SO_PASSCRED
#) use 'struct xucred' instead of 'struct ucred'
#) use SCM_CREDS instead of SCM_CREDENTIALS
#) use cred.cr_pid instead of cred.pid as returned value
Again, I do not have the knowledge if that is of relevance at all.
I applied both patches to Leo's port and modified the Makefile accordingly (see tar),
and it compiles successfully; but is still lacking kresctl and knot-resolver.
I hope that this might be of interest for you.
Regards,
Michael