[MacPorts] #32018: mirror_sites.tcl fails to handle :port in URLs
MacPorts
noreply at macports.org
Wed May 16 03:00:47 PDT 2012
#32018: mirror_sites.tcl fails to handle :port in URLs
------------------------------------+---------------------------------------
Reporter: bettybronner@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts Future
Component: base | Version: 2.0.3
Keywords: | Port:
------------------------------------+---------------------------------------
Comment(by macosx12345@…):
I attached a patch to
`/opt/local/share/macports/Tcl/port1.0/fetch_common.tcl` (patch to
Macports 2.1.0).
I don't know if this solves this issue (likely yes), but it solves the
issue I raised on the mailing list on May, 15th 2012 about urls with port
numbers in archive_sites.conf .
The problem was that the function `portfetch::mirror_sites` assumed that
urls would contain one single colon (e.g. `http://mysite/`). With the
patch, a URL may now contain any number of colons.
Thanks for your kind consideration!
--
Ticket URL: <https://trac.macports.org/ticket/32018#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list