summaryrefslogtreecommitdiff
path: root/net-dns/knot-resolver/files/knot-resolver-6.0.9-config-example.patch
AgeCommit message (Collapse)Author
2024-12-01net-dns/knot-resolver: add 6.0.9Nicolas PARLANT
Knot DNS API/ABI : >=net-dns/knot-3.3 New optional python component, manager, to start/manage Knot Resolver : * useflag manager (enabled by default) * python3_10..12 (no 3.13 due to app-admin/supervisor) * start with /etc/init.d/knot-resolver or knot-resolver.service * config file : /etc/conf.d/knot-resolver /etc/knot-resolver/config.yaml * option garbage collector : /etc/init.d/kres-cache-gc Old/legacy way to start Knot Resolver is still supported and installed by default, even with the manager enabled by useflag : * start with /etc/init.d/kresd or kresd'@'.service (installed by default with the meson_feature systemd_legacy_units) * config file : /etc/conf.d/kresd /etc/kresd.conf (installed by default with -Dinstall_kresd_conf=enabled) Useflags : * kresc (removed) : has never gone beyond experiment/alpha * prometheus (new) : prometheus metrics endpoint for the manager (dev-python/prometheus-client) Patches : * 5.X patches to set docdir and optional deps (nghttp, openssl) * 6.0.9-libsystemd.patch : rebase from 5.7.4. tmpfiles is independent of the systemd option/useflag * 6.0.9-config-example.patch : for the manager. A default config file is installed in /etc/knot-resolver/config.yaml and examples in /usr/share/doc/ * 6.0.9-sd_notify_alt.patch : upstream, fix systemd dep with sd_notify alternative for manager * 6.0.9-pytest_tomli.patch : for one pytest, import toml is replaced with tomli Tests : * unit_tests for kresd : enabled * unit_tests for manager : enabled * config_tests : disabled. It requires external lua modules (basexx, cqueues) * extra_tests : disabled. Too extra ... Bug: https://bugs.gentoo.org/939471 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Closes: https://github.com/gentoo/gentoo/pull/39482 Signed-off-by: Sam James <sam@gentoo.org>