Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625616 - net-dns/dnsmasq and sys-apps/systemd - unify semantics of libidn2 useflag
Summary: net-dns/dnsmasq and sys-apps/systemd - unify semantics of libidn2 useflag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-19 09:32 UTC by Dennis Schridde
Modified: 2017-08-01 22:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2017-07-19 09:32:33 UTC
sys-apps/systemd treats USE=libidn2 as a sub-choice of USE=idn (USE=libidn2 depends on USE=idn being enabled and acts as the choice of implementation instead of as the choice of feature), similar to USE=ssl works in conjunction with USE=libressl and USE=gnutls (selecting the LibreSSL or GnuTLS implementation of SSL instead of the OpenSSL implementation) in many packages.  For net-dns/dnsmasq, on the other hand, the choice is exclusive: Both flags cannot be enabled at the same time.  Either dnsmasq uses net-dns/libidn (USE=idn) or net-dns/libidn2 (USE=libidn2).  It would be great if the semantics of the useflag in both packages could be unified.
Comment 1 Mike Gilbert gentoo-dev 2017-07-22 19:44:35 UTC
I prefer the approach I have taken in the systemd ebuild, and would prefer the dnsmasq ebuild be modified to match it.
Comment 2 Patrick McLean gentoo-dev 2017-08-01 22:45:47 UTC
commit 06cd85532dc39498e24c0a3364e0fcf689219e3e
Author: Patrick McLean <chutzpah@gentoo.org>
Date:   Tue Aug 1 15:44:58 2017 -0700

    net-dns/dnsmasq: Revision bump on 2.77, unify idn/libidn2 USE semantics

    Make the "libidn2" USE flag a sub-flag of "idn", as described in the
    bug.

    Gentoo-Bug: 625616
    Package-Manager: Portage-2.3.6, Repoman-2.3.3