aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-03-25 03:25:22 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-03-25 03:31:00 +0100
commit6ebb117e034fbace56c9670937d085c3c51b52be (patch)
tree2f242e260183b02a0c9f9eb67937df3d6cb7ba2b
parentgames-fps/crispy-doom: Version bump to 5.10.1 (diff)
downloadguru-6ebb117e034fbace56c9670937d085c3c51b52be.tar.gz
guru-6ebb117e034fbace56c9670937d085c3c51b52be.tar.bz2
guru-6ebb117e034fbace56c9670937d085c3c51b52be.zip
net-analyzer/munin-contrib: new package
php, python, ruby, java, perl, etc. runtime deps aren't listed on purpose Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
-rw-r--r--net-analyzer/munin-contrib/Manifest1
-rw-r--r--net-analyzer/munin-contrib/metadata.xml16
-rw-r--r--net-analyzer/munin-contrib/munin-contrib-0_p20210318.ebuild40
3 files changed, 57 insertions, 0 deletions
diff --git a/net-analyzer/munin-contrib/Manifest b/net-analyzer/munin-contrib/Manifest
new file mode 100644
index 000000000..1d89e5d2c
--- /dev/null
+++ b/net-analyzer/munin-contrib/Manifest
@@ -0,0 +1 @@
+DIST munin-contrib-0_p20210318.tar.gz 6777350 BLAKE2B 5899abd4fa71f248d9da2fb4bafdac55ee054602339119b0ad5ba1098745c99859c1c56d800070538d0f6612bb155eedb24584f41e7c281f88fe2e348da8af30 SHA512 4500f625798a09eff4d8ab41226d166086748fdaf5b77c0826b62b165da299c7d9151a29eefc92ec5f602218c75760ea050bd548f22d3987193d1538f732e17a
diff --git a/net-analyzer/munin-contrib/metadata.xml b/net-analyzer/munin-contrib/metadata.xml
new file mode 100644
index 000000000..e21a6d882
--- /dev/null
+++ b/net-analyzer/munin-contrib/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>
+ <remote-id type="github">munin-monitoring/contrib</remote-id>
+ </upstream>
+ <use>
+ <flag name="plugins">contrib munin plugins</flag>
+ <flag name="templates">contrib munin tools</flag>
+ <flag name="tools">munin contrib tools</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-analyzer/munin-contrib/munin-contrib-0_p20210318.ebuild b/net-analyzer/munin-contrib/munin-contrib-0_p20210318.ebuild
new file mode 100644
index 000000000..a759a1dc3
--- /dev/null
+++ b/net-analyzer/munin-contrib/munin-contrib-0_p20210318.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+COMMIT="7fd554f04b67a985e99f15aa56aa4546d6006f2f"
+
+SRC_URI="https://github.com/munin-monitoring/contrib/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+DESCRIPTION="user contributed stuff related to munin"
+HOMEPAGE="https://github.com/munin-monitoring/contrib"
+LICENSE="GPL-3+ Apache-2.0 GPL-2 LGPL-2 GPL-2+ LGPL-3+" #TODO: investigate all the licenses
+SLOT="0"
+IUSE="examples +plugins templates tools"
+RDEPEND="net-analyzer/munin"
+
+S="${WORKDIR}/contrib-${COMMIT}"
+
+src_prepare() {
+ default
+}
+
+src_configure() {
+ return
+}
+
+src_compile() {
+ return
+}
+
+src_install() {
+ insinto "/usr/libexec/munin"
+ use tools && doins -r tools
+ insinto "/usr/libexec/munin/plugins/contrib"
+ use plugins && doins -r plugins
+ insinto "/etc/munin/templates"
+ use templates && doins -r templates/munstrap
+ use examples && dodoc -r samples/munin.conf
+ dodoc README.md
+}