git: d8c642e75e90 - main - textproc/lucene4: Update MASTER_SITES, deprecate and set expiration date to 2022-03-31

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 11 Oct 2021 19:39:30 UTC
The branch main has been updated by diizzy:

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

commit d8c642e75e9017dea5777f99d251dd17a33580ce
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2021-10-11 19:28:21 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2021-10-11 19:28:25 +0000

    textproc/lucene4: Update MASTER_SITES, deprecate and set expiration date to 2022-03-31
    
    Use a direct URL to Apache's release archive site as it's not mirrored by
    upstream mirror sites
    Released in 2015 and unsupported, upstream is now at 7.X and 8.X
    
    Reference: https://lucene.apache.org/core/downloads.html
    
    Approved by:    arrowd (mentor)
    Differential Revision:  https://reviews.freebsd.org/D32376
---
 textproc/lucene4/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/textproc/lucene4/Makefile b/textproc/lucene4/Makefile
index 9eab6a686d9b..b4da0be1bd50 100644
--- a/textproc/lucene4/Makefile
+++ b/textproc/lucene4/Makefile
@@ -3,7 +3,7 @@
 PORTNAME=	lucene
 PORTVERSION=	4.10.4
 CATEGORIES=	textproc java devel
-MASTER_SITES=	APACHE/${PORTNAME}/java/${PORTVERSION}
+MASTER_SITES=	https://archive.apache.org/dist/${PORTNAME}/java/${PORTVERSION}/
 PKGNAMESUFFIX=	4
 
 MAINTAINER=	ports@FreeBSD.org
@@ -12,6 +12,9 @@ COMMENT=	Full-text search engine for Java, 4.x branch
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+DEPRECATED=	Unsupported by upstream, released in 2015
+EXPIRATION_DATE=2022-03-31
+
 CONFLICTS=	lucene-[0-9].*
 
 USES=		cpe tar:tgz