diff options
author | Pierre-Olivier Mercier <nemunaire@nemunai.re> | 2017-08-22 08:06:56 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-08-22 11:07:06 +0200 |
commit | 13770b8af63f1776a11d8da91a7f551bd7874f27 (patch) | |
tree | e98df441c7206cd7646cc154764907c884e7424f /net-dns | |
parent | net-dns/knot: add upstreamed MIPS compatibility patch (diff) | |
download | gentoo-13770b8af63f1776a11d8da91a7f551bd7874f27.tar.gz gentoo-13770b8af63f1776a11d8da91a7f551bd7874f27.tar.bz2 gentoo-13770b8af63f1776a11d8da91a7f551bd7874f27.zip |
net-dns/knot: add libidn2 USE flag
Closes: https://github.com/gentoo/gentoo/pull/5405
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/knot/knot-2.5.3-r1.ebuild | 7 | ||||
-rw-r--r-- | 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 </flag> + <flag name="libidn2"> + If IDN support is enabled, use net-dns/libidn2 instead + of net-dns/libidn + </flag> <flag name="noudp"> Enable the module which can send empty truncated responses to UDP queries |