Subject: RE: Proposal: Sort order for MASTER_SITES
To: 'Hubert Feyrer' <hubert.feyrer@rz.uni-regensburg.de>
From: Alistair Crooks <Alistair_Crooks@CommerzbankZGE.com>
List: tech-pkg
Date: 06/18/1999 09:25:27
Like Hubert, I think the idea is good, but the regular expression is a bit
clumsy.
My suggestion would be to set up various definitions:
MASTER_SITE_AT?= ftp.at.netbsd.org
MASTER_SITE_DE?= ftp.de.netbsd.org
MASTER_SITE_CH?= ftp.ch.netbsd.org
MASTER_SITE_UK?= ftp.demon.co.uk
MASTER_SITE_US?= ftp.netbsd.org
MASTER_SITE_JP?= ftp.jp.netbsd.org
and then have
MASTER_SITE_ORDER= CH AT DE
(or whatever your preference is, automated or not) in /etc/mk.conf, and
MASTER_SITE_ORDER?= US
.for country in ${MASTER_SITE_ORDER}
...try to look for it in ${MASTER_SITE_${country}}
.endfor
in bsd.pkg.mk.
Regards,
Alistair
-----Original Message-----
From: Hubert Feyrer [mailto:feyrer@rfhs8012.fh-regensburg.de]
Sent: Donnerstag, 17. Juni 1999 13:47
To: Martin J. Laubach
Cc: tech-pkg@netbsd.org; rh@vip.at
Subject: Re: Proposal: Sort order for MASTER_SITES
Hi Martin & Rene!
On Thu, 17 Jun 1999, Martin J. Laubach wrote:
> MASTER_SORT= //.*\.at\.netbsd\.org/ //.*\.at/ //.*\.(de|ch)/
> and the MASTER_SITES list will be adjusted accordingly.
>
> Comments?
Sounds fairly straight-forward, except that the input for MASTER_SORT is
fairly unreadable. Can we make this a simple list of globs:
MASTER_SORT= *.at.netbsd.org *.at *.netbsd.org
or maybe even skip the "*." part, as that one's pretty obvious?
- Hubert
--
NetBSD - Better for your uptime than Viagra