FTP Proxy for distfile mirror (was Re: [84270] trunk/dports/devel/byacc/Portfile)

Daniel J. Luke dluke at geeklair.net
Thu Sep 22 07:47:09 PDT 2011


On Sep 22, 2011, at 10:32 AM, Joshua Root wrote:
> On 2011-9-23 00:05 , Daniel J. Luke wrote:
>> 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.)

Oh cool, I didn't realize squid did ftp proxy.

building it now...

Just need to allow distfiles.macports.org / 17.254.20.244, right?

>>>> 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.


--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-dev mailing list