Bug 210896 - net-dns/dnsmasq doesn't respect the USE="-ipv6"
Bug#: 210896 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: chutzpah@gentoo.org Reported By: mindchild@yahoo.com
Component: Ebuilds
URL: 
Summary: net-dns/dnsmasq doesn't respect the USE="-ipv6"
Keywords:  InCVS
Status Whiteboard: 
Opened: 2008-02-20 16:36 0000
Description:   Opened: 2008-02-20 16:36 0000
dnsmasq ignores (more like doesn't look for) the ipv6 USE flag. Having "-ipv6"
in USE does not affect the way it is built.

Reproducible: Always

Steps to Reproduce:
1. USE="-ipv6" emerge dnsmasq (It can be done 100 ways. This is just an in your
face example)
2. /etc/init.d/dnsmasq start
3. grep dnsmasq /var/log/messages | grep IPv6

Actual Results:  
You will notice the following:

Feb 20 07:28:48 MyMachine dnsmasq[5134]: compile time options: IPv6 GNU-getopt
no-ISC-leasefile no-DBus no-I18N no-TFTP


Expected Results:  
It should have been:

Feb 20 07:28:48 MyMachine dnsmasq[5134]: compile time options: no-IPv6
GNU-getopt no-ISC-leasefile no-DBus no-I18N no-TFTP

I am able to compile dnsmasq without ipv6 support by running the following:

COPTS+="-DNO_IPV6" emerge dnsmasq

It took me quite a while to figure out why dnsmasq wasn't responding properly.
Once ipv6 support was removed (I didn't have it enabled in the kernel or any
other software that I am aware of) everything worked fine.

------- Comment #1 From Patrick McLean 2008-02-21 15:57:19 0000 -------
Fixed in net-dns/dnsmasq-2.41