aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-05-02 10:31:38 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-05-02 10:31:38 +0200
commit328741c52f0320f31363f208133faa0a33da7ab1 (patch)
tree62d4f274229be786300dad90806e4a1d5e75e67a /net-analyzer
parentsys-power/amdgpu-fan: add maintainer (diff)
downloadguru-328741c52f0320f31363f208133faa0a33da7ab1.tar.gz
guru-328741c52f0320f31363f208133faa0a33da7ab1.tar.bz2
guru-328741c52f0320f31363f208133faa0a33da7ab1.zip
net-analyzer/munin-plugins-mendix: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/munin-plugins-mendix/Manifest1
-rw-r--r--net-analyzer/munin-plugins-mendix/metadata.xml16
-rw-r--r--net-analyzer/munin-plugins-mendix/munin-plugins-mendix-23.ebuild33
3 files changed, 50 insertions, 0 deletions
diff --git a/net-analyzer/munin-plugins-mendix/Manifest b/net-analyzer/munin-plugins-mendix/Manifest
new file mode 100644
index 000000000..421d926ee
--- /dev/null
+++ b/net-analyzer/munin-plugins-mendix/Manifest
@@ -0,0 +1 @@
+DIST munin-plugins-mendix-23.tar.gz 27443 BLAKE2B ff15f47ae8f540ad0080f76ee7e04451a5f6e5fa046444f5eac7994f3bd8aee4342b0c435951b370a7e14d1e25f5007d66aa8904be43c54e8b9cae4157494ebb SHA512 5ede0c389dec7ddc2148138643e020bbc2fb8ffcdbafb5cd959e3e0c1db2ad3d909b10608a26c34f6a3bc798c97e876f9175284d83266df72647a5c632960845
diff --git a/net-analyzer/munin-plugins-mendix/metadata.xml b/net-analyzer/munin-plugins-mendix/metadata.xml
new file mode 100644
index 000000000..28064c9cf
--- /dev/null
+++ b/net-analyzer/munin-plugins-mendix/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>pim.van.den.berg@mendix.com</email>
+ <name>Pim van den Berg</name>
+ </maintainer>
+ <bugs-to>https://github.com/mendix/munin-plugins-mendix/issues</bugs-to>
+ <remote-id type="github">mendix/munin-plugins-mendix</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-analyzer/munin-plugins-mendix/munin-plugins-mendix-23.ebuild b/net-analyzer/munin-plugins-mendix/munin-plugins-mendix-23.ebuild
new file mode 100644
index 000000000..f7854c22d
--- /dev/null
+++ b/net-analyzer/munin-plugins-mendix/munin-plugins-mendix-23.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DESCRIPTION="This package provides various plugins for Munin"
+HOMEPAGE="https://github.com/mendix/munin-plugins-mendix"
+SRC_URI="https://github.com/mendix/munin-plugins-mendix/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+LICENSE="all-rights-reserved" #https://github.com/mendix/munin-plugins-mendix/issues/10
+SLOT="0"
+RDEPEND="net-analyzer/munin"
+
+src_prepare() {
+ default
+}
+
+src_configure() {
+ return
+}
+
+src_compile() {
+ return
+}
+
+src_install() {
+ #install plugins without getting mad at preserving exec bit
+ mkdir -p "${ED}/usr/libexec/munin/plugins/mendix" || die
+ mv plugins/* "${ED}/usr/libexec/munin/plugins/mendix" || die
+
+ insinto "/etc/munin/plugin-conf.d/"
+ doins -r plugin-conf/*
+}