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: Thu, 01 Dec 2022 00:19:39
Message-Id: 1669853914.48c0881d8fd0646146890c23741634924cf15eba.mjo@gentoo
1 commit: 48c0881d8fd0646146890c23741634924cf15eba
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 1 00:16:58 2022 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 1 00:18:34 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48c0881d
7
8 net-analyzer/nagios-plugins: another revision to fix a botched commit.
9
10 Somehow I managed to delete an important part of the ebuild in what
11 should have been a trivial revision during the last commit. Let's undo
12 that.
13
14 Bug: https://bugs.gentoo.org/883765
15 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
16
17 .../{nagios-plugins-2.4.2-r1.ebuild => nagios-plugins-2.4.2-r2.ebuild} | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r1.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
21 similarity index 97%
22 rename from net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r1.ebuild
23 rename to net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
24 index 87de58cd0bfc..8fe32f3ad69a 100644
25 --- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r1.ebuild
26 +++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
27 @@ -85,7 +85,7 @@ src_configure() {
28 # The autodetection for these two commands can hang if localhost is
29 # down or ICMP traffic is filtered (bug #468296). But also the path
30 # likes to move around on us (bug #883765).
31 - myconf+=( --with-ping-command=" -n -U -w %d -c %d %s" )
32 + myconf+=( --with-ping-command="$(command -v ping) -n -U -w %d -c %d %s" )
33
34 if use ipv6; then
35 myconf+=( --with-ping6-command="$(command -v ping6) -n -U -w %d -c %d %s" )