]> gitweb.michael.orlitzky.com - mjo-overlay.git/commitdiff
Add net-analyzer/nagios-check_rbl-1.3.0.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 28 Aug 2012 17:56:24 +0000 (13:56 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 28 Aug 2012 17:56:24 +0000 (13:56 -0400)
net-analyzer/nagios-check_rbl/Manifest [new file with mode: 0644]
net-analyzer/nagios-check_rbl/metadata.xml [new file with mode: 0644]
net-analyzer/nagios-check_rbl/nagios-check_rbl-1.3.0.ebuild [new file with mode: 0644]

diff --git a/net-analyzer/nagios-check_rbl/Manifest b/net-analyzer/nagios-check_rbl/Manifest
new file mode 100644 (file)
index 0000000..794b243
--- /dev/null
@@ -0,0 +1,3 @@
+DIST check_rbl-1.3.0.tar.gz 32179 RMD160 2f87c7e327166aa791ee4193014d0d82318be449 SHA1 9e3ffaa866d608b47775dfeb99c1477d5ad18a23 SHA256 c713dc226a9d56af6d51863c5f594f34c49227d8af48984085c8b3b137b2d247
+EBUILD nagios-check_rbl-1.3.0.ebuild 882 RMD160 39dea2f21e6b215aec48487cbfc41a23e2608584 SHA1 5fa855b77bc5ec329b00916cae42bacd9e51bcd4 SHA256 2f23722bf09caa7cd375bb505cdc843ae3790f7602088330ad601d5b2353150d
+MISC metadata.xml 234 RMD160 891bc228090b8afc82d88e87f236dcca0601b8b9 SHA1 b839cadca5fa5ea2a386724e4f3f972eb3397963 SHA256 6433ad62db72ff65aced953ceef10a87e157e0a02a5a46f0a187f5a14a30811c
diff --git a/net-analyzer/nagios-check_rbl/metadata.xml b/net-analyzer/nagios-check_rbl/metadata.xml
new file mode 100644 (file)
index 0000000..caadc71
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd></herd>
+  <maintainer>
+    <email>maintainer-wanted@gentoo.org</email>
+  </maintainer>
+</pkgmetadata>
diff --git a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.3.0.ebuild b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.3.0.ebuild
new file mode 100644 (file)
index 0000000..ad624b7
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit multilib
+
+DESCRIPTION="check_rbl is a Nagios plugin that fails if a host is blacklisted"
+HOMEPAGE="https://svn.id.ethz.ch/projects/nagios_plugins/wiki/check_rbl"
+
+MY_P="${P/nagios-/}"
+
+SRC_URI="https://svn.id.ethz.ch/projects/nagios_plugins/downloads/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+# The Makefile.PL looks for Nagios::Plugin::Getopt and
+# Nagios::Plugin::Threshold, but I believe these are provided by
+# dev-perl/Nagios-Plugins.
+RDEPEND="dev-lang/perl
+       dev-perl/Nagios-Plugin
+       dev-perl/Net-DNS
+       dev-perl/Readonly"
+DEPEND="${RDEPEND}
+       virtual/perl-ExtUtils-MakeMaker"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+       local dest="/usr/$(get_libdir)/nagios/plugins"
+       perl Makefile.PL INSTALLSCRIPT="${dest}"
+}