* config.layout: Allow configure --localstatedir to over-ride /var/www
location in Fedora layout.
* Makefile.in (install-suexec*): Fix make -jN install.
Submitted by: Arkadiusz Miskiewicz <arekm maven.pl>
Submitted by: jorton
Reviewed by: jorton, covener, jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1837645 13f79535-47bb-0310-9956-
ffa450edef68
cd $(DESTDIR)$(manualdir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; \
fi
-install-suexec: install-suexec-binary install-suexec-$(INSTALL_SUEXEC)
+install-suexec: install-suexec-$(INSTALL_SUEXEC)
install-suexec-binary:
@if test -f $(builddir)/support/suexec; then \
$(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
+1: jailletc36, ylavic (by inspection), covener
jailletc36: untested, but looks straight forward enough to vote
- *) Build tweaks: fix make -j install, Fedora config.layout.
- trunk: http://svn.apache.org/r1836469
- http://svn.apache.org/r1836154
- 2.4.x patch: svn merge -c 1836469,1836154 ^/httpd/httpd/trunk .
- +1: jorton, covener, jim
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
# Layout used in Fedora httpd packaging.
<Layout Fedora>
prefix: /usr
+ localstatedir: /var
exec_prefix: ${prefix}
bindir: ${prefix}/bin
sbindir: ${prefix}/sbin
installbuilddir: ${libdir}/httpd/build
errordir: ${datadir}/error
iconsdir: ${datadir}/icons
- htdocsdir: /var/www/html
+ htdocsdir: ${localstatedir}/www/html
manualdir: ${datadir}/manual
- cgidir: /var/www/cgi-bin
+ cgidir: ${localstatedir}/www/cgi-bin
includedir: ${prefix}/include/httpd
- localstatedir: /var
runtimedir: /run/httpd
logfiledir: ${localstatedir}/log/httpd
proxycachedir: ${localstatedir}/cache/httpd/proxy