diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/jmx2munin |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/jmx2munin')
-rw-r--r-- | net-analyzer/jmx2munin/Manifest | 5 | ||||
-rw-r--r-- | net-analyzer/jmx2munin/jmx2munin-1.0_p20120811-r1.ebuild | 54 | ||||
-rw-r--r-- | net-analyzer/jmx2munin/metadata.xml | 15 |
3 files changed, 74 insertions, 0 deletions
diff --git a/net-analyzer/jmx2munin/Manifest b/net-analyzer/jmx2munin/Manifest new file mode 100644 index 000000000000..badfb6abd755 --- /dev/null +++ b/net-analyzer/jmx2munin/Manifest @@ -0,0 +1,5 @@ +DIST jmx2munin-gentoo-1.0_p20120811.tar.gz 6890 SHA256 38f7281ca2164778cd40d2aa09a274d000c4a1ef325f20eddfb058885595a4ef SHA512 154817d63fb278970d04785821a29833007a553055efe28aa6a3654d01b7a4422a2a1c98cd1693ae52ea28a57505b6d7988f241f6d119425f5c3ae38471b72be WHIRLPOOL 59f302a24798319648998ac296aec13059a868695eda92aebdccb0fb34cbc1ce9fa7aa1fb388ed7d45acbce444c7c138bb718840477ba427937cbb10b879c5bd +EBUILD jmx2munin-1.0_p20120811-r1.ebuild 1042 SHA256 fb2d3e0db334889828ea49e52c250443dc05f1d8848fa369808b5bc7d8e3a370 SHA512 fec90b91b98934c2cc2d637aa553031f8027908362bd2cbd1cf427a199110dc05b8583749a3820e3afb2b5e104d1fd500bf90db9e4ce5566bd7964c18ec23d0d WHIRLPOOL a1c0192da01e61aa6993edc93b1a15353b3e719cb99979b1ed2c72af06ed6c1c0ce5b9e0590ed3e56db72da558f79fc261661655b8c6588728c640d16a23244c +MISC ChangeLog 2459 SHA256 9a3683860bf7ed20a5fe99971a906b3fd106dd30d32df1e0ce212d2aac4a10b2 SHA512 83f59f74b2bc7204f52deca4a872c282613486070b978394ae468e22e7e001fb7ff8e43255d848e2b9da799e49da4bbb037d8f66cb9104d4398c5deaf06c9da6 WHIRLPOOL cac5ed6d004ede266bf3dcab797e1613e98486a5959bed5b0202f2d3ae581443d0cecb0f2731bd80be435ae433932ccee025652877676172acb61ac07303d9b6 +MISC ChangeLog-2015 847 SHA256 a73aec7ff45db851b2202c76afaa1476f2de789482dfbab83ae28810b9f524f7 SHA512 d73136bb7710ae80847b08ba8e1b031866c371d790b88863c671e72ae352e37111872eccfea822b2a92738be8d47bb33e836d25b1783d2f2d057f8011e9772e2 WHIRLPOOL 705b32c4ebc8f4eb36a54427e1d838f347067a1d9d20d72cd806a8205185d15e20389752927b1b8b7687ab8fa9bc5a69a7af752ce44eb795dc7970b9a0f93971 +MISC metadata.xml 453 SHA256 8ba3d9ccd68e600e729b5811d28f7326c3e9be30c363486c1cef4b793355090e SHA512 932ab6744d17bd6b912e9a1fe6aa1420f7aec75b4678428636ed8150c99af2aa618dc39094f7400b85070ced96eac82d5671e189d20e9ae255c5a1c3ea3499b1 WHIRLPOOL ffcf80b9a368a2213ca696ec9ca16be9e6a0f4af97955ddaad3204173bbdc062fdcf0481665efc21d81112b61f301cbb89538cded1a35707313bfeffe76342ed diff --git a/net-analyzer/jmx2munin/jmx2munin-1.0_p20120811-r1.ebuild b/net-analyzer/jmx2munin/jmx2munin-1.0_p20120811-r1.ebuild new file mode 100644 index 000000000000..ad8601a5fcc0 --- /dev/null +++ b/net-analyzer/jmx2munin/jmx2munin-1.0_p20120811-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +MY_P="${PN}-gentoo-${PV}" + +DESCRIPTION="JMX Monitoring plugin for Munin" +HOMEPAGE="https://github.com/tcurdt/jmx2munin" +SRC_URI="https://github.com/gentoo/jmx2munin/tarball/${MY_P} -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +CDEPEND="dev-java/jcommander:0" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.6" + +RDEPEND="${CDEPEND} + net-analyzer/munin + >=virtual/jre-1.6" + +S="${WORKDIR}/${MY_P}" + +JAVA_SRC_DIR="src/main/java/org/vafer/jmx" +JAVA_GENTOO_CLASSPATH="jcommander" + +src_unpack() { + unpack ${A} + mv gentoo-${PN}-* ${MY_P} +} + +java_prepare() { + rm pom.xml || die +} + +src_install() { + java-pkg-simple_src_install + java-pkg_dolauncher ${PN} --main org.vafer.jmx.munin.Munin + + exeinto /usr/libexec/munin/plugins + newexe contrib/${PN}.sh ${PN}_ + + dodoc README.md contrib/jmx2munin.cfg/cassandra/nodes_in_cluster + + keepdir /etc/munin/${PN} +} diff --git a/net-analyzer/jmx2munin/metadata.xml b/net-analyzer/jmx2munin/metadata.xml new file mode 100644 index 000000000000..737e4b4746ff --- /dev/null +++ b/net-analyzer/jmx2munin/metadata.xml @@ -0,0 +1,15 @@ +<?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> + <maintainer type="project"> + <email>sysadmin@gentoo.org</email> + <name>Gentoo Sysadmin Project</name> + </maintainer> + <upstream> + <remote-id type="github">gentoo/jmx2munin</remote-id> + </upstream> +</pkgmetadata> |