aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-08-29 16:06:05 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-08-29 16:06:05 +0000
commit049f39e99dcc8404807cf03dbba3d92d6234f8c7 (patch)
tree9369aef21bb757aaa08bbb70140d49f2becdf4aa /net-mgmt/nagios-plugins
parent247602fadee048255d5ca7a0824e7d93b2110500 (diff)
downloadports-049f39e99dcc8404807cf03dbba3d92d6234f8c7.tar.gz
ports-049f39e99dcc8404807cf03dbba3d92d6234f8c7.zip
Fix the check_swap again.
PR: 219068 Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=448927
Diffstat (limited to 'net-mgmt/nagios-plugins')
-rw-r--r--net-mgmt/nagios-plugins/Makefile2
-rw-r--r--net-mgmt/nagios-plugins/files/patch-configure9
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; }