Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_rbl/, net-analyzer/nagios-check_rbl/files/
Date: Fri, 24 Nov 2017 16:51:55
Message-Id: 1511542260.6b08bd3135eea220c926a026cc58ada3e416acbd.mjo@gentoo
1 commit: 6b08bd3135eea220c926a026cc58ada3e416acbd
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 24 16:50:52 2017 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 24 16:51:00 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b08bd31
7
8 net-analyzer/nagios-check_rbl: drop unused nagios-check_rbl-1.3.7-r1.ebuild.
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.3
11
12 net-analyzer/nagios-check_rbl/Manifest | 1 -
13 .../files/nagios-check_rbl-1.3.7-perl526.patch | 9 ---
14 .../nagios-check_rbl-1.3.7-r1.ebuild | 73 ----------------------
15 3 files changed, 83 deletions(-)
16
17 diff --git a/net-analyzer/nagios-check_rbl/Manifest b/net-analyzer/nagios-check_rbl/Manifest
18 index 767bdcc0af8..1b3800e794d 100644
19 --- a/net-analyzer/nagios-check_rbl/Manifest
20 +++ b/net-analyzer/nagios-check_rbl/Manifest
21 @@ -1,2 +1 @@
22 -DIST check_rbl-1.3.7-r1.tar.gz 38565 SHA256 dbe76bd24ab9404817f74fd895dfeb1c55d296fe9a8264a4c631c5139ea31247 SHA512 a918090b2c1e93095b155215de559b0d7f35c949e9c9d27c7b6dc91e21391b03d716154dd90ea1a68deeabce5afde3c9e5746190910f18bf1d3e08ff20d02431 WHIRLPOOL 31a13de7cfc650deea83d8c7cf148358046260502c34e3d643ad53c1e96854b0194da80fac3d95cf5fa06b01d9224fb9716ce3e281148ce174f89e75bb418023
23 DIST check_rbl-1.4.1.tar.gz 47585 BLAKE2B 24979d1579ef46f6d0626700bb8b9aa3f3acd4b422398ecbfa98909248fd6ffe61a763e377e7942d3078d8b91488f3fc0e2ab25f7c4821bcfa5cde08d000bd5c SHA512 3023aab6ba42dec46cb93eb2ef15e1998a1b3226bd1f143441e14a4271279ac9b24b85b9fc41a382eb203e5d2846b7f4ea4fe27db99d75b104d9182ea53079cb
24
25 diff --git a/net-analyzer/nagios-check_rbl/files/nagios-check_rbl-1.3.7-perl526.patch b/net-analyzer/nagios-check_rbl/files/nagios-check_rbl-1.3.7-perl526.patch
26 deleted file mode 100644
27 index b44ae74a0ea..00000000000
28 --- a/net-analyzer/nagios-check_rbl/files/nagios-check_rbl-1.3.7-perl526.patch
29 +++ /dev/null
30 @@ -1,9 +0,0 @@
31 -diff -ruN check_rbl-1.3.7.orig/Makefile.PL check_rbl-1.3.7/Makefile.PL
32 ---- check_rbl-1.3.7.orig/Makefile.PL 2015-10-24 13:06:09.000000000 -0000
33 -+++ check_rbl-1.3.7/Makefile.PL 2017-08-04 16:10:49.881515014 -0000
34 -@@ -1,4 +1,5 @@
35 - # Load the Module::Install bundled in ./inc/
36 -+use lib q[.];
37 - use inc::Module::Install;
38 -
39 - # File version information:
40
41 diff --git a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.3.7-r1.ebuild b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.3.7-r1.ebuild
42 deleted file mode 100644
43 index af314b58ee8..00000000000
44 --- a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.3.7-r1.ebuild
45 +++ /dev/null
46 @@ -1,73 +0,0 @@
47 -# Copyright 1999-2017 Gentoo Foundation
48 -# Distributed under the terms of the GNU General Public License v2
49 -
50 -EAPI=6
51 -
52 -# Needed for perl_rm_files in src_prepare() only.
53 -inherit perl-functions
54 -
55 -DESCRIPTION="Monitor whether or not a host is blacklisted"
56 -HOMEPAGE="https://github.com/matteocorti/check_rbl"
57 -
58 -MY_P="${P/nagios-/}"
59 -
60 -# We rename the tarball here because the upstream source changed without
61 -# a new release. That change happens to fix bug #583966, so we do want
62 -# the newer tarball. But I think, without the rename, that user might
63 -# have gotten a checksum failure.
64 -SRC_URI="${HOMEPAGE}/releases/download/v${PV}/${MY_P}.tar.gz
65 - -> ${MY_P}-r1.tar.gz"
66 -
67 -LICENSE="GPL-3"
68 -SLOT="0"
69 -
70 -KEYWORDS="amd64 hppa sparc x86"
71 -IUSE=""
72 -
73 -# The package's INSTALL/Makefile.PL files specify its dependencies.
74 -#
75 -# * Data::Validate::Domain (dev-perl/Data-Validate-Domain)
76 -# * Data::Validate::IP (dev-perl/Data-Validate-IP)
77 -# * IO::Select (dev-lang/perl)
78 -# * Monitoring::Plugin (dev-perl/Monitoring-Plugin)
79 -# * Monitoring::Plugin::Getopt (dev-perl/Monitoring-Plugin)
80 -# * Monitoring::Plugin::Threshold (dev-perl/Monitoring-Plugin)
81 -# * Net::DNS (dev-perl/Net-DNS)
82 -# * Readonly (dev-perl/Readonly)
83 -#
84 -RDEPEND="dev-lang/perl
85 - dev-perl/Data-Validate-Domain
86 - dev-perl/Data-Validate-IP
87 - dev-perl/Monitoring-Plugin
88 - dev-perl/Net-DNS
89 - dev-perl/Readonly"
90 -DEPEND="${RDEPEND}"
91 -
92 -S="${WORKDIR}/${MY_P}"
93 -
94 -PATCHES=( "${FILESDIR}/${P}-perl526.patch" )
95 -
96 -src_prepare() {
97 - default
98 -
99 - # The copy of version.pm that upstream ships causes problems and
100 - # isn't necessary. They probably shouldn't be shipping it at all.
101 - # See bug #583966 for more information. You should check on
102 - # https://github.com/matteocorti/check_rbl/issues/6 every once
103 - # in a while to see if this can be removed.
104 - perl_rm_files inc/version.pm
105 -}
106 -
107 -src_configure() {
108 - perl Makefile.PL INSTALLDIRS=vendor || die
109 -}
110 -
111 -src_install() {
112 - default
113 -
114 - local nagiosplugindir=/usr/$(get_libdir)/nagios/plugins
115 -
116 - # It's simplest to move this file after it's been installed.
117 - dodir "${nagiosplugindir}"
118 - mv "${D}"/usr/bin/check_rbl "${D}"/"${nagiosplugindir}" || die
119 -}