From 8b9a132bfc7380205bc2ab9a97264cd44c0d0796 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Sun, 14 Jun 2020 14:54:51 +0200 Subject: [PATCH] net-analyzer/nagios-check-zfs-linux: New ebuild Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alarig Le Lay --- net-analyzer/nagios-check-zfs-linux/Manifest | 1 + .../nagios-check-zfs-linux/metadata.xml | 8 +++++ .../nagios-check-zfs-linux-1.2.ebuild | 32 +++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 net-analyzer/nagios-check-zfs-linux/Manifest create mode 100644 net-analyzer/nagios-check-zfs-linux/metadata.xml create mode 100644 net-analyzer/nagios-check-zfs-linux/nagios-check-zfs-linux-1.2.ebuild diff --git a/net-analyzer/nagios-check-zfs-linux/Manifest b/net-analyzer/nagios-check-zfs-linux/Manifest new file mode 100644 index 0000000..eb64f36 --- /dev/null +++ b/net-analyzer/nagios-check-zfs-linux/Manifest @@ -0,0 +1 @@ +DIST nagios-check-zfs-linux-1.2.tar.gz 15617 BLAKE2B 6e605a556c4a6867cb59e479ea9f0b52085a8b81aba11208a8a1e5002e2fbdec687fe8d360d59e14e449b4316b9b921bbee853e3e2face1a2c1bbcf692974dc9 SHA512 6d12c7ca762c05010ad1b6d482301e9547a46149acaa489b9eebcab2ac3761b0949f6f42740cad0c5e278d80286a16d1b8011478c4891d1032cccc24994933b5 diff --git a/net-analyzer/nagios-check-zfs-linux/metadata.xml b/net-analyzer/nagios-check-zfs-linux/metadata.xml new file mode 100644 index 0000000..a69b0a0 --- /dev/null +++ b/net-analyzer/nagios-check-zfs-linux/metadata.xml @@ -0,0 +1,8 @@ + + + + + Alarig Le Lay + alarig@swordarmor.fr + + diff --git a/net-analyzer/nagios-check-zfs-linux/nagios-check-zfs-linux-1.2.ebuild b/net-analyzer/nagios-check-zfs-linux/nagios-check-zfs-linux-1.2.ebuild new file mode 100644 index 0000000..e3d6310 --- /dev/null +++ b/net-analyzer/nagios-check-zfs-linux/nagios-check-zfs-linux-1.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit python-r1 + +MY_PN=${PN//-/_} + +DESCRIPTION="Nagios plugin to check ZFS pool in the Linux environment" +HOMEPAGE="https://github.com/zlacelle/nagios_check_zfs_linux" +MY_GITHUB_AUTHOR="zlacelle" +SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_install() { + python_scriptinto /usr/lib64/nagios/plugins/ + python_foreach_impl python_newscript check_zfs.py check_zfs + + dodoc README.md +}