Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857582 - net-dns/getdns-1.7.0-r1: specify docdir, mandir for stubby
Summary: net-dns/getdns-1.7.0-r1: specify docdir, mandir for stubby
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-11 09:58 UTC by ayuayuayu
Modified: 2023-02-24 08:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
specify docdir, mandir for stubby (getdns-1.7.0-r1.ebuild.stubby-docdir.patch,2.00 KB, patch)
2022-07-11 09:58 UTC, ayuayuayu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ayuayuayu 2022-07-11 09:58:03 UTC
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
Comment 1 Martin Mokrejš 2023-02-24 08:03:33 UTC
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"