Change MASTER_SITE_INDEX to our distributed mirror

This would relax the load of www.freebsd.org and let user fetch INDEX
from a closer mirror.

Approved by:	bapt (portmgr)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33871
This commit is contained in:
Li-Wen Hsu 2022-01-13 16:25:20 +08:00
parent f4204ddb16
commit cf13a62abc
No known key found for this signature in database
GPG key ID: 82B261B14D3BC7AF

View file

@ -86,7 +86,7 @@ ${INDEXDIR}/${INDEXFILE}.${INDEX_COMPRESSION_FORMAT}: .PHONY
${FETCHINDEX} ${INDEXDIR}/${INDEXFILE}.${INDEX_COMPRESSION_FORMAT} \
${MASTER_SITE_INDEX}${INDEXFILE}.${INDEX_COMPRESSION_FORMAT}
MASTER_SITE_INDEX?= https://www.FreeBSD.org/ports/
MASTER_SITE_INDEX?= https://download.FreeBSD.org/ports/index/
SETENV?= /usr/bin/env
FETCHINDEX?= ${SETENV} ${FETCH_ENV} fetch -am -o