public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugin-check_raid/
Date: Sat,  2 Jul 2022 16:02:00 +0000 (UTC)	[thread overview]
Message-ID: <1656777714.7ccf9b584ab1d21e6b52143dd096a64b4d74e9d7.soap@gentoo> (raw)

commit:     7ccf9b584ab1d21e6b52143dd096a64b4d74e9d7
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  2 16:01:54 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> 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 <soap <AT> 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() {


             reply	other threads:[~2022-07-02 16:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-02 16:02 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-02 16:02 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugin-check_raid/ David Seifert
2022-03-19 17:53 David Seifert
2021-04-03 19:53 Sam James
2020-05-03 17:59 Robin H. Johnson
2020-05-03 17:59 Robin H. Johnson
2017-12-06 22:56 Sergei Trofimovich
2017-12-04 16:17 Robin H. Johnson
2017-11-30 18:47 Robin H. Johnson
2016-03-01 20:01 Robin H. Johnson
2016-02-21  1:37 Robin H. Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1656777714.7ccf9b584ab1d21e6b52143dd096a64b4d74e9d7.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox