Distfiles and FTP Traffic-Shaping
Stefan Walter
sw at gegenunendlich.de
Sat Jan 14 01:51:40 PST 2006
Jean-Yves Lefort, 13.01.06, 20:47h CET:
> > If it's not just me, it would be nice to have a "PREFER_HTTP_SITES" option
> > that brings any http sites to the the beginning of the site list in
> > bsd.port.mk.
>
> Or better, regex-based sort preferences. For instance, to prefer
> French HTTP servers, then HTTP servers, then French servers, then
> everything else:
>
> MASTER_SITE_SORT= ^https?://[-a-zA-Z0-9_.-]+\.fr/ \
> ^https?:// \
> ://[a-zA-Z0-9_.-]+\.fr/
MASTER_SORT_REGEX already exists. From my /etc/make.conf:
MASTER_SORT_REGEX?=^file: \
://ftp.?\.de\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/ \
mesh \
://[^/]*\.de[./] \
://[^/]*\.be[./] \
://[^/]*\.se[./] \
://[^/]*\.uk[./]
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 650 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060114/871b8a8b/attachment.bin
More information about the freebsd-ports
mailing list