commit: 560258289f1e62f326a3f5273001d9d2a0f4eed7 Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> AuthorDate: Sat Jan 18 08:20:38 2025 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Tue Apr 29 17:24:44 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56025828
dev-java/commons-daemon: add 1.4.1 Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> Part-of: https://github.com/gentoo/gentoo/pull/41428/commits/9da6cecb8b39fcce2239ee5a50d26f344c96d0ef Closes: https://github.com/gentoo/gentoo/pull/41428/commits/9da6cecb8b39fcce2239ee5a50d26f344c96d0ef Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> dev-java/commons-daemon/Manifest | 2 + .../commons-daemon/commons-daemon-1.4.1.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-java/commons-daemon/Manifest b/dev-java/commons-daemon/Manifest index 7b277908e194..ff0d9929ece2 100644 --- a/dev-java/commons-daemon/Manifest +++ b/dev-java/commons-daemon/Manifest @@ -1,2 +1,4 @@ DIST commons-daemon-1.4.0-src.tar.gz 291610 BLAKE2B 3a13a00e209ad501a34ebef32a5e5bf9bd25de309434249d81a5ba96bad2e922a6cdae42624a7a8da64555838c9bb12cb54de4da59193f16d91f4869ff72a9eb SHA512 285f33ce36e2591f49b6067da16612ec1b49b23a8637d077618aefaae4452993dc2a31660665551ea761857390d940100e162e205fe7c0fad9c72374f2d15bb8 DIST commons-daemon-1.4.0-src.tar.gz.asc 833 BLAKE2B ac97dd01c02b4a52e2c3cdf4047504cc10b7b4bbfe70f86d442e301af48520c51513f2dae37eaa08648ac9a29e6212abb153b2e36cf85baf03245d8e528166b8 SHA512 8144068c97e76ca358850455d7b867ae106f04083223b43229cc1e05f21c99150c6734174e1b77e89eee93f94ec198831df57f3f53217f3416584509ca289fe1 +DIST commons-daemon-1.4.1-src.tar.gz 292677 BLAKE2B 04fad8602d4a65d9d13f2e96efb6ec20facec6c1c7d891ee70098c4da926a50aa101425de684474f426e9c27f2cb0a6834501b3aa9afc63e58747d2146428b79 SHA512 948d176922e3d7d0843e9e8d6bdba653b367b3d4d87dc96e600bfe6a8721c1d813584116773e4a32740424e276b93c1808e0b644ee79e21b23b23d1b08b5569a +DIST commons-daemon-1.4.1-src.tar.gz.asc 833 BLAKE2B 1e87505fb8e7dea9c104a076eddb6d40ce475a304c3acc1da597a0df325c0a08eff2ca9bc182afb90add2d6a141be89210c4a2ff1fcb4f6c514716354aaf8162 SHA512 1c96a307dce04554db68adae65eacaea561b662aaf4c9b9e275d53161220687dd65ccf0fbab725de777d3ba67b1c16c2e639d55c4b61ae333ad1bd275b7ba013 diff --git a/dev-java/commons-daemon/commons-daemon-1.4.1.ebuild b/dev-java/commons-daemon/commons-daemon-1.4.1.ebuild new file mode 100644 index 000000000000..dac8db0a000b --- /dev/null +++ b/dev-java/commons-daemon/commons-daemon-1.4.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# No tests #839681 +JAVA_PKG_IUSE="doc source" +MAVEN_ID="commons-daemon:commons-daemon:${PV}" + +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" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" +DEPEND=">=virtual/jdk-11:*" # module-info +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_INTERMEDIATE_JAR_NAME="org.apache.${PN/-/.}" +JAVA_MODULE_INFO_OUT="src/main" +JAVA_SRC_DIR="src/main/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 +}
