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
| System | Port | Version |
|---|---|---|
| FreeBSD | java/apache-commons-lang | 2.6_6 |
| DragonFly | java/apache-commons-lang | 2.6_1 |
| MidnightBSD | java/apache-commons-lang | 2.6_1 |
| HardenedBSD | java/apache-commons-lang | 2.6_5 |
| GhostBSD | java/apache-commons-lang | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.6_6 | 2.6_6 | 2.6 | 2.6_1 | 2.6_6 |
| FreeBSD:14:quarterly | 2.6_6 | 2.6_6 | n/a | 2.6_1 | 2.6_6 |
| FreeBSD:15:latest | 2.6_6 | 2.6_6 | n/a | 2.6_1 | 2.6_1 |
| FreeBSD:15:quarterly | 2.6_6 | 2.6_6 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.6_6 | 2.6_6 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- audio/alsa-lib
- converters/libiconv
- devel/apache-ant
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-packaging
- devel/readline
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/png
- graphics/tiff
- java/java-zoneinfo
- java/javavmwrapper
- java/openjdk21
- java/openjdk8
- lang/python312
- lang/python315
- math/mpdecimal
- print/freetype2
- print/harfbuzz
- print/indexinfo
- textproc/expat2
- x11-fonts/dejavu
- x11-fonts/encodings
- x11-fonts/font-bh-ttf
- x11-fonts/font-misc-ethiopic
- x11-fonts/font-misc-meltho
- x11-fonts/fontconfig
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-fonts/xorg-fonts-truetype
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXtst
- x11/libxcb
- x11/xorgproto
Run dependencies 29
- archivers/brotli
- audio/alsa-lib
- devel/gettext-runtime
- devel/libinotify
- graphics/giflib
- graphics/png
- java/java-zoneinfo
- java/javavmwrapper
- java/openjdk8
- print/freetype2
- print/indexinfo
- textproc/expat2
- x11-fonts/dejavu
- x11-fonts/fontconfig
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrender
- x11/libXtst
- x11/libxcb
- x11/xorgproto
Required by 1
Configuration
Options name: java_commons-lang
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- java:ant,run
- Service scripts
- none
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| commons-lang-2.6-src.tar.gz | 564032 | 05479771851be0af057032fa26ad90aa0c91c10e1fc4439558a1ffa6f053bcd7 |
Master sites 1
- APACHE_COMMONS_SOURCE