From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/snakeyaml/
Date: Tue, 6 Apr 2021 11:05:13 +0000 (UTC) [thread overview]
Message-ID: <1617705868.fe6324607afad6e952b57747c3297a6b5d69ffbd.fordfrog@gentoo> (raw)
commit: fe6324607afad6e952b57747c3297a6b5d69ffbd
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Mar 28 21:13:13 2021 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Apr 6 10:44:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe632460
dev-java/snakeyaml: bump to 1.28 (CVE-2017-18640)
Closes: https://bugs.gentoo.org/776796
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/20176
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/snakeyaml/Manifest | 1 +
dev-java/snakeyaml/snakeyaml-1.28.ebuild | 86 ++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
diff --git a/dev-java/snakeyaml/Manifest b/dev-java/snakeyaml/Manifest
index bf4e3ba8cc2..585b73ed368 100644
--- a/dev-java/snakeyaml/Manifest
+++ b/dev-java/snakeyaml/Manifest
@@ -1 +1,2 @@
+DIST asomov-snakeyaml-b28f0b4d87c6.tar.gz 397832 BLAKE2B 054c228cd739e0d7ae89227cba7ae1aba76e5b6a7aae4915a765816d916ab3a47e80d6c2795a5e9bcaee96a70c1751fb9e67523e7faed2db5a6d2123d773d04a SHA512 2d19aee8c3aef2c4c300382451c1241dd2452180fe28c39eb9fe1bbc9d6c615bb8504535d3cf1cf5fe2ad55def8c43b709e8ecd97f760403cfaee7db977f074c
DIST snakeyaml-1.16.tar.bz2 234954 BLAKE2B dea06c3501ceab4e92b4d125dc882ce7b7773d67ac5526fdf39fafb421f339fe892cfd3f8e80e413aa080fecbc94425842ccabd099d97e1c705eab7025c489e9 SHA512 77ef0b1fa2ebe7ab1618745c407436ac6965159e29e1271b0d571006b967bcd94658eb3a8047180ea7c3160eb66ecbac1f24414537a24a81c11fb735ce65e3a4
diff --git a/dev-java/snakeyaml/snakeyaml-1.28.ebuild b/dev-java/snakeyaml/snakeyaml-1.28.ebuild
new file mode 100644
index 00000000000..33fed45f021
--- /dev/null
+++ b/dev-java/snakeyaml/snakeyaml-1.28.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2021 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/asomov/snakeyaml/get/snakeyaml-1.28.tar.gz --slot 0 --keywords "~amd64 ~x86" --ebuild snakeyaml-1.28-r1.ebuild
+
+EAPI=7
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.yaml:snakeyaml:1.28"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_COMMIT="b28f0b4d87c6"
+MY_P="asomov-snakeyaml-${MY_COMMIT}"
+
+DESCRIPTION="YAML 1.1 parser and emitter for Java"
+HOMEPAGE="https://bitbucket.org/asomov/snakeyaml"
+SRC_URI="https://bitbucket.org/asomov/${PN}/get/${P}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Compile dependencies
+# POM: pom.xml
+# test? commons-io:commons-io:2.5 -> >=dev-java/commons-io-2.4:1
+# test? joda-time:joda-time:2.10.1 -> >=dev-java/joda-time-2.10.10:0
+# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.1:4
+# test? org.apache.commons:commons-lang3:3.4 -> >=dev-java/commons-lang-3.4:3.4
+# test? org.apache.velocity:velocity:1.6.2 -> >=dev-java/velocity-1.7:0
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ test? (
+ >=dev-java/commons-io-2.4:1
+ >=dev-java/commons-lang-3.4:3.4
+ >=dev-java/joda-time-2.10.10:0
+ >=dev-java/velocity-1.7:0
+ )
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+"
+
+S="${WORKDIR}/${MY_P}"
+
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="commons-io-1,joda-time,junit-4,commons-lang-3.4,velocity"
+JAVA_TEST_SRC_DIR="src/test/java"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+
+JAVA_TEST_EXCLUDES=(
+ "examples.spring.TestEntityDescription" # Invalid test class
+ "org.yaml.snakeyaml.constructor.TestBean1" # Invalid test class
+ "org.yaml.snakeyaml.introspector.TestAnnotation" # Invalid test class
+ "org.yaml.snakeyaml.introspector.TestBean" # Invalid test class
+ "org.yaml.snakeyaml.ruby.TestObject" # Invalid test class
+ "org.yaml.snakeyaml.issues.issue154.TestBean" # Invalid test class
+ "org.yaml.snakeyaml.issues.issue193.TestYaml" # Invalid test class
+
+ # initializationError(org.yaml.snakeyaml.constructor.TestBean)
+ # java.lang.IllegalArgumentException: Test class can only have one constructor
+ "org.yaml.snakeyaml.constructor.TestBean"
+
+ # testTemplate1(org.yaml.snakeyaml.emitter.template.VelocityTest)
+ # java.lang.NullPointerException
+ "org.yaml.snakeyaml.emitter.template.VelocityTest"
+
+ # yamlClassInYAMLCL(org.yaml.snakeyaml.issues.issue318.ContextClassLoaderTest)
+ # java.lang.ClassNotFoundException: org.yaml.snakeyaml.Yaml
+ "org.yaml.snakeyaml.issues.issue318.ContextClassLoaderTest"
+
+ "examples.spring.TestEntity" # Invalid test class
+
+ "org.pyyaml.PyImportTest" # No tests found in org.pyyaml.PyImportTest
+)
+
+src_test() {
+ export EnvironmentKey1="EnvironmentValue1"
+ export EnvironmentEmpty=""
+ java-pkg-simple_src_test
+}
next reply other threads:[~2021-04-06 11:05 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-06 11:05 Miroslav Šulc [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-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
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=1617705868.fe6324607afad6e952b57747c3297a6b5d69ffbd.fordfrog@gentoo \
--to=fordfrog@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