From 42bea1753b5510413d7c4c2db7dca26e11a2c468 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Tue, 24 Oct 2023 18:26:57 +0200 Subject: [PATCH 1/3] dev-java/xmlunit: update HOMEPAGE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit old HOMEPAGE was redirecting to https://www.xmlunit.org/ also avoid permanent redirect of SRC_URI Signed-off-by: Volkmar W. Pogatzki Closes: https://github.com/gentoo/gentoo/pull/33495 Signed-off-by: Miroslav Šulc --- dev-java/xmlunit/xmlunit-1.6-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-java/xmlunit/xmlunit-1.6-r1.ebuild b/dev-java/xmlunit/xmlunit-1.6-r1.ebuild index d3c83446d2817..5f464a7ad02a7 100644 --- a/dev-java/xmlunit/xmlunit-1.6-r1.ebuild +++ b/dev-java/xmlunit/xmlunit-1.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,8 +9,8 @@ MAVEN_ID="xmlunit:xmlunit:1.6" inherit java-pkg-2 java-ant-2 DESCRIPTION="XMLUnit extends JUnit and NUnit to enable unit testing of XML" -SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" -HOMEPAGE="http://xmlunit.sourceforge.net/" +HOMEPAGE="https://sourceforge.net/projects/xmlunit/ https://www.xmlunit.org" +SRC_URI="mirror://sourceforge/project/xmlunit/xmlunit%20for%20Java/XMLUnit%20for%20Java%20${PV}/${P}-src.zip" LICENSE="BSD" SLOT="1" From dcaf11f20f2661fc23472b8274382e417aff52fc Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Tue, 24 Oct 2023 11:34:29 +0200 Subject: [PATCH 2/3] dev-java/plexus-classworlds: add 2.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Volkmar W. Pogatzki Closes: https://github.com/gentoo/gentoo/pull/33489 Signed-off-by: Miroslav Šulc --- dev-java/plexus-classworlds/Manifest | 1 + .../plexus-classworlds-2.7.0.ebuild | 47 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 dev-java/plexus-classworlds/plexus-classworlds-2.7.0.ebuild diff --git a/dev-java/plexus-classworlds/Manifest b/dev-java/plexus-classworlds/Manifest index 2136c99da8055..0481359282112 100644 --- a/dev-java/plexus-classworlds/Manifest +++ b/dev-java/plexus-classworlds/Manifest @@ -1 +1,2 @@ DIST plexus-classworlds-2.6.0.tar.gz 57221 BLAKE2B 7cef274981101eab85247c1a19420ebbb626b671312579ea665fc3d82e9eb8caba55955ccbc38ccd54e19c55ec1683b6a99a2cd96b08bf7ace57355a8e958d1f SHA512 d6ef17a4651da99975bcfc04f89ba128d891efc9047dc9b8afa52bd092d07268d44a7424a3a3700209bb56452f035ac1071c58ae6dc961b7e991efee1c0e117e +DIST plexus-classworlds-2.7.0.tar.gz 60221 BLAKE2B 8adbad24c057982dd3da6ce221175cf0b3e6585316de02434214d7d470b24220edaa94f4191cb2febfc4e3006a78cd3be5cc0f793438a5009ee20ef8c602768b SHA512 625d83c1a08a15e0d85984518eaec36bf001e562c49df4d5028e9fec1a9fdc69faa88066441da3cedd803fc20932fcaef9f2e924a485e0a0dcde60a600b32c7f diff --git a/dev-java/plexus-classworlds/plexus-classworlds-2.7.0.ebuild b/dev-java/plexus-classworlds/plexus-classworlds-2.7.0.ebuild new file mode 100644 index 0000000000000..df33db15f12a7 --- /dev/null +++ b/dev-java/plexus-classworlds/plexus-classworlds-2.7.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.codehaus.plexus:plexus-classworlds:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="The class loader framework of the Plexus project" +HOMEPAGE="https://codehaus-plexus.github.io/plexus-classworlds/" +SRC_URI="https://github.com/codehaus-plexus/plexus-classworlds/archive/plexus-classworlds-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DEPEND=" + >=virtual/jdk-1.8:* + test? ( + dev-java/ant-core:0 + dev-java/commons-logging:0 + dev-java/xml-commons-external:1.4 + ) +" +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_MAIN_CLASS="org.codehaus.plexus.classworlds.launcher.Launcher" +JAVA_SRC_DIR="src/main/java/" + +# Invalid test class, No runnable methods +JAVA_TEST_EXCLUDES="org.codehaus.plexus.classworlds.TestUtil" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_RESOURCE_DIRS="src/test/test-data" +JAVA_TEST_SRC_DIR="src/test/java" + +src_test(){ + # java.io.FileNotFoundException: target/test-lib/xml-apis-1.3.02.jar + mkdir -p target/test-lib || die + java-pkg_jar-from --into target/test-lib xml-commons-external-1.4 xml-commons-external.jar xml-apis-1.3.02.jar + java-pkg_jar-from --into target/test-lib ant-core ant.jar ant-1.9.0.jar + java-pkg_jar-from --into target/test-lib commons-logging commons-logging.jar commons-logging-1.0.3.jar + java-pkg-simple_src_test +} From 163a1486031670b2031b783bcbc33756f109bcd7 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Tue, 24 Oct 2023 13:24:41 +0200 Subject: [PATCH 3/3] dev-java/commons-daemon: add 1.3.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Volkmar W. Pogatzki Closes: https://github.com/gentoo/gentoo/pull/33491 Signed-off-by: Miroslav Šulc --- dev-java/commons-daemon/Manifest | 2 + .../commons-daemon-1.3.4.ebuild | 55 +++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 dev-java/commons-daemon/commons-daemon-1.3.4.ebuild diff --git a/dev-java/commons-daemon/Manifest b/dev-java/commons-daemon/Manifest index 3559b98586345..4135d040e9788 100644 --- a/dev-java/commons-daemon/Manifest +++ b/dev-java/commons-daemon/Manifest @@ -1,2 +1,4 @@ DIST commons-daemon-1.3.3-src.tar.gz 290415 BLAKE2B c9c175ba52cef25ce6d1b56c7466aa5e775ed1ac3ca7c710c3519574c35e8a66ff5846313de8da594511ad411e802b7e0b647cbfd66a50abaaa0d39574a4e103 SHA512 ec246e2c05d66408374ba56b3715b13f8f24f89af11fa00c2381dc19c188f1b6228f19351c97d5774808a804b83fdbdfb8f537d099db062c39ffd281c142ee77 DIST commons-daemon-1.3.3-src.tar.gz.asc 873 BLAKE2B 01fc7ec60393f2077a2bbf80aacb1a03b821cb52f88d87010f26a5811e2695d08b7c01193d00c2fb1a28bb875b63a5a0a935feadf7c1f00c4799aafa32592804 SHA512 c42b36acd45665daeda06a59006f05fd9846817e4e1065ef89dfedef060216ecce0316d06400437e4fb5138cf41c2fe52790cd5da9306c64e3000a3765bad2a2 +DIST commons-daemon-1.3.4-src.tar.gz 290834 BLAKE2B be57fbf89cad23fb4108e97b8e75d8380ff5b286068edfed65cd3539971375949ec80fd5aeece50a6498642f60e26498eb37ea3778f503d7498662ae79ecd14e SHA512 bb36d88bc21a5777245012b2a73ee0e764b85715731f54cc4ff09343e95ccb18fc6c68b3ae9c680fb45a60c7ef5ed0f9e40991c2c03246dd7f8dd65031eddf24 +DIST commons-daemon-1.3.4-src.tar.gz.asc 873 BLAKE2B f7886e67e2cfb0211d3271d79c251d07e5b0d7f7819566891e838619021ab9e3f468e3647f2f901d41a6d00f12b30adfa2d16f828ac5ce526666caab30ab8001 SHA512 eae6b01844bf5c49a95a60f4b59e0b989488728edb209252779f83e33ea3eeb53900a5fdeee5d953b231b241ba14a27c77967bdd3fe5acf2d9c6da50c225c79b diff --git a/dev-java/commons-daemon/commons-daemon-1.3.4.ebuild b/dev-java/commons-daemon/commons-daemon-1.3.4.ebuild new file mode 100644 index 0000000000000..8d36117fcc546 --- /dev/null +++ b/dev-java/commons-daemon/commons-daemon-1.3.4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="commons-daemon:commons-daemon:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple toolchain-funcs verify-sig + +DESCRIPTION="Tools to allow Java programs to run as UNIX daemons" +HOMEPAGE="https://commons.apache.org/proper/commons-daemon/" +SRC_URI="mirror://apache/commons/daemon/source/${P}-src.tar.gz + verify-sig? ( https://downloads.apache.org/commons/daemon/source/${P}-src.tar.gz.asc )" +S="${WORKDIR}/${P}-src" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +RESTRICT="test" #839681 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/commons.apache.org.asc" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" +DEPEND=">=virtual/jdk-1.8:* + test? ( dev-java/junit:5[migration-support] )" +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( {CONTRIBUTING,README}.md {HOWTO-RELEASE,NOTICE,RELEASE-NOTES}.txt ) +HTML_DOCS=( PROPOSAL.html ) +PATCHES=( "${FILESDIR}/commons-daemon-1.3.1-Make.patch" ) + +JAVA_ENCODING="iso-8859-1" +JAVA_SRC_DIR="src/main/java" +JAVA_TEST_GENTOO_CLASSPATH="junit-4 junit-5" +JAVA_TEST_SRC_DIR="src/test/java" + +src_prepare() { + default #780585 + java-pkg-2_src_prepare +} + +src_compile() { + java-pkg-simple_src_compile + + pushd src/native/unix || die + ./configure + emake AR="$(tc-getAR)" + popd +} + +src_install() { + java-pkg-simple_src_install + dobin src/native/unix/jsvc +}