1 |
commit: 328741c52f0320f31363f208133faa0a33da7ab1 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun May 2 08:31:38 2021 +0000 |
4 |
Commit: Theo Anderson <telans <AT> posteo <DOT> de> |
5 |
CommitDate: Sun May 2 08:31:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=328741c5 |
7 |
|
8 |
net-analyzer/munin-plugins-mendix: initial import |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
net-analyzer/munin-plugins-mendix/Manifest | 1 + |
13 |
net-analyzer/munin-plugins-mendix/metadata.xml | 16 +++++++++++ |
14 |
.../munin-plugins-mendix-23.ebuild | 33 ++++++++++++++++++++++ |
15 |
3 files changed, 50 insertions(+) |
16 |
|
17 |
diff --git a/net-analyzer/munin-plugins-mendix/Manifest b/net-analyzer/munin-plugins-mendix/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..421d926ee |
20 |
--- /dev/null |
21 |
+++ b/net-analyzer/munin-plugins-mendix/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST munin-plugins-mendix-23.tar.gz 27443 BLAKE2B ff15f47ae8f540ad0080f76ee7e04451a5f6e5fa046444f5eac7994f3bd8aee4342b0c435951b370a7e14d1e25f5007d66aa8904be43c54e8b9cae4157494ebb SHA512 5ede0c389dec7ddc2148138643e020bbc2fb8ffcdbafb5cd959e3e0c1db2ad3d909b10608a26c34f6a3bc798c97e876f9175284d83266df72647a5c632960845 |
24 |
|
25 |
diff --git a/net-analyzer/munin-plugins-mendix/metadata.xml b/net-analyzer/munin-plugins-mendix/metadata.xml |
26 |
new file mode 100644 |
27 |
index 000000000..28064c9cf |
28 |
--- /dev/null |
29 |
+++ b/net-analyzer/munin-plugins-mendix/metadata.xml |
30 |
@@ -0,0 +1,16 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <email>lssndrbarbieri@×××××.com</email> |
36 |
+ <name>Alessandro Barbieri</name> |
37 |
+ </maintainer> |
38 |
+ <upstream> |
39 |
+ <maintainer> |
40 |
+ <email>pim.van.den.berg@××××××.com</email> |
41 |
+ <name>Pim van den Berg</name> |
42 |
+ </maintainer> |
43 |
+ <bugs-to>https://github.com/mendix/munin-plugins-mendix/issues</bugs-to> |
44 |
+ <remote-id type="github">mendix/munin-plugins-mendix</remote-id> |
45 |
+ </upstream> |
46 |
+</pkgmetadata> |
47 |
|
48 |
diff --git a/net-analyzer/munin-plugins-mendix/munin-plugins-mendix-23.ebuild b/net-analyzer/munin-plugins-mendix/munin-plugins-mendix-23.ebuild |
49 |
new file mode 100644 |
50 |
index 000000000..f7854c22d |
51 |
--- /dev/null |
52 |
+++ b/net-analyzer/munin-plugins-mendix/munin-plugins-mendix-23.ebuild |
53 |
@@ -0,0 +1,33 @@ |
54 |
+# Copyright 1999-2021 Gentoo Authors |
55 |
+# Distributed under the terms of the GNU General Public License v2 |
56 |
+ |
57 |
+EAPI="7" |
58 |
+ |
59 |
+DESCRIPTION="This package provides various plugins for Munin" |
60 |
+HOMEPAGE="https://github.com/mendix/munin-plugins-mendix" |
61 |
+SRC_URI="https://github.com/mendix/munin-plugins-mendix/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
62 |
+KEYWORDS="~amd64" |
63 |
+LICENSE="all-rights-reserved" #https://github.com/mendix/munin-plugins-mendix/issues/10 |
64 |
+SLOT="0" |
65 |
+RDEPEND="net-analyzer/munin" |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+} |
70 |
+ |
71 |
+src_configure() { |
72 |
+ return |
73 |
+} |
74 |
+ |
75 |
+src_compile() { |
76 |
+ return |
77 |
+} |
78 |
+ |
79 |
+src_install() { |
80 |
+ #install plugins without getting mad at preserving exec bit |
81 |
+ mkdir -p "${ED}/usr/libexec/munin/plugins/mendix" || die |
82 |
+ mv plugins/* "${ED}/usr/libexec/munin/plugins/mendix" || die |
83 |
+ |
84 |
+ insinto "/etc/munin/plugin-conf.d/" |
85 |
+ doins -r plugin-conf/* |
86 |
+} |