[MacPorts] #53546: Add IPv4 and IPv6 flag (-4, -6)

MacPorts noreply at macports.org
Sat Feb 11 13:49:37 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 l2dy):

 MacPorts could not magically pick the right stack so I have to manually
 specify that.

 The situation is rather complicated. In my school, IPv6 is not metered
 while IPv4 is, so I'd prefer download only using IPv6 (use `-6`). However,
 only wired connection has IPv6 Internet access, the school Wi-Fi gives me
 an IPv6 address and gateway but has no IPv6 connectivity (use `-4`).

 My proposal is to add the two global options to port(1) so I could pick
 the right stack manually. The expected behavior is the same as curl's.

--
Ticket URL: <https://trac.macports.org/ticket/53546#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list