Ticket #20972 (closed enhancement: fixed)
Global master_sites option (in conf)
| Reported by: | chenggao@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 2.1.0 |
| Component: | base | Version: | 1.8.0 |
| Keywords: | Cc: | ||
| Port: |
Description
I really hope Macports can have two features:
1 Global master_sites option to override Portfile settings I find some sites (esp. sf.net) are very slow. For many ports, I have to manually download source tarballs from distfiles.macports.org and then rerun port install.
How about add a global option to allow us to use distfiles.macports.org only? It can override master_sites in all Portfiles.
Since it seems distfiles.macports.org mirror all files, the natural way is like this:
use_main_mirror yes
If set, all source tarballs will be downloaded from distfiles.macports.org.
Hope server is robust enough or at least smoke/fire-proof enough.
- Use some download acceleration tool like axel
It can accelerate and resume downloading.
If combined with above setting, once again I hope server is super robust and super smoke/fire-proof.
Change History
comment:2 in reply to: ↑ description Changed 3 years ago by andre.david@…
Replying to chenggao@…:
I really hope Macports can have two features:
- Use some download acceleration tool like axel
It can accelerate and resume downloading.
If combined with above setting, once again I hope server is super robust and super smoke/fire-proof.
I actually second the need to auto-resume partial downloads. From home it is virtually impossible to update a large package without this. And it is a feature that wget and (the new to me) axel support out of the box.
comment:3 in reply to: ↑ description Changed 2 years ago by markjfe@…
Addition to request no. 1 in the original post:
Request that option should be to select downloads site, not just a flag to force the master site. Ref #28054 which describes a similar issue.
comment:4 Changed 16 months ago by jmr@…
- Status changed from new to closed
- Resolution set to fixed
- Summary changed from Global master_sites option (in conf) and download acceleration to Global master_sites option (in conf)
Options for preferred and blacklisted servers added in r89459. "Download acceleration" is a whole other feature, so this should really have been two tickets, but I believe there are already other tickets covering that kind of thing anyway.

