1 |
commit: 643d480a4c984f2751201d808079060c593ae2b4 |
2 |
Author: Anton Fischl <github <AT> fischl-online <DOT> de> |
3 |
AuthorDate: Sun Feb 20 08:22:54 2022 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 23 12:58:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=643d480a |
7 |
|
8 |
net-analyzer/nagios-check_rbl: bump to v1.6.3 and EAPI=8. |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/24281 |
11 |
Signed-off-by: Anton Fischl <github <AT> fischl-online.de> |
12 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/nagios-check_rbl/Manifest | 1 + |
15 |
.../nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild | 58 ++++++++++++++++++++++ |
16 |
2 files changed, 59 insertions(+) |
17 |
|
18 |
diff --git a/net-analyzer/nagios-check_rbl/Manifest b/net-analyzer/nagios-check_rbl/Manifest |
19 |
index 1b3800e794d7..eae4701c7ccc 100644 |
20 |
--- a/net-analyzer/nagios-check_rbl/Manifest |
21 |
+++ b/net-analyzer/nagios-check_rbl/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST check_rbl-1.4.1.tar.gz 47585 BLAKE2B 24979d1579ef46f6d0626700bb8b9aa3f3acd4b422398ecbfa98909248fd6ffe61a763e377e7942d3078d8b91488f3fc0e2ab25f7c4821bcfa5cde08d000bd5c SHA512 3023aab6ba42dec46cb93eb2ef15e1998a1b3226bd1f143441e14a4271279ac9b24b85b9fc41a382eb203e5d2846b7f4ea4fe27db99d75b104d9182ea53079cb |
24 |
+DIST check_rbl-1.6.3.tar.gz 50250 BLAKE2B cdaaf7252871c6a2cf34a1cacef36251b8526b73f4edb73fc1611a3426f350523928532bc78068438b8e71ec0e023da46749673aa5e9e1d5c6cd8b889f330305 SHA512 2fc84089eb9e41657f522aa7813776b3d46811759e177d031ff5d2f737d63c00897d50d5d878c1e5d5368ca1dde0b173e81b8a6f16fbb970270ef63d988add9b |
25 |
|
26 |
diff --git a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..ada2a30fe7af |
29 |
--- /dev/null |
30 |
+++ b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild |
31 |
@@ -0,0 +1,58 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DESCRIPTION="Monitor whether or not a host is blacklisted" |
38 |
+HOMEPAGE="https://github.com/matteocorti/check_rbl" |
39 |
+ |
40 |
+MY_P="${P/nagios-/}" |
41 |
+SRC_URI="https://github.com/matteocorti/check_rbl/releases/download/v${PV}/${MY_P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-3" |
44 |
+SLOT="0" |
45 |
+ |
46 |
+KEYWORDS="~amd64 ~hppa ~sparc ~x86" |
47 |
+IUSE="" |
48 |
+ |
49 |
+# No, this is not redundant -- see bug 627082. |
50 |
+RESTRICT=test |
51 |
+ |
52 |
+# The package's INSTALL/Makefile.PL files specify its dependencies. |
53 |
+# |
54 |
+# * Data::Validate::Domain (dev-perl/Data-Validate-Domain) |
55 |
+# * Data::Validate::IP (dev-perl/Data-Validate-IP) |
56 |
+# * IO::Select (dev-lang/perl) |
57 |
+# * Monitoring::Plugin (dev-perl/Monitoring-Plugin) |
58 |
+# * Monitoring::Plugin::Getopt (dev-perl/Monitoring-Plugin) |
59 |
+# * Monitoring::Plugin::Threshold (dev-perl/Monitoring-Plugin) |
60 |
+# * Net::DNS (dev-perl/Net-DNS) |
61 |
+# * Net::IP (dev-perl/Net-IP) |
62 |
+# * Readonly (dev-perl/Readonly) |
63 |
+# * Socket (virtual/perl-Socket) |
64 |
+# |
65 |
+RDEPEND="dev-lang/perl |
66 |
+ dev-perl/Data-Validate-Domain |
67 |
+ dev-perl/Data-Validate-IP |
68 |
+ dev-perl/Monitoring-Plugin |
69 |
+ dev-perl/Net-DNS |
70 |
+ dev-perl/Net-IP |
71 |
+ dev-perl/Readonly |
72 |
+ virtual/perl-Socket" |
73 |
+DEPEND="${RDEPEND}" |
74 |
+ |
75 |
+S="${WORKDIR}/${MY_P}" |
76 |
+ |
77 |
+src_configure() { |
78 |
+ perl Makefile.PL INSTALLDIRS=vendor || die |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ default |
83 |
+ |
84 |
+ local nagiosplugindir=/usr/$(get_libdir)/nagios/plugins |
85 |
+ |
86 |
+ # It's simplest to move this file after it's been installed. |
87 |
+ dodir "${nagiosplugindir}" |
88 |
+ mv "${D}"/usr/bin/check_rbl "${D}"/"${nagiosplugindir}" || die |
89 |
+} |