net-analyzer/nagios-check_rbl: drop unused nagios-check_rbl-1.3.7-r1.ebuild.

Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
Michael Orlitzky
2017-11-24 11:50:52 -05:00
parent d5aab7e43c
commit 6b08bd3135
3 changed files with 0 additions and 83 deletions

View File

@@ -1,2 +1 @@
DIST check_rbl-1.3.7-r1.tar.gz 38565 SHA256 dbe76bd24ab9404817f74fd895dfeb1c55d296fe9a8264a4c631c5139ea31247 SHA512 a918090b2c1e93095b155215de559b0d7f35c949e9c9d27c7b6dc91e21391b03d716154dd90ea1a68deeabce5afde3c9e5746190910f18bf1d3e08ff20d02431 WHIRLPOOL 31a13de7cfc650deea83d8c7cf148358046260502c34e3d643ad53c1e96854b0194da80fac3d95cf5fa06b01d9224fb9716ce3e281148ce174f89e75bb418023
DIST check_rbl-1.4.1.tar.gz 47585 BLAKE2B 24979d1579ef46f6d0626700bb8b9aa3f3acd4b422398ecbfa98909248fd6ffe61a763e377e7942d3078d8b91488f3fc0e2ab25f7c4821bcfa5cde08d000bd5c SHA512 3023aab6ba42dec46cb93eb2ef15e1998a1b3226bd1f143441e14a4271279ac9b24b85b9fc41a382eb203e5d2846b7f4ea4fe27db99d75b104d9182ea53079cb

View File

@@ -1,9 +0,0 @@
diff -ruN check_rbl-1.3.7.orig/Makefile.PL check_rbl-1.3.7/Makefile.PL
--- check_rbl-1.3.7.orig/Makefile.PL 2015-10-24 13:06:09.000000000 -0000
+++ check_rbl-1.3.7/Makefile.PL 2017-08-04 16:10:49.881515014 -0000
@@ -1,4 +1,5 @@
# Load the Module::Install bundled in ./inc/
+use lib q[.];
use inc::Module::Install;
# File version information:

View File

@@ -1,73 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
# Needed for perl_rm_files in src_prepare() only.
inherit perl-functions
DESCRIPTION="Monitor whether or not a host is blacklisted"
HOMEPAGE="https://github.com/matteocorti/check_rbl"
MY_P="${P/nagios-/}"
# We rename the tarball here because the upstream source changed without
# a new release. That change happens to fix bug #583966, so we do want
# the newer tarball. But I think, without the rename, that user might
# have gotten a checksum failure.
SRC_URI="${HOMEPAGE}/releases/download/v${PV}/${MY_P}.tar.gz
-> ${MY_P}-r1.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 hppa sparc x86"
IUSE=""
# The package's INSTALL/Makefile.PL files specify its dependencies.
#
# * Data::Validate::Domain (dev-perl/Data-Validate-Domain)
# * Data::Validate::IP (dev-perl/Data-Validate-IP)
# * IO::Select (dev-lang/perl)
# * Monitoring::Plugin (dev-perl/Monitoring-Plugin)
# * Monitoring::Plugin::Getopt (dev-perl/Monitoring-Plugin)
# * Monitoring::Plugin::Threshold (dev-perl/Monitoring-Plugin)
# * Net::DNS (dev-perl/Net-DNS)
# * Readonly (dev-perl/Readonly)
#
RDEPEND="dev-lang/perl
dev-perl/Data-Validate-Domain
dev-perl/Data-Validate-IP
dev-perl/Monitoring-Plugin
dev-perl/Net-DNS
dev-perl/Readonly"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
PATCHES=( "${FILESDIR}/${P}-perl526.patch" )
src_prepare() {
default
# The copy of version.pm that upstream ships causes problems and
# isn't necessary. They probably shouldn't be shipping it at all.
# See bug #583966 for more information. You should check on
# https://github.com/matteocorti/check_rbl/issues/6 every once
# in a while to see if this can be removed.
perl_rm_files inc/version.pm
}
src_configure() {
perl Makefile.PL INSTALLDIRS=vendor || die
}
src_install() {
default
local nagiosplugindir=/usr/$(get_libdir)/nagios/plugins
# It's simplest to move this file after it's been installed.
dodir "${nagiosplugindir}"
mv "${D}"/usr/bin/check_rbl "${D}"/"${nagiosplugindir}" || die
}