From cf13a62abc1bdc4e70e429c8797e891c9bf2ba80 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Thu, 13 Jan 2022 16:25:20 +0800 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bb5edc8f6f86..1f146f9ddb46 100644 --- a/Makefile +++ b/Makefile @@ -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