[Bug 284562] net-mgmt/nagios-check_ports: Fix run with pkg>=2.0.0
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284562] net-mgmt/nagios-check_ports: Fix run with pkg>=2.0.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284562] net-mgmt/nagios-check_ports: Fix run with pkg>=2.0.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284562] net-mgmt/nagios-check_ports: Fix run with pkg>=2.0.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284562] net-mgmt/nagios-check_ports: Fix run with pkg>=2.0.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 284562] net-mgmt/nagios-check_ports: Fix run with pkg>=2.0.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Feb 2025 12:54:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284562 Bug ID: 284562 Summary: net-mgmt/nagios-check_ports: Fix run with pkg>=2.0.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: o.kryvulia@flex-it.com.ua CC: ryanrfrederick@gmail.com Flags: maintainer-feedback?(ryanrfrederick@gmail.com) CC: ryanrfrederick@gmail.com Created attachment 257220 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=257220&action=edit Trivial fix to run with pkg>=2.0.0 There is an error while running on system with pkg>=2.0.0: # /usr/local/libexec/nagios/check_ports [: -gt: unexpected operator PORTS OK - security problem(s). | total_updates=0;0;0 security_problems=;0;0 This caused by difference in pkg audit command output, for example: pkg-1.20.9: 10 problem(s) in 6 installed package(s) found. pkg-2.0.5: 0 problem(s) in 0 package(s) found. Since work by upstream seems to be suspended trivial fix in ports tree proposed. -- You are receiving this mail because: You are the assignee for the bug.