From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/snakeyaml/
Date: Mon, 3 Oct 2022 07:55:37 +0000 (UTC) [thread overview]
Message-ID: <1664783620.ebf583e5509c4abe3b6af74710eddf02c54376d8.flow@gentoo> (raw)
commit: ebf583e5509c4abe3b6af74710eddf02c54376d8
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Sep 19 08:36:30 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Oct 3 07:53:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebf583e5
dev-java/snakeyaml: add 1.33 CVE-2022-3875{1,2}
Bug: https://bugs.gentoo.org/868621
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
dev-java/snakeyaml/Manifest | 1 +
dev-java/snakeyaml/snakeyaml-1.33.ebuild | 74 ++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
diff --git a/dev-java/snakeyaml/Manifest b/dev-java/snakeyaml/Manifest
index 6e4530b6dd01..dbe4595961eb 100644
--- a/dev-java/snakeyaml/Manifest
+++ b/dev-java/snakeyaml/Manifest
@@ -1,2 +1,3 @@
DIST snakeyaml-1.30.tar.gz 402525 BLAKE2B 1d130ce8c5313b302463df11493a0fa845faf3921cd0b0a47f9db8d31f568f266f14a1543e33d77bf9e1b86c462ae4bba8e140339a6245341bdc05d76a1ccf07 SHA512 9ae09163d933e0899cf48ba0c80b5f01423847f1c18306859fa4c4002f0c909611df7096d494e04bb0f8f7d2bc5d1eb4f656e2f322941ddef642b0c23a351908
DIST snakeyaml-1.31.tar.gz 407514 BLAKE2B 88d600aae5ba7dc5e1877a020082878e20fff7a30d9ff799d358e53e96da01bc8478bd5966c1058de186198d6ef10431480f8b2644d5fdb7e87dca462d9addee SHA512 e5c56cb4ad8ee68e41da63351f39be48ef9ceb50239580d1de1f7a331d66d92fd9aa9b26b4ba6dcb9db6c5acc682c7c2098b3468d32e73bdd2dbf4d07bcc5c55
+DIST snakeyaml-1.33.tar.gz 406196 BLAKE2B 9b7e7d7a5d35d433445737f4b5cc07744e3686a71cc4b9e44ce46153831b76f01da7ef6bc60ea82a7173283a77d0da500bea2bc7ee76bdde4ebda00aa6054aa8 SHA512 ad367d7e7bcb2225094d132df77d91e7401026af02f4ede14a2a4fc5cf78f0cfa1e4400f16f43a669faa2f0e444d36c3745e3c9df3d9114d62fee070c4c99414
diff --git a/dev-java/snakeyaml/snakeyaml-1.33.ebuild b/dev-java/snakeyaml/snakeyaml-1.33.ebuild
new file mode 100644
index 000000000000..f9978f4168dc
--- /dev/null
+++ b/dev-java/snakeyaml/snakeyaml-1.33.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 https://bitbucket.org/snakeyaml/snakeyaml/get/snakeyaml-1.33.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild snakeyaml-1.33.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.yaml:snakeyaml:1.33"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="YAML 1.1 parser and emitter for Java"
+HOMEPAGE="https://bitbucket.org/snakeyaml/snakeyaml"
+SRC_URI="https://bitbucket.org/${PN}/${PN}/get/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+# Compile dependencies
+# POM: pom.xml
+# test? joda-time:joda-time:2.11.2 -> >=dev-java/joda-time-2.11.2:0
+# test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4
+# test? org.apache.velocity:velocity-engine-core:2.3 -> >=dev-java/velocity-2.3:0
+# test? org.projectlombok:lombok:1.18.24 -> !!!groupId-not-found!!!
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ test? (
+ dev-java/velocity:0
+ dev-java/joda-time:0
+ )
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+S="${WORKDIR}/snakeyaml-snakeyaml-7f5106920d77"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.yaml.snakeyaml"
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="joda-time,junit-4,velocity"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_test() {
+ export EnvironmentKey1="EnvironmentValue1"
+ export EnvironmentEmpty=""
+
+ # Not packaged org.projectlombok:lombok - https://bugs.gentoo.org/868684
+ rm src/test/java/org/yaml/snakeyaml/env/EnvLombokTest.java || die # Tests run: 1
+ rm src/test/java/org/yaml/snakeyaml/issues/issue387/YamlExecuteProcessContextTest.java || die # Tests run: 1
+ rm src/test/java/org/yaml/snakeyaml/env/ApplicationProperties.java || die # No tests
+
+ # https://bugs.gentoo.org/871744
+ pushd src/test/java || die
+ local JAVA_TEST_RUN_ONLY=$(find * -name "*Test.java" \
+ ! -name "StressTest.java" \
+ ! -name "ParallelTest.java" \
+ ! -name "AbstractTest.java" \
+ ! -name "PyImportTest.java" \
+ ! -name "Fuzzer50355Test.java" \
+ ! -name "ContextClassLoaderTest.java" \
+ )
+ popd
+
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+
+ java-pkg-simple_src_test
+}
next reply other threads:[~2022-10-03 7:55 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-03 7:55 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-06 16:05 [gentoo-commits] repo/gentoo:master commit in: dev-java/snakeyaml/ Arthur Zamarin
2023-04-19 9:11 Arthur Zamarin
2023-04-19 7:59 Arthur Zamarin
2023-04-19 7:49 Arthur Zamarin
2023-03-20 7:26 Miroslav Šulc
2022-10-12 19:22 Sam James
2022-10-10 18:39 Arthur Zamarin
2022-10-10 7:02 Agostino Sarubbo
2022-10-09 12:46 Arthur Zamarin
2022-10-03 7:55 Florian Schmaus
2022-09-06 8:20 Florian Schmaus
2022-08-28 5:17 Miroslav Šulc
2022-08-27 8:27 Sam James
2022-08-27 8:27 Sam James
2022-08-27 8:22 Arthur Zamarin
2022-08-27 8:22 Arthur Zamarin
2022-07-28 9:10 Sam James
2022-04-25 20:09 Arthur Zamarin
2022-04-25 11:39 Agostino Sarubbo
2022-04-25 11:37 Agostino Sarubbo
2022-04-24 13:27 Jakov Smolić
2022-03-25 8:32 Florian Schmaus
2021-12-17 10:57 Arthur Zamarin
2021-11-24 23:31 Sam James
2021-11-10 16:47 Sam James
2021-10-19 0:15 Sam James
2021-07-24 15:22 Sam James
2021-05-16 18:02 Miroslav Šulc
2021-04-16 17:09 Miroslav Šulc
2021-04-16 14:05 Miroslav Šulc
2021-04-11 0:13 Thomas Deutschmann
2021-04-06 11:05 Miroslav Šulc
2016-03-14 21:04 James Le Cuirot
2016-01-13 22:01 James Le Cuirot
2016-01-13 22:01 James Le Cuirot
2016-01-08 10:30 Patrice Clement
2016-01-08 10:30 Patrice Clement
2016-01-08 10:30 Patrice Clement
2015-09-01 19:05 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1664783620.ebf583e5509c4abe3b6af74710eddf02c54376d8.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox