[Bug 213898] net/mDNSResponder unconditionally enables IPV6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 29 20:05:23 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213898

            Bug ID: 213898
           Summary: net/mDNSResponder unconditionally enables IPV6
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: mi at FreeBSD.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org

Created attachment 176292
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176292&action=edit
Turn off HAVE_IPV6, if WITHOUT contains "IPV6"

The port goes through some effort to enable IPV6 functionality. Unfortunately,
it does so unconditionally -- even where the OS and the kernel are built
without it. On such systems the resulting daemons refuse to even start:

% /usr/local/bin/mDNSResponderPosix ....
socket AF_INET6: Address family not supported by protocol family

The enclosed patch examines the local machine's WITHOUT-setting and turns off
the HAVE_IPV6 flag, if IPV6 is disabled.

Rebuilt thus, the daemon can start on my machines here.

The proper fix would've been for the upstream to stop treating the run-time
absence of AF_INET6-support as fatal. But that may be too much for the port to
fix...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list