From 2719f73b6813d11d13a9650cdd2ab8ec6e69385d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 9 Jul 2022 15:43:36 +0100 Subject: gentoo resync : 09.07.2022 --- dev-java/log4j-api/Manifest | 2 + dev-java/log4j-api/log4j-api-2.18.0.ebuild | 71 ++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 dev-java/log4j-api/log4j-api-2.18.0.ebuild (limited to 'dev-java/log4j-api') diff --git a/dev-java/log4j-api/Manifest b/dev-java/log4j-api/Manifest index 4c7d47d5f021..882d399dbdd3 100644 --- a/dev-java/log4j-api/Manifest +++ b/dev-java/log4j-api/Manifest @@ -1,3 +1,5 @@ DIST apache-log4j-2.17.2-src.tar.gz 11680029 BLAKE2B 19baf31f4e00f0572fad810177d52bf3376f73a47a70ea251ce60a198f4bb322e6e97691f23b1ebb78e29f4eb6f0a36093bd2c6cb558486841d569b601d11015 SHA512 ae09c3af8662fcf5fdc4e7c7dd298e91ec85e90272b8247ce4ee60c7d4ecd48a4cd294fc9e51c0b307fbb58c677e61e31527eab4085debcc9b40919af0920176 +DIST apache-log4j-2.18.0-src.tar.gz 11748446 BLAKE2B c11a5c7cb5be77fd27504b93962c5493f92475e759a575c5536b674a7e8116d4f9840bd2eb3e95156c257ff046f0e3ec437960b0f5ca01f2ddceb509c49aac1f SHA512 104eb8dbd35d3166a0d49190b2e3fdf981b864d21ed47d84f16acd417b943a41fbafa445b2c38ae8cdc494da6af8746ecc3a0db4795f45ce427344659cffae7b EBUILD log4j-api-2.17.2.ebuild 2898 BLAKE2B 30b05532f1b879f095a3ea735077818fcfce91be99de9d47d547e842d0c8500e67d3f0051e046cf88c13dbde0d7f226b6fdb5266844936a662dc9775c46aa997 SHA512 4f42101df7321f37a28185156d93998f4cc5b67a7007fd17dbc84a8a87b2a50667d080304fee57f248617c047cafd7178ae569975555269266a11d46bfa6b2a6 +EBUILD log4j-api-2.18.0.ebuild 3011 BLAKE2B 2981cbb7fe50bef0598d822b3f31e972a3015ad354ea12cb2d928879576e8e4f6a5ce0986ce27d13ff5394aa2530b9a98f816c1a32c78d28b0ccfce8830bf87a SHA512 f5b89636cbfea13f9b999488808e5080851a04c195cc0bb9a9c7f5ea00cd91723476b88f9f3466ce8f74c04ec41bf5e932468a09495d448dcf8cdd0858b673b9 MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6 diff --git a/dev-java/log4j-api/log4j-api-2.18.0.ebuild b/dev-java/log4j-api/log4j-api-2.18.0.ebuild new file mode 100644 index 000000000000..b46220565365 --- /dev/null +++ b/dev-java/log4j-api/log4j-api-2.18.0.ebuild @@ -0,0 +1,71 @@ +# 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-api/pom.xml --download-uri mirror://apache/logging/log4j/2.18.0/apache-log4j-2.18.0-src.tar.gz --slot 2 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild log4j-api-2.18.0.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.apache.logging.log4j:log4j-api:2.18.0" +JAVA_TESTING_FRAMEWORKS="junit-vintage junit-jupiter" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="The Apache Log4j 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" + +# junit-{jupiter,vintage} is not available in ::gentoo +RESTRICT="test" + +# Compile dependencies +# POM: ${PN}/pom.xml +# org.osgi:org.osgi.core:6.0.0 -> >=dev-java/osgi-core-8.0.0:0 +# POM: ${PN}/pom.xml +# test? com.fasterxml.jackson.core:jackson-core:2.13.3 -> >=dev-java/jackson-core-2.13.3:0 +# test? com.fasterxml.jackson.core:jackson-databind:2.13.3 -> >=dev-java/jackson-databind-2.13.3:0 +# 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 -> !!!groupId-not-found!!! +# test? org.apache.maven:maven-core:3.8.5 -> !!!groupId-not-found!!! +# test? org.assertj:assertj-core:3.23.1 -> !!!suitable-mavenVersion-not-found!!! +# test? org.eclipse.tycho:org.eclipse.osgi:3.13.0.v20180226-1711 -> !!!groupId-not-found!!! +# test? org.junit-pioneer:junit-pioneer:1.6.2 -> !!!groupId-not-found!!! +# test? org.junit.jupiter:junit-jupiter-engine:5.8.2 -> !!!groupId-not-found!!! +# test? org.junit.jupiter:junit-jupiter-migrationsupport:5.8.2 -> !!!groupId-not-found!!! +# test? org.junit.jupiter:junit-jupiter-params:5.8.2 -> !!!groupId-not-found!!! +# test? org.junit.vintage:junit-vintage-engine:5.8.2 -> !!!groupId-not-found!!! +# test? uk.org.webcompere:system-stubs-jupiter:2.0.1 -> !!!groupId-not-found!!! + +DEPEND=" + >=virtual/jdk-1.8:* + dev-java/osgi-core:0 +" +# test? ( +# !!!groupId-not-found!!! +# !!!suitable-mavenVersion-not-found!!! +# >=dev-java/commons-lang-3.12.0:3.6 +# >=dev-java/jackson-core-2.13.3:0 +# >=dev-java/jackson-databind-2.13.3:0 +# ) +# " + +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( {CONTRIBUTING,README,RELEASE-NOTES,SECURITY}.md ) + +S="${WORKDIR}/apache-log4j-${PV}-src" + +JAVA_CLASSPATH_EXTRA="osgi-core" +JAVA_SRC_DIR="${PN}/src/main/java" +JAVA_RESOURCE_DIRS="${PN}/src/main/resources" + +# JAVA_TEST_GENTOO_CLASSPATH="jackson-core,jackson-databind,commons-lang-3.6,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!suitable-mavenVersion-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!" +# JAVA_TEST_SRC_DIR="${PN}/src/test/java" +# JAVA_TEST_RESOURCE_DIRS=( +# "${PN}/src/test/resources" +# ) -- cgit v1.2.3