Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 1996 11:33:37 +0300 (MSK)
From:      "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" (Andrey A. Chernov) <ache@nagual.ru>
To:        asami@freebsd.org, ports@freebsd.org
Subject:   Multiply MASTER_SITES/DISTFILES
Message-ID:  <199611170833.LAA00490@nagual.ru>

next in thread | raw e-mail | index | archive | help
There is a thing bothered me so long...
F.e. file1 need to be fetched from site1 or its mirrors,
site1.1 site1.2 site1.3 ...
and file2 need to be fetched from site2
What happens now for file2 (in worst case):
it will be UNSUCCESSFULLY tried on site1, site1.1, site1.2 ... etc.
and at the end of meaningless sequense fetched from site2 :-(
Of course, you can reverse order of file1 and file2, but imagine
several mirrors for file2 f.e and you can't win.
I have many ports fails in that category.

My proposal:

To standard
MASTER_SITES -- DISTFILES -- EXTRACT_ONLY
add some amount of
MASTER_SITES1 -- DISTFILES1 -- EXTRACT_ONLY1
MASTER_SITES2 -- DISTFILES2 -- EXTRACT_ONLY2
MASTER_SITES3 -- DISTFILES3 -- EXTRACT_ONLY3
MASTER_SITESn -- DISTFILESn -- EXTRACT_ONLYn
and made outer n-loop through MASTER_SITESn and extract-n
It is backward-compatible scheme, of course.

Any takers?

-- 
Andrey A. Chernov
<ache@nagual.ru>
http://www.nagual.ru/~ache/



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