Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2017 16:06:05 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448927 - in head/net-mgmt/nagios-plugins: . files
Message-ID:  <201708291606.v7TG65Ov010504@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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; }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708291606.v7TG65Ov010504>