git: ad9de5abb891 - main - devel/apache-log4j2: upgrade to 2-21-0

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 22 Oct 2023 11:16:41 UTC
The branch main has been updated by thierry:

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

commit ad9de5abb891ac66f89c44e8caae441f8bf3126d
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-10-22 11:15:03 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-10-22 11:15:03 +0000

    devel/apache-log4j2: upgrade to 2-21-0
    
    Release notes at
            <https://logging.apache.org/log4j/2.x/release-notes.html#release-notes-2-21-0>.
---
 devel/apache-log4j2/Makefile  | 7 ++++---
 devel/apache-log4j2/distinfo  | 6 +++---
 devel/apache-log4j2/pkg-plist | 2 --
 3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/devel/apache-log4j2/Makefile b/devel/apache-log4j2/Makefile
index 94ac3919f5fe..3384c83c2295 100644
--- a/devel/apache-log4j2/Makefile
+++ b/devel/apache-log4j2/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	log4j2
-PORTVERSION=	2.20.0
+PORTVERSION=	2.21.0
 CATEGORIES=	devel java
 MASTER_SITES=	APACHE/logging/log4j/${PORTVERSION}
 PKGNAMEPREFIX=	apache-
@@ -12,8 +12,9 @@ WWW=		https://logging.apache.org/log4j/2.x/
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		cpe
+USES=		cpe zip
 
+NO_WRKSUBDIR=	yes
 USE_JAVA=	yes
 JAVA_VERSION=	8+
 NO_BUILD=	yes
@@ -21,7 +22,7 @@ NO_ARCH=	yes
 CPE_VENDOR=	apache
 CPE_PRODUCT=	log4j
 
-PORTDOCS=	NOTICE.txt RELEASE-NOTES.md
+PORTDOCS=	NOTICE.txt RELEASE-NOTES.adoc
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/devel/apache-log4j2/distinfo b/devel/apache-log4j2/distinfo
index c23094abeb70..10bbd74e0ad2 100644
--- a/devel/apache-log4j2/distinfo
+++ b/devel/apache-log4j2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1678877961
-SHA256 (apache-log4j-2.20.0-bin.tar.gz) = f7ef6827941021b93b27eabbf35cec7ba52a4ab940204d716de7d0ec68b10e30
-SIZE (apache-log4j-2.20.0-bin.tar.gz) = 5375394
+TIMESTAMP = 1697971857
+SHA256 (apache-log4j-2.21.0-bin.zip) = 574c32c8756d774515271c06f5d64a53e2d90844fbe9c14c3489cc7d3a69a62f
+SIZE (apache-log4j-2.21.0-bin.zip) = 3200893
diff --git a/devel/apache-log4j2/pkg-plist b/devel/apache-log4j2/pkg-plist
index 590e0374e987..323644601cd3 100644
--- a/devel/apache-log4j2/pkg-plist
+++ b/devel/apache-log4j2/pkg-plist
@@ -13,7 +13,6 @@
 %%JAVAJARDIR%%/log4j-jakarta-web.jar
 %%JAVAJARDIR%%/log4j-jcl.jar
 %%JAVAJARDIR%%/log4j-jdbc-dbcp2.jar
-%%JAVAJARDIR%%/log4j-jmx-gui.jar
 %%JAVAJARDIR%%/log4j-jpa.jar
 %%JAVAJARDIR%%/log4j-jpl.jar
 %%JAVAJARDIR%%/log4j-jul.jar
@@ -21,7 +20,6 @@
 %%JAVAJARDIR%%/log4j-layout-template-json.jar
 %%JAVAJARDIR%%/log4j-mongodb3.jar
 %%JAVAJARDIR%%/log4j-mongodb4.jar
-%%JAVAJARDIR%%/log4j-osgi.jar
 %%JAVAJARDIR%%/log4j-slf4j-impl.jar
 %%JAVAJARDIR%%/log4j-slf4j2-impl.jar
 %%JAVAJARDIR%%/log4j-spring-boot.jar