Created attachment 790994 [details, diff] specify docdir, mandir for stubby * QA Notice: The ebuild is installing to one or more unexpected paths: * * /usr/share/doc/stubby * * Please fix the ebuild to use correct FHS/Gentoo policy paths. use CMAKE_INSTALL_DOCDIR for stubby, as in net-dns/getdns/files/getdns-1.7.0-docdir.patch . i have it going to ${CMAKE_INSTALL_DOCDIR}/stubby . also use CMAKE_INSTALL_MANDIR for stubby, as in upstream pull request: https://github.com/getdnsapi/getdns/pull/515
There also isn't a startup script https://github.com/getdnsapi/stubby/issues/93 . There is no ready-made config file, which should be in yml format , probably in /etc/stubby/stubby.yml ? See https://dnsprivacy.org/dns_privacy_daemon_-_stubby/configuring_stubby/ , there is a link to an example file. The page https://www.nic.cz/odvr/ has an another config file for their publicly open DNS servers: resolution_type: GETDNS_RESOLUTION_STUB dnssec_return_status: GETDNS_EXTENSION_TRUE dns_transport_list: - GETDNS_TRANSPORT_TLS tls_authentication: GETDNS_AUTHENTICATION_REQUIRED tls_query_padding_blocksize: 128 edns_client_subnet_private : 1 idle_timeout: 10000 listen_addresses: - 127.0.0.1 - 0::1 round_robin_upstreams: 1 upstream_recursive_servers: #IPv4 ODVR - address_data: 193.17.47.1 tls_auth_name: "odvr.nic.cz" - address_data: 185.43.135.1 tls_auth_name: "odvr.nic.cz" #IPv6 ODVR - address_data: 2001:148f:ffff::1 tls_auth_name: "odvr.nic.cz" - address_data: 2001:148f:fffe::1 tls_auth_name: "odvr.nic.cz"
(In reply to Martin Mokrejš from comment #1) > There also isn't a startup script I think these issues belong in their own bug.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df7eb9bcfa9ef003b6145b781a759cfad4739fcd commit df7eb9bcfa9ef003b6145b781a759cfad4739fcd Author: Han Mertens <hanmertens@outlook.com> AuthorDate: 2024-10-17 19:09:28 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-01 12:09:02 +0000 net-dns/getdns: add 1.7.3 Apart from the version bump, this - introduces the `minimal` USE flag to build in stub resolution mode only, removing the dependency on `net-dns/unbound` (bug 803497) - fixes installation paths of stubby (bugs 828724 and 857582) - fixes linking to `dev-libs/gmp` when linking to `net-libs/gnutls`; see https://github.com/gentoo/gentoo/pull/29459#pullrequestreview-1314483307 Bug: https://bugs.gentoo.org/803497 Closes: https://bugs.gentoo.org/828724 Closes: https://bugs.gentoo.org/857582 Signed-off-by: Han Mertens <hanmertens@outlook.com> Closes: https://github.com/gentoo/gentoo/pull/39022 Signed-off-by: Sam James <sam@gentoo.org> net-dns/getdns/Manifest | 1 + .../getdns/files/getdns-1.7.3-cmake-linking.patch | 40 +++++++++ .../getdns/files/stubby-0.4.3-install-dir.patch | 28 +++++++ net-dns/getdns/getdns-1.7.3.ebuild | 97 ++++++++++++++++++++++ net-dns/getdns/metadata.xml | 1 + 5 files changed, 167 insertions(+)