[Bug 260645] net-p2p/prowlarr Tell .NET to disable ipv6 when system has not configured it

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 23 Dec 2021 16:41:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260645

            Bug ID: 260645
           Summary: net-p2p/prowlarr Tell .NET to disable ipv6 when system
                    has not configured it
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: michiel@vanbaak.eu
 Attachment #230353 maintainer-approval+
             Flags:

Created attachment 230353
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=230353&action=edit
0001-net-p2p-prowlarr-Disable-.NET-ipv6-if-system-has-not.patch

As stated in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259194#c17 .NET
6+ use dual mode sockets to avoid the separate AF handling.

This breaks on systems (jails) where ipv6 is not enabled.
This patch detects this on prowlarr starts and disables .NET ipv6 support if no
ipv6 is configured.

testport ok
runs on my 13.0 system

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