Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2015 11:39:18 +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: r380908 - in head/net-mgmt: monitoring-plugins monitoring-plugins/files nagios-plugins nagios-plugins/files
Message-ID:  <201503101139.t2ABdI7G068368@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Mar 10 11:39:17 2015
New Revision: 380908
URL: https://svnweb.freebsd.org/changeset/ports/380908
QAT: https://qat.redports.org/buildarchive/r380908/

Log:
  Fix a segfault in check_dhcp.
  
  PR:		198318
  Submitted by:	Ian Pallfreeman
  Sponsored by:	Absolight

Modified:
  head/net-mgmt/monitoring-plugins/Makefile
  head/net-mgmt/monitoring-plugins/files/patch-plugins-root_check__dhcp.c
  head/net-mgmt/nagios-plugins/Makefile
  head/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c

Modified: head/net-mgmt/monitoring-plugins/Makefile
==============================================================================
--- head/net-mgmt/monitoring-plugins/Makefile	Tue Mar 10 11:31:06 2015	(r380907)
+++ head/net-mgmt/monitoring-plugins/Makefile	Tue Mar 10 11:39:17 2015	(r380908)
@@ -3,7 +3,7 @@
 
 PORTNAME=	monitoring-plugins
 PORTVERSION=	2.0
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	net-mgmt
 MASTER_SITES=	https://www.monitoring-plugins.org/download/ LOCAL/mat/${PORTNAME}
 

Modified: head/net-mgmt/monitoring-plugins/files/patch-plugins-root_check__dhcp.c
==============================================================================
--- head/net-mgmt/monitoring-plugins/files/patch-plugins-root_check__dhcp.c	Tue Mar 10 11:31:06 2015	(r380907)
+++ head/net-mgmt/monitoring-plugins/files/patch-plugins-root_check__dhcp.c	Tue Mar 10 11:39:17 2015	(r380908)
@@ -10,3 +10,12 @@
          char                    *buf;
          unsigned char           *ptr;
          struct if_msghdr        *ifm;
+@@ -1182,7 +1183,7 @@ int call_getopt(int argc, char **argv){
+ 		        }
+ 	        }
+ 
+-	return i;
++	return i+1;
+         }
+ 
+ 

Modified: head/net-mgmt/nagios-plugins/Makefile
==============================================================================
--- head/net-mgmt/nagios-plugins/Makefile	Tue Mar 10 11:31:06 2015	(r380907)
+++ head/net-mgmt/nagios-plugins/Makefile	Tue Mar 10 11:39:17 2015	(r380908)
@@ -3,7 +3,7 @@
 
 PORTNAME=	nagios-plugins
 PORTVERSION=	2.0.3
-PORTREVISION=	8
+PORTREVISION=	9
 PORTEPOCH=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	https://www.nagios-plugins.org/download/ \

Modified: head/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c
==============================================================================
--- head/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c	Tue Mar 10 11:31:06 2015	(r380907)
+++ head/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c	Tue Mar 10 11:39:17 2015	(r380908)
@@ -10,3 +10,12 @@
          char                    *buf;
          unsigned char           *ptr;
          struct if_msghdr        *ifm;
+@@ -1185,7 +1186,7 @@ int call_getopt(int argc, char **argv){
+ 		        }
+ 	        }
+ 
+-	return i;
++	return i+1;
+         }
+ 
+ 



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