net-dns/pdns-recursor: add USE flag for dns-over-tls

pdns-recursor supports forcing DNS over TLS to listed authoritative
nameservers in dot-to-auth-names configuration setting which is only
accessible when --enable-dns-over-tls is specified.

See: a227f47d33
See: https://docs.powerdns.com/recursor/settings.html#dot-to-auth-names

Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
Closes: https://bugs.gentoo.org/959753
Closes: https://github.com/gentoo/gentoo/pull/42937
Signed-off-by: Sven Wegener <swegener@gentoo.org>
This commit is contained in:
Bertrand Jacquin 2025-07-09 11:54:50 +01:00 committed by Sven Wegener
parent 70a99191d8
commit 8e5320b3f0
No known key found for this signature in database
GPG Key ID: D1FE29EE7601521F
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,7 @@ It also has built-in hooks for making graphs with rrdtool, providing insight int
nameserver performance.
</longdescription>
<use>
<flag name="dns-over-tls">Enable support for DNS over TLS</flag>
<flag name="dnstap">Enable support for dnstap</flag>
<flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> for cryptography</flag>
</use>

View File

@ -59,7 +59,7 @@ SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2 ${CARGO_CRATE_
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE="debug dnstap snmp sodium systemd test valgrind"
IUSE="debug dns-over-tls dnstap snmp sodium systemd test valgrind"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
@ -101,6 +101,7 @@ src_configure() {
--with-lua="${ELUA}" \
$(use_enable debug verbose-logging) \
$(use_enable systemd) \
$(use_enable dns-over-tls) \
$(use_enable dnstap dnstap) \
$(use_enable test unit-tests) \
$(use_enable valgrind) \