commit:     d668f0e3fcf4db6a21ee016c2c9962567043825e
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Wed Jan 20 18:25:29 2021 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 18:25:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d668f0e3

net-dns/dnsmasq: Revbumps, fix USE=dnssec (bug #766264)

Closes: https://bugs.gentoo.org/766264
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 net-dns/dnsmasq/{dnsmasq-2.83.ebuild => dnsmasq-2.83-r1.ebuild}   | 8 +++++---
 .../{dnsmasq-2.83-r100.ebuild => dnsmasq-2.83-r101.ebuild}        | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/net-dns/dnsmasq/dnsmasq-2.83.ebuild 
b/net-dns/dnsmasq/dnsmasq-2.83-r1.ebuild
similarity index 97%
rename from net-dns/dnsmasq/dnsmasq-2.83.ebuild
rename to net-dns/dnsmasq/dnsmasq-2.83-r1.ebuild
index 374fe7bd87e..99cb4bc13be 100644
--- a/net-dns/dnsmasq/dnsmasq-2.83.ebuild
+++ b/net-dns/dnsmasq/dnsmasq-2.83-r1.ebuild
@@ -53,8 +53,10 @@ RDEPEND="${COMMON_DEPEND}
 
 REQUIRED_USE="
        dhcp-tools? ( dhcp )
+       dnssec? ( !nettlehash )
        lua? ( script )
-       libidn2? ( idn )"
+       libidn2? ( idn )
+"
 
 use_have() {
        local no_only
@@ -111,8 +113,8 @@ src_configure() {
                $(use_have lua luascript)
                $(use_have -n script)
                $(use_have -n tftp)
-               $(use_have -n dnssec)
-               $(use_have -n nettlehash)
+               $(use_have dnssec)
+               $(use_have nettlehash)
                $(use_have static dnssec_static)
                $(use_have -n dumpfile)
        )

diff --git a/net-dns/dnsmasq/dnsmasq-2.83-r100.ebuild 
b/net-dns/dnsmasq/dnsmasq-2.83-r101.ebuild
similarity index 98%
rename from net-dns/dnsmasq/dnsmasq-2.83-r100.ebuild
rename to net-dns/dnsmasq/dnsmasq-2.83-r101.ebuild
index 71ebbbf4e3e..17dff7c71fc 100644
--- a/net-dns/dnsmasq/dnsmasq-2.83-r100.ebuild
+++ b/net-dns/dnsmasq/dnsmasq-2.83-r101.ebuild
@@ -55,11 +55,13 @@ RDEPEND="${COMMON_DEPEND}
 
 REQUIRED_USE="
        dhcp-tools? ( dhcp )
+       dnssec? ( !nettlehash )
        lua? (
                script
                ${LUA_REQUIRED_USE}
        )
-       libidn2? ( idn )"
+       libidn2? ( idn )
+"
 
 use_have() {
        local no_only
@@ -116,8 +118,8 @@ src_configure() {
                $(use_have lua luascript)
                $(use_have -n script)
                $(use_have -n tftp)
-               $(use_have -n dnssec)
-               $(use_have -n nettlehash)
+               $(use_have dnssec)
+               $(use_have nettlehash)
                $(use_have static dnssec_static)
                $(use_have -n dumpfile)
        )

Reply via email to