[84270] trunk/dports/devel/byacc/Portfile

Joshua Root jmr at macports.org
Thu Sep 22 07:32:41 PDT 2011


On 2011-9-23 00:05 , Daniel J. Luke wrote:
> On Sep 22, 2011, at 12:15 AM, Joshua Root wrote:
>>> I think I asked before, but could we just set up a proxy so that the distfile mirror can get ftp hosted files?
>>
>> Sure. This would obviously have to be on a network other than Apple's,
>> so someone would have to volunteer to host it. Then it would just be a
>> matter of setting proxy_ftp in the macports.conf used by the mirror job.
> 
> Does anyone have experience setting up a proxy like this? I have a host I can put it on. It looks like apache2 with mod_proxy_ftp can do it (although all the examples I've seen online are for reverse proxy and not forward proxy configs).
> 
> I can look at it when I get some spare time if no one else has done it before ;-)

It should be quite straightforward with squid. It would be pretty much
just a default config plus a single entry ACL to deny access to hosts
other than the mirror. (And set the storage size to zero if you don't
want to cache anything.)

>>> or, if we can fetch with ftp from one of the non-apple supplied mirrors (I think they exist), can't we just have the main distfiles mirror pull those distfiles from them?
>>
>> That's what happened in the past with the trd.no mirror (which has been
>> down for a long time but is still planned to make a comeback). All the
>> other mirrors just rsync from the primary one.
> 
> 
> How much space does the mirror take now? It might be simpler for me to just run a mirror...

Bill (or someone else hosting a mirror) will have to answer this one.

- Josh


More information about the macports-dev mailing list