summaryrefslogtreecommitdiff
path: root/dev-java/jakarta-xml-soap-api
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jakarta-xml-soap-api')
-rw-r--r--dev-java/jakarta-xml-soap-api/Manifest3
-rw-r--r--dev-java/jakarta-xml-soap-api/files/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch14
-rw-r--r--dev-java/jakarta-xml-soap-api/jakarta-xml-soap-api-1.4.2-r2.ebuild (renamed from dev-java/jakarta-xml-soap-api/jakarta-xml-soap-api-1.4.2-r1.ebuild)13
3 files changed, 24 insertions, 6 deletions
diff --git a/dev-java/jakarta-xml-soap-api/Manifest b/dev-java/jakarta-xml-soap-api/Manifest
index e009b57a75db..1772631267f8 100644
--- a/dev-java/jakarta-xml-soap-api/Manifest
+++ b/dev-java/jakarta-xml-soap-api/Manifest
@@ -1,3 +1,4 @@
+AUX jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch 509 BLAKE2B 2418ef071dd9e63c3a9896357e59974c90471b8d57bbe1c97ef8e4dadaed5ed54516f192c5c9d901d94d4e86d9f897c8a53ff764f7b8cd4bac125deaf8d3ea6b SHA512 8955d5e63f02801afa714a7cfeab1b6bfbb157ed5d347a239c3e5b1592e01496f5dcfb83c02969be1e46539f02eaadd6d22be5e5c48254f6d0c93b3385871739
DIST jakarta-xml-soap-api-1.4.2.tar.gz 107226 BLAKE2B 4de5b994505d1964b6804010191b7b623322005d7bac6e9295062e821b5e0994a02d04f72d7f1bba9a8bf835ce42f455678af35c8cdf3e9e7208a2fde4151927 SHA512 9df8bb191fee0f6afa46f2d0c4bd5d1760324220be6862ff17df77d0dd4c9341360f18dd935233fdf6d9656d511c5378bd557e3dadd6570dfd3c9d7981179516
-EBUILD jakarta-xml-soap-api-1.4.2-r1.ebuild 1334 BLAKE2B 2ec9f622ebafe937540b106455afb9cd10e9fce01e687f9b8a61de22cd27d395e5d3f528de9bab64de82039dd8049c3f384b1325db94254e9d464ef39943b9b0 SHA512 4006bc79149a43f317538507e55ff5c81f6ed2d4ded3792d6327173c9e0ddb12a2aa8b22800e7ac6c22c72357511bbf90071a4a3272ce474b0e9947de296757d
+EBUILD jakarta-xml-soap-api-1.4.2-r2.ebuild 1379 BLAKE2B 9a9e3a0f68a5c2c9d0cde9717a4b9149c8c4fb93179b242873fb9100b30f219be3c2c715e43a7bd36e3301b3a0d36e784dfef64cc7d59f2e35663434b1c7ec1b SHA512 b216677433e4ce0f5d7db8fcace69642071231eb98eec03e0ea8fa308d0a5ef25fbfac3b8d317f04dd65fb7b9219f9498359dc1856e7d1f8565f71861ff3a070
MISC metadata.xml 320 BLAKE2B fd847b8fbad4684553ca9dc3132b0ebd523f9664cce8e635f38b3804c35c0aad29a331c117910210996fdb4eb309e1e9e2c9625aefec6bc1a36d113a768a0677 SHA512 7137cc73a561da78fa9ce53b07737636fc6144495ca67fac5b6e5a63d41e74bc45ffcc04b459d2018a744f78e5b0ab4f44e944f1ed9a1b672f2efd344f6b212e
diff --git a/dev-java/jakarta-xml-soap-api/files/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch b/dev-java/jakarta-xml-soap-api/files/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch
new file mode 100644
index 000000000000..a94489044d7f
--- /dev/null
+++ b/dev-java/jakarta-xml-soap-api/files/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch
@@ -0,0 +1,14 @@
+bug #923606
+--- a/api/src/test/java/javax/xml/soap/test/SAAJFactoryTest.java
++++ b/api/src/test/java/javax/xml/soap/test/SAAJFactoryTest.java
+@@ -165,9 +165,7 @@ public class SAAJFactoryTest {
+ }
+
+ private void enableSM() {
+- System.setSecurityManager(null);
+- System.setProperty("java.security.policy", classesDir + "javax/xml/soap/test.policy");
+- System.setSecurityManager(new SecurityManager());
++ // no-op
+ }
+
+ protected MessageFactory factory() throws Throwable {
diff --git a/dev-java/jakarta-xml-soap-api/jakarta-xml-soap-api-1.4.2-r1.ebuild b/dev-java/jakarta-xml-soap-api/jakarta-xml-soap-api-1.4.2-r2.ebuild
index 3186460aa436..fc7c2c78bdec 100644
--- a/dev-java/jakarta-xml-soap-api/jakarta-xml-soap-api-1.4.2-r1.ebuild
+++ b/dev-java/jakarta-xml-soap-api/jakarta-xml-soap-api-1.4.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,6 +12,7 @@ inherit java-pkg-2 java-pkg-simple
DESCRIPTION="SOAP with Attachments API for Java (SAAJ) API (Eclipse Project for JAX-WS)"
HOMEPAGE="https://projects.eclipse.org/projects/ee4j.jaxws"
SRC_URI="https://github.com/jakartaee/saaj-api/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/saaj-api-${PV}"
# EDL-1.0 equivalent to BSD
# - 'SPDX-License-Identifier: BSD-3-Clause' in source files' headers
@@ -35,7 +36,9 @@ RDEPEND="
${CP_DEPEND}
"
-S="${WORKDIR}/saaj-api-${PV}"
+PATCHES=(
+ "${FILESDIR}/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch"
+)
JAVA_SRC_DIR="api/src/main/java"
@@ -46,7 +49,7 @@ JAVA_TEST_EXTRA_ARGS=( -Xbootclasspath/a:target/classes )
DOCS=( CONTRIBUTING.md NOTICE.md README.md )
-src_install() {
- java-pkg-simple_src_install
- einstalldocs # https://bugs.gentoo.org/789582
+src_prepare() {
+ default #780585
+ java-pkg-2_src_prepare
}