From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-java/commons-daemon/Manifest | 3 ++ .../commons-daemon/commons-daemon-1.0.15.ebuild | 58 ++++++++++++++++++++++ dev-java/commons-daemon/metadata.xml | 8 +++ 3 files changed, 69 insertions(+) create mode 100644 dev-java/commons-daemon/Manifest create mode 100644 dev-java/commons-daemon/commons-daemon-1.0.15.ebuild create mode 100644 dev-java/commons-daemon/metadata.xml (limited to 'dev-java/commons-daemon') diff --git a/dev-java/commons-daemon/Manifest b/dev-java/commons-daemon/Manifest new file mode 100644 index 000000000000..74bc09cb6dfb --- /dev/null +++ b/dev-java/commons-daemon/Manifest @@ -0,0 +1,3 @@ +DIST commons-daemon-1.0.15-src.tar.gz 291128 BLAKE2B af874e6a0852c2dc5c84fcbf5e1e443fb880a306b19054263d06e8d83a9b0866a52f2950c457315d80031a58250ec75284fc7839df82b7555b1ff3bd92e67810 SHA512 f20cc8796978fb09b6ecc8d99bb3c8b271b097d74c1f99b286cde213631e7f50a4104f5db2c354f9624ba8b037502d81e327c581b38253b9b216aa2172016e40 +EBUILD commons-daemon-1.0.15.ebuild 1255 BLAKE2B 7dba8b76b4d39cdf13269a5e55babb479aa3bb0645a3d83ec8b80d870834aec80f8245fb5c9a7d8caadb23ac3d660b3db30305d93da18674fd0469a7b8fe23e7 SHA512 9f6b2160da39f474dddeb165397c523764069f1ed4123de817c279ce41ab0b0be3aa8396741f1dd201dff28577d5e39acd18431d94e75f27316b315330606524 +MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 diff --git a/dev-java/commons-daemon/commons-daemon-1.0.15.ebuild b/dev-java/commons-daemon/commons-daemon-1.0.15.ebuild new file mode 100644 index 000000000000..1b467fb6bde5 --- /dev/null +++ b/dev-java/commons-daemon/commons-daemon-1.0.15.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc examples source" + +inherit autotools java-pkg-2 java-ant-2 + +DESCRIPTION="Tools to allow Java programs to run as UNIX daemons" +SRC_URI="mirror://apache/commons/daemon/source/${P}-src.tar.gz" +HOMEPAGE="http://commons.apache.org/daemon/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="kernel_linux" + +CDEPEND="kernel_linux? ( sys-libs/libcap )" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.6 + source? ( app-arch/zip )" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +S="${WORKDIR}/${P}-src" + +java_prepare() { + cd "${S}/src/native/unix" || die + sed -i "s/powerpc/powerpc|powerpc64/g" support/apsupport.m4 || die + eautoconf +} + +src_configure() { + java-ant-2_src_configure + cd "${S}/src/native/unix" || die + default +} + +src_compile() { + java-pkg-2_src_compile + cd "${S}/src/native/unix" || die + default +} + +src_install() { + dobin src/native/unix/jsvc + java-pkg_newjar dist/*.jar + + dodoc README RELEASE-NOTES.txt *.html src/native/unix/CHANGES.txt + use doc && java-pkg_dohtml -r dist/docs/* + use examples && java-pkg_doexamples src/samples + use source && java-pkg_dosrc src/main/java/* +} diff --git a/dev-java/commons-daemon/metadata.xml b/dev-java/commons-daemon/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/dev-java/commons-daemon/metadata.xml @@ -0,0 +1,8 @@ + + + + + java@gentoo.org + Java + + -- cgit v1.2.3