From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8EE24158020 for ; Thu, 1 Dec 2022 00:35:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1A3DE07C5; Thu, 1 Dec 2022 00:35:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8DFE2E07C5 for ; Thu, 1 Dec 2022 00:35:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6554F340B35 for ; Thu, 1 Dec 2022 00:35:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 78AE6762 for ; Thu, 1 Dec 2022 00:35:53 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1669854819.1d465e3780420afcaeeb5e9e76d1bbb5428d94f5.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r2.ebuild X-VCS-Directories: net-analyzer/nagios-plugins/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 1d465e3780420afcaeeb5e9e76d1bbb5428d94f5 X-VCS-Branch: master Date: Thu, 1 Dec 2022 00:35:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1fd0f988-5635-46ac-8e87-9911a908ed23 X-Archives-Hash: 49bdf508dbccc7522a56a9d964ffc43f commit: 1d465e3780420afcaeeb5e9e76d1bbb5428d94f5 Author: Michael Orlitzky gentoo org> AuthorDate: Thu Dec 1 00:31:18 2022 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Thu Dec 1 00:33:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d465e37 net-analyzer/nagios-plugins: yet another ping-related stable revision. It turns out that the new revision to force a rebuild doesn't help unless you actually include the path detection fix along with it. Bug: https://bugs.gentoo.org/883765 Signed-off-by: Michael Orlitzky gentoo.org> ...gios-plugins-2.4.0-r1.ebuild => nagios-plugins-2.4.0-r2.ebuild} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r2.ebuild similarity index 91% rename from net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild rename to net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r2.ebuild index 32f8cfa80212..ea52cc31e226 100644 --- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild +++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r2.ebuild @@ -87,11 +87,12 @@ src_configure() { fi # The autodetection for these two commands can hang if localhost is - # down or ICMP traffic is filtered. Bug #468296. - myconf+=( --with-ping-command="/bin/ping -n -U -w %d -c %d %s" ) + # down or ICMP traffic is filtered (bug #468296). But also the path + # likes to move around on us (bug #883765). + myconf+=( --with-ping-command="$(command -v ping) -n -U -w %d -c %d %s" ) if use ipv6; then - myconf+=( --with-ping6-command="/bin/ping6 -n -U -w %d -c %d %s" ) + myconf+=( --with-ping6-command="$(command -v ping6) -n -U -w %d -c %d %s" ) fi econf \