From: Jim Jagielski Date: Wed, 8 Aug 2018 11:48:15 +0000 (+0000) Subject: Merge r1836469, r1836154 from trunk: X-Git-Tag: 2.4.35~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3927579a4d341221bf7a577131f7bc1097eb8c5d;p=apache Merge r1836469, r1836154 from trunk: * 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 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 --- diff --git a/Makefile.in b/Makefile.in index f667534fb1..21c76f884e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -269,7 +269,7 @@ install-man: 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 \ @@ -277,12 +277,12 @@ install-suexec-binary: $(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 diff --git a/STATUS b/STATUS index 2852c3c732..47ad214584 100644 --- a/STATUS +++ b/STATUS @@ -131,12 +131,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK: +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 ] diff --git a/config.layout b/config.layout index 76612db1f0..8579587297 100644 --- a/config.layout +++ b/config.layout @@ -133,6 +133,7 @@ # Layout used in Fedora httpd packaging. prefix: /usr + localstatedir: /var exec_prefix: ${prefix} bindir: ${prefix}/bin sbindir: ${prefix}/sbin @@ -144,11 +145,10 @@ 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