diff options
Diffstat (limited to 'net-mgmt/nagios-plugins')
-rw-r--r-- | net-mgmt/nagios-plugins/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/nagios-plugins/files/patch-configure | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile index 0908bd952c74..aaa505b206ba 100644 --- a/net-mgmt/nagios-plugins/Makefile +++ b/net-mgmt/nagios-plugins/Makefile @@ -3,7 +3,7 @@ PORTNAME= nagios-plugins PORTVERSION= 2.2.1 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= https://www.nagios-plugins.org/download/ \ diff --git a/net-mgmt/nagios-plugins/files/patch-configure b/net-mgmt/nagios-plugins/files/patch-configure index 1125116fc772..602247d66039 100644 --- a/net-mgmt/nagios-plugins/files/patch-configure +++ b/net-mgmt/nagios-plugins/files/patch-configure @@ -16,3 +16,12 @@ elif ps axwwo 'stat comm vsz rss user uid pid ppid args cgroup:256' 2>/dev/null | \ egrep -i "^ *STAT +[UCOMAND]+ +VSZ +RSS +USER +UID +PID +PPID +COMMAND +CGROUP" > /dev/null then +@@ -23798,7 +23807,7 @@ then + + if $PATH_TO_SWAPINFO -k 2>/dev/null | egrep -i "^Device +1K-blocks +Used +Avail" >/dev/null + then +- ac_cv_swap_format="%*s %f %*d %f" ++ ac_cv_swap_format="%*s %lf %*d %lf" + ac_cv_swap_conv=1024 + { $as_echo "$as_me:$LINENO: result: using FreeBSD format swapinfo" >&5 + $as_echo "using FreeBSD format swapinfo" >&6; } |