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 0440215808B for ; Fri, 18 Feb 2022 08:46:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49222E0798; Fri, 18 Feb 2022 08:46:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2590BE0798 for ; Fri, 18 Feb 2022 08:46:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E47EF342EED for ; Fri, 18 Feb 2022 08:46:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 84E581EF for ; Fri, 18 Feb 2022 08:46:04 +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: <1645173957.9ca608da6bc435549fd1cca08a333346ba91d85f.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.2.4.ebuild dev-java/commons-daemon/metadata.xml X-VCS-Directories: dev-java/commons-daemon/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 9ca608da6bc435549fd1cca08a333346ba91d85f X-VCS-Branch: master Date: Fri, 18 Feb 2022 08:46:04 +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: f67a8263-3a5c-4a36-b028-474cdd4bd4ed X-Archives-Hash: e0248153955aeb18c896cee27c513ff8 commit: 9ca608da6bc435549fd1cca08a333346ba91d85f Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Wed Feb 16 17:05:10 2022 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Feb 18 08:45:57 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ca608da dev-java/commons-daemon: Bump to 1.2.4 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/24213 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/commons-daemon/Manifest | 1 + .../commons-daemon/commons-daemon-1.2.4.ebuild | 59 ++++++++++++++++++++++ dev-java/commons-daemon/metadata.xml | 11 ++-- 3 files changed, 67 insertions(+), 4 deletions(-) diff --git a/dev-java/commons-daemon/Manifest b/dev-java/commons-daemon/Manifest index 7db2684e96c7..809868b1563c 100644 --- a/dev-java/commons-daemon/Manifest +++ b/dev-java/commons-daemon/Manifest @@ -1,2 +1,3 @@ DIST commons-daemon-1.0.15-src.tar.gz 291128 BLAKE2B af874e6a0852c2dc5c84fcbf5e1e443fb880a306b19054263d06e8d83a9b0866a52f2950c457315d80031a58250ec75284fc7839df82b7555b1ff3bd92e67810 SHA512 f20cc8796978fb09b6ecc8d99bb3c8b271b097d74c1f99b286cde213631e7f50a4104f5db2c354f9624ba8b037502d81e327c581b38253b9b216aa2172016e40 DIST commons-daemon-1.1.0-src.tar.gz 298028 BLAKE2B 5e8a0719467523438559472270ac7038ecce040f2a5a8ea8704e181557df726b9c09267b57336d9659dcb3528fecb8ac61937ef3d56e5cb12b562b88b5f6f218 SHA512 a370085a991cd6b121fcfb49822660dfc0aac19f164677dd2e6373750c1a526ef5a10334a8e075fd965c038198f6638b9e9130b5b13256f4a23a6c5a29959701 +DIST commons-daemon-1.2.4-src.tar.gz 281929 BLAKE2B 877f1c31024a2f3e4796abdd11059bd636444f5c856b998a39761fb0b221467e986586fef43463a4d01b4d4f7a562f9f8c658b94a124cd356b0a70cc185c0030 SHA512 36e9cb3153ca763bfaaa71575a1584610254f1ce4c0f666ff7bbc628311405430536413525c9c777e4364eea62a247fb084750d837e84a62d9fce92a61909d56 diff --git a/dev-java/commons-daemon/commons-daemon-1.2.4.ebuild b/dev-java/commons-daemon/commons-daemon-1.2.4.ebuild new file mode 100644 index 000000000000..103bf27e250b --- /dev/null +++ b/dev-java/commons-daemon/commons-daemon-1.2.4.ebuild @@ -0,0 +1,59 @@ +# 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 mirror://apache/commons/daemon/source/commons-daemon-1.2.4-src.tar.gz --slot 0 --keywords "~amd64 ~ppc64 ~x86" --ebuild commons-daemon-1.2.4.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="commons-daemon:commons-daemon:1.2.4" +# JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +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" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +DEPEND=" + >=virtual/jdk-1.8:* +" + +RDEPEND=" + >=virtual/jre-1.8:* +" + +DOCS=( {CONTRIBUTING,README}.md {HOWTO-RELEASE,LICENSE,NOTICE,RELEASE-NOTES}.txt ) +HTML_DOCS=( PROPOSAL.html ) + +S="${WORKDIR}/${P}-src" + +JAVA_ENCODING="iso-8859-1" + +JAVA_SRC_DIR="src/main/java" + +# There is only org/apache/commons/daemon/SimpleDaemon.java +# which is not even run upstream ( mvn test ). +# JAVA_TEST_GENTOO_CLASSPATH="junit-4" +# JAVA_TEST_SRC_DIR="src/test/java" + +src_compile() { + java-pkg-simple_src_compile + + pushd src/native/unix || die + ./configure + emake + popd +} + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install + + dobin src/native/unix/jsvc +} diff --git a/dev-java/commons-daemon/metadata.xml b/dev-java/commons-daemon/metadata.xml index 6021501589e0..4818627a6525 100644 --- a/dev-java/commons-daemon/metadata.xml +++ b/dev-java/commons-daemon/metadata.xml @@ -1,8 +1,11 @@ - - java@gentoo.org - Java - + + java@gentoo.org + Java + + + Apache Commons Daemon software is a set of utilities and Java support classes for running Java applications as server processes. These are commonly known as 'daemon' processes in Unix terminology (hence the name). On Windows they are called 'services' +