From e978c365080e8765f234868ad266cd333c53a94f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 26 Mar 2024 13:01:14 +0000 Subject: gentoo auto-resync : 26:03:2024 - 13:01:14 --- dev-java/jaxb-api/Manifest | 8 +++- .../files/jaxb-api-2.3.3-dropSecurityManager.patch | 10 +++++ .../files/jaxb-api-4.0.2-dropSecurityManager.patch | 12 ++++++ dev-java/jaxb-api/jaxb-api-2.3.3-r1.ebuild | 50 ---------------------- dev-java/jaxb-api/jaxb-api-2.3.3-r2.ebuild | 42 ++++++++++++++++++ dev-java/jaxb-api/jaxb-api-4.0.2.ebuild | 43 +++++++++++++++++++ dev-java/jaxb-api/metadata.xml | 4 +- 7 files changed, 115 insertions(+), 54 deletions(-) create mode 100644 dev-java/jaxb-api/files/jaxb-api-2.3.3-dropSecurityManager.patch create mode 100644 dev-java/jaxb-api/files/jaxb-api-4.0.2-dropSecurityManager.patch delete mode 100644 dev-java/jaxb-api/jaxb-api-2.3.3-r1.ebuild create mode 100644 dev-java/jaxb-api/jaxb-api-2.3.3-r2.ebuild create mode 100644 dev-java/jaxb-api/jaxb-api-4.0.2.ebuild (limited to 'dev-java/jaxb-api') diff --git a/dev-java/jaxb-api/Manifest b/dev-java/jaxb-api/Manifest index 1db5fcbccae6..50364689a856 100644 --- a/dev-java/jaxb-api/Manifest +++ b/dev-java/jaxb-api/Manifest @@ -1,7 +1,11 @@ +AUX jaxb-api-2.3.3-dropSecurityManager.patch 487 BLAKE2B a48ac3cb91a1aa85355d36eb9e046984e7a5c765a93f5c0e53b3acfade9861cb5f8f9aae8a6bb785f21937dcb0c60be95d6464e50b3a4e54151f93d43b66e3bd SHA512 b7b9ecb1bda8eba28fdbd4a4860f46b2c91cd239f1bf864df336b88e352d6889695c1966ba0773123678cdc77b00bb5e934cf975ff40662383170daf6a6689b4 +AUX jaxb-api-4.0.2-dropSecurityManager.patch 686 BLAKE2B dc735f650e89111b153734f6fc5b23f50832a94fa7ed4153a3cebb8dee937643e786c994ddbe3e74f9d23905b3479b54bc91bb0d8040c2ee1d9b23d975290ea9 SHA512 8c803e02cb69ee31d0d5493bf59ec96af2c6fcc08f002cbcf7636c49e0fc3ca7bee53b2d9ec266b8d9cccd81ec621b7fd26b838ab68eda59381e1348ca168c9a DIST jaxb-api-2.3.3.tar.gz 193025 BLAKE2B 1cf4461fdc67cc05ee43e880c254290b9dbe8a40b1dc39444d8fb6656698876a4bb16c679ee551ec7baa95c07eaf83e2fe5638a71eafbb158805c14c38888cb8 SHA512 37d6705fc1563f0d35a215e2f176473ee5e817a4a3017afe22042a4235c86b8556ea1fb23210d07ca7ea3cd1e0a3271daa4be8c9652cfe92ce2898f1381de3bf DIST jaxb-api-3.0.1.tar.gz 420695 BLAKE2B 70da435e75f6fcb155d57ee20659897d7d1a72dc38e77f0348eaa767b56e2c5fbb7df88c3b0c794cfc7eaad3d839550a197288dab59520a63562f083388764c0 SHA512 16d62a1fd6045a57f1d215227ce75860340c286eb0986b1086a0312dbc8ca8119b25533c42fe54f367231ec1c34795fec6a9355417f71ce826ee28d5fb6cf9fe DIST jaxb-api-4.0.0.tar.gz 543827 BLAKE2B 12a113126290fdf46270d2713d88836e8f5d01059127747a343816a10deb45ecc8c8dc8cf2cf7e2b71754977900645d4fef6e08fa8c47f583945fea34bc62357 SHA512 eb4eab396b894ab801433e0e31f93a4980f3913176a1960591a69e4fd55f10f316a7edb712df323c59f7dc9ca6cebacb7257be06aec72446059dd8b93c6de175 -EBUILD jaxb-api-2.3.3-r1.ebuild 1531 BLAKE2B 8c3fe2631bb4c08cec81d96f8ae1a632740eee3e822e5ba16d703f8f792e594834175d2681eeedc28647d5c3f49947fc405bc57b915441203bb113419f31d948 SHA512 90a9f418a8c15a21d88076370bda6b757648fdfbbcd9c1eaf137de7f0d72d0aff7f6b326919f0f14f668e006d28c0a9fc0b60f594b252050f9032f681b1767f6 +DIST jaxb-api-4.0.2.tar.gz 544391 BLAKE2B fc143248645eb7ea5e17724531c3b6bd902d8c787c735abf16a97259850386d330de67b96837fcbb2be74182e0abbca585e4d6766dd4efffc31b73cb6040e336 SHA512 9fa4cb55a2771011d372fee670672062a12d9eb12aeb3a250ec86cc7814d9ea9fe80aca01039b37f96d5997b15938b2371d8fa323a132caf3be1093e76db1869 +EBUILD jaxb-api-2.3.3-r2.ebuild 1129 BLAKE2B 78a2211037b92a7a67f977934a3707327df7f419a4b80143f0bebb30bcc2220135eac7349568f51a0d40b6a340a199e48b3051b4cf6eb91b0fe1c3031ac007c9 SHA512 e85c5bc5ee9722fb4dd20173272905ccdab81ff16c9d401e533a56179b8fd841e58192f134dfed45d4f8e0303efa3f4c9a9a2238e529177ccbee02942ffa78d7 EBUILD jaxb-api-3.0.1-r1.ebuild 1116 BLAKE2B 0699bde40ccb4198c76f1df7c6de9be8e4f7d555a66e733c05d5942677cb208598b47aa73f2a3691a3b5c5ef6c19ff5e9e37135eb648f87628b39a6e11ed1138 SHA512 d93aba658f98491ba3d9f8d6a24fc1831848096f93ea5c6500dbac61b431087eedb18c16e943a43bd26846e8bb45e1ae5f7dfcbbdf87b146c869cdcda83e0dc3 EBUILD jaxb-api-4.0.0.ebuild 1018 BLAKE2B beb5514fef39f1d4b937cbadff947b175b1c3624080a090924b63a9f17a8ba828306d0f6b677c0e052c64916345848e5ad09e2ef32e1e8812964bf440a271476 SHA512 52cff169b9af67d13699c6cbbe1f0454b869f25ba03c282ae1b75dca30fa8d0bb25cf2ca8f799b1eb2075b21abcdf174723a5db7c856b76bb09f8a24a49ca36c -MISC metadata.xml 372 BLAKE2B 989cc55b0f2734eaffc192a47e27d159a4dcb39b4383c9a19d5a331e2f30d136e7db69e67533d1e6823433ddadd08d127372fa4be0bbf20971dcd9d4d3eade82 SHA512 75fbacfd6c24164733c2382ffef0e56545b304af647880c10f1de7ac599062fed293f9f907097fcb0afe566b370cc9e74887d8450af6f196ca34087e4e0c8153 +EBUILD jaxb-api-4.0.2.ebuild 1202 BLAKE2B 2602ea3420d4b9f97a1352525ac55cd80653345c821af78131c4bd9ce441389ec1736b6f77e64d320e47c5e4741230183079b8b986a8c5a665bc506c9b986c60 SHA512 146270fc0ddb15a4b01446ae07d57f56dcbec762a4034768df444682b6eb15d0b20b5de3136a331758f1022752eb21a9fa1a176786f89951c87c0694a758c6dd +MISC metadata.xml 366 BLAKE2B 82c8a5eb19ef5309a5d2f4c6773636711c9cc2a396e06c8c9dff7727c078dc7c7b8c627df5fefb616b05adf173e2107525cd7cf01f7c3277723d7b1f35506890 SHA512 a22da07b0393c19d36e22a1987b60ff4d47c09d0d521492e5798c5a6ac49eebc70e22f19f7d4353c2e39f038152bd998ca6fb15c6459e5b22a800e8e6975d5b7 diff --git a/dev-java/jaxb-api/files/jaxb-api-2.3.3-dropSecurityManager.patch b/dev-java/jaxb-api/files/jaxb-api-2.3.3-dropSecurityManager.patch new file mode 100644 index 000000000000..36fed49987b4 --- /dev/null +++ b/dev-java/jaxb-api/files/jaxb-api-2.3.3-dropSecurityManager.patch @@ -0,0 +1,10 @@ +--- a/jaxb-api-test/src/test/java/javax/xml/bind/test/JAXBContextTest.java ++++ b/jaxb-api-test/src/test/java/javax/xml/bind/test/JAXBContextTest.java +@@ -265,7 +265,6 @@ public class JAXBContextTest { + private void enableSM() { + System.setSecurityManager(null); + System.setProperty("java.security.policy", classesDir + "javax/xml/bind/test.policy"); +- System.setSecurityManager(new SecurityManager()); + } + + private void cleanResource(Path resource) { diff --git a/dev-java/jaxb-api/files/jaxb-api-4.0.2-dropSecurityManager.patch b/dev-java/jaxb-api/files/jaxb-api-4.0.2-dropSecurityManager.patch new file mode 100644 index 000000000000..3d78b40cdaba --- /dev/null +++ b/dev-java/jaxb-api/files/jaxb-api-4.0.2-dropSecurityManager.patch @@ -0,0 +1,12 @@ +# java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release +# https://github.com/jakartaee/jaxb-api/issues/303#issuecomment-1962748051 +--- a/jaxb-api-test/src/test/java/jakarta/xml/bind/test/JAXBContextTest.java ++++ b/jaxb-api-test/src/test/java/jakarta/xml/bind/test/JAXBContextTest.java +@@ -265,7 +265,6 @@ public class JAXBContextTest { + private void enableSM() { + System.setSecurityManager(null); + System.setProperty("java.security.policy", classesDir + "jakarta/xml/bind/test.policy"); +- System.setSecurityManager(new SecurityManager()); + } + + private void cleanResource(Path resource) { diff --git a/dev-java/jaxb-api/jaxb-api-2.3.3-r1.ebuild b/dev-java/jaxb-api/jaxb-api-2.3.3-r1.ebuild deleted file mode 100644 index 179eb6a32e3c..000000000000 --- a/dev-java/jaxb-api/jaxb-api-2.3.3-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# 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/eclipse-ee4j/jaxb-api/archive/refs/tags/2.3.3.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jaxb-api-2.3.3.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="jakarta.xml.bind:jakarta.xml.bind-api:2.3.3" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Jakarta XML Binding API" -HOMEPAGE="https://github.com/eclipse-ee4j/jaxb-api" -SRC_URI="https://github.com/eclipse-ee4j/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="EPL-1.0" -SLOT="2" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# Common dependencies -# POM: pom.xml -# jakarta.activation:jakarta.activation-api:1.2.2 -> >=dev-java/jakarta-activation-api-2.0.1:0 -# jakarta.xml.bind:jakarta.xml.bind-api:2.3.3 -> >=dev-java/jaxb-api-2.3.3:0 - -CDEPEND="dev-java/jakarta-activation-api:1" -DEPEND="${CDEPEND} - >=virtual/jdk-11:*" -RDEPEND="${CDEPEND} - >=virtual/jre-1.8:*" - -DOCS=( ../{LICENSE,NOTICE,README}.md ) - -S="${WORKDIR}/${P}/${PN}" - -JAVA_GENTOO_CLASSPATH="jakarta-activation-api-1" -JAVA_GENTOO_CLASSPATH_EXTRA="jaxb-api.jar" -JAVA_SRC_DIR="src/main/java" -JAVA_RESOURCE_DIRS="src/main/resources" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_SRC_DIR="../${PN}-test/src/test/java" -JAVA_TEST_RESOURCE_DIRS="../${PN}-test/src/test/resources" - -src_install() { - default - java-pkg-simple_src_install -} diff --git a/dev-java/jaxb-api/jaxb-api-2.3.3-r2.ebuild b/dev-java/jaxb-api/jaxb-api-2.3.3-r2.ebuild new file mode 100644 index 000000000000..abe2f8cfb559 --- /dev/null +++ b/dev-java/jaxb-api/jaxb-api-2.3.3-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="jakarta.xml.bind:jakarta.xml.bind-api:2.3.3" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Jakarta XML Binding API" +HOMEPAGE="https://github.com/jakartaee/jaxb-api" +SRC_URI="https://github.com/jakartaee/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P}" + +LICENSE="EPL-1.0" +SLOT="2" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" + +CDEPEND="dev-java/jakarta-activation-api:1" +DEPEND="${CDEPEND} + >=virtual/jdk-11:*" +RDEPEND="${CDEPEND} + >=virtual/jre-1.8:*" + +DOCS=( {LICENSE,NOTICE,README}.md ) +PATCHES=( "${FILESDIR}/jaxb-api-2.3.3-dropSecurityManager.patch" ) + +JAVA_GENTOO_CLASSPATH="jakarta-activation-api-1" +JAVA_GENTOO_CLASSPATH_EXTRA="jaxb-api.jar" +JAVA_RESOURCE_DIRS="${PN}/src/main/resources" +JAVA_SRC_DIR="${PN}/src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_RESOURCE_DIRS="${PN}-test/src/test/resources" +JAVA_TEST_SRC_DIR="${PN}-test/src/test/java" + +src_prepare() { + default #780585 + java-pkg-2_src_prepare +} diff --git a/dev-java/jaxb-api/jaxb-api-4.0.2.ebuild b/dev-java/jaxb-api/jaxb-api-4.0.2.ebuild new file mode 100644 index 000000000000..98d999e2aa19 --- /dev/null +++ b/dev-java/jaxb-api/jaxb-api-4.0.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="jakarta.xml.bind:jakarta.xml.bind-api:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Jakarta XML Binding API" +HOMEPAGE="https://github.com/jakartaee/jaxb-api" +SRC_URI="https://github.com/jakartaee/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P}" + +LICENSE="EPL-1.0" +SLOT="4" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +CP_DEPEND="dev-java/jakarta-activation:2" + +DEPEND="${CP_DEPEND} + >=virtual/jdk-11:*" + +# reason: '<>' with anonymous inner classes is not supported in -source 8 +# (use -source 9 or higher to enable '<>' with anonymous inner classes) +RDEPEND="${CP_DEPEND} + >=virtual/jre-11:*" + +DOCS=( {CONTRIBUTING,NOTICE,README}.md ) +PATCHES=( "${FILESDIR}/jaxb-api-4.0.2-dropSecurityManager.patch" ) + +JAVA_RESOURCE_DIRS="api/src/main/resources" +JAVA_SRC_DIR="api/src/main/java" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_RESOURCE_DIRS="jaxb-api-test/src/test/resources" +JAVA_TEST_SRC_DIR="jaxb-api-test/src/test/java" + +src_prepare() { + default #780585 + java-pkg-2_src_prepare +} diff --git a/dev-java/jaxb-api/metadata.xml b/dev-java/jaxb-api/metadata.xml index 44d0d808c013..82e13368f4e7 100644 --- a/dev-java/jaxb-api/metadata.xml +++ b/dev-java/jaxb-api/metadata.xml @@ -5,7 +5,7 @@ java@gentoo.org - eclipse-ee4j/jaxb-api - https://github.com/eclipse-ee4j/jaxb-api/issues + https://github.com/jakartaee/jaxb-api/issues + jakartaee/jaxb-api -- cgit v1.2.3