20 lines
578 B
Diff
20 lines
578 B
Diff
https://bugs.gentoo.org/661358
|
|
|
|
--- httpd-2.4.34/Makefile.in
|
|
+++ httpd-2.4.34/Makefile.in
|
|
@@ -277,12 +277,12 @@
|
|
$(INSTALL_PROGRAM) $(top_builddir)/support/suexec $(DESTDIR)$(sbindir); \
|
|
fi
|
|
|
|
-install-suexec-setuid:
|
|
+install-suexec-setuid: install-suexec-binary
|
|
@if test -f $(builddir)/support/suexec; then \
|
|
chmod 4755 $(DESTDIR)$(sbindir)/suexec; \
|
|
fi
|
|
|
|
-install-suexec-caps:
|
|
+install-suexec-caps: install-suexec-binary
|
|
@if test -f $(builddir)/support/suexec; then \
|
|
setcap 'cap_setuid,cap_setgid+pe' $(DESTDIR)$(sbindir)/suexec; \
|
|
fi
|