BSD Ports

Deprecated: Unpatched CVE, last release in 2011, does not compile with Java 11+, not actively maintained. Superseded by port java/apache-commons-lang3.

Expires: 2026-10-31

Vulnerable: version 2.6_6 is affected by 1 known vulnerability. See below.

java/apache-commons-lang 2.6_6 FreeBSD

Apache library with helper utilities for the java.lang API

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
258e3355e5
License
APACHE20
Categories
java, devel
Package size
507.8 KiB, 6043.3 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDjava/apache-commons-lang2.6_6
DragonFlyjava/apache-commons-lang2.6_1
MidnightBSDjava/apache-commons-lang2.6_1
HardenedBSDjava/apache-commons-lang2.6_5
GhostBSDjava/apache-commons-lang2.6_5

Install

Binary package:

pkg install apache-commons-lang

From the ports tree:

cd /usr/ports/java/apache-commons-lang/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	apache-commons-lang>0:java/apache-commons-lang

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.6_62.6_62.62.6_12.6_6
FreeBSD:14:quarterly2.6_62.6_6n/a2.6_12.6_6
FreeBSD:15:latest2.6_62.6_6n/a2.6_12.6_1
FreeBSD:15:quarterly2.6_62.6_6n/an/an/a
FreeBSD:16:latest2.6_62.6_6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 56
Run dependencies 29
Required by 1

Configuration

Options name: java_commons-lang

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
java:ant,run
Service scripts
none

Message after installing

===>   NOTICE:

The apache-commons-lang port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Unpatched CVE, last release in 2011, does not compile with Java 11+, not actively maintained. Superseded by port java/apache-commons-lang3..

It is scheduled to be removed on or after 2026-10-31.

Files

distinfo 1
FileSizeSHA256
commons-lang-2.6-src.tar.gz56403205479771851be0af057032fa26ad90aa0c91c10e1fc4439558a1ffa6f053bcd7
Master sites 1
  • APACHE_COMMONS_SOURCE

Known vulnerabilities 1

Commit history 3

DateCommitCreditsLog message
258e3355e5 Ronald Klop java/apache-commons-lang: mention unpatched CVE
Security: CVE-2025-48924 "Uncontrolled Recursion"
3798423c70 Ronald Klop java/apache-commons-lang: set expiration date
Expire together with its only consumer in the ports tree editors/openoffice-4. This port was already deprecated. Superseded by port java/apache-commons-lang3. Approved by: no maintainer
40ebca21fd Ronald Klop java/apache-commons-lang: deprecate
Last release in 2011 No maintainer Does not compile with Java 11+ Please use java/apache-commons-lang3. No expiration date yet as openoffice still uses this. Approved-by: no maintainer