git: cf13a62abc1b - main - Change MASTER_SITE_INDEX to our distributed mirror

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Thu, 13 Jan 2022 08:25:40 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cf13a62abc1bdc4e70e429c8797e891c9bf2ba80

commit cf13a62abc1bdc4e70e429c8797e891c9bf2ba80
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2022-01-13 08:25:20 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-01-13 08:25:20 +0000

    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