summaryrefslogtreecommitdiff
path: root/net-analyzer/nagios-plugins-snmp
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nagios-plugins-snmp')
-rw-r--r--net-analyzer/nagios-plugins-snmp/Manifest5
-rw-r--r--net-analyzer/nagios-plugins-snmp/metadata.xml12
-rw-r--r--net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.6.0-r2.ebuild45
3 files changed, 62 insertions, 0 deletions
diff --git a/net-analyzer/nagios-plugins-snmp/Manifest b/net-analyzer/nagios-plugins-snmp/Manifest
new file mode 100644
index 000000000000..2288a38f6d53
--- /dev/null
+++ b/net-analyzer/nagios-plugins-snmp/Manifest
@@ -0,0 +1,5 @@
+DIST nagios-plugins-snmp-0.6.0.tgz 381664 SHA256 c3616feeb817165bc356df8f2daef52e1077f5d97a35c8074cadc68e15c0fff5 SHA512 42fe9e2a9a99876d81731d821b7d1e4700f8637c8a890980f5cb3de4a3985210d86d38fd7ebbd7d075ff616da518cc932f5eb999f47fc3833ed62c1f7d4f4529 WHIRLPOOL 74fd6272690e307bfa996d6db08230dfc4314f14a2e146545913b4d0b42a42168560dded9be51c101a7571411663d74d78a9d1a35d9119b67c3765f28d33187f
+EBUILD nagios-plugins-snmp-0.6.0-r2.ebuild 889 SHA256 f3b495a29c4e7ca50257b9d9a9d97d688dc21725408842312184923a6b507808 SHA512 44c6501861586be89f75df69dd5b43b3938ad32d8560afd243931c4ccba5999f6814f5e8c528482428e88697b6c1610ec810e7db326946c2b476bef903af06ca WHIRLPOOL e14d572166e1c2ca2d3820bfb36fb83259857ba8d07c7abd257d1e4a8b2a52203e9da2af527fc77b2ae0decc758b0de0756b8634bfda15f47a5aaf12a3678e54
+MISC ChangeLog 2866 SHA256 d79751ae72f7496fb64b482a421650d2d01a99cde7fc67178e7c5ebd7b7ac8a7 SHA512 45ea5974c9fbcd4492e7911fd05b10b25e318dc744000590859bd058b6ed8d43ba0f1f7c088ac3c8b4492cc96bda741a4df905790d2c7a5832dac2587305c7ff WHIRLPOOL bc4287b42b0537e1503a17de843934534df7a198d5749fde695ecf02be2a5077905abf518e0b7da51fe94a55bb5d126a2335712d15691a3192af791bf0ab2c56
+MISC ChangeLog-2015 3448 SHA256 6bbe367401d70f5f8be39caa20e9db0784e255671e442a10a39b435fecd1747d SHA512 cd0a3f320fa8e86a9d6032946688d9aa5e732691494de14c963b8e45322bc48d8885ab3cf5ae69a558d412ae7c74327d16ec66aa044053fb06b85d9aba9d3e3b WHIRLPOOL 2f662cc08d9e0d4ff115309da45753115a9587f0354c6873b17498661f8cbfa788f544cd1f2540759ca7af98d2c9ed4c560650d99f32c75ad31f34455510c1d8
+MISC metadata.xml 390 SHA256 f2decf39cdfe68b8e8e335d96364d0d48b994fa76e706122e6fa207a6cc03cd7 SHA512 0814c74c2ffd3728a8231a4d0240b23598719cfe06b57dad979092d8a6171a7564b905da4dad202313bfa2e237036b75f4f12dc57050469dd2f68f91820afda6 WHIRLPOOL 70e86560b3aef4820d2ffb0ffec8da4f90b6e6a23198d28990988a873289bcedb18275bf8929b26c548745ad172bbbb06af588b71986306d232537751af4e87e
diff --git a/net-analyzer/nagios-plugins-snmp/metadata.xml b/net-analyzer/nagios-plugins-snmp/metadata.xml
new file mode 100644
index 000000000000..b7624565acac
--- /dev/null
+++ b/net-analyzer/nagios-plugins-snmp/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>creffett@gentoo.org</email>
+ <name>Chris Reffett</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sysadmin@gentoo.org</email>
+ <name>Gentoo Sysadmin Project</name>
+ </maintainer>
+ </pkgmetadata>
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
new file mode 100644
index 000000000000..c89ed52c8249
--- /dev/null
+++ b/net-analyzer/nagios-plugins-snmp/nagios-plugins-snmp-0.6.0-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit autotools user
+
+DESCRIPTION="Additional Nagios plugins for monitoring SNMP capable devices"
+HOMEPAGE="http://nagios.manubulon.com"
+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"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/nagios-plugins-snmp
+
+pkg_setup() {
+ enewgroup nagios
+ enewuser nagios -1 /bin/bash /var/nagios/home nagios
+}
+
+src_prepare() {
+ sed -i -e '/^CFLAGS=""/d' configure.in
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --sysconfdir=/etc/nagios \
+ --libexec=/usr/$(get_libdir)/nagios/plugins
+}
+
+DOCS=( README NEWS AUTHORS )
+
+src_install() {
+ default
+
+ fowners root:nagios /usr/$(get_libdir)/nagios/plugins
+ fperms o-rwx /usr/$(get_libdir)/nagios/plugins
+}