diff options
Diffstat (limited to 'net-analyzer/nagios-plugins-snmp')
-rw-r--r-- | net-analyzer/nagios-plugins-snmp/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.6.0-r2.ebuild | 29 |
2 files changed, 14 insertions, 17 deletions
diff --git a/net-analyzer/nagios-plugins-snmp/Manifest b/net-analyzer/nagios-plugins-snmp/Manifest index b3fa98e2ce37..9a9aa4f38183 100644 --- a/net-analyzer/nagios-plugins-snmp/Manifest +++ b/net-analyzer/nagios-plugins-snmp/Manifest @@ -1,3 +1,3 @@ DIST nagios-plugins-snmp-0.6.0.tgz 381664 BLAKE2B 1a6124b5aa194123b17a1ce98a4e023a8d71f70a6c5ae61b8b54b204050f7914f100e1e639630955e45905f86282cab6a7034e5927b3db5b609beb315a66c748 SHA512 42fe9e2a9a99876d81731d821b7d1e4700f8637c8a890980f5cb3de4a3985210d86d38fd7ebbd7d075ff616da518cc932f5eb999f47fc3833ed62c1f7d4f4529 -EBUILD nagios-plugins-snmp-0.6.0-r2.ebuild 889 BLAKE2B 3f11de32bcb02a72207e603e8401fc56126342b16ee67af31b7bcdedc2b3d6a8886b663dbe143f06a94903f49e8bb573987b6861698c2e87dcf38f2ccb369d0e SHA512 44c6501861586be89f75df69dd5b43b3938ad32d8560afd243931c4ccba5999f6814f5e8c528482428e88697b6c1610ec810e7db326946c2b476bef903af06ca +EBUILD nagios-plugins-snmp-0.6.0-r2.ebuild 864 BLAKE2B 65cf2b3b42dfb1e241071480e90207adbe4c57b6baeec997b853af93e1ce24a017dff5374f98b5f48396e623ff93ee81f4463109ca799b6f3deb39b423ab05a6 SHA512 f1f1a2eb8695d2dea00e6495fd3022fd4827533cb0958aaee49ffaf51325341ad7bf0deee6f27ae9a9c87ff545eaef73a9e17ab43a055271c45a4706b7ff49ea MISC metadata.xml 271 BLAKE2B 7231d9dcb020ef6bb73db6e7038abab171c5ac137e457e50bd730b126a20a8af0a21b1cb987b00b8965af807dde7b0431dfacb6066d15d08b5bfbfbaecf3e5a0 SHA512 f323a192c090757e24caa9352b8be964050a00a86d174507c858c2a3a61767c243dba99ac37571779128d73e9bf6817f056d6d590be2b2ec8a8e3f3a92a4f304 diff --git a/net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.6.0-r2.ebuild b/net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.6.0-r2.ebuild index c89ed52c8249..6eb4daae21ea 100644 --- a/net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.6.0-r2.ebuild +++ b/net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.6.0-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -inherit autotools user +inherit autotools DESCRIPTION="Additional Nagios plugins for monitoring SNMP capable devices" HOMEPAGE="http://nagios.manubulon.com" @@ -12,31 +12,28 @@ SRC_URI="http://nagios.manubulon.com/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc ppc64 ~sparc x86" -IUSE="" -DEPEND="net-analyzer/net-snmp" +DEPEND=" + acct-group/nagios + acct-user/nagios + net-analyzer/net-snmp" RDEPEND="${DEPEND}" -S=${WORKDIR}/nagios-plugins-snmp - -pkg_setup() { - enewgroup nagios - enewuser nagios -1 /bin/bash /var/nagios/home nagios -} +S="${WORKDIR}/nagios-plugins-snmp" src_prepare() { - sed -i -e '/^CFLAGS=""/d' configure.in + default + sed -i -e '/^CFLAGS=""/d' configure.in || die + mv configure.{in,ac} || die eautoreconf } src_configure() { econf \ - --sysconfdir=/etc/nagios \ - --libexec=/usr/$(get_libdir)/nagios/plugins + --sysconfdir="${EPREFIX}"/etc/nagios \ + --libexec="${EPREFIX}"/usr/$(get_libdir)/nagios/plugins } -DOCS=( README NEWS AUTHORS ) - src_install() { default |