From 13770b8af63f1776a11d8da91a7f551bd7874f27 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Tue, 22 Aug 2017 08:06:56 +0200 Subject: [PATCH] net-dns/knot: add libidn2 USE flag Closes: https://github.com/gentoo/gentoo/pull/5405 --- net-dns/knot/knot-2.5.3-r1.ebuild | 7 +++++-- net-dns/knot/metadata.xml | 4 ++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/net-dns/knot/knot-2.5.3-r1.ebuild b/net-dns/knot/knot-2.5.3-r1.ebuild index 82772faaabbc..1c8e08233e89 100644 --- a/net-dns/knot/knot-2.5.3-r1.ebuild +++ b/net-dns/knot/knot-2.5.3-r1.ebuild @@ -24,7 +24,7 @@ KNOT_MODULES=( "+synthrecord" "+whoami" ) -IUSE="doc caps +fastparser idn systemd +utils ${KNOT_MODULES[@]}" +IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}" RDEPEND=" >=net-libs/gnutls-3.3:= @@ -36,7 +36,10 @@ RDEPEND=" dev-libs/fstrm dev-libs/protobuf-c ) - idn? ( || ( net-dns/libidn >=net-dns/libidn2-2.0.0 ) ) + idn? ( + !libidn2? ( net-dns/libidn ) + libidn2? ( >=net-dns/libidn2-2.0.0 ) + ) dev-libs/libedit systemd? ( >=sys-apps/systemd-229 ) " diff --git a/net-dns/knot/metadata.xml b/net-dns/knot/metadata.xml index 35d8e8065306..9245494df34e 100644 --- a/net-dns/knot/metadata.xml +++ b/net-dns/knot/metadata.xml @@ -21,6 +21,10 @@ Use a zone file parser that is faster, but requires more memory and CPU time to compile + + If IDN support is enabled, use net-dns/libidn2 instead + of net-dns/libidn + Enable the module which can send empty truncated responses to UDP queries -- 2.26.2