How to prevent fetching from macports mirrors

Ryan Schmidt ryandesign at macports.org
Wed Mar 21 22:04:21 UTC 2018


On Mar 21, 2018, at 16:57, db wrote:

> On 21 Mar 2018, at 00:54, Ryan Schmidt wrote:
>> On Mar 20, 2018, at 09:21, db wrote:
>>> How do you blacklist MP mirrors? Like so: host_blacklist  *.packages.macports.org ?
>> I don't think it supports wildcards. List each complete hostname you want to blacklist.
> 
> 
> This doesn't seem to work either.
> 
> host_blacklist          https://distfiles.macports.org/ http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/ http://ywg.ca.distfiles.macports.org/mirror/macports/distfiles/ http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/ https://pek.cn.distfiles.macports.org/macports/distfiles/ http://lil.fr.distfiles.macports.org/ http://nue.de.distfiles.macports.org/ http://her.gr.distfiles.macports.org/ http://jog.id.distfiles.macports.org/macports/distfiles/ http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/ http://kmq.jp.distfiles.macports.org/ http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/ http://osl.no.distfiles.macports.org/ http://jnb.za.distfiles.macports.org/distfiles/ http://cjj.kr.distfiles.macports.org/ http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/ http://sea.us.distfiles.macports.org/macports/distfiles/

List only the hostnames, not full URLs. So e.g. list ywg.ca.distfiles.macports.org, not http://ywg.ca.distfiles.macports.org/mirror/macports/distfiles/.



More information about the macports-dev mailing list