- update to 2.4.0 General + Use C99 booleans @RincewindsHat + Improve negate plugin helptext @euniceremoquillo + Add new test function for percentage expressions @RincewindsHat Single Plugins + check_mailq: remove trailing whitespaces @sni + check_mailq: unify tabs/spaces @sni + check_oracle: Shellcheck fixes @RincewindsHat + check_ups: output ups.realpower if supported @sbraz + check_disk: add -n short option for --ignore-missing @sni + check_procs: Improve help text, mentioning excluded processes @shartge + check_procs: Generalise wording, remove mentioning of nrpe @shartge + check_curl: add haproxy protocol option @emriver + check_disk: increase alert precision @sni + check_ircd: IPv6 support @oxzi + check_nwstat: adds percentage used space + check_swap: Possibility to run check_swap without thresholds @Napsty + check_ups: additional alarm conditions @RincewindsHat + check_http/check_curl: added a --regex-state option to change the state of a regex check @andreasbaumann General Fixes + Fixes for -Wsign-compare @RincewindsHat + Fix logic in is_uint64_t to fix type-limit warning @RincewindsHat + Prevent -lcrypto from showing up in Makefile dependencies @EricFromCanada + Change irritating NULL assignment @RincewindsHat Single Plugin Fixes + check_dbi: Compiler warning for uninitialized variable @RincewindsHat + check_curl: Initialize pointer before usage @RincewindsHat + check_ntp: Initialize intermediate results in any case @RincewindsHat + check_tcp: Fixes an error with using the wrong type for a variable @RincewindsHat OBS-URL: https://build.opensuse.org/request/show/1194151 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=123
24 lines
1.1 KiB
Diff
24 lines
1.1 KiB
Diff
Index: monitoring-plugins-2.4.0/plugins-root/Makefile.am
|
|
===================================================================
|
|
--- monitoring-plugins-2.4.0.orig/plugins-root/Makefile.am
|
|
+++ monitoring-plugins-2.4.0/plugins-root/Makefile.am
|
|
@@ -49,8 +49,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
|
|
@@ -65,8 +63,7 @@ install-exec-local: $(noinst_PROGRAMS)
|
|
## See if we can create a setuid root executable in $(libexecdir).
|
|
## If not, then don't even try to install setuid plugins.
|
|
can_create_suid_root_executable=no; \
|
|
- chown root $$TMPFILE > /dev/null 2>&1 \
|
|
- && chmod $(setuid_root_mode) $$TMPFILE > /dev/null 2>&1 \
|
|
+ chmod $(setuid_root_mode) $$TMPFILE > /dev/null 2>&1 \
|
|
&& can_create_suid_root_executable=yes; \
|
|
rm -f $$TMPFILE; \
|
|
if test $$can_create_suid_root_executable = yes; then \
|