Update to 2.1.2.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2016-01-13 14:11:22 +00:00
parent 398d745913
commit 5b471a482b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406048
5 changed files with 4 additions and 13 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= monitoring-plugins
PORTVERSION= 2.1.1
PORTVERSION= 2.1.2
PORTREVISION= 0
CATEGORIES= net-mgmt
MASTER_SITES= https://www.monitoring-plugins.org/download/ LOCAL/mat/${PORTNAME}

View File

@ -1,2 +1,2 @@
SHA256 (monitoring-plugins-2.1.1.tar.gz) = 44dbace8033eafb716cc501bfef26ca9071ae3d0329b2c118bd0230fd98dd1d3
SIZE (monitoring-plugins-2.1.1.tar.gz) = 2612331
SHA256 (monitoring-plugins-2.1.2.tar.gz) = 76c6b58f0867ab7b6c8c86c7e94fcce7183618f6daab63488990d0355f5600aa
SIZE (monitoring-plugins-2.1.2.tar.gz) = 2613060

View File

@ -1,4 +1,4 @@
--- plugins-root/check_dhcp.c.orig 2014-11-30 10:36:26 UTC
--- plugins-root/check_dhcp.c.orig 2015-10-16 09:06:18 UTC
+++ plugins-root/check_dhcp.c
@@ -323,7 +323,8 @@ int get_hardware_address(int sock,char *
#elif defined(__bsd__)
@ -10,12 +10,3 @@
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;
}