aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2026-11-03 20:47:47 +0000
committerRene Ladan <rene@FreeBSD.org>2026-11-03 20:47:47 +0000
commit1527ba9655a30deda279bdb18d20712a4c73e062 (patch)
treeb333a52de6824b43df19b35029ba3dbbd2c97c70
parent4449433dd62920b1b1d447271fbc24c115b451ee (diff)
java/apache-commons-lang: Remove expired port
2026-10-31 java/apache-commons-lang: Unpatched CVE, last release in 2011, does not compile with Java 11+, not actively maintained. Superseded by port java/apache-commons-lang3.
-rw-r--r--MOVED1
-rw-r--r--java/Makefile1
-rw-r--r--java/apache-commons-lang/Makefile51
-rw-r--r--java/apache-commons-lang/distinfo2
-rw-r--r--java/apache-commons-lang/pkg-descr11
5 files changed, 1 insertions, 65 deletions
diff --git a/MOVED b/MOVED
index 9d77b31e146b..492792cec1cb 100644
--- a/MOVED
+++ b/MOVED
@@ -5796,3 +5796,4 @@ x11-toolkits/tk90|x11-toolkits/tk|2026-11-02|Tk 9.x will be provided as single p
deskutils/owncloudclient||2026-11-02|Has expired: Outdated, depends on deprecated Qt5 qtkeychain
sysutils/dekit||2026-11-03|Has expired: Cannot upgrade due to linuxisms
textproc/lucene|textproc/lucene9|2026-11-03|Has expired: Release from 2013. Unsupported upstream. Lucene is now at version 10.X. Superseded in ports by textproc/lucene9
+java/apache-commons-lang|java/apache-commons-lang3|2026-11-03|Has expired: Unpatched CVE, last release in 2011, does not compile with Java 11+, not actively maintained. Superseded by port java/apache-commons-lang3
diff --git a/java/Makefile b/java/Makefile
index d227e7cd42a5..9af02d2e4af4 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -7,7 +7,6 @@
SUBDIR += apache-commons-collections
SUBDIR += apache-commons-collections4
SUBDIR += apache-commons-dbcp
- SUBDIR += apache-commons-lang
SUBDIR += apache-commons-lang3
SUBDIR += apache-commons-logging
SUBDIR += apache-commons-pool
diff --git a/java/apache-commons-lang/Makefile b/java/apache-commons-lang/Makefile
deleted file mode 100644
index 72582916124a..000000000000
--- a/java/apache-commons-lang/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-PORTNAME= commons-lang
-PORTVERSION= 2.6
-PORTREVISION= 6
-CATEGORIES= java devel
-MASTER_SITES= APACHE_COMMONS_SOURCE
-PKGNAMEPREFIX= apache-
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Apache library with helper utilities for the java.lang API
-WWW= https://commons.apache.org/proper/commons-lang/
-
-LICENSE= APACHE20
-
-DEPRECATED= Unpatched CVE, last release in 2011, does not compile with Java 11+, not actively maintained. Superseded by port java/apache-commons-lang3.
-EXPIRATION_DATE= 2026-10-31
-
-USES= java:ant,run
-JAVA_VERSION= 8
-
-ALL_TARGET= jar
-NO_ARCH= yes
-
-JARFILE= ${PORTNAME}-${PORTVERSION}.jar
-DESTJARFILE= ${PORTNAME}.jar
-PLIST_FILES= %%JAVAJARDIR%%/${DESTJARFILE}
-PORTDOCS= *
-
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-ALL_TARGET+= javadoc
-.endif
-
-JDK_API!= (${FIND} -s ${LOCALBASE}/share/doc/jdk1.? -maxdepth 1 -name api -type d 2>/dev/null || ${ECHO_CMD}) | ${TAIL} -n 1
-
-.if ${JDK_API} != ""
-MAKE_ARGS+= -Djdk.javadoc=${JDK_API}
-.endif
-
-do-install:
- ${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} \
- ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
-.if ${PORT_OPTIONS:MDOCS}
- (cd ${WRKSRC}/target/apidocs && ${COPYTREE_SHARE} . \
- ${STAGEDIR}${DOCSDIR})
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/java/apache-commons-lang/distinfo b/java/apache-commons-lang/distinfo
deleted file mode 100644
index 7e9fabf47253..000000000000
--- a/java/apache-commons-lang/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (commons-lang-2.6-src.tar.gz) = 05479771851be0af057032fa26ad90aa0c91c10e1fc4439558a1ffa6f053bcd7
-SIZE (commons-lang-2.6-src.tar.gz) = 564032
diff --git a/java/apache-commons-lang/pkg-descr b/java/apache-commons-lang/pkg-descr
deleted file mode 100644
index 164482c1fd0a..000000000000
--- a/java/apache-commons-lang/pkg-descr
+++ /dev/null
@@ -1,11 +0,0 @@
-The standard Java libraries fail to provide enough methods for
-manipulation of its core classes. The Lang Component provides
-these extra methods.
-
-The Lang Component provides a host of helper utilities for the
-java.lang API, notably String manipulation methods, basic
-numerical methods, object reflection, creation and serialization,
-and System properties. Additionally it contains an inheritable
-enum type, an exception structure that supports multiple types of
-nested-Exceptions and a series of utlities dedicated to help with
-building methods, such as hashCode, toString and equals.