svn commit: r380908 - in head/net-mgmt: monitoring-plugins monitoring-plugins/files nagios-plugins nagios-plugins/files
Mathieu Arnold
mat at FreeBSD.org
Tue Mar 10 11:39:19 UTC 2015
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;
+ }
+
+
More information about the svn-ports-head
mailing list