summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-04 03:13:19 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-04 03:13:19 +0000
commit1f709ed82b8014b4c156f87c66cee7d0d1d3905d (patch)
treee2a478d1bbdb4f68ce4d30908ca0e21ca984a602 /dev-java
parent924750a8c767b278c9870be5dcfedced436f1276 (diff)
gentoo auto-resync : 04:11:2022 - 03:13:18
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/Manifest.gzbin55505 -> 55986 bytes
-rw-r--r--dev-java/felix-main/Manifest3
-rw-r--r--dev-java/felix-main/felix-main-7.0.5.ebuild74
-rw-r--r--dev-java/felix-main/metadata.xml15
-rw-r--r--dev-java/greenmail/Manifest3
-rw-r--r--dev-java/greenmail/greenmail-2.0.0_alpha2.ebuild57
-rw-r--r--dev-java/greenmail/metadata.xml10
-rw-r--r--dev-java/jakarta-mail/Manifest3
-rw-r--r--dev-java/jakarta-mail/jakarta-mail-2.0.1.ebuild75
-rw-r--r--dev-java/jakarta-mail/metadata.xml10
-rw-r--r--dev-java/jul-to-slf4j/Manifest4
-rw-r--r--dev-java/jul-to-slf4j/jul-to-slf4j-2.0.3.ebuild2
-rw-r--r--dev-java/jul-to-slf4j/metadata.xml1
-rw-r--r--dev-java/log4j-over-slf4j/Manifest4
-rw-r--r--dev-java/log4j-over-slf4j/log4j-over-slf4j-2.0.3.ebuild2
-rw-r--r--dev-java/log4j-over-slf4j/metadata.xml1
-rw-r--r--dev-java/logback-classic/Manifest2
-rw-r--r--dev-java/logback-classic/logback-classic-1.4.1.ebuild136
-rw-r--r--dev-java/logback-core/Manifest2
-rw-r--r--dev-java/logback-core/logback-core-1.4.1.ebuild96
20 files changed, 494 insertions, 6 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz
index 15115ae844cd..8c974a4430b2 100644
--- a/dev-java/Manifest.gz
+++ b/dev-java/Manifest.gz
Binary files differ
diff --git a/dev-java/felix-main/Manifest b/dev-java/felix-main/Manifest
new file mode 100644
index 000000000000..7a845afddaaa
--- /dev/null
+++ b/dev-java/felix-main/Manifest
@@ -0,0 +1,3 @@
+DIST felix-main-7.0.5.tar.gz 255198 BLAKE2B 289e2305b15c28f985bee1d8687db6ecb5098a2086da6fd32a7db8572f83a1ac37e49deeb89d657d48b943a626d400caccd8185ced565e8c65aa558395aeef05 SHA512 e06f6c330a73100a739575e92a6f0af263a98643bbd6fd6661e799c2a11c8c9d9589f1f5b8802799ffcae7007e8362c629055fa8b25a50a4fa736ed2ba2955b0
+EBUILD felix-main-7.0.5.ebuild 2245 BLAKE2B e8276bb5bdffc4bffc71d41b91d43235d21358a3b2779cc150bcae9f0b5544021be30cfd5688a0335150e031c4dacd124d6042b855b39aee4268e785e43fe9c5 SHA512 a1c30e25e3b6c253e75f9b177354e2954bd6356dbb6fd9c73060ae6bd09d1e6df39a4d85332fef8817dc07c4c832ecf55729d7972958c2a4c2d0ab8539a96400
+MISC metadata.xml 594 BLAKE2B 9ec3f78cd94f82740e506f44a6494d8e60894f09cd655b022886978c41bcf73a01628c9f1850a39a78bb96ed9dc57c04e7e1f6f5193b91bd8f23f1706899ef84 SHA512 1d8fab624036e9eda29d385fd042a0ca6b130dfa943c63c09e2a161ee039c695f215da1fe6135b59ece4a0fec06399dff2f80d0a12ab690805fd718d90cc05f2
diff --git a/dev-java/felix-main/felix-main-7.0.5.ebuild b/dev-java/felix-main/felix-main-7.0.5.ebuild
new file mode 100644
index 000000000000..ce90f0bb76dc
--- /dev/null
+++ b/dev-java/felix-main/felix-main-7.0.5.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri mirror://apache/felix/org.apache.felix.main-7.0.5-source-release.tar.gz --slot 0 --keywords "~amd64" --ebuild felix-main-7.0.5.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.apache.felix:org.apache.felix.main:7.0.5"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Open source OSGi framework by Apache Software Foundation"
+HOMEPAGE="https://felix.apache.org/documentation/index.html"
+SRC_URI="mirror://apache/felix/org.apache.${PN//-/.}-${PV}-source-release.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64"
+
+# Common dependencies
+# POM: pom.xml
+# org.apache.felix:org.apache.felix.framework:7.0.5 -> >=dev-java/felix-framework-7.0.5:0
+
+CP_DEPEND="~dev-java/felix-framework-${PV}:0"
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ ${CP_DEPEND}
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}
+"
+
+DOCS=( DEPENDENCIES NOTICE )
+
+S="${WORKDIR}/org.apache.felix.main-${PV}"
+
+JAVA_MAIN_CLASS="org.apache.felix.main.Main"
+JAVA_RESOURCE_DIRS="src/main/resources"
+JAVA_SRC_DIR="src/main/java"
+
+src_prepare() {
+ default
+ # 58,91 pom.xml
+ cat > src/main/java/module-info.java <<-EOF || die
+ $( sed -n '/<moduleInfoSource>/,/<\/moduleInfoSource/p' pom.xml \
+ | grep -v moduleInfoSource )
+ EOF
+
+ # according to pom.xml, line 91
+ local add_opens="$( sed -n '/<Add-opens>/,/<\/Add-opens/p' pom.xml \
+ | grep -v Add-opens | tr -s '[:space:]')" || die
+ mkdir src/main/resources/META-INF || die
+ echo "Add-opens:${add_opens}" >> src/main/resources/META-INF/MANIFEST.MF \
+ || die "creating MANIFEST.MF failed"
+
+ # no idea what to do with felix.log.level=${log.level} here, but ...
+ sed -e 's/{dollar}//' -i src/main/resources/config.properties || die
+
+ # bundling some classes from felix-framework according to 78,94 pom.xml
+ # if we don't bundle compilation of module-info would fail
+ cd src/main/resources || die
+ jar xvf "$(java-pkg_getjar --build-only felix-framework felix-framework.jar)" \
+ default.properties org/ || die "felix-framework.jar does not exist"
+}
+
+src_install() {
+ dodoc -r doc
+ java-pkg-simple_src_install
+}
diff --git a/dev-java/felix-main/metadata.xml b/dev-java/felix-main/metadata.xml
new file mode 100644
index 000000000000..2052253c1b6e
--- /dev/null
+++ b/dev-java/felix-main/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://issues.apache.org/jira/browse/FELIX</bugs-to>
+ <doc>https://felix.apache.org/documentation/</doc>
+ <remote-id type="github">apache/felix-dev</remote-id>
+ </upstream>
+ <longdescription>
+ Apache Felix is a community effort to implement the OSGi Framework and Service platform and other interesting OSGi-related technologies.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-java/greenmail/Manifest b/dev-java/greenmail/Manifest
new file mode 100644
index 000000000000..a2063f4a1a82
--- /dev/null
+++ b/dev-java/greenmail/Manifest
@@ -0,0 +1,3 @@
+DIST greenmail-2.0.0_alpha2.tar.gz 969798 BLAKE2B 0e1b00ccc96fac26d453cff5f49937bebc7b62e58ad33c9c287e7edb15de2884620ea52c94e00f5ddb9dc6e8853ed36101c4f7f294d48044d78a2a747146952e SHA512 925762f834d797e5136412520d45e9ce56c7b946f9cf1b7e90b674b12405a426bdceb068c7b459b1d4321d04ed68ff5dfd2d32ea6d5f17e848189596cc9acb17
+EBUILD greenmail-2.0.0_alpha2.ebuild 1834 BLAKE2B d890a387abb29d7a65b7da06fbf3d8c9bb297269c55c6581b535ac3b11c1e2f826a135167fb871fe51c0e5394329507c2e2e80b1fd57d688df830d719eae8398 SHA512 37207afc56c2139f1c4eeb9d2632533402d462444434d4ffd416e1cfd62f17f0bc3cc9125e6ebf2ea68035f5fde408533088f05b42e45db7374c0e68baf3d069
+MISC metadata.xml 311 BLAKE2B 5ac66bbc1ab39c2c144199584900de8485abc400bd49471961ea2d104284c36e15572bbe97ad2c9b7647c3e07320c1a292516f996fb2381ef1403e4719a69e73 SHA512 dff768a4970226540c20d2abe00b744458e29795f575d0526224d614931f2b789cd01f4bcb11edd7f08ea1230e21caacfc77186e4ba0624db8059e50229a88fc
diff --git a/dev-java/greenmail/greenmail-2.0.0_alpha2.ebuild b/dev-java/greenmail/greenmail-2.0.0_alpha2.ebuild
new file mode 100644
index 000000000000..8f25de201a2e
--- /dev/null
+++ b/dev-java/greenmail/greenmail-2.0.0_alpha2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/greenmail-mail-test/greenmail/archive/release-2.0.0-alpha-2.tar.gz --slot 2 --keywords "~amd64" --ebuild greenmail-2.0.0_alpha2.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="com.icegreen:greenmail:2.0.0-alpha-2"
+# No tests, dependencies are not packaged
+# JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="GreenMail - Email Test Servers"
+HOMEPAGE="https://greenmail-mail-test.github.io/greenmail/"
+SRC_URI="https://github.com/greenmail-mail-test/greenmail/archive/release-${PV/_alpha/-alpha-}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~arm64"
+
+# Common dependencies
+# POM: pom.xml
+# com.sun.mail:jakarta.mail:2.0.1 -> >=dev-java/jakarta-mail-2.0.1:0
+# jakarta.activation:jakarta.activation-api:2.0.1 -> >=dev-java/jakarta-activation-api-2.1.0:2
+# junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4
+# org.slf4j:slf4j-api:1.7.32 -> >=dev-java/slf4j-api-1.7.36:0
+
+CP_DEPEND="
+ dev-java/jakarta-activation-api:2
+ dev-java/jakarta-mail:0
+ dev-java/junit:4
+ dev-java/slf4j-api:0
+"
+
+# Compile dependencies
+# POM: pom.xml
+# test? org.assertj:assertj-core:3.19.0 -> !!!suitable-mavenVersion-not-found!!!
+# test? org.hamcrest:hamcrest-core:2.2 -> !!!suitable-mavenVersion-not-found!!!
+# test? org.hamcrest:hamcrest-library:2.2 -> !!!suitable-mavenVersion-not-found!!!
+# test? org.slf4j:slf4j-log4j12:1.7.32 -> !!!artifactId-not-found!!!
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ ${CP_DEPEND}"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}"
+
+DOCS=( ../README.md )
+
+S="${WORKDIR}/greenmail-release-${PV/_alpha/-alpha-}/greenmail-core"
+
+JAVA_SRC_DIR="src/main/java"
diff --git a/dev-java/greenmail/metadata.xml b/dev-java/greenmail/metadata.xml
new file mode 100644
index 000000000000..88b4c60ecd57
--- /dev/null
+++ b/dev-java/greenmail/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">greenmail-mail-test/greenmail</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/jakarta-mail/Manifest b/dev-java/jakarta-mail/Manifest
new file mode 100644
index 000000000000..a96acd27b625
--- /dev/null
+++ b/dev-java/jakarta-mail/Manifest
@@ -0,0 +1,3 @@
+DIST jakarta-mail-2.0.1.tar.gz 1799232 BLAKE2B 91c8109dee5b1dd5d245df44b905435e59c4f7a888711edf19431bd3e7627d5ba4dbc34e3bd8458507c77c5fb6ed50843f45b2e8b01b7369b660055d8c99739d SHA512 42e9f82cda788b4cf73c06c8c2798a3f886fe714e4f8f4cb0356643b05acd756d46ff382333d2a9e4aaa4ed0dd5d01bc354f7e442c78be9f59cca25d4c23a3ec
+EBUILD jakarta-mail-2.0.1.ebuild 1984 BLAKE2B 96ac7702e06efc33e3d9338e4812a0a973d728234fb957aff8b4fd1e5041d5b802d28e346fc59cf479c2b2ee6e95cabd5da86a254f96bedc556201f9bbc0e060 SHA512 4ddeb64841d91c6c8579f18330b782a84df4f01cad5ca4055721bb6244c46ae17092ad579c42e8c0118f4846f326ed7ede642b7d5c93f055c1392c3e582e6865
+MISC metadata.xml 300 BLAKE2B 59a5cc3d098097693ee38e1552293270505f8d82025e096a6d1c331045451d5782ccc8819a2034a88a89f4490318becb96f10186766db32afad98c1546c956dc SHA512 2d1560717ededf180302c9348d112971e6d24c8745aae17f1ec59c3676ae41bb7fe396bbb57f5c88ef52bd0f7e161aefc22b9d2d5fd006ffc9873dbf42cb2df5
diff --git a/dev-java/jakarta-mail/jakarta-mail-2.0.1.ebuild b/dev-java/jakarta-mail/jakarta-mail-2.0.1.ebuild
new file mode 100644
index 000000000000..f30f380214ae
--- /dev/null
+++ b/dev-java/jakarta-mail/jakarta-mail-2.0.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/jakartaee/mail-api/archive/2.0.1.tar.gz --slot 0 --keywords "~amd64" --ebuild jakarta-mail-2.0.1.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="com.sun.mail:jakarta.mail:2.0.1"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Implementation of the Jakarta Mail API"
+HOMEPAGE="https://github.com/jakartaee/mail-api"
+SRC_URI="https://github.com/jakartaee/mail-api/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="EPL-1.0 EPL-2.0 GPL-2-with-classpath-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64"
+
+# Common dependencies
+# POM: pom.xml
+# com.sun.activation:jakarta.activation:2.0.1 -> >=dev-java/jakarta-activation-2.0.1:2
+
+CP_DEPEND="dev-java/jakarta-activation:2"
+
+DEPEND="
+ >=virtual/jdk-11:*
+ ${CP_DEPEND}
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}
+"
+
+DOCS=( ../{CONTRIBUTING,NOTICE,README}.md )
+
+S="${WORKDIR}/mail-api-${PV}/mail"
+
+JAVA_ENCODING="iso-8859-1"
+
+JAVA_SRC_DIR="src/main/java"
+JAVA_RESOURCE_DIRS="src/main/resources"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_EXTRA_ARGS=( -ea )
+JAVA_TEST_SRC_DIR="src/test/java"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+
+src_prepare() {
+ default
+ mv src/main/{resources,java}/jakarta/mail/Version.java || die
+}
+
+src_test() {
+ pushd src/test/java || die
+ # Selection according to 137,138 pom.xml
+ # This one does not run because of
+ # "java.io.IOException: Permission denied"
+ # excluding it costs 141 tests.
+ # 1) com.sun.mail.util.logging.MailHandlerTest
+ local JAVA_TEST_RUN_ONLY=$(find * \
+ \( -wholename "**/*TestSuite.java" \
+ -o -wholename "**/*Test.java" \) \
+ ! -name "MailHandlerTest.java" \
+ )
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+ popd
+
+ java-pkg-simple_src_test
+}
diff --git a/dev-java/jakarta-mail/metadata.xml b/dev-java/jakarta-mail/metadata.xml
new file mode 100644
index 000000000000..53eb0003d9ca
--- /dev/null
+++ b/dev-java/jakarta-mail/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jakartaee/mail-api</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/jul-to-slf4j/Manifest b/dev-java/jul-to-slf4j/Manifest
index bf6bb9f8652e..e1c27f328157 100644
--- a/dev-java/jul-to-slf4j/Manifest
+++ b/dev-java/jul-to-slf4j/Manifest
@@ -1,3 +1,3 @@
DIST slf4j-2.0.3.tar.gz 1435478 BLAKE2B fec1a47882d3bbf508f4faed9cbf9448a23e9749c6c41f241c7e80654e0ce55211cec9228fcf0e666c997a4f24c5b96ad57dc076910e7f05704b02d0cf7db709 SHA512 0fb295f7942c2af8aebe2ecf544ef8326b8cc88de397ee6b37a10249b38150a506f62dcec614eee13519a299b30c6d2481dec3ea235d4b3e6a5241d12639bca6
-EBUILD jul-to-slf4j-2.0.3.ebuild 1390 BLAKE2B cfc70de874601f700ec3cdd9656d6b7cee210c4baa242037580152575603d2faa40c94a070bfa30f7d9b80057b63bafb7e163d19540e2f5d290f30c98adace1b SHA512 fbd2954cb088da4982b3bc3a27eafc89b0792abf23d0d19d73c73dab86689870716de16372c71a488167881833525c33fd0120b0bfbbc4d00c18229b2cf96008
-MISC metadata.xml 369 BLAKE2B 9192191ce858eb2aae3d3600cf8214bcff21f386895b1a554c688d2e0e5d2632daec9e853afee31383819df09915f29bd6a5458aa888672c77a2c683258d1b94 SHA512 80db3e0ebb417b64355f1d8c72de25dceda46fe80d5614e255b6e59c0d5751207e9ade961dbe1f065e3cf162ca402e67d2b8ce597e0a4253a7eedfc27d35ae00
+EBUILD jul-to-slf4j-2.0.3.ebuild 1402 BLAKE2B 9ba2f82d1862052eb4afa2c8b57691d1cc63fbf56a596d0255c3f49e27ff7de5c9819750f8488220a9ec164b21d27c7538aaf414a7b8ea7fb91bdd00a1ba3576 SHA512 2d6cfd3f4d341aa287ebdc9ea107593d6e4cb732d47ecdcc4fc2854cebda55b4bfc789359e4470f53e52a7d0118198cc1c29899d84c947ec3767b9a7b6c2c60c
+MISC metadata.xml 421 BLAKE2B f091647af09be4aa28bb7deb4223b2e65ce5479c14036a72c9c8e28f4cc76280671574a6adf08df28d7bcbf65069610e99dcf4abd33d19b3e244de4c1d852b0f SHA512 e91d223b9290e0c5bcb5bca5a88896836cd5006df4815d3c7acef731cac3e00e1e102c21852598ded5d3c1b549f0ed5b27daadbdda8ddc5b7719fc91dca7740f
diff --git a/dev-java/jul-to-slf4j/jul-to-slf4j-2.0.3.ebuild b/dev-java/jul-to-slf4j/jul-to-slf4j-2.0.3.ebuild
index 98f8bdf7eb84..b9610a0ad9ec 100644
--- a/dev-java/jul-to-slf4j/jul-to-slf4j-2.0.3.ebuild
+++ b/dev-java/jul-to-slf4j/jul-to-slf4j-2.0.3.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/qos-ch/slf4j/archive/v_${PV}.tar.gz -> slf4j-${PV}.t
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm ~arm64"
# Common dependencies
# POM: pom.xml
diff --git a/dev-java/jul-to-slf4j/metadata.xml b/dev-java/jul-to-slf4j/metadata.xml
index c3b9d69d36cd..14f9229b142a 100644
--- a/dev-java/jul-to-slf4j/metadata.xml
+++ b/dev-java/jul-to-slf4j/metadata.xml
@@ -8,5 +8,6 @@
<upstream>
<doc>https://www.slf4j.org/docs.html</doc>
<bugs-to>https://www.slf4j.org/bug-reporting.html</bugs-to>
+ <remote-id type="github">qos-ch/slf4j</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-java/log4j-over-slf4j/Manifest b/dev-java/log4j-over-slf4j/Manifest
index 160893c43b19..9c3cda5f1b3b 100644
--- a/dev-java/log4j-over-slf4j/Manifest
+++ b/dev-java/log4j-over-slf4j/Manifest
@@ -1,3 +1,3 @@
DIST slf4j-2.0.3.tar.gz 1435478 BLAKE2B fec1a47882d3bbf508f4faed9cbf9448a23e9749c6c41f241c7e80654e0ce55211cec9228fcf0e666c997a4f24c5b96ad57dc076910e7f05704b02d0cf7db709 SHA512 0fb295f7942c2af8aebe2ecf544ef8326b8cc88de397ee6b37a10249b38150a506f62dcec614eee13519a299b30c6d2481dec3ea235d4b3e6a5241d12639bca6
-EBUILD log4j-over-slf4j-2.0.3.ebuild 1558 BLAKE2B 2484d340318942b6f50e359122bc4906b13d910fe8efc0b06e265f9187483eedf88c0dfe18a34936fddee43fb02bb6e9be7a867a77b837b53f355bfdc5218e24 SHA512 c2eef558698b2c54034fa06d704792e8862ddefd284d7d61814fb36ab740e866068f2560861352a3ba56f98d1edb2e9a210df301288ea254d6707c5a1c9956af
-MISC metadata.xml 369 BLAKE2B 9192191ce858eb2aae3d3600cf8214bcff21f386895b1a554c688d2e0e5d2632daec9e853afee31383819df09915f29bd6a5458aa888672c77a2c683258d1b94 SHA512 80db3e0ebb417b64355f1d8c72de25dceda46fe80d5614e255b6e59c0d5751207e9ade961dbe1f065e3cf162ca402e67d2b8ce597e0a4253a7eedfc27d35ae00
+EBUILD log4j-over-slf4j-2.0.3.ebuild 1570 BLAKE2B a59275a6400df9b421a6c18ece8cdc78bf5970ef930f3f7b48fad2d8c7cca52bda7a1c75faf98a7398f81baf5d5ddb092a61045870e7de8b76bc2a146c8e8175 SHA512 8b98ead3863ae5d6464eb4d7dd418f32151e94e1539daea6a49a56326a243eec3c5fc480aba20652ac9461d8791ef760dba4026bafc227b56850a0707eba3918
+MISC metadata.xml 421 BLAKE2B f091647af09be4aa28bb7deb4223b2e65ce5479c14036a72c9c8e28f4cc76280671574a6adf08df28d7bcbf65069610e99dcf4abd33d19b3e244de4c1d852b0f SHA512 e91d223b9290e0c5bcb5bca5a88896836cd5006df4815d3c7acef731cac3e00e1e102c21852598ded5d3c1b549f0ed5b27daadbdda8ddc5b7719fc91dca7740f
diff --git a/dev-java/log4j-over-slf4j/log4j-over-slf4j-2.0.3.ebuild b/dev-java/log4j-over-slf4j/log4j-over-slf4j-2.0.3.ebuild
index 55dbe6b13024..825b287bee30 100644
--- a/dev-java/log4j-over-slf4j/log4j-over-slf4j-2.0.3.ebuild
+++ b/dev-java/log4j-over-slf4j/log4j-over-slf4j-2.0.3.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/qos-ch/slf4j/archive/v_${PV}.tar.gz -> slf4j-${PV}.t
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm ~arm64"
# Common dependencies
# POM: pom.xml
diff --git a/dev-java/log4j-over-slf4j/metadata.xml b/dev-java/log4j-over-slf4j/metadata.xml
index c3b9d69d36cd..14f9229b142a 100644
--- a/dev-java/log4j-over-slf4j/metadata.xml
+++ b/dev-java/log4j-over-slf4j/metadata.xml
@@ -8,5 +8,6 @@
<upstream>
<doc>https://www.slf4j.org/docs.html</doc>
<bugs-to>https://www.slf4j.org/bug-reporting.html</bugs-to>
+ <remote-id type="github">qos-ch/slf4j</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-java/logback-classic/Manifest b/dev-java/logback-classic/Manifest
index 42b706fdab49..badfd05b0726 100644
--- a/dev-java/logback-classic/Manifest
+++ b/dev-java/logback-classic/Manifest
@@ -1,3 +1,5 @@
DIST logback-1.2.11.tar.gz 4133000 BLAKE2B 09ef74fb92c5a3f10a9ed401b0cc687f9dbc05daf17646f96fa216aefef1a150434b7ba4ca25b6ed751c01dab906c56be5c65908ca9baf6e29cc1a9f55e14773 SHA512 2482f7af5696034e9b412fb3d37be7f0bc7c8a2549808f88b0ae693c0be4f95c41acd82649f76a4572ea5c0bb9f8d7a78b9a64d7af6dd76a0b1b926d7419c084
+DIST logback-1.4.1.tar.gz 760510 BLAKE2B a01aab8b499059669e22a2ab51522b01765bb2802008058bf3ca1a9ddafa06d2827d4129e76dc6f91e960dea2e419087dbcbc6fbced6b560295cda7089ce4a12 SHA512 4e8b0cb7cd7f950d7b6a859bc40cc8a3ddc41e2c7ab1567dc29780f4f05a14fdf34dd569928e1425886226e45979d85587ddf5e1e61665929718336451a0802c
EBUILD logback-classic-1.2.11-r1.ebuild 3257 BLAKE2B d3b412b78a91e56ccc5b91746d6a604fa1450fa6edd04535b75e558e1d25681f4d774485c50ace1848c3cdfab66dd954fb826ccdcf367b2ebf6a87cc789e7ec4 SHA512 0c0f1066c28106101e806eb2564b00f93f7ab15228ec2eb8499e7306347908d63a38cbd76ef804174b29dfd16777c762fd5da5286cd26dd9c3b659918223b3f5
+EBUILD logback-classic-1.4.1.ebuild 4487 BLAKE2B 75f3c29fe1fcfdb8d8639a92262fccb98828bfdfb3e87d4eb060f9529f0fd358d165004719c46aca6a93b97f74968a0893f65ed430baf5b904ef1f17c36bcc00 SHA512 f101c88f7a90912cc5e77f4e8f543f70e84e71e1ec2ca2b88cdba79b37048aa3ea5b3b0f66fee00718bffbc4eb5e3d7e7c07e296b06d8eaeaa9524e02831a667
MISC metadata.xml 413 BLAKE2B 3ae8c9f27dadfe978d070866e0c0368b89b8532f2aa6fbd3e3fab9e057320e1c6b5c2bc7367cc191e189acaa88384a0b86741d674d1cd711d4dd5ee8a29c9662 SHA512 7c2739ff8e878766487804fabcb39cda969c81e47af7fd51ffebfcb85dbdec10b7eef85b1d9c873561456e1592f6cdb8f82fbb4233abee1f43f323a1c10f9ba2
diff --git a/dev-java/logback-classic/logback-classic-1.4.1.ebuild b/dev-java/logback-classic/logback-classic-1.4.1.ebuild
new file mode 100644
index 000000000000..f7e6e144bddb
--- /dev/null
+++ b/dev-java/logback-classic/logback-classic-1.4.1.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom logback-classic/pom.xml --download-uri https://github.com/qos-ch/logback/archive/v_1.4.1.tar.gz --slot 0 --keywords "~amd64" --ebuild logback-classic-1.4.1.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="ch.qos.logback:logback-classic:1.4.1"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="logback-classic module"
+HOMEPAGE="https://logback.qos.ch"
+SRC_URI="https://github.com/qos-ch/logback/archive/v_${PV}.tar.gz -> logback-${PV}.tar.gz"
+
+LICENSE="EPL-1.0 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64"
+
+# Common dependencies
+# POM: ${PN}/pom.xml
+# ch.qos.logback:logback-core:1.4.1 -> >=dev-java/logback-core-1.4.1:0
+# jakarta.mail:jakarta.mail-api:2.0.1 -> >=dev-java/jakarta-mail-api-2.1.0:0
+# org.codehaus.janino:janino:3.1.7 -> >=dev-java/janino-3.1.7:0
+# org.slf4j:slf4j-api:2.0.1 -> >=dev-java/slf4j-api-2.0.3:0
+
+CP_DEPEND="
+ ~dev-java/janino-3.1.7:0
+ dev-java/jakarta-mail-api:0
+ ~dev-java/logback-core-${PV}:0
+ >=dev-java/slf4j-api-2.0.0:0
+"
+
+# Compile dependencies
+# POM: ${PN}/pom.xml
+# jakarta.servlet:jakarta.servlet-api:5.0.0 -> >=dev-java/jakarta-servlet-api-6.0.0:6
+# POM: ${PN}/pom.xml
+# test? ch.qos.logback:logback-core:1.4.1 -> >=dev-java/logback-core-1.4.1:0
+# test? ch.qos.reload4j:reload4j:1.2.18.4 -> >=dev-java/reload4j-1.2.22:0
+# test? com.icegreen:greenmail:2.0.0-alpha-1 -> >=dev-java/greenmail-2.0.0_alpha2:2
+# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4
+# test? org.apache.felix:org.apache.felix.main:5.6.10 -> >=dev-java/felix-main-7.0.5:0
+# test? org.assertj:assertj-core:1.7.1 -> >=dev-java/assertj-core-2.3.0:2
+# test? org.dom4j:dom4j:2.0.3 -> >=dev-java/dom4j-2.1.3:1
+# test? org.mockito:mockito-core:4.3.0 -> >=dev-java/mockito-4.8.0:4
+# test? org.slf4j:jul-to-slf4j:2.0.1 -> >=dev-java/jul-to-slf4j-2.0.3:0
+# test? org.slf4j:log4j-over-slf4j:2.0.1 -> >=dev-java/log4j-over-slf4j-2.0.3:0
+# test? org.slf4j:slf4j-api:2.0.1 -> >=dev-java/slf4j-api-2.0.3:0
+
+DEPEND="
+ >=virtual/jdk-11:*
+ ${CP_DEPEND}
+ dev-java/jakarta-servlet-api:6
+ test? (
+ dev-java/assertj-core:3
+ dev-java/dom4j:1
+ dev-java/felix-main:0
+ dev-java/greenmail:2
+ dev-java/jul-to-slf4j:0
+ dev-java/log4j-over-slf4j:0
+ dev-java/logback-core:0
+ dev-java/mockito:4
+ dev-java/osgi-core:0
+ dev-java/reload4j:0
+ )
+"
+
+# Runtime dependencies
+# POM: ${PN}/pom.xml
+# com.sun.mail:jakarta.mail:2.0.1 -> >=dev-java/jakarta-mail-2.0.1:0
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}
+ dev-java/jakarta-mail:0
+"
+
+S="${WORKDIR}/logback-v_${PV}/logback-classic"
+
+JAVA_CLASSPATH_EXTRA="jakarta-servlet-api-6"
+JAVA_GENTOO_CLASSPATH+="jakarta-mail"
+JAVA_RESOURCE_DIRS="src/main/resources"
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="
+ assertj-core-3
+ felix-main
+ greenmail-2
+ jul-to-slf4j
+ junit-4
+ log4j-over-slf4j
+ mockito-4
+ reload4j
+"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+JAVA_TEST_EXCLUDES=(
+ # Invalid test classes, "No runnable methods"
+ ch.qos.logback.core.testUtil.EnvUtilForTests
+ ch.qos.logback.core.rolling.testUtil.ScaffoldingForRollingTests
+ ch.qos.logback.classic.util.TestHelper
+
+ # Test failures:
+ ch.qos.logback.classic.net.SMTPAppender_GreenTest # 14 tests
+
+ # 1) versionTest(ch.qos.logback.classic.util.EnvUtilTest)
+ # java.lang.AssertionError
+ # at org.junit.Assert.fail(Assert.java:87)
+ # at org.junit.Assert.assertTrue(Assert.java:42)
+ # at org.junit.Assert.assertNotNull(Assert.java:713)
+ # at org.junit.Assert.assertNotNull(Assert.java:723)
+ # at ch.qos.logback.classic.util.EnvUtilTest.versionTest(EnvUtilTest.java:17)
+ ch.qos.logback.classic.util.EnvUtilTest
+
+ # 2) testSmoke(org.slf4j.test_osgi.BundleTest)
+ # junit.framework.AssertionFailedError
+ # at junit.framework.Assert.fail(Assert.java:55)
+ # at junit.framework.Assert.assertTrue(Assert.java:22)
+ # at junit.framework.Assert.assertTrue(Assert.java:31)
+ # at junit.framework.TestCase.assertTrue(TestCase.java:200)
+ # at org.slf4j.test_osgi.BundleTest.testSmoke(BundleTest.java:41)
+ org.slf4j.test_osgi.BundleTest
+)
+
+src_test() {
+ # Tests need dom4j:1 on classpath but without dependencies:
+ JAVA_GENTOO_CLASSPATH_EXTRA="$(java-pkg_getjars --build-only dom4j-1)"
+
+ # package ch.qos.logback.core.contention does not exist
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":../logback-core/src/test/java/"
+ java-pkg-simple_src_test
+}
diff --git a/dev-java/logback-core/Manifest b/dev-java/logback-core/Manifest
index cbf79f05dec9..a1422e15902c 100644
--- a/dev-java/logback-core/Manifest
+++ b/dev-java/logback-core/Manifest
@@ -1,4 +1,6 @@
AUX logback-core-1.2.11-Ignore-test-failing-under-Java-16.patch 799 BLAKE2B 5ed73567f9ef6f6fb08c1f9d6fff43e71a22760a31bddcc454a75c62d26b50bad46510f6c748c019ab90e69e6e6007ee3de2507104f956b4c24b658716a6b6ed SHA512 5214fab891a28e02b6748a307e1741207c16dbf0f9fbfcef86f1303c2ab15714348a1f1750965ee928ed422ffa7261f0bc7340756805ba196fe86dce66039ae5
DIST logback-1.2.11.tar.gz 4133000 BLAKE2B 09ef74fb92c5a3f10a9ed401b0cc687f9dbc05daf17646f96fa216aefef1a150434b7ba4ca25b6ed751c01dab906c56be5c65908ca9baf6e29cc1a9f55e14773 SHA512 2482f7af5696034e9b412fb3d37be7f0bc7c8a2549808f88b0ae693c0be4f95c41acd82649f76a4572ea5c0bb9f8d7a78b9a64d7af6dd76a0b1b926d7419c084
+DIST logback-1.4.1.tar.gz 760510 BLAKE2B a01aab8b499059669e22a2ab51522b01765bb2802008058bf3ca1a9ddafa06d2827d4129e76dc6f91e960dea2e419087dbcbc6fbced6b560295cda7089ce4a12 SHA512 4e8b0cb7cd7f950d7b6a859bc40cc8a3ddc41e2c7ab1567dc29780f4f05a14fdf34dd569928e1425886226e45979d85587ddf5e1e61665929718336451a0802c
EBUILD logback-core-1.2.11-r1.ebuild 3482 BLAKE2B 40590d0ec60cf62a6a4c64e34c68c84077a0917d18aa944dcdb835b97a585d2fc6cc30e80bf8966fb2e046baa1d4172b02576e8d610edf58f1e75a0dbee7e9ae SHA512 8e6a348b53c6b2ae9230dd8958b68f57e8a3dc7f05903f75b0c407c6b700b2e437ac925ef515d35963b33f99d5c1f0ecf576a745cc65ff456a096277276b08f4
+EBUILD logback-core-1.4.1.ebuild 3009 BLAKE2B e57ca2c824d0881fc37e6590338df0b26802116897de13d3136de6240a3f3874e1dca4eb6485930a13698a44761a7a3af8c2475cf3a10f3da5f418672582e0e8 SHA512 e608453b5e2c936d3db0437f3e6d157eb51b753e2a30c44be6623fc87f6e5a9f1fafa7c3b584b76a3918a9ee17ea129524db135ff7dd358aa241b309e57da07e
MISC metadata.xml 413 BLAKE2B 3ae8c9f27dadfe978d070866e0c0368b89b8532f2aa6fbd3e3fab9e057320e1c6b5c2bc7367cc191e189acaa88384a0b86741d674d1cd711d4dd5ee8a29c9662 SHA512 7c2739ff8e878766487804fabcb39cda969c81e47af7fd51ffebfcb85dbdec10b7eef85b1d9c873561456e1592f6cdb8f82fbb4233abee1f43f323a1c10f9ba2
diff --git a/dev-java/logback-core/logback-core-1.4.1.ebuild b/dev-java/logback-core/logback-core-1.4.1.ebuild
new file mode 100644
index 000000000000..9f0319afadce
--- /dev/null
+++ b/dev-java/logback-core/logback-core-1.4.1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom logback-core/pom.xml --download-uri https://github.com/qos-ch/logback/archive/v_1.4.1.tar.gz --slot 0 --keywords "~amd64" --ebuild logback-core-1.4.1.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="ch.qos.logback:logback-core:1.4.1"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="logback-core module"
+HOMEPAGE="https://logback.qos.ch"
+SRC_URI="https://github.com/qos-ch/logback/archive/v_${PV}.tar.gz -> logback-${PV}.tar.gz"
+
+LICENSE="EPL-1.0 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64"
+
+# Common dependencies
+# POM: ${PN}/pom.xml
+# com.sun.mail:jakarta.mail:2.0.1 -> >=dev-java/jakarta-mail-2.0.1:0
+# jakarta.mail:jakarta.mail-api:2.0.1 -> >=dev-java/jakarta-mail-api-2.1.0:0
+# jakarta.servlet:jakarta.servlet-api:5.0.0 -> >=dev-java/jakarta-servlet-api-6.0.0:6
+# org.codehaus.janino:janino:3.1.7 -> >=dev-java/janino-3.1.7:0
+# org.fusesource.jansi:jansi:1.18 -> >=dev-java/jansi-2.4.0:2
+
+CP_DEPEND="
+ dev-java/jakarta-mail:0
+ dev-java/jakarta-mail-api:0
+ dev-java/jakarta-servlet-api:6
+ ~dev-java/janino-3.1.7:0
+ dev-java/jansi:2
+"
+
+# Compile dependencies
+# POM: ${PN}/pom.xml
+# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4
+# test? org.assertj:assertj-core:1.7.1 -> >=dev-java/assertj-core-2.3.0:2
+# test? org.mockito:mockito-core:4.3.0 -> >=dev-java/mockito-4.7.0:4
+
+DEPEND="
+ >=virtual/jdk-11:*
+ ${CP_DEPEND}
+ test? (
+ dev-java/assertj-core:3
+ dev-java/mockito:4
+ )
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}"
+
+# DOCS=( ../README.md )
+
+S="${WORKDIR}/logback-v_${PV}/logback-core"
+
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4,assertj-core-3,mockito-4"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_test() {
+ # 83,88 logback-core/pom.xml
+ # <excludes>
+ # <exclude>**/All*Test.java</exclude>
+ # <exclude>**/PackageTest.java</exclude>
+ # <!-- ConsoleAppenderTest redirects System.out which is not well tolerated by Maven -->
+ # <exclude>**/ConsoleAppenderTest.java</exclude>
+ # </excludes>
+ rm src/test/java/ch/qos/logback/core/appender/ConsoleAppenderTest.java || die
+ pushd src/test/java || die
+ local JAVA_TEST_RUN_ONLY=$(find * \
+ -name "*Test.java" \
+ ! -wholename "**/All*Test.java" \
+ ! -wholename "**/PackageTest.java" \
+ ! -name "AbstractAppenderTest.java" \
+ ! -name "AbstractPatternLayoutBaseTest.java" \
+ )
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+ popd
+
+ # accessible: module java.base does not "opens java.lang" to unnamed module @42bb2aee
+ local vm_version="$(java-config -g PROVIDES_VERSION)"
+ if [[ "${vm_version}" -ge 17 ]]; then
+ JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.lang=ALL-UNNAMED )
+ JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.io=ALL-UNNAMED )
+ fi
+ java-pkg-simple_src_test
+}