From c2aaeefffb04decbbf54c12a9e2dd92af4ecb38c Mon Sep 17 00:00:00 2001 From: mishka Date: Mon, 9 Oct 2006 13:15:07 +0000 Subject: Add documentation for MASTER_SORT_RANDOM variable. --- doc/guide/files/build.xml | 8 +++++--- doc/guide/files/using.xml | 10 +++++++++- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/guide/files/build.xml b/doc/guide/files/build.xml index 272c1a42255..a8764a25692 100644 --- a/doc/guide/files/build.xml +++ b/doc/guide/files/build.xml @@ -1,4 +1,4 @@ - + The build process @@ -354,8 +354,10 @@ defined, else MASTER_SITES or PATCH_SITES, as applies, then finally the value of MASTER_SITE_BACKUP. The order of - all except the first can be optionally sorted by the user, - via setting either MASTER_SORT_AWK or + all except the first and the last can be optionally sorted + by the user, via setting either + MASTER_SORT_RANDOM, and + MASTER_SORT_AWK or MASTER_SORT_REGEX. diff --git a/doc/guide/files/using.xml b/doc/guide/files/using.xml index 714abe53a47..3e26ead75a3 100644 --- a/doc/guide/files/using.xml +++ b/doc/guide/files/using.xml @@ -1,4 +1,4 @@ - + Using pkgsrc @@ -285,6 +285,14 @@ Version mismatch: 'tcsh' 6.09.00 vs 6.10.00 DISTDIR=/cdrom/pkgsrc/distfiles to your mk.conf. + By default a list of distribution sites will be randomly + intermixed to prevent huge load on servers which holding popular + packages (for example, SourceForge.net mirrors). Thus, every + time when you need to fetch yet another distfile all the mirrors + will be tried in new (random) order. You can turn this feature + off by setting MASTER_SORT_RANDOM=NO (for + PKG_DEVELOPERs it's already disabled). + You can overwrite some of the major distribution sites to fit to sites that are close to your own. By setting one or two variables you can modify the order in which the master sites are -- cgit v1.2.3