diff options
Diffstat (limited to 'dev-java/log4j-12-api')
-rw-r--r-- | dev-java/log4j-12-api/Manifest | 2 | ||||
-rw-r--r-- | dev-java/log4j-12-api/log4j-12-api-2.19.0.ebuild | 88 |
2 files changed, 90 insertions, 0 deletions
diff --git a/dev-java/log4j-12-api/Manifest b/dev-java/log4j-12-api/Manifest index 4ad0681e5999..66e5014ba015 100644 --- a/dev-java/log4j-12-api/Manifest +++ b/dev-java/log4j-12-api/Manifest @@ -1,3 +1,5 @@ DIST apache-log4j-2.18.0-src.tar.gz 11748446 BLAKE2B c11a5c7cb5be77fd27504b93962c5493f92475e759a575c5536b674a7e8116d4f9840bd2eb3e95156c257ff046f0e3ec437960b0f5ca01f2ddceb509c49aac1f SHA512 104eb8dbd35d3166a0d49190b2e3fdf981b864d21ed47d84f16acd417b943a41fbafa445b2c38ae8cdc494da6af8746ecc3a0db4795f45ce427344659cffae7b +DIST apache-log4j-2.19.0-src.tar.gz 11764795 BLAKE2B 02ec7c5c825cabe9994a2f50d6761110f87a19ff46874c00d46986da7338c32148f3b6c3551c95721aaf94b71d1d5ce8bcea32462e11fa3fe0c3cbbc0cf5f887 SHA512 c72859c415e701921497bb4f02047fa022083f66b4d21b1dbae28361bd73498b2eae335b9a1ac2d7f796df734a6d54db2701ae5ebf999197597e9e2ad064c271 EBUILD log4j-12-api-2.18.0.ebuild 3316 BLAKE2B c675a6ad27275209484176ecdf25761ced841c600121f1175cd78f8c0649899df8e8de64e40863d69853289a47f51e3296ae455cbd0014dcd7d0bec7b3029e57 SHA512 f4f0bfe344ce508b2e3ebade246bbff3122f5701949e6e0fd11557cbe531c52ba6b688eeb3103f8838a69769a499c9b279a53bad2b857c794ca8a9013b3186c8 +EBUILD log4j-12-api-2.19.0.ebuild 3522 BLAKE2B 19089e0102081b91862693b5264485cabe7108c9db8b21e63f7b9f9f4d6bfc33c70e4224350b75f2a1987708a451cecf790b9ef06b7f6d6a9feef263089c7e84 SHA512 aa206074ce5205834100939727ab516daf2e036f3f5674843ee6d46449d95535bff584cdb6ced14badfedc8a579116084381d61d0fd8fbe594e0d3f48df641d7 MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6 diff --git a/dev-java/log4j-12-api/log4j-12-api-2.19.0.ebuild b/dev-java/log4j-12-api/log4j-12-api-2.19.0.ebuild new file mode 100644 index 000000000000..a4ef4006cd13 --- /dev/null +++ b/dev-java/log4j-12-api/log4j-12-api-2.19.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom log4j-1.2-api/pom.xml --download-uri mirror://apache/logging/log4j/2.19.0/apache-log4j-2.19.0-src.tar.gz --slot 2 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild log4j-12-api-2.19.0.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.apache.logging.log4j:log4j-1.2-api:2.19.0" +JAVA_TESTING_FRAMEWORKS="junit-vintage junit-jupiter" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="The Apache Log4j 1.x Compatibility API" +HOMEPAGE="https://logging.apache.org/log4j/2.x/" +SRC_URI="mirror://apache/logging/log4j/${PV}/apache-log4j-${PV}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +# We don't have junit-vintage and junit-jupiter +RESTRICT="test" + +# Common dependencies +# POM: log4j-1.2-api/pom.xml +# org.apache.logging.log4j:log4j-api:2.19.0 -> >=dev-java/log4j-api-2.19.0:2 +# org.apache.logging.log4j:log4j-core:2.19.0 -> >=dev-java/log4j-core-2.19.0:2 + +CP_DEPEND=" + ~dev-java/log4j-api-${PV}:2 + ~dev-java/log4j-core-${PV}:2 +" + +# Compile dependencies +# POM: log4j-1.2-api/pom.xml +# javax.jms:javax.jms-api:2.0.1 -> !!!groupId-not-found!!! +# POM: log4j-1.2-api/pom.xml +# test? com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.13.4 -> >=dev-java/jackson-dataformat-xml-2.13.4:0 +# test? commons-io:commons-io:2.11.0 -> >=dev-java/commons-io-2.11.0:1 +# test? org.apache.commons:commons-lang3:3.12.0 -> >=dev-java/commons-lang-3.12.0:3.6 +# test? org.apache.felix:org.apache.felix.framework:7.0.5 -> >=dev-java/felix-framework-7.0.5:0 +# test? org.apache.logging.log4j:log4j-api:2.19.0 -> >=dev-java/log4j-api-2.19.0:2 +# test? org.apache.logging.log4j:log4j-core:2.19.0 -> >=dev-java/log4j-core-2.19.0:2 +# test? org.apache.velocity:velocity:1.7 -> !!!artifactId-not-found!!! +# test? org.eclipse.tycho:org.eclipse.osgi:3.13.0.v20180226-1711 -> !!!groupId-not-found!!! +# test? org.junit.jupiter:junit-jupiter-engine:5.9.0 -> !!!groupId-not-found!!! +# test? org.junit.jupiter:junit-jupiter-params:5.9.0 -> !!!groupId-not-found!!! +# test? org.junit.vintage:junit-vintage-engine:5.9.0 -> !!!groupId-not-found!!! +# test? org.mockito:mockito-core:4.4.0 -> >=dev-java/mockito-4.6.1:4 +# test? oro:oro:2.0.8 -> >=dev-java/jakarta-oro-2.0.8:2.0 + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:* + dev-java/javax-jms-api:0" +# test? ( +# !!!artifactId-not-found!!! +# !!!groupId-not-found!!! +# >=dev-java/commons-io-2.11.0:1 +# >=dev-java/commons-lang-3.12.0:3.6 +# >=dev-java/felix-framework-7.0.5:0 +# >=dev-java/jackson-dataformat-xml-2.13.4:0 +# >=dev-java/jakarta-oro-2.0.8:2.0 +# >=dev-java/log4j-api-2.19.0:2 +# >=dev-java/log4j-core-2.19.0:2 +# >=dev-java/mockito-4.6.1:4 +# ) +#" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:* +" + +DOCS=( {CONTRIBUTING,README,RELEASE-NOTES,SECURITY}.md ) + +S="${WORKDIR}/apache-log4j-${PV}-src" + +JAVA_AUTOMATIC_MODULE_NAME="org.apache.log4j" +JAVA_CLASSPATH_EXTRA="javax-jms-api" +JAVA_RESOURCE_DIRS="log4j-1.2-api/src/main/resources" +JAVA_SRC_DIR="log4j-1.2-api/src/main/java" + +#JAVA_TEST_GENTOO_CLASSPATH="jackson-dataformat-xml,commons-io-1,commons-lang-3.6,!!!groupId-not-found!!!,log4j-api-2,log4j-core-2,!!!artifactId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,mockito-4,jakarta-oro-2.0" +#JAVA_TEST_SRC_DIR="log4j-1.2-api/src/test/java" +#JAVA_TEST_RESOURCE_DIRS=( +# "log4j-1.2-api/src/test/resources" +#) |