Removing/Blocking Specific Mirrors

Perry Lee perry at macports.org
Sat Aug 21 23:40:19 PDT 2010


On Aug 21, 2010, at 6:54 PM, Arno Hautala wrote:

> It's not exactly elegant and a MacPorts specific configuration file
> might be more desirable, but it'd work.

You can remove the mirror from ${ports_tree}/_resources/port1.0/fetch/mirror_sites.tcl.

376 set portfetch::mirror_sites::sites(sourceforge) {<
377     http://downloads.sourceforge.net/<
378     http://easynews.dl.sourceforge.net/<
379     http://internap.dl.sourceforge.net/<
380     http://voxel.dl.sourceforge.net/<

Note that if you're using the default rsync://rsync.macports.org/release/ports/, the next time you `port -d sync`, the mirror will come back.


More information about the macports-users mailing list