git: fd8671403243 - main - devel/apache-log4j2: upgrade to 2.18.0

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sat, 09 Jul 2022 10:02:13 UTC
The branch main has been updated by thierry:

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

commit fd8671403243c8e6d99dce0202d38c646f598091
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-07-09 09:15:35 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-07-09 09:15:35 +0000

    devel/apache-log4j2: upgrade to 2.18.0
    
    Changelog at
    <https://logging.apache.org/log4j/2.x/changes-report.html#a2.18.0>.
    
    Also restrict to Java ≥ 8.
---
 devel/apache-log4j2/Makefile | 3 ++-
 devel/apache-log4j2/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/devel/apache-log4j2/Makefile b/devel/apache-log4j2/Makefile
index 5982ab02da5c..3dd1e9ac9878 100644
--- a/devel/apache-log4j2/Makefile
+++ b/devel/apache-log4j2/Makefile
@@ -1,7 +1,7 @@
 # Created by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
 
 PORTNAME=	log4j2
-PORTVERSION=	2.17.2
+PORTVERSION=	2.18.0
 CATEGORIES=	devel java
 MASTER_SITES=	APACHE/logging/log4j/${PORTVERSION}
 PKGNAMEPREFIX=	apache-
@@ -16,6 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 USES=		cpe
 
 USE_JAVA=	yes
+JAVA_VERSION=	8+
 NO_BUILD=	yes
 NO_ARCH=	yes
 CPE_VENDOR=	apache
diff --git a/devel/apache-log4j2/distinfo b/devel/apache-log4j2/distinfo
index a2df2390ea67..3c50d17d36d3 100644
--- a/devel/apache-log4j2/distinfo
+++ b/devel/apache-log4j2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1651327026
-SHA256 (apache-log4j-2.17.2-bin.tar.gz) = c8f7cfe4ac9825043432b310709dee2661398573de28c83e603e80e0e86df9bb
-SIZE (apache-log4j-2.17.2-bin.tar.gz) = 15406684
+TIMESTAMP = 1657358046
+SHA256 (apache-log4j-2.18.0-bin.tar.gz) = 93b4793abf7a06383b51ad9f41693ac589741c612691838b4158837e44696a5e
+SIZE (apache-log4j-2.18.0-bin.tar.gz) = 15789833