Date: Tue, 13 Mar 2001 14:53:04 -0500 (EST) From: Trevor Johnson <trevor@jpj.net> To: Josef Karthauser <joe@tao.org.uk> Cc: <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: ports/Mk bsd.sites.mk Message-ID: <20010313144202.Z11685-100000@blues.jpj.net> In-Reply-To: <20010313192040.C1359@tao.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010313144202.Z11685-100000>
