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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0EBA9158093 for ; Sat, 2 Jul 2022 16:02:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49837E0CAD; Sat, 2 Jul 2022 16:02:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2CF6DE0CAD for ; Sat, 2 Jul 2022 16:02:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 054C0341B70 for ; Sat, 2 Jul 2022 16:02:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 90C58521 for ; Sat, 2 Jul 2022 16:02:00 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1656777714.7ccf9b584ab1d21e6b52143dd096a64b4d74e9d7.soap@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/nagios-plugin-check_raid-4.0.10-r2.ebuild net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r3.ebuild X-VCS-Directories: net-analyzer/nagios-plugin-check_raid/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 7ccf9b584ab1d21e6b52143dd096a64b4d74e9d7 X-VCS-Branch: master Date: Sat, 2 Jul 2022 16:02:00 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dea5187f-c701-4b5f-b91f-1c84d0874f25 X-Archives-Hash: 8c01f4b159613091cb3cdf8410f3e944 commit: 7ccf9b584ab1d21e6b52143dd096a64b4d74e9d7 Author: David Seifert gentoo org> AuthorDate: Sat Jul 2 16:01:54 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Jul 2 16:01:54 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ccf9b58 net-analyzer/nagios-plugin-check_raid: update EAPI 6 -> 8 Signed-off-by: David Seifert gentoo.org> ...d => nagios-plugin-check_raid-4.0.10-r3.ebuild} | 49 +++++++++++----------- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r2.ebuild b/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r3.ebuild similarity index 73% rename from net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r2.ebuild rename to net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r3.ebuild index d0caa68e4912..e5295fefced0 100644 --- a/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r2.ebuild +++ b/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r3.ebuild @@ -1,52 +1,53 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit 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}" + +DESCRIPTION="Nagios/Icinga plugin to check current server's RAID status" +HOMEPAGE="https://github.com/glensc/nagios-plugin-check_raid" SRC_URI="https://github.com/glensc/nagios-plugin-check_raid/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~sparc ~x86" IUSE="3ware aacraid dmraid hpa hpsa megaraid-sas mpt mpt-sas2" -DEPEND="dev-perl/Monitoring-Plugin - dev-perl/Module-Pluggable" +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 ) - megaraid-sas? ( sys-block/megacli ) - mpt-sas2? ( sys-block/sas2ircu ) - mpt? ( sys-block/mpt-status ) -" - -S="${WORKDIR}/${MY_P}" + 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 ) + megaraid-sas? ( sys-block/megacli ) + mpt-sas2? ( sys-block/sas2ircu ) + mpt? ( sys-block/mpt-status )" src_prepare() { - # Upstream has a custom Makefile that is meant to build bundles. - #mv -f Makefile Makefile.upstream || die - sed -i '/CPANfile/d' Makefile.PL || die default + + # Upstream has a custom Makefile that is meant to build bundles + sed -i '/CPANfile/d' Makefile.PL || die } src_install() { default - plugindir="/usr/$(get_libdir)/nagios/plugins" - dodir "${plugindir}" - mv -f "${ED}"/usr/bin/check_raid.pl "${ED}"/"${plugindir}" || die dodoc README.md CHANGELOG.md CONTRIBUTING.md check_raid.cfg + + local plugindir="/usr/$(get_libdir)/nagios/plugins" + dodir "${plugindir}" + mv -f "${ED}"/usr/bin/check_raid.pl "${ED}/${plugindir}" || die } pkg_postinst() {