svn commit: r448927 - in head/net-mgmt/nagios-plugins: . files
Mathieu Arnold
mat at FreeBSD.org
Tue Aug 29 16:06:07 UTC 2017
Author: mat
Date: Tue Aug 29 16:06:05 2017
New Revision: 448927
URL: https://svnweb.freebsd.org/changeset/ports/448927
Log:
Fix the check_swap again.
PR: 219068
Sponsored by: Absolight
Modified:
head/net-mgmt/nagios-plugins/Makefile (contents, props changed)
head/net-mgmt/nagios-plugins/files/patch-configure (contents, props changed)
Modified: head/net-mgmt/nagios-plugins/Makefile
==============================================================================
--- head/net-mgmt/nagios-plugins/Makefile Tue Aug 29 15:19:51 2017 (r448926)
+++ head/net-mgmt/nagios-plugins/Makefile Tue Aug 29 16:06:05 2017 (r448927)
@@ -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/ \
Modified: head/net-mgmt/nagios-plugins/files/patch-configure
==============================================================================
--- head/net-mgmt/nagios-plugins/files/patch-configure Tue Aug 29 15:19:51 2017 (r448926)
+++ head/net-mgmt/nagios-plugins/files/patch-configure Tue Aug 29 16:06:05 2017 (r448927)
@@ -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; }
More information about the svn-ports-head
mailing list