Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2002 18:51:57 -0400 (EDT)
From:      Trevor Johnson <trevor@jpj.net>
To:        "David E. O'Brien" <obrien@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: ports/Mk bsd.sites.mk
Message-ID:  <20020518182425.V12479-100000@blues.jpj.net>
In-Reply-To: <200205181847.g4IIld917658@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> obrien      2002/05/18 11:47:39 PDT
>
>   Modified files:
>     Mk                   bsd.sites.mk
>   Log:
>   Reduce the MASTER_SITE_PERL_CPAN list by 1/2.  There were _22_! sites.
>   The net has to be in *VERY* bad shape for you to fail on 21 sites and
>   finally get the needed file from the 22nd site.

By listing sites in Brazil, Costa Rica, Israel, New Zealand, Russia, and
South Africa, we made it possible for users there to fetch from within
their own country rather than from North America, Japan, or Europe.  By
setting MASTER_SORT or MASTER_SORT_REGEX in /etc/make.conf, users can
cause a particular site to be checked first.  Pretend for a moment that
you are Russian (break out the earmuffs if you have 'em), check out the
old bsd.sites.mk, go into /usr/ports/whatever/p5-Module/ and do:

	DISTDIR=`pwd` MASTER_SORT=".chg.ru .ru .su .ua" make fetch-list

or

	setenv DISTDIR `pwd`
	setenv MASTER_SORT ".chg.ru .ru .su .ua"
	make fetch-list

Notice how ftp.chg.ru floated to the top?

>   If the list was meant more do document possible sites for to list in
>   /etc/make.conf, they could be re-added as comments.
>
>   Revision  Changes    Path
>   1.85      +5 -16     ports/Mk/bsd.sites.mk
>
> http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/Mk/bsd.sites.mk.diff?&r1=1.84&r2=1.85&f=u

MASTER_SORT_REGEX is documented in the make.conf(5) man page.
MASTER_SORT may be documented somewhere too.
-- 
Trevor Johnson


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020518182425.V12479-100000>