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-plugins/
Date: Tue, 30 Aug 2022 01:06:00
Message-Id: 1661821510.9b95781d60ae2fcef6859580a9cc622c5fd88769.mjo@gentoo
1 commit: 9b95781d60ae2fcef6859580a9cc622c5fd88769
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 30 01:05:10 2022 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 30 01:05:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b95781d
7
8 net-analyzer/nagios-plugins: drop 2.3.1-r3, 2.3.3-r3
9
10 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
11
12 net-analyzer/nagios-plugins/Manifest | 2 -
13 .../nagios-plugins/nagios-plugins-2.3.1-r3.ebuild | 112 --------------------
14 .../nagios-plugins/nagios-plugins-2.3.3-r3.ebuild | 115 ---------------------
15 3 files changed, 229 deletions(-)
16
17 diff --git a/net-analyzer/nagios-plugins/Manifest b/net-analyzer/nagios-plugins/Manifest
18 index 5a0fd0a3b9c2..01a7d6cad44e 100644
19 --- a/net-analyzer/nagios-plugins/Manifest
20 +++ b/net-analyzer/nagios-plugins/Manifest
21 @@ -1,3 +1 @@
22 -DIST nagios-plugins-2.3.1.tar.gz 2833267 BLAKE2B f89eda7a29558dd33dedbf0de150b6a13ba66d213d74041d9eb8c680880b3825bcc9312d251d22f3b483a14c0de7c59d7801954e7563c16352bfc38236676863 SHA512 89208f211e51db4e0d56725a6ff6d2fcf4eb2207f877a2b8f130cda8480a70f318eceb94140eb4f2a17fe3dd967bb3615ccc366c1a531ebd4ff0a04b60c61b8a
23 -DIST nagios-plugins-2.3.3.tar.gz 2782610 BLAKE2B f02ded0ed6d5c649a82fe7fe06e393b404fc6e9a260365b128c114381d411d93c8980fee6da73c4d03ab73669d5b8754225ff5aa14ef4430ee0c91d8c56cb131 SHA512 2128601b1098eb82f4e7d720b96a5f92d6ad75dc181a94b25c38172767de8b72f9fece3eddb74933b1cd520928ae9416a7dc665e2f059bfe362dd74041d28cd7
24 DIST nagios-plugins-2.4.0.tar.gz 2738643 BLAKE2B 695c3804aec592dad0ae1f2f19222a5ae066944de4169beba08dd1e7beee51c5082679dfc1cf5adc052758e3142f33187ebde9636af19ae313f1448867764878 SHA512 f6f4cd604d28161f36c1429dbfa8f07e9fa468d8d8c21925d53d7049f0765504cb785e1f1189a0c93aa1f0cd1fe3985409c420b7724aa39790836af5c3f725ff
25
26 diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.3.1-r3.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-2.3.1-r3.ebuild
27 deleted file mode 100644
28 index a5d5583481bc..000000000000
29 --- a/net-analyzer/nagios-plugins/nagios-plugins-2.3.1-r3.ebuild
30 +++ /dev/null
31 @@ -1,112 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -DESCRIPTION="Official plugins for Nagios"
38 -HOMEPAGE="http://nagios-plugins.org/"
39 -SRC_URI="http://nagios-plugins.org/download/${P}.tar.gz"
40 -
41 -LICENSE="GPL-2"
42 -SLOT="0"
43 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ppc64 sparc x86"
44 -IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba selinux snmp ssh +ssl"
45 -
46 -# Most of the plugins use automagic dependencies, i.e. the plugin will
47 -# get built if the binary it uses is installed. For example, check_snmp
48 -# will be built only if snmpget from net-analyzer/net-snmp[-minimal] is
49 -# installed. End result: most of our runtime dependencies are required
50 -# at build time as well.
51 -AUTOMAGIC_DEPEND="
52 - nagios-dns? ( net-dns/bind-tools )
53 - nagios-game? ( games-util/qstat )
54 - nagios-ping? ( net-analyzer/fping )
55 - samba? ( net-fs/samba )
56 - ssh? ( net-misc/openssh )
57 - snmp? ( dev-perl/Net-SNMP
58 - net-analyzer/net-snmp[-minimal] )"
59 -
60 -# Perl really needs to run during the build...
61 -BDEPEND="${AUTOMAGIC_DEPEND}
62 - dev-lang/perl"
63 -
64 -DEPEND="
65 - ldap? ( net-nds/openldap:= )
66 - mysql? ( dev-db/mysql-connector-c:= )
67 - postgres? ( dev-db/postgresql:* )
68 - ssl? (
69 - dev-libs/openssl:0=
70 - )
71 - radius? ( net-dialup/freeradius-client )"
72 -
73 -# Basically everything in net-analyzer/monitoring-plugins collides with
74 -# nagios-plugins. Perl (from BDEPEND) is needed at runtime, too.
75 -RDEPEND="${BDEPEND}
76 - ${DEPEND}
77 - !net-analyzer/monitoring-plugins
78 - selinux? ( sec-policy/selinux-nagios )"
79 -
80 -# At least one test is interactive.
81 -RESTRICT="test"
82 -
83 -DOCS=(
84 - ACKNOWLEDGEMENTS
85 - AUTHORS
86 - CODING
87 - ChangeLog
88 - FAQ
89 - NEWS
90 - README
91 - REQUIREMENTS
92 - SUPPORT
93 - THANKS
94 -)
95 -
96 -PATCHES=( "${FILESDIR}/define-own-mysql-port-constant.patch" )
97 -
98 -src_prepare() {
99 - default
100 -
101 - # Fix the path to our perl interpreter
102 - sed -i -e "1s:/usr/local/bin/perl:/usr/bin/perl:" \
103 - "${S}"/plugins-scripts/*.pl \
104 - || die 'failed to fix perl interpreter path'
105 -}
106 -
107 -src_configure() {
108 - # Use an array to prevent econf from mangling the ping args.
109 - local myconf=()
110 -
111 - if use ssl; then
112 - myconf+=( $(use_with ssl openssl /usr) )
113 - else
114 - myconf+=( --without-openssl )
115 - myconf+=( --without-gnutls )
116 - fi
117 -
118 - # The autodetection for these two commands can hang if localhost is
119 - # down or ICMP traffic is filtered. Bug #468296.
120 - myconf+=( --with-ping-command="/bin/ping -n -U -w %d -c %d %s" )
121 -
122 - if use ipv6; then
123 - myconf+=( --with-ping6-command="/bin/ping6 -n -U -w %d -c %d %s" )
124 - fi
125 -
126 - econf \
127 - $(use_with mysql) \
128 - $(use_with ipv6) \
129 - $(use_with ldap) \
130 - $(use_with postgres pgsql /usr) \
131 - $(use_with radius) \
132 - "${myconf[@]}" \
133 - --libexecdir="/usr/$(get_libdir)/nagios/plugins" \
134 - --sysconfdir="/etc/nagios"
135 -}
136 -
137 -pkg_postinst() {
138 - elog "This ebuild has a number of USE flags that determine what you"
139 - elog "are able to monitor. Depending on what you want to monitor, some"
140 - elog "or all of these USE flags need to be set."
141 - elog
142 - elog "The plugins are installed in ${ROOT}/usr/$(get_libdir)/nagios/plugins"
143 -}
144
145 diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.3.3-r3.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-2.3.3-r3.ebuild
146 deleted file mode 100644
147 index bb1f5bbbfd58..000000000000
148 --- a/net-analyzer/nagios-plugins/nagios-plugins-2.3.3-r3.ebuild
149 +++ /dev/null
150 @@ -1,115 +0,0 @@
151 -# Copyright 1999-2022 Gentoo Authors
152 -# Distributed under the terms of the GNU General Public License v2
153 -
154 -EAPI=7
155 -
156 -DESCRIPTION="Official plugins for Nagios"
157 -HOMEPAGE="http://nagios-plugins.org/"
158 -SRC_URI="http://nagios-plugins.org/download/${P}.tar.gz"
159 -
160 -LICENSE="GPL-2"
161 -SLOT="0"
162 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
163 -IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba selinux snmp ssh +ssl"
164 -
165 -# Most of the plugins use automagic dependencies, i.e. the plugin will
166 -# get built if the binary it uses is installed. For example, check_snmp
167 -# will be built only if snmpget from net-analyzer/net-snmp[-minimal] is
168 -# installed. End result: most of our runtime dependencies are required
169 -# at build time as well.
170 -AUTOMAGIC_DEPEND="
171 - nagios-dns? ( net-dns/bind-tools )
172 - nagios-game? ( games-util/qstat )
173 - nagios-ping? ( net-analyzer/fping )
174 - samba? ( net-fs/samba )
175 - ssh? ( net-misc/openssh )
176 - snmp? ( dev-perl/Net-SNMP
177 - net-analyzer/net-snmp[-minimal] )"
178 -
179 -# Perl really needs to run during the build...
180 -BDEPEND="${AUTOMAGIC_DEPEND}
181 - dev-lang/perl"
182 -
183 -DEPEND="
184 - ldap? ( net-nds/openldap:= )
185 - mysql? ( dev-db/mysql-connector-c:= )
186 - postgres? ( dev-db/postgresql:* )
187 - ssl? (
188 - dev-libs/openssl:0=
189 - )
190 - radius? ( net-dialup/freeradius-client )"
191 -
192 -# Basically everything in net-analyzer/monitoring-plugins collides with
193 -# nagios-plugins. Perl (from BDEPEND) is needed at runtime, too.
194 -RDEPEND="${BDEPEND}
195 - ${DEPEND}
196 - !net-analyzer/monitoring-plugins
197 - selinux? ( sec-policy/selinux-nagios )"
198 -
199 -# At least one test is interactive.
200 -RESTRICT="test"
201 -
202 -DOCS=(
203 - ACKNOWLEDGEMENTS
204 - AUTHORS
205 - CODING
206 - ChangeLog
207 - FAQ
208 - NEWS
209 - README
210 - REQUIREMENTS
211 - SUPPORT
212 - THANKS
213 -)
214 -
215 -PATCHES=(
216 - "${FILESDIR}/define-own-mysql-port-constant.patch"
217 - "${FILESDIR}/check_smtp-implicit-tls.patch"
218 -)
219 -
220 -src_prepare() {
221 - default
222 -
223 - # Fix the path to our perl interpreter
224 - sed -i -e "1s:/usr/local/bin/perl:/usr/bin/perl:" \
225 - "${S}"/plugins-scripts/*.pl \
226 - || die 'failed to fix perl interpreter path'
227 -}
228 -
229 -src_configure() {
230 - # Use an array to prevent econf from mangling the ping args.
231 - local myconf=()
232 -
233 - if use ssl; then
234 - myconf+=( $(use_with ssl openssl /usr) )
235 - else
236 - myconf+=( --without-openssl )
237 - myconf+=( --without-gnutls )
238 - fi
239 -
240 - # The autodetection for these two commands can hang if localhost is
241 - # down or ICMP traffic is filtered. Bug #468296.
242 - myconf+=( --with-ping-command="/bin/ping -n -U -w %d -c %d %s" )
243 -
244 - if use ipv6; then
245 - myconf+=( --with-ping6-command="/bin/ping6 -n -U -w %d -c %d %s" )
246 - fi
247 -
248 - econf \
249 - $(use_with mysql) \
250 - $(use_with ipv6) \
251 - $(use_with ldap) \
252 - $(use_with postgres pgsql /usr) \
253 - $(use_with radius) \
254 - "${myconf[@]}" \
255 - --libexecdir="/usr/$(get_libdir)/nagios/plugins" \
256 - --sysconfdir="/etc/nagios"
257 -}
258 -
259 -pkg_postinst() {
260 - elog "This ebuild has a number of USE flags that determine what you"
261 - elog "are able to monitor. Depending on what you want to monitor, some"
262 - elog "or all of these USE flags need to be set."
263 - elog
264 - elog "The plugins are installed in ${ROOT}/usr/$(get_libdir)/nagios/plugins"
265 -}