git: c242ce6f08c6 - main - devel/hadoop2: Update MASTER_SITES

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 10 Oct 2021 16:40:17 UTC
The branch main has been updated by diizzy:

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

commit c242ce6f08c68faea4f8b44ed6e343372627cb50
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2021-10-10 16:18:40 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2021-10-10 16:39:25 +0000

    devel/hadoop2: Update MASTER_SITES
    
    Use a direct URL to Apache's release archive site as it's not mirrored
    by upstream mirror sites
    
    Approved by:    arrowd (mentor)
    Differential Revision:  https://reviews.freebsd.org/D32413
---
 devel/hadoop2/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/hadoop2/Makefile b/devel/hadoop2/Makefile
index 393cff8612f2..5fe65e14e139 100644
--- a/devel/hadoop2/Makefile
+++ b/devel/hadoop2/Makefile
@@ -8,7 +8,7 @@ PORTNAME=	hadoop
 PORTVERSION=	2.7.2
 PORTREVISION=	4
 CATEGORIES=	devel java
-MASTER_SITES=	APACHE/${PORTNAME}/common/hadoop-${PORTVERSION} \
+MASTER_SITES=	https://archive.apache.org/dist/${PORTNAME}/common/${PORTNAME}-${PORTVERSION}/ \
 		LOCAL/demon/:maven \
 		http://archive.apache.org/dist/tomcat/tomcat-6/v${TOMCAT_VERSION}/bin/:tomcat \
 		LOCAL/demon/:jetty