From owner-cvs-all Tue Mar 13 11:53:15 2001 Delivered-To: cvs-all@freebsd.org Received: from blues.jpj.net (blues.jpj.net [204.97.17.146]) by hub.freebsd.org (Postfix) with ESMTP id 2531A37B723; Tue, 13 Mar 2001 11:53:08 -0800 (PST) (envelope-from trevor@jpj.net) Received: from localhost (trevor@localhost) by blues.jpj.net (8.11.1/8.11.1) with ESMTP id f2DJr5S13073; Tue, 13 Mar 2001 14:53:05 -0500 (EST) Date: Tue, 13 Mar 2001 14:53:04 -0500 (EST) From: Trevor Johnson To: Josef Karthauser Cc: , Subject: Re: cvs commit: ports/Mk bsd.sites.mk In-Reply-To: <20010313192040.C1359@tao.org.uk> Message-ID: <20010313144202.Z11685-100000@blues.jpj.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Remove ftp.plig.net because it is in the UK but hasn't a .uk TLD. > > > > It has if you call it ftp.uk.freebsd.org :) > > > > ;; ANSWER SECTION: > > ftp.uk.freebsd.org. 1H IN CNAME ftp.plig.net. > > Ignore me! That's not a TLD either is it! ;). You were right the first time, because MASTER_SORT_REGEX can work the way you supposed: # Also it is highly recommended that you configure MASTER_SORT_REGEX # to choose better mirror sites for you. List awk(1)-style regular # expressions separated by space so MASTER_SITES will be sorted in # that order. The following example is for Japanese users; change # "jp" part to your ccTLD ("de", "ru", "uk", etc.) or the domain names # of your nearest/upstream networks to meet your needs. # #MASTER_SORT_REGEX?= ^file: ^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/ ://[^/]*\.jp/ ://[^/]*\.jp\. # --src/etc/defaults/make.conf If you apply my patch from PR 25779 then do: $ make fetch-list>fetch-list.txt $ MASTER_SORT_REGEX="uk" make fetch-list>fetch-list-uk.txt $ diff -u fetch-list.txt fetch-list-uk.txt | less in $PORTSDIR/x11-wm/uwm or $PORTSDIR/devel/sfio you can see it work. -- Trevor Johnson http://jpj.net/~trevor/gpgkey.txt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message