svn commit: r558278 - in head/net-mgmt/monitoring-plugins: . files
Mathieu Arnold
mat at FreeBSD.org
Thu Dec 17 10:28:10 UTC 2020
Author: mat
Date: Thu Dec 17 10:28:08 2020
New Revision: 558278
URL: https://svnweb.freebsd.org/changeset/ports/558278
Log:
Update to 2.3.
Added:
head/net-mgmt/monitoring-plugins/files/patch-plugins-root_Makefile.in (contents, props changed)
Deleted:
head/net-mgmt/monitoring-plugins/files/patch-lib_utils__base.c
head/net-mgmt/monitoring-plugins/files/patch-plugins-root_check__dhcp.c
head/net-mgmt/monitoring-plugins/files/patch-plugins_common.h
Modified:
head/net-mgmt/monitoring-plugins/Makefile (contents, props changed)
head/net-mgmt/monitoring-plugins/distinfo (contents, props changed)
head/net-mgmt/monitoring-plugins/files/patch-configure (contents, props changed)
head/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__mailq.pl (contents, props changed)
head/net-mgmt/monitoring-plugins/files/patch-plugins_check__nagios.c (contents, props changed)
head/net-mgmt/monitoring-plugins/files/patch-plugins_check__procs.c (contents, props changed)
head/net-mgmt/monitoring-plugins/pkg-plist (contents, props changed)
Modified: head/net-mgmt/monitoring-plugins/Makefile
==============================================================================
--- head/net-mgmt/monitoring-plugins/Makefile Thu Dec 17 10:20:55 2020 (r558277)
+++ head/net-mgmt/monitoring-plugins/Makefile Thu Dec 17 10:28:08 2020 (r558278)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= monitoring-plugins
-PORTVERSION= 2.2
-PORTREVISION= 9
+PORTVERSION= 2.3
CATEGORIES= net-mgmt
MASTER_SITES= https://www.monitoring-plugins.org/download/ \
LOCAL/mat/${PORTNAME}
@@ -143,6 +142,5 @@ post-patch:
check_users.c
@${REINPLACE_CMD} -e 's|setlocale (LC_ALL, "");|setlocale (LC_ALL, ""); setlocale(LC_NUMERIC, "C");|g' ${WRKSRC}/plugins/${file}
.endfor
- @${REINPLACE_CMD} -e 's|chown root|${TRUE}|g' ${WRKSRC}/plugins-root/Makefile.in
.include <bsd.port.mk>
Modified: head/net-mgmt/monitoring-plugins/distinfo
==============================================================================
--- head/net-mgmt/monitoring-plugins/distinfo Thu Dec 17 10:20:55 2020 (r558277)
+++ head/net-mgmt/monitoring-plugins/distinfo Thu Dec 17 10:28:08 2020 (r558278)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1482313684
-SHA256 (monitoring-plugins-2.2.tar.gz) = 296a538f00a9cbef7f528ff2d43af357a44b384dc98a32389a675b62a6dd3665
-SIZE (monitoring-plugins-2.2.tar.gz) = 2461548
+TIMESTAMP = 1608199337
+SHA256 (monitoring-plugins-2.3.tar.gz) = 3fd96efaa751c7646fe3ba25f9714859a204176a155d12fe0ee420e39e90f56c
+SIZE (monitoring-plugins-2.3.tar.gz) = 2528556
Modified: head/net-mgmt/monitoring-plugins/files/patch-configure
==============================================================================
--- head/net-mgmt/monitoring-plugins/files/patch-configure Thu Dec 17 10:20:55 2020 (r558277)
+++ head/net-mgmt/monitoring-plugins/files/patch-configure Thu Dec 17 10:28:08 2020 (r558278)
@@ -1,6 +1,6 @@
---- configure.orig 2016-11-29 08:48:11 UTC
+--- configure.orig 2020-12-09 21:48:15 UTC
+++ configure
-@@ -16747,6 +16747,16 @@ then
+@@ -17472,6 +17472,16 @@ then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5
$as_echo "$ac_cv_ps_command" >&6; }
Added: head/net-mgmt/monitoring-plugins/files/patch-plugins-root_Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/monitoring-plugins/files/patch-plugins-root_Makefile.in Thu Dec 17 10:28:08 2020 (r558278)
@@ -0,0 +1,24 @@
+--- plugins-root/Makefile.in.orig 2020-12-09 21:48:11 UTC
++++ plugins-root/Makefile.in
+@@ -1357,10 +1357,6 @@ INSTALL_SUID = \
+ p=$$f; \
+ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$p"; \
+ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$p; \
+- echo " chown root $(DESTDIR)$(libexecdir)/$$p"; \
+- chown root $(DESTDIR)$(libexecdir)/$$p; \
+- echo " chmod $(setuid_root_mode) $(DESTDIR)$(libexecdir)/$$p"; \
+- chmod $(setuid_root_mode) $(DESTDIR)$(libexecdir)/$$p; \
+ done
+
+
+@@ -1795,9 +1791,7 @@ install-exec-local: $(noinst_PROGRAMS)
+ rm -f $$TMPFILE; \
+ echo > $$TMPFILE; \
+ can_create_suid_root_executable=no; \
+- chown root $$TMPFILE > /dev/null 2>&1 \
+- && chmod $(setuid_root_mode) $$TMPFILE > /dev/null 2>&1 \
+- && can_create_suid_root_executable=yes; \
++ can_create_suid_root_executable=yes; \
+ rm -f $$TMPFILE; \
+ if test $$can_create_suid_root_executable = yes; then \
+ $(INSTALL_SUID); \
Modified: head/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__mailq.pl
==============================================================================
--- head/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__mailq.pl Thu Dec 17 10:20:55 2020 (r558277)
+++ head/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__mailq.pl Thu Dec 17 10:28:08 2020 (r558278)
@@ -3,7 +3,7 @@ From: Filias Heidt <fh at netzkommune.de>
Date: Fri, 9 Jun 2017 14:46:00 +0200
Subject: [PATCH] add support for opensmtpd
---- plugins-scripts/check_mailq.pl.orig 2016-11-29 08:45:08 UTC
+--- plugins-scripts/check_mailq.pl.orig 2020-12-09 21:38:01 UTC
+++ plugins-scripts/check_mailq.pl
@@ -550,6 +550,39 @@ elsif ( $mailq eq "nullmailer" ) {
}
@@ -45,7 +45,7 @@ Subject: [PATCH] add support for opensmtpd
# Perfdata support
print "$msg|unsent=$msg_q;$opt_w;$opt_c;0\n";
exit $state;
-@@ -610,7 +643,7 @@ sub process_arguments(){
+@@ -612,7 +645,7 @@ sub process_arguments(){
}
if (defined $opt_M) {
Modified: head/net-mgmt/monitoring-plugins/files/patch-plugins_check__nagios.c
==============================================================================
--- head/net-mgmt/monitoring-plugins/files/patch-plugins_check__nagios.c Thu Dec 17 10:20:55 2020 (r558277)
+++ head/net-mgmt/monitoring-plugins/files/patch-plugins_check__nagios.c Thu Dec 17 10:28:08 2020 (r558278)
@@ -1,4 +1,4 @@
---- plugins/check_nagios.c.orig 2016-11-29 08:45:08 UTC
+--- plugins/check_nagios.c.orig 2020-12-17 10:11:10 UTC
+++ plugins/check_nagios.c
@@ -64,6 +64,7 @@ main (int argc, char **argv)
int procuid = 0;
Modified: head/net-mgmt/monitoring-plugins/files/patch-plugins_check__procs.c
==============================================================================
--- head/net-mgmt/monitoring-plugins/files/patch-plugins_check__procs.c Thu Dec 17 10:20:55 2020 (r558277)
+++ head/net-mgmt/monitoring-plugins/files/patch-plugins_check__procs.c Thu Dec 17 10:28:08 2020 (r558278)
@@ -1,6 +1,6 @@
---- plugins/check_procs.c.orig 2016-11-29 08:45:08 UTC
+--- plugins/check_procs.c.orig 2020-12-09 21:38:01 UTC
+++ plugins/check_procs.c
-@@ -70,6 +70,7 @@ int options = 0; /* bitmask of filter cr
+@@ -70,6 +70,7 @@ int options = 0; /* bitmask of filter criteria to test
#define PCPU 256
#define ELAPSED 512
#define EREG_ARGS 1024
@@ -57,7 +57,7 @@
procetime, procprog, procargs);
}
-@@ -409,6 +414,7 @@ process_arguments (int argc, char **argv
+@@ -409,6 +414,7 @@ process_arguments (int argc, char **argv)
{"input-file", required_argument, 0, CHAR_MAX+2},
{"no-kthreads", required_argument, 0, 'k'},
{"traditional-filter", no_argument, 0, 'T'},
@@ -65,7 +65,7 @@
{0, 0, 0, 0}
};
-@@ -417,7 +423,7 @@ process_arguments (int argc, char **argv
+@@ -417,7 +423,7 @@ process_arguments (int argc, char **argv)
strcpy (argv[c], "-t");
while (1) {
@@ -74,7 +74,7 @@
longopts, &option);
if (c == -1 || c == EOF)
-@@ -451,6 +457,12 @@ process_arguments (int argc, char **argv
+@@ -451,6 +457,12 @@ process_arguments (int argc, char **argv)
break;
}
usage4 (_("Parent Process ID must be an integer!"));
@@ -96,7 +96,7 @@
printf (" %s\n", "-z, --vsz=VSZ");
printf (" %s\n", _("Only scan for processes with VSZ higher than indicated."));
printf (" %s\n", "-r, --rss=RSS");
-@@ -779,7 +793,7 @@ void
+@@ -784,7 +798,7 @@ void
print_usage (void)
{
printf ("%s\n", _("Usage:"));
Modified: head/net-mgmt/monitoring-plugins/pkg-plist
==============================================================================
--- head/net-mgmt/monitoring-plugins/pkg-plist Thu Dec 17 10:20:55 2020 (r558277)
+++ head/net-mgmt/monitoring-plugins/pkg-plist Thu Dec 17 10:28:08 2020 (r558278)
@@ -61,6 +61,7 @@ libexec/nagios/check_tcp
libexec/nagios/check_time
libexec/nagios/check_udp
libexec/nagios/check_ups
+libexec/nagios/check_uptime
libexec/nagios/check_users
libexec/nagios/check_wave
libexec/nagios/negate
More information about the svn-ports-head
mailing list