Bug 269230 - net-mgmt/nagios-plugins: update 2.4.0 -> 2.4.3, fix check_icmp bug from PR#264342
Summary: net-mgmt/nagios-plugins: update 2.4.0 -> 2.4.3, fix check_icmp bug from PR#26...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nuno Teixeira
URL: https://github.com/nagios-plugins/nag...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-29 18:10 UTC by Kurt Jaeger
Modified: 2023-01-31 17:44 UTC (History)
2 users (show)

See Also:


Attachments
patch (1.55 KB, patch)
2023-01-29 18:10 UTC, Kurt Jaeger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger freebsd_committer freebsd_triage 2023-01-29 18:10:06 UTC
Created attachment 239787 [details]
patch

This update should also fix the check_icmp bug from PR#264342
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2023-01-31 11:39:39 UTC
Hello Kurt,

Some warnings from Q/A check that should be analyzed before commit:
---
====> Running Q/A tests (stage-qa)
Warning: setuid files in the stage directory (are these necessary?):
166992 -r-sr-xr-x  1 nobody  wheel  60368 Jan 31 11:36:05 2023 /wrkdirs/usr/ports/net-mgmt/nagios-plugins/work/stage/usr/local/libexec/nagios/check_dhcp
166993 -r-sr-xr-x  1 nobody  wheel  68920 Jan 31 11:36:05 2023 /wrkdirs/usr/ports/net-mgmt/nagios-plugins/work/stage/usr/local/libexec/nagios/check_icmp
Warning: Possible REINPLACE_CMD issues:
- - REINPLACE_CMD ran, but did not modify file contents: plugins-scripts/check_disk_smb.pl
- - REINPLACE_CMD ran, but did not modify file contents: plugins-scripts/check_file_age.pl
- - REINPLACE_CMD ran, but did not modify file contents: plugins-scripts/check_flexlm.pl
- - REINPLACE_CMD ran, but did not modify file contents: plugins-scripts/check_ifoperstatus.pl
- - REINPLACE_CMD ran, but did not modify file contents: plugins-scripts/check_ifstatus.pl
- - REINPLACE_CMD ran, but did not modify file contents: plugins-scripts/check_ircd.pl
- - REINPLACE_CMD ran, but did not modify file contents: plugins-scripts/check_mailq.pl
- - REINPLACE_CMD ran, but did not modify file contents: plugins-scripts/check_ntp.pl
- - REINPLACE_CMD ran, but did not modify file contents: plugins-scripts/check_rpc.pl
- - REINPLACE_CMD ran, but did not modify file contents: plugins-scripts/check_wave.pl
---

I'm not familiar with this software so I need an opinion before commit it.
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2023-01-31 14:30:55 UTC
I tested it on CUR. The s-bits are needed, the REINPLACE reports happen, but in the end the path to perl is correct.

So I think it's fine.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-01-31 17:43:07 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7a21c687507056370e9213a387ac15f6c0a38b2e

commit 7a21c687507056370e9213a387ac15f6c0a38b2e
Author:     Kurt Jaeger <pi@FreeBSD.org>
AuthorDate: 2023-01-31 17:37:41 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-01-31 17:42:17 +0000

    net-mgmt/nagios-plugins: Update to 2.4.3

    - fix check_icmp bug from PR#264342

    ChangeLog:
    https://github.com/nagios-plugins/nagios-plugins/blob/master/NEWS

    PR:             264342, 269230

 net-mgmt/nagios-plugins/Makefile                               |  3 +--
 net-mgmt/nagios-plugins/distinfo                               |  6 +++---
 .../nagios-plugins/files/patch-plugins_check__smtp.c (gone)    | 10 ----------
 3 files changed, 4 insertions(+), 15 deletions(-)
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2023-01-31 17:44:30 UTC
Please let me know if MFH to 2023Q1 is needed.

Committed, thanks!