From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D6AE6158089 for ; Wed, 25 Oct 2023 08:21:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2ACFF2BC013; Wed, 25 Oct 2023 08:21:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E36182BC013 for ; Wed, 25 Oct 2023 08:21:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DFC29335C7A for ; Wed, 25 Oct 2023 08:21:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5CC7211E2 for ; Wed, 25 Oct 2023 08:21:10 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1698221982.163a1486031670b2031b783bcbc33756f109bcd7.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/commons-daemon/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/commons-daemon/Manifest dev-java/commons-daemon/commons-daemon-1.3.4.ebuild X-VCS-Directories: dev-java/commons-daemon/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 163a1486031670b2031b783bcbc33756f109bcd7 X-VCS-Branch: master Date: Wed, 25 Oct 2023 08:21:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 90430c29-dcbb-45c3-b180-fe335a72889c X-Archives-Hash: b8ff83b0f820b340a952e4d67e96e7b8 commit: 163a1486031670b2031b783bcbc33756f109bcd7 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Tue Oct 24 11:24:41 2023 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Wed Oct 25 08:19:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=163a1486 dev-java/commons-daemon: add 1.3.4 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/33491 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/commons-daemon/Manifest | 2 + .../commons-daemon/commons-daemon-1.3.4.ebuild | 55 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-java/commons-daemon/Manifest b/dev-java/commons-daemon/Manifest index 3559b9858634..4135d040e978 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 000000000000..8d36117fcc54 --- /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 +}