git: 45d64d8e70ae - main - Mk: CentOS 7 EOL

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Wed, 02 Oct 2024 10:51:31 UTC
The branch main has been updated by tijl:

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

commit 45d64d8e70ae4848b855f6eb81bb4ad13162a8c9
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2024-10-02 10:20:48 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2024-10-02 10:47:16 +0000

    Mk: CentOS 7 EOL
    
    CentOS Linux 7 reached end of life (EOL) on June 30, 2024.  Packages
    are only available on vault.centos.org.
---
 Mk/Uses/linux.mk | 1 +
 Mk/bsd.sites.mk  | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk
index 181c00303aec..76a215997cc7 100644
--- a/Mk/Uses/linux.mk
+++ b/Mk/Uses/linux.mk
@@ -218,6 +218,7 @@ MASTER_SITE_SUBDIR=	altarch/${LINUX_DIST_VER}/os/aarch64/Packages/:DEFAULT,aarch
 			centos/${LINUX_DIST_VER}/updates/Source/SPackages/:SOURCE
 .      endif
 DIST_SUBDIR?=		centos
+DEPRECATED=		CentOS Linux 7 reached end of life (EOL) on June 30, 2024
 .    elif ${linux_ARGS} == rl9
 .      ifndef MASTER_SITES
 MASTER_SITES=		${MASTER_SITE_ROCKY_LINUX}
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 8498c42cb0b1..327d8b7d8d49 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -151,7 +151,6 @@ MASTER_SITE_EXIM+= \
 
 .if !defined(IGNORE_MASTER_SITE_CENTOS_LINUX)
 MASTER_SITE_CENTOS_LINUX+= \
-	http://mirror.centos.org/%SUBDIR%/:DEFAULT,aarch64,amd64,i386 \
 	http://vault.centos.org/%SUBDIR%/:DEFAULT,aarch64,amd64,i386,SOURCE
 .endif