net-analyzer/nagios-check-zfs-linux: New ebuild

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-06-14 14:54:51 +02:00
parent a790250ed1
commit 8b9a132bfc
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST nagios-check-zfs-linux-1.2.tar.gz 15617 BLAKE2B 6e605a556c4a6867cb59e479ea9f0b52085a8b81aba11208a8a1e5002e2fbdec687fe8d360d59e14e449b4316b9b921bbee853e3e2face1a2c1bbcf692974dc9 SHA512 6d12c7ca762c05010ad1b6d482301e9547a46149acaa489b9eebcab2ac3761b0949f6f42740cad0c5e278d80286a16d1b8011478c4891d1032cccc24994933b5

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Alarig Le Lay</name>
<email>alarig@swordarmor.fr</email>
</maintainer>
</pkgmetadata>

View file

@ -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
}