summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Retornaz <gentoo@retornaz.com>2019-05-18 17:08:21 +0200
committerAnthony G. Basile <blueness@gentoo.org>2019-05-20 12:33:20 -0400
commit0180802fa40f9be811137a3c07d76194d3129ad9 (patch)
tree317de52282b7ae8b6d3a09cfadb630cc498f9c2e /net-dns/getdns
parentapp-emulation/qemu: fix systemtap patch (diff)
downloadgentoo-0180802fa40f9be811137a3c07d76194d3129ad9.tar.gz
gentoo-0180802fa40f9be811137a3c07d76194d3129ad9.tar.bz2
gentoo-0180802fa40f9be811137a3c07d76194d3129ad9.zip
net-dns/getdns: remove libressl and add gnutls USE flags
Closes: https://bugs.gentoo.org/686184 Signed-off-by: Quentin Retornaz <gentoo@retornaz.com> Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'net-dns/getdns')
-rw-r--r--net-dns/getdns/getdns-1.5.2-r1.ebuild (renamed from net-dns/getdns/getdns-1.5.2.ebuild)11
-rw-r--r--net-dns/getdns/metadata.xml1
2 files changed, 9 insertions, 3 deletions
diff --git a/net-dns/getdns/getdns-1.5.2.ebuild b/net-dns/getdns/getdns-1.5.2-r1.ebuild
index 05ba4798a0f4..efd8d82744cb 100644
--- a/net-dns/getdns/getdns-1.5.2.ebuild
+++ b/net-dns/getdns/getdns-1.5.2-r1.ebuild
@@ -12,7 +12,9 @@ SRC_URI="https://getdnsapi.net/releases/${P//./-}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc +getdns_query +getdns_server_mon +idn libev libevent libressl libuv static-libs stubby +threads +unbound"
+IUSE="doc +getdns_query +getdns_server_mon gnutls +idn libev libevent libuv nettle static-libs stubby +threads +unbound"
+
+REQUIRED_USE="gnutls? ( nettle )"
# https://bugs.gentoo.org/661760
# https://github.com/getdnsapi/getdns/issues/407
@@ -22,11 +24,12 @@ DEPEND="
dev-libs/libbsd:=
dev-libs/libyaml:=
idn? ( net-dns/libidn2:= )
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
+ !gnutls? ( dev-libs/openssl:0= )
+ gnutls? ( net-libs/gnutls:0=[dane] )
libev? ( dev-libs/libev:= )
libevent? ( dev-libs/libevent:= )
libuv? ( dev-libs/libuv:= )
+ nettle? ( dev-libs/nettle:0= )
unbound? ( >=net-dns/unbound-1.4.16:= )
"
RDEPEND="
@@ -45,10 +48,12 @@ src_configure() {
$(use_enable static-libs static) \
$(use_with getdns_query) \
$(use_with getdns_server_mon) \
+ $(use_with gnutls) \
$(use_with idn libidn2) \
$(use_with libev) \
$(use_with libevent) \
$(use_with libuv) \
+ $(use_with nettle) \
$(use_with stubby) \
$(use_with threads libpthread) \
$(use_with unbound libunbound) \
diff --git a/net-dns/getdns/metadata.xml b/net-dns/getdns/metadata.xml
index 58710c149310..55534e1c9406 100644
--- a/net-dns/getdns/metadata.xml
+++ b/net-dns/getdns/metadata.xml
@@ -17,5 +17,6 @@
<flag name="libevent">Enable <pkg>dev-libs/libevent</pkg> support</flag>
<flag name="libev">Enable <pkg>dev-libs/libev</pkg> support</flag>
<flag name="libuv">Enable <pkg>dev-libs/libuv</pkg> support</flag>
+ <flag name="nettle">Use <pkg>dev-libs/nettle</pkg> as crypto backend</flag>
</use>
</pkgmetadata>