Option for a "local mirror"?
ryandesign at macports.org
Wed Dec 22 19:40:46 PST 2010
On Dec 22, 2010, at 20:41, Joshua Root wrote:
> On 2010-12-23 11:20 , Marko Käning wrote:
>> it would be cool if one could somehow specify a local mirror. Since I am using more than only one MacPorts installation for testing purposes I'd love to have the ability to have a local mirror which would be accessed by all my different MacPorts installations prior to accessing some remote server. Does such an configuration option already exist? If not, I guess, it would be a great feature, don't you think?
> Are you aware of the MASTER_SITE_LOCAL environment variable?
Nope, hadn't heard of it! Looks helpful, though I think my way is more flexible, as I can specify any number of local computers' URLs, and it downloads from whichever one is on and/or has the file.
> Personally I just run squid.
I've never looked into squid... How does that work / relate to serving distfiles, or how is it better than just having, say, apache running?
More information about the macports-dev