diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2023-10-24 13:24:41 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-10-25 10:19:42 +0200 |
commit | 163a1486031670b2031b783bcbc33756f109bcd7 (patch) | |
tree | 19a7f548733a601e9446aca948c51c99a29b92dd /dev-java/commons-daemon | |
parent | dev-java/plexus-classworlds: add 2.7.0 (diff) | |
download | gentoo-163a1486031670b2031b783bcbc33756f109bcd7.tar.gz gentoo-163a1486031670b2031b783bcbc33756f109bcd7.tar.bz2 gentoo-163a1486031670b2031b783bcbc33756f109bcd7.zip |
dev-java/commons-daemon: add 1.3.4
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/33491
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/commons-daemon')
-rw-r--r-- | dev-java/commons-daemon/Manifest | 2 | ||||
-rw-r--r-- | dev-java/commons-daemon/commons-daemon-1.3.4.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
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 +} |