git: 97b1188b073a - main - net/freeradius3: Update MASTER_SITES

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 01 Jan 2022 04:33:21 UTC
The branch main has been updated by diizzy:

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

commit 97b1188b073a1e966708856902ff8b2036241b3a
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-01-01 04:27:21 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-01-01 04:27:31 +0000

    net/freeradius3: Update MASTER_SITES
    
    As ftp is indirectly becoming deprecated and less "common" switch to
    http(s) and fallback to ftp. Use GitHub as primary site to offload
    upstream main site, fallback if that fails to main site and try
    https protocol before falling back to ftp. While at it remove
    unofficial mirrors.
    
    PR:             260302
    Reported by:    Shawn Webb
    Approved by:    arrowd (mentor), zi (maintainer timeout, 3 weeks)
    Differential Revision:  https://reviews.freebsd.org/D33691
---
 net/freeradius3/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/freeradius3/Makefile b/net/freeradius3/Makefile
index 8c8b8e3eeab2..b2c089c0b49b 100644
--- a/net/freeradius3/Makefile
+++ b/net/freeradius3/Makefile
@@ -3,9 +3,9 @@
 PORTNAME=	freeradius
 DISTVERSION=	3.0.25
 CATEGORIES=	net
-MASTER_SITES=	ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \
-		ftp://ftp.ntua.gr/pub/net/radius/freeradius/%SUBDIR%/ \
-		http://ftp.cc.uoc.gr/mirrors/ftp.freeradius.org/%SUBDIR%/ \
+MASTER_SITES=	https://github.com/FreeRADIUS/freeradius-server/releases/download/release_${DISTVERSION:S/./_/g}/ \
+		https://freeradius.org/ftp/pub/radius/%SUBDIR%/ \
+		ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \
 		ZI
 MASTER_SITE_SUBDIR=	. old
 PKGNAMESUFFIX=	3