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: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-07-11 09:58 UTC by ayuayuayu
Modified: 2024-12-01 12:12 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"
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-18 16:48:42 UTC
(In reply to Martin Mokrejš from comment #1)
> There also isn't a startup script

I think these issues belong in their own bug.
Comment 3 Larry the Git Cow gentoo-dev 2024-12-01 12:12:41 UTC
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(+)