Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2017 14:16:30 +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: r440109 - in head/net-mgmt/nagios-plugins: . files
Message-ID:  <201705041416.v44EGU3N094990@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Thu May  4 14:16:30 2017
New Revision: 440109
URL: https://svnweb.freebsd.org/changeset/ports/440109

Log:
  Fix check_swap.
  
  PR:		219068
  Submitted by:	Markus Wennrich
  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	Thu May  4 13:32:08 2017	(r440108)
+++ head/net-mgmt/nagios-plugins/Makefile	Thu May  4 14:16:30 2017	(r440109)
@@ -3,6 +3,7 @@
 
 PORTNAME=	nagios-plugins
 PORTVERSION=	2.2.1
+PORTREVISION=	1
 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	Thu May  4 13:32:08 2017	(r440108)
+++ head/net-mgmt/nagios-plugins/files/patch-configure	Thu May  4 14:16:30 2017	(r440109)
@@ -1,6 +1,6 @@
---- configure.orig	2017-04-19 16:03:27 UTC
-+++ configure
-@@ -22004,7 +22004,7 @@ then
+--- configure.orig	2017-04-19 18:03:27.000000000 +0200
++++ configure	
+@@ -22004,7 +22004,7 @@
  $as_echo "$ac_cv_ps_command" >&6; }
  
  elif ps -axwwo 'stat comm vsz rss user uid pid ppid args' 2>/dev/null | \
@@ -9,3 +9,12 @@
  then
  	ac_cv_ps_varlist="procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos"
  	ac_cv_ps_command="$PATH_TO_PS -axwwo 'stat uid pid ppid vsz rss pcpu comm args'"
+@@ -23798,7 +23798,7 @@
+ 
+ 	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?201705041416.v44EGU3N094990>