From da7df117d797bb63062dd16566bf32016eceacd752bda00e682f53e50e575d03 Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Mon, 14 Sep 2020 12:35:19 +0000 Subject: [PATCH] ... OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=77 --- monitoring-plugins-1.4.6-no_chown.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitoring-plugins-1.4.6-no_chown.patch b/monitoring-plugins-1.4.6-no_chown.patch index b3f945e..5a00a2e 100644 --- a/monitoring-plugins-1.4.6-no_chown.patch +++ b/monitoring-plugins-1.4.6-no_chown.patch @@ -10,7 +10,7 @@ Index: monitoring-plugins-2.2/plugins-root/Makefile.am echo " chmod $(setuid_root_mode) $(DESTDIR)$(libexecdir)/$$p"; \ chmod $(setuid_root_mode) $(DESTDIR)$(libexecdir)/$$p; \ done -@@ -66,11 +65,12 @@ install-exec-local: $(noinst_PROGRAMS) +@@ -66,11 +65,11 @@ install-exec-local: $(noinst_PROGRAMS) && chmod $(setuid_root_mode) $$TMPFILE > /dev/null 2>&1 \ && can_create_suid_root_executable=yes; \ rm -f $$TMPFILE; \ @@ -18,7 +18,7 @@ Index: monitoring-plugins-2.2/plugins-root/Makefile.am - $(INSTALL_SUID); \ + $(INSTALL_SUID); \ + if test $$can_create_suid_root_executable != yes; then \ - else \ +- else \ - echo "WARNING: insufficient access; not installing setuid plugins"; \ + echo "WARNING: insufficient access; not installing plugins as setuid"; \ echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \