pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: distfile mirror site preferences and how to influence them?



On Fri, Dec 09, 2016 at 04:00:36PM +0000, Jonathan Perkin wrote:
> * On 2016-12-09 at 15:37 GMT, John D. Baker wrote:
> 
> > There is a group of systems I keep updated that seem to insist on fetching
> > package distfiles predominantly from European mirror sites.  Since that
> > means transatlantic (or longer) communication (systems are in Texas,
> > USA), the speeds are usually throttled to no more than dialup (5KB/s,
> > sometimes less).  This makes updating packages like Firefox and LibreOffice
> > take 12 hours, sometimes a few days to fetch their distfiles.
> > 
> > I see "MASTER_SORT" and "MASTER_SORT_REGEX" as the only tools to influence
> > fetch locations.  "MASTER_SORT" being inclusive rather than exclusive
> > would make it tedious to use.  I can probably make "MASTER_SORT_REGEX"
> > say "not these patterns."
> > 
> > Any other suggestions?
> 
> MASTER_SITE_OVERRIDE.

That and potentially using POST_FETCH_HOOK to upload missing distfiles
to your own local mirror. That's what I am doing for bulk builds and in
the office.

Joerg


Home | Main Index | Thread Index | Old Index