svn commit: r377599 - in head/net-mgmt: monitoring-plugins monitoring-plugins/files nagios-plugins nagios-plugins/files

Mathieu Arnold mat at FreeBSD.org
Wed Jan 21 13:11:30 UTC 2015


Author: mat
Date: Wed Jan 21 13:11:28 2015
New Revision: 377599
URL: https://svnweb.freebsd.org/changeset/ports/377599
QAT: https://qat.redports.org/buildarchive/r377599/

Log:
  Fix check_dhcp.
  
  PR:		196964
  Submitted by:	Rudolf Čejka
  Sponsored by:	Absolight

Added:
  head/net-mgmt/monitoring-plugins/files/patch-plugins-root_check__dhcp.c   (contents, props changed)
  head/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c   (contents, props changed)
Modified:
  head/net-mgmt/monitoring-plugins/Makefile
  head/net-mgmt/nagios-plugins/Makefile

Modified: head/net-mgmt/monitoring-plugins/Makefile
==============================================================================
--- head/net-mgmt/monitoring-plugins/Makefile	Wed Jan 21 13:03:07 2015	(r377598)
+++ head/net-mgmt/monitoring-plugins/Makefile	Wed Jan 21 13:11:28 2015	(r377599)
@@ -3,7 +3,7 @@
 
 PORTNAME=	monitoring-plugins
 PORTVERSION=	2.0
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	net-mgmt
 MASTER_SITES=	https://www.monitoring-plugins.org/download/ LOCAL/mat/${PORTNAME}
 

Added: head/net-mgmt/monitoring-plugins/files/patch-plugins-root_check__dhcp.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/monitoring-plugins/files/patch-plugins-root_check__dhcp.c	Wed Jan 21 13:11:28 2015	(r377599)
@@ -0,0 +1,12 @@
+--- plugins-root/check_dhcp.c.orig	2014-07-06 17:55:03 UTC
++++ plugins-root/check_dhcp.c
+@@ -323,7 +323,8 @@ int get_hardware_address(int sock,char *
+ #elif defined(__bsd__)
+ 						/* King 2004	see ACKNOWLEDGEMENTS */
+ 
+-        int                     mib[6], len;
++        int                     mib[6];
++        size_t                  len;
+         char                    *buf;
+         unsigned char           *ptr;
+         struct if_msghdr        *ifm;

Modified: head/net-mgmt/nagios-plugins/Makefile
==============================================================================
--- head/net-mgmt/nagios-plugins/Makefile	Wed Jan 21 13:03:07 2015	(r377598)
+++ head/net-mgmt/nagios-plugins/Makefile	Wed Jan 21 13:11:28 2015	(r377599)
@@ -3,7 +3,7 @@
 
 PORTNAME=	nagios-plugins
 PORTVERSION=	2.0.3
-PORTREVISION=	7
+PORTREVISION=	8
 PORTEPOCH=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	https://www.nagios-plugins.org/download/ \

Added: head/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c	Wed Jan 21 13:11:28 2015	(r377599)
@@ -0,0 +1,12 @@
+--- plugins-root/check_dhcp.c.orig	2014-06-26 16:17:12 UTC
++++ plugins-root/check_dhcp.c
+@@ -326,7 +326,8 @@ int get_hardware_address(int sock,char *
+ #elif defined(__bsd__)
+ 						/* King 2004	see ACKNOWLEDGEMENTS */
+ 
+-        int                     mib[6], len;
++        int                     mib[6];
++        size_t                  len;
+         char                    *buf;
+         unsigned char           *ptr;
+         struct if_msghdr        *ifm;


More information about the svn-ports-all mailing list