diff options
4 files changed, 20 insertions, 2 deletions
diff --git a/net-mgmt/monitoring-plugins/Makefile b/net-mgmt/monitoring-plugins/Makefile index f4b0790cf8e1..bb67d6e7729a 100644 --- a/net-mgmt/monitoring-plugins/Makefile +++ b/net-mgmt/monitoring-plugins/Makefile @@ -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} diff --git a/net-mgmt/monitoring-plugins/files/patch-plugins-root_check__dhcp.c b/net-mgmt/monitoring-plugins/files/patch-plugins-root_check__dhcp.c index 912b9922d846..047db85a0b97 100644 --- a/net-mgmt/monitoring-plugins/files/patch-plugins-root_check__dhcp.c +++ b/net-mgmt/monitoring-plugins/files/patch-plugins-root_check__dhcp.c @@ -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; + } + + diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile index 2b9a2b841ca5..e72e64133125 100644 --- a/net-mgmt/nagios-plugins/Makefile +++ b/net-mgmt/nagios-plugins/Makefile @@ -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/ \ diff --git a/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c b/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c index 4ee277ab73c9..450dcf69d90e 100644 --- a/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c +++ b/net-mgmt/nagios-plugins/files/patch-plugins-root_check__dhcp.c @@ -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; + } + + |