devel/apache-log4j2 2.26.1 FreeBSD
Fast and flexible logging library for Java
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
d57150a2c1- License
- APACHE20
- Categories
- devel, java
- Package size
- 3022.9 KiB, 3678.6 KiB installed
Description
Apache Log4j 2 is an upgrade to Log4j that provides significant improvements over its predecessor, Log4j 1.x, and provides many of the improvements available in Logback while fixing some inherent problems in Logback's architecture.
Log4J is an open source library based on the work of many authors. It allows the developer to control which log statements are output with arbitrary granularity. It is fully configurable at runtime using external configuration files. Best of all, Log4J has a gentle learning curve. Beware: judging from user feedback, it is also quite addictive.
See also <https://github.com/apache/logging-log4j2>.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/apache-log4j2 | 2.26.1 |
| DragonFly | devel/apache-log4j2 | 2.24.3 |
| MidnightBSD | devel/apache-log4j2 | 2.24.3 |
Install
Binary package:
pkg install apache-log4j2
From the ports tree:
cd /usr/ports/devel/apache-log4j2/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= apache-log4j2>0:devel/apache-log4j2
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.26.1 | 2.26.1 | 2.19.0 | 2.25.1 | 2.26.1 |
| FreeBSD:14:quarterly | 2.26.1 | 2.26.1 | n/a | 2.24.3 | 2.26.1 |
| FreeBSD:15:latest | 2.26.1 | 2.26.1 | n/a | 2.25.1 | 2.25.1 |
| FreeBSD:15:quarterly | 2.26.1 | 2.26.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.26.1 | 2.26.1 | 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.
Run dependencies 53
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- audio/alsa-lib
- converters/libiconv
- 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/javavmwrapper
- java/openjdk21
- 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
Configuration
Options name: devel_log4j2
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- cpe java zip
- Service scripts
- none
Files
pkg-plist 28
- %%JAVAJARDIR%%/log4j-1.2-api.jar
- %%JAVAJARDIR%%/log4j-api.jar
- %%JAVAJARDIR%%/log4j-api-test.jar
- %%JAVAJARDIR%%/log4j-appserver.jar
- %%JAVAJARDIR%%/log4j-cassandra.jar
- %%JAVAJARDIR%%/log4j-core.jar
- %%JAVAJARDIR%%/log4j-core-test.jar
- %%JAVAJARDIR%%/log4j-couchdb.jar
- %%JAVAJARDIR%%/log4j-docker.jar
- %%JAVAJARDIR%%/log4j-iostreams.jar
- %%JAVAJARDIR%%/log4j-jakarta-jms.jar
- %%JAVAJARDIR%%/log4j-jakarta-smtp.jar
- %%JAVAJARDIR%%/log4j-jakarta-web.jar
- %%JAVAJARDIR%%/log4j-jcl.jar
- %%JAVAJARDIR%%/log4j-jdbc-dbcp2.jar
- %%JAVAJARDIR%%/log4j-jpa.jar
- %%JAVAJARDIR%%/log4j-jpl.jar
- %%JAVAJARDIR%%/log4j-jul.jar
- %%JAVAJARDIR%%/log4j-layout-template-json.jar
- %%JAVAJARDIR%%/log4j-mongodb.jar
- %%JAVAJARDIR%%/log4j-mongodb4.jar
- %%JAVAJARDIR%%/log4j-slf4j-impl.jar
- %%JAVAJARDIR%%/log4j-slf4j2-impl.jar
- %%JAVAJARDIR%%/log4j-spring-boot.jar
- %%JAVAJARDIR%%/log4j-spring-cloud-config-client.jar
- %%JAVAJARDIR%%/log4j-taglib.jar
- %%JAVAJARDIR%%/log4j-to-jul.jar
- %%JAVAJARDIR%%/log4j-web.jar
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| apache-log4j-2.26.1-bin.zip | 3.700353e+06 | e1488c19241772da9d391da755536af9da3b10f59ae07747ddd4802ae1a5ea77 |
Master sites 1
- APACHE/logging/log4j/2.26.1