summaryrefslogtreecommitdiff
path: root/dev-java/commons-daemon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-11 12:30:55 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-11 12:30:55 +0100
commit65a36438d5b824f80023c282dadc3fcd5736b526 (patch)
tree12aedb23736e7cceba662d217cdd7f0f2a2662ba /dev-java/commons-daemon
parentadd278b9601ff9e4af091c91c851ee46a185be8f (diff)
gentoo auto-resync : 11:09:2024 - 12:30:54
Diffstat (limited to 'dev-java/commons-daemon')
-rw-r--r--dev-java/commons-daemon/Manifest3
-rw-r--r--dev-java/commons-daemon/commons-daemon-1.4.0.ebuild60
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-java/commons-daemon/Manifest b/dev-java/commons-daemon/Manifest
index 2b10bfb44360..eb70202e986d 100644
--- a/dev-java/commons-daemon/Manifest
+++ b/dev-java/commons-daemon/Manifest
@@ -1,5 +1,8 @@
AUX commons-daemon-1.3.1-Make.patch 508 BLAKE2B a7645b93b44f15b4ebb9a0864a3c467999bcb0becf006f2806f897a26435140017384fb8cf14151e3a7b969c9397c4047f47e2a35f53904a9a013d5f085ab04c SHA512 f01c485a0832aef27b1fa6b681c7f66096a0206d6e75e702e32bd6131eb1ea4d85fb363d12eb6d29c386d2af773ca0ff17f14ea7a6ebc8469e641b0760e9a82f
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
+DIST commons-daemon-1.4.0-src.tar.gz 291610 BLAKE2B 3a13a00e209ad501a34ebef32a5e5bf9bd25de309434249d81a5ba96bad2e922a6cdae42624a7a8da64555838c9bb12cb54de4da59193f16d91f4869ff72a9eb SHA512 285f33ce36e2591f49b6067da16612ec1b49b23a8637d077618aefaae4452993dc2a31660665551ea761857390d940100e162e205fe7c0fad9c72374f2d15bb8
+DIST commons-daemon-1.4.0-src.tar.gz.asc 833 BLAKE2B ac97dd01c02b4a52e2c3cdf4047504cc10b7b4bbfe70f86d442e301af48520c51513f2dae37eaa08648ac9a29e6212abb153b2e36cf85baf03245d8e528166b8 SHA512 8144068c97e76ca358850455d7b867ae106f04083223b43229cc1e05f21c99150c6734174e1b77e89eee93f94ec198831df57f3f53217f3416584509ca289fe1
EBUILD commons-daemon-1.3.4.ebuild 1480 BLAKE2B 9e028b172140611de19ccbf8aad46383d9b684275b0507fa9a1a03a2985a4205fbd91d78cb04d7ca41c72ca40e1de5e32996e5b66bcc16b934be520cddd6fbe5 SHA512 d13ff71c28c35b5c505dec7d372055f7c6126ad696851dbbf27a86922014a3d533d4dde66a4c7710e3d411d5a17d3848b5225b046ab048e6576003e427bdfe57
+EBUILD commons-daemon-1.4.0.ebuild 1633 BLAKE2B 06ccfc89cd9210a9d882d2a1334d96c778de86ed52863bd0427f82b1bc1265d9200a01bd02466884d7c27da09d8c70848bfaacf10c9948a63936a734171614ed SHA512 98d3fc24329150fd978cacb811039f5c97719af16f2f522493084323500a21bcbfaa3754566a81a5559ad76c8b2f7956a0df69132be28336be26c0c17520c2b8
MISC metadata.xml 693 BLAKE2B 327524cf8db429b89ebf8e16745b6125fdfef850402000b1ddefa96254aa827a1fa8a2bd61af3ac219b26f0fd14f7c6d9718462f095ef1264b6119ccbc21f9be SHA512 ab8232bbc9d93e5c3f056f3230f3cf4bd095dbf8985a25094b8ba541679814d4dc10e3a211537397577f30d3d84d3335a0d512b26ca82b14a58f3994b6954810
diff --git a/dev-java/commons-daemon/commons-daemon-1.4.0.ebuild b/dev-java/commons-daemon/commons-daemon-1.4.0.ebuild
new file mode 100644
index 000000000000..148d6bb0b68d
--- /dev/null
+++ b/dev-java/commons-daemon/commons-daemon-1.4.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# No tests #839681
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="commons-daemon:commons-daemon:${PV}"
+
+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"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
+DEPEND=">=virtual/jdk-11:*" # module-info
+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"
+
+src_prepare() {
+ default #780585
+ java-pkg-2_src_prepare
+}
+
+src_compile() {
+ JAVA_JAR_FILENAME="org.apache.${PN}.jar"
+ java-pkg-simple_src_compile # creates a legacy jar file without module-info
+
+ jdeps --generate-module-info \
+ src/main/java \
+ --multi-release 9 \
+ "${JAVA_JAR_FILENAME}" || die
+
+ JAVA_JAR_FILENAME="${PN}.jar"
+ java-pkg-simple_src_compile # creates the final jar file including module-info
+
+ pushd src/native/unix || die
+ ./configure
+ emake AR="$(tc-getAR)"
+ popd
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ dobin src/native/unix/jsvc
+}