Subject: Re: CVS commit: pkgsrc
To: SUNAGAWA Keiki <uebayasi@soum.co.jp (Masao Uebayashi), kei@netbsd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: pkgsrc-changes
Date: 06/23/2002 09:19:56
In article <20020623.223442.68544705.uebayasi@soum.co.jp>,
	uebayasi@soum.co.jp (Masao Uebayashi) writes:
>> Thomas> Why is this necessaty?
> 
> Possibly to make the MASTER_SITES of mozilla customizable?

There's a more natural way to do this. The japanese mirror
isn't even one of MASTER_SITES of mozilla by default, so
the casual user won't even know the capability is there.
 
> How about that all MASTER_SITES can be overrided by
> MASTER_SITES.whatever?

Not necessary. See the descriptions for MASTER_SORT and
MASTER_SORT_REGEX in "bsd.pkg.defaults.mk". Moreover, I can't
imagine anybody wanting to set a URI for every single package.
Can you? If it comes to that, the user can download into
"distfiles" by hand. MASTER_SORT is way better, because it
applies generally to all packages.

What you really want, I think, is accomplished by setting
`MASTER_SORT=.jp' and adding the ".jp" mirrors to
${MASTER_SITES}. I don't see any reason why all known
(working) mirrors shouldn't be added to MASTER_SITES, as the
mirrors at the bottom of the list would rarely get hit unless
the user sets MASTER_SORT or MASTER_SORT_REGEX anyway.

So, if japanese mirror is added to mozilla's MASTER_SITES,
then MASTER_SITE_MOZILLA becomes unnecessary. 

-- 
Frederick