From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 92151139083 for ; Mon, 4 Dec 2017 16:17:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92651E0E62; Mon, 4 Dec 2017 16:17:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4BD88E0E62 for ; Mon, 4 Dec 2017 16:17:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7143133BF51 for ; Mon, 4 Dec 2017 16:17:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 33AEBAE1D for ; Mon, 4 Dec 2017 16:17:18 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1512404232.fe9be1ba0a4c206f7bf0a2af398348bdeecb1e3b.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugin-check_raid/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/nagios-plugin-check_raid/Manifest net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.8.ebuild X-VCS-Directories: net-analyzer/nagios-plugin-check_raid/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: fe9be1ba0a4c206f7bf0a2af398348bdeecb1e3b X-VCS-Branch: master Date: Mon, 4 Dec 2017 16:17:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e3714a22-2af8-4fd5-bddf-bf6aac037e20 X-Archives-Hash: 53fd49117b6ed2dc5df1ad76795afd86 commit: fe9be1ba0a4c206f7bf0a2af398348bdeecb1e3b Author: Robin H. Johnson gentoo org> AuthorDate: Mon Dec 4 16:16:43 2017 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Mon Dec 4 16:17:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe9be1ba net-analyzer/nagios-plugin-check_raid: bump Package-Manager: Portage-2.3.16, Repoman-2.3.6 net-analyzer/nagios-plugin-check_raid/Manifest | 1 + .../nagios-plugin-check_raid-4.0.8.ebuild | 67 ++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/net-analyzer/nagios-plugin-check_raid/Manifest b/net-analyzer/nagios-plugin-check_raid/Manifest index 92ad5d6b79a..3d7870ca033 100644 --- a/net-analyzer/nagios-plugin-check_raid/Manifest +++ b/net-analyzer/nagios-plugin-check_raid/Manifest @@ -2,4 +2,5 @@ DIST nagios-plugin-check_raid-02b6425dac3db7e98d4c36bf0836357c6b36196c.tar.gz 49 DIST nagios-plugin-check_raid-4.0.0.tar.gz 46308 BLAKE2B 025f983416ef5b1340fe2c3c1b4aa8784be23201ebdbf2ab9ed7c4e885c91b992d523ab26d7aed42cb9df44f7ab890034a968ee60e7d928311c99021ab10abb4 SHA512 0f80321615a29665c32bef8b5426fad5994c28b48446167d81504b8ae5720c28b9eaf449f48147e5fc7b24907560994d61b81bed68f9b8caa9a87b18eddd9ee9 DIST nagios-plugin-check_raid-4.0.1.tar.gz 50173 BLAKE2B 35831f0511fc71b883919303f534bb9c4760160031ff62beff6d5eedea44f1f058bd80bfe770585e2f256b1ba8e53e2708808fdc420d3bb8ca95941f73c5ab40 SHA512 882d76d71231d675caaf75883962c3983acbec194ee437ee7447f75607b1767e3aed3e939bdafb90cfab5d131c40d3e0b1d77b90a4c19a4809f18c9e64c114fd DIST nagios-plugin-check_raid-4.0.2.tar.gz 50680 BLAKE2B f483876d3c7f7ec5d266d1cd22eddb50534505caa90d0715325148f6314e54aa83e4b42ad4ec8d7edcfed6c640af7e6f86f1f93314d92de39b02b67598f82339 SHA512 b02f32c91eb6bf54f4bd66cb57bf3d43b5f89320be095fcf31b224865f04f24c91245be2afee5ff8588757ff75462e62e1d89ef824e6fbe4d3f90d4a015e0ba3 +DIST nagios-plugin-check_raid-4.0.8.tar.gz 53803 BLAKE2B debc312ccf688c6ed4c4d89d77efbf454ae030260741277f1f10966d28348a317255a69a932ceba69300c37b98448ebb3ca3a0b463d64814a4ca11043bdc5850 SHA512 237cbe798aa6c65b4bd6b9c9e24923e172d3d62c50afd7df23e2b6c8888041368025860edf5f826a77c6858e6312bba05225f0e20787e1bb579d833950b324ee DIST nagios-plugin-check_raid-5da4400ff978189d6be889f2448099535baa01f4.tar.gz 46422 BLAKE2B a6049f58a4ff50bf86f85c6d8f35ffbc19a1a6ba6dccfb275bc59ea6e15635b8c8c001d5fbda6030f75adea78fb75dbb7e83628c73f9af76291c3547f64a1ee7 SHA512 4c4d372735576cf104886c62c071dc98512687ecc1b2f3d56f614c24b747566ff849119c3e0a71b011db5a32e67f50c9d772c0c68a895320e0a5b63322cf6446 diff --git a/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.8.ebuild b/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.8.ebuild new file mode 100644 index 00000000000..b54ad284019 --- /dev/null +++ b/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.8.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils perl-module + +DESCRIPTION="Nagios/Icinga plugin to check current server's RAID status" +HOMEPAGE="https://github.com/glensc/nagios-plugin-check_raid" +#COMMIT="" +MY_PV="${COMMIT:-$PV}" +MY_P="${PN}-${MY_PV}" +SRC_URI="${HOMEPAGE}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="3ware aacraid dmraid hpa hpsa i2o megaraid-sas megaraid-scsi mpt mpt-sas2" + +DEPEND="dev-perl/Monitoring-Plugin + dev-perl/Module-Pluggable" +RDEPEND="${DEPEND} + sys-apps/smartmontools + sys-fs/lsscsi + 3ware? ( sys-block/tw_cli ) + aacraid? ( sys-block/arcconf ) + dmraid? ( sys-fs/dmraid ) + hpa? ( sys-block/hpacucli ) + hpsa? ( sys-apps/cciss_vol_status ) + i2o? ( sys-apps/raidutils ) + megaraid-sas? ( sys-block/megacli ) + megaraid-scsi? ( sys-block/megarc ) + mpt-sas2? ( sys-block/sas2ircu ) + mpt? ( sys-block/mpt-status ) + " + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # Upstream has a custom Makefile that is meant to build bundles. + mv -f Makefile Makefile.upstream + sed -i '/CPANfile/d' Makefile.PL + default +} + +src_install() { + default + plugindir="/usr/$(get_libdir)/nagios/plugins" + dodir "$plugindir" + mv -f "${D}"/usr/bin/check_raid.pl "${D}"/"${plugindir}" + dodoc README.md CHANGELOG.md CONTRIBUTING.md check_raid.cfg +} + +pkg_postinst() { + einfo "The following RAID controllers are supported without special tools:" + einfo "GDT (Intel/ICP) RAID Controller" + einfo "HP MSA (special configuration needed)" + einfo "The following RAID controllers do not have tools packaged in Gentoo, but ARE supported by this tool:" + einfo "Intel: CmdTool2" + einfo "Areca: areca-cli" + einfo "See https://github.com/glensc/nagios-plugin-check_raid/issues/10" + einfo "Marvell RAID: mvcli" + einfo "See https://github.com/glensc/nagios-plugin-check_raid/issues/92" + einfo "Adaptec ServeRAID: aaccli" + einfo "Adaptec AACRAID: afacli (* some controllers supported by USE=aacraid, sys-block/arcconf)" + einfo "Adaptec ServeRAID 7k: ipssend" +}