[MacPorts] #53546: Add IPv4 and IPv6 flag (-4, -6)
MacPorts
noreply at macports.org
Sat Feb 11 11:03:55 UTC 2017
#53546: Add IPv4 and IPv6 flag (-4, -6)
--------------------------+-----------------
Reporter: l2dy | Owner:
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version:
Resolution: | Keywords:
Port: |
--------------------------+-----------------
Comment (by ryandesign):
Could you describe the problem and your proposed solution in more detail?
It sounds like you're talking about a client that has both IPv4 and IPv6
connectivity, but one of these connections is "better" for this client for
some reason, but MacPorts picks the wrong one. What is your proposal for
how MacPorts should pick the better one?
How do other network-enabled programs on this hypothetical client avoid
the same problem?
You mention adding `-4` and `-6` flags. Reading the curl manpage, it seems
these options force the use of IPv4 and IPv6, respectively, so they are
effectively mutually exclusive. Are you suggesting that the user should be
able to specify whether to use IPv4 or IPv6 connections, for example with
a new setting in macports.conf?
Note that MacPorts doesn't run the `curl` program; it calls the libcurl
library directly. So we wouldn't be using `-4` or `-6` flags; we'd be
doing whatever the API equivalent of that is.
--
Ticket URL: <https://trac.macports.org/ticket/53546#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list