Module Name: pkgsrc
Committed By: mishka
Date: Sun Oct 8 11:37:39 UTC 2006
Modified Files:
pkgsrc/mk/defaults: mk.conf
pkgsrc/mk/fetch: fetch.mk
Log Message:
pkg/34695: Static list of package master sites may (and
often will)
lead to overloads of very first distribution site. Moreover,
if first
site in the list is not available (often seen for
sourceforge mirrors)
you have to wait for timeout each time. To distribute load
on master
distribution sites and to make second problem not so
annoying randomly
intermix list of MASTER_SITES with MASTER_SORT_RANDOM
feature. Any of
MASTER_SORT and MASTER_SORT_REGEX can be applied later.
The feature is turned ON by default and is disabled for
PKG_DEVELOPERs
or if MASTER_SORT_RANDOM=no.
To generate a diff of this commit:
cvs rdiff -r1.132 -r1.133 pkgsrc/mk/defaults/mk.conf
cvs rdiff -r1.21 -r1.22 pkgsrc/mk/fetch/fetch.mk
Please note that diffs are not public domain; they are
subject to the
copyright notices on the relevant files.
|