From 0c31fad0c2eee099702d457f8588b806b5072ca4 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 28 Aug 2012 13:56:24 -0400 Subject: [PATCH] Add net-analyzer/nagios-check_rbl-1.3.0. --- net-analyzer/nagios-check_rbl/Manifest | 3 ++ net-analyzer/nagios-check_rbl/metadata.xml | 8 +++++ .../nagios-check_rbl-1.3.0.ebuild | 36 +++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 net-analyzer/nagios-check_rbl/Manifest create mode 100644 net-analyzer/nagios-check_rbl/metadata.xml create mode 100644 net-analyzer/nagios-check_rbl/nagios-check_rbl-1.3.0.ebuild diff --git a/net-analyzer/nagios-check_rbl/Manifest b/net-analyzer/nagios-check_rbl/Manifest new file mode 100644 index 0000000..794b243 --- /dev/null +++ b/net-analyzer/nagios-check_rbl/Manifest @@ -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 index 0000000..caadc71 --- /dev/null +++ b/net-analyzer/nagios-check_rbl/metadata.xml @@ -0,0 +1,8 @@ + + + + + + maintainer-wanted@gentoo.org + + 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 index 0000000..ad624b7 --- /dev/null +++ b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.3.0.ebuild @@ -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}" +} -- 2.44.2