Bug 273365

Summary: net-mgmt/monitoring-plugins: FreeBSD specific change for jail support in 'check_procs' is broken
Product: Ports & Packages Reporter: Armin Gruner <ag-freebsd>
Component: Individual Port(s)Assignee: Jochen Neumeister <joneum>
Status: New ---    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (joneum)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to /usr/ports/net-mgmt/monitoring-plugins port files none

Description Armin Gruner 2023-08-26 16:01:01 UTC
Created attachment 244362 [details]
Patch to /usr/ports/net-mgmt/monitoring-plugins port files

The patch to configure is wrong because the changes are applied in a non-reached if/elif/else cascade.

The attached corrected patch to configure now makes the 'j' flag to 'check_procs' work. 

With the current ports version, the 'j' flag had no effect at all, matching all processes with all other criteria, but not the jail id.

This bumps the port revision to 2, while keeping the port version.