diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2020-12-17 10:28:08 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2020-12-17 10:28:08 +0000 |
commit | 41d4d30c582510ae07fc868abf66aa708971fdd6 (patch) | |
tree | b7c24baa118e39c2fa8f9f4aa8e44a681e8ee257 /net-mgmt/monitoring-plugins/files/patch-plugins-root_Makefile.in | |
parent | www/nextcloud: Bump portrevision (diff) |
Update to 2.3.
Diffstat (limited to 'net-mgmt/monitoring-plugins/files/patch-plugins-root_Makefile.in')
-rw-r--r-- | net-mgmt/monitoring-plugins/files/patch-plugins-root_Makefile.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-mgmt/monitoring-plugins/files/patch-plugins-root_Makefile.in b/net-mgmt/monitoring-plugins/files/patch-plugins-root_Makefile.in new file mode 100644 index 000000000000..535287ed402d --- /dev/null +++ b/net-mgmt/monitoring-plugins/files/patch-plugins-root_Makefile.in @@ -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); \ |