Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
nagios-plugins
nagios-plugins-1.4.6-no_chown.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nagios-plugins-1.4.6-no_chown.patch of Package nagios-plugins
Index: plugins-root/Makefile.am =================================================================== --- plugins-root/Makefile.am.orig 2008-11-30 22:23:18.000000000 +0100 +++ plugins-root/Makefile.am 2009-11-24 23:08:35.500699000 +0100 @@ -47,7 +47,6 @@ INSTALL_SUID = \ 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 @@ -66,11 +65,12 @@ install-exec-local: $(noinst_PROGRAMS) && 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 \ - $(INSTALL_SUID); \ + $(INSTALL_SUID); \ + if test $$can_create_suid_root_executable != yes; then \ 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"; \ + echo "NOTE: or fix this in your packaging (like the specfile)"; \ fi # /* Author Coreutils team sub-citation */ Index: plugins-root/Makefile.in =================================================================== --- plugins-root/Makefile.in.orig 2009-09-16 10:37:59.000000000 +0200 +++ plugins-root/Makefile.in 2009-11-24 23:08:35.738700000 +0100 @@ -768,7 +768,6 @@ INSTALL_SUID = \ 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 @@ -1157,11 +1156,11 @@ install-exec-local: $(noinst_PROGRAMS) && 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 \ - $(INSTALL_SUID); \ - else \ - echo "WARNING: insufficient access; not installing setuid plugins"; \ + $(INSTALL_SUID); \ + if test $$can_create_suid_root_executable != yes; then \ + echo "WARNING: insufficient access; not installing plugins as setuid"; \ echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \ + echo "NOTE: or fix this in your packaging (specfile or alike)"; \ fi clean-local:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor