summaryrefslogtreecommitdiff
path: root/dev-java/commons-daemon
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/commons-daemon')
-rw-r--r--dev-java/commons-daemon/Manifest5
-rw-r--r--dev-java/commons-daemon/commons-daemon-1.0.15.ebuild60
-rw-r--r--dev-java/commons-daemon/metadata.xml8
3 files changed, 73 insertions, 0 deletions
diff --git a/dev-java/commons-daemon/Manifest b/dev-java/commons-daemon/Manifest
new file mode 100644
index 000000000000..c6d4e9fc6466
--- /dev/null
+++ b/dev-java/commons-daemon/Manifest
@@ -0,0 +1,5 @@
+DIST commons-daemon-1.0.15-src.tar.gz 291128 SHA256 11ee57d2c6b281589c1497b2f88180553f06d5ac1560ce1841e05f89f0342432 SHA512 f20cc8796978fb09b6ecc8d99bb3c8b271b097d74c1f99b286cde213631e7f50a4104f5db2c354f9624ba8b037502d81e327c581b38253b9b216aa2172016e40 WHIRLPOOL 6b3b5f5d12fc9fd15345e71a7bf41f88605b00f9bc0ab5ab5fca3752f4bae1adf6ae6b2c3781a68b00d0609c51cb5cb2f4e399effa40f08be0c5dacc2e230d65
+EBUILD commons-daemon-1.0.15.ebuild 1284 SHA256 03e1d34b0d05eec17fc130901385b4a9e844a9c4aa531fbedbe7fe303e1e139d SHA512 88784abfec38ba6b126922c3dffc473f41d9a37b063bd562292f3f73c45ead144793afa84938aa8f2db5f900090ba49324f3776c6ea824885d95a27f0bd39456 WHIRLPOOL 2b8f8df1e09a1cf02a9c7d67ec18d6e23fe5562a4b6290242b8d3edd2c99e4022ff81b0f7e857bca0600261de5385e1fd1dd2ea5917d6628214b6ad3201a114e
+MISC ChangeLog 3181 SHA256 6fa3eb5155815d3eb4956c9da875491f0801cc46f44fd1a3a2c573855d3df63a SHA512 6f2c9cf0e07d705bd8330cecde8d01bd365eb67dd7a27ae3e388de2cfc655d45bbf1d168983d4d63a66fd08cfc24a610e4d237dcbaeadfda05466b07fffa06db WHIRLPOOL c20c272ff3bcd3434973ff3d724591f4a68543a20d59d5b68cd0ed5e4d18b238be8e83ac6679ba13d0acc3c6df5db7337f9605150f25ae43adfc58ad740f50d7
+MISC ChangeLog-2015 8094 SHA256 aeca43d34d356d7cd964264e5e97cbff5613b5aa4e5e91404c04f67eae2a4ab8 SHA512 a89dd268db114b1af3d4839373cfea40ec2d7d03dcb9d21c58490e34f846af648f28d99b74254eb143b4564c16aaa023aa028f607d9f26b96a2e877f17135863 WHIRLPOOL b89c3ef6c9f564dd3cf495b219031845cb2227b4eecb0faa527c3f09597549a5eb3bafe32e18447fe13720f5add58dc6532fb0e064f252bd62229983d00e4aaf
+MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac
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..8061d6a33f17
--- /dev/null
+++ b/dev-java/commons-daemon/commons-daemon-1.0.15.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+WANT_AUTOCONF=2.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 ~x86-fbsd ~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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+</maintainer>
+</pkgmetadata>