This gets rid of flags. For instance $(FPIC) shouldn't be forced onto applications (see [1]). And CONFIGURE_ARGS + CONFIGURE_VARS are broken out of Build/Configure. This way more arguments can be added easily in the future. The target is changed from apache to apache2 (which is used by upstream by default). the CONFIGURE_ARGS are changed where need to enable modules. This also renames one patch that fixes scoreboard location (the name 004-pidfile_fix.patch didn't describe what it's doing). Now with the OpenWrt layout in place 003-logdir_fix.patch can be removed. [1] https://wiki.gentoo.org/wiki/Project:Hardened/Position_Independent_Code_internals Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
24 lines
782 B
Text
24 lines
782 B
Text
|
|
<Layout OpenWrt>
|
|
prefix: /usr
|
|
exec_prefix: ${prefix}
|
|
bindir: ${prefix}/bin
|
|
sbindir: ${prefix}/sbin
|
|
libdir: ${prefix}/lib
|
|
libexecdir: ${prefix}/lib+
|
|
mandir: ${prefix}/share/man
|
|
sysconfdir: /etc+
|
|
datadir: ${prefix}/share+
|
|
installbuilddir: ${datadir}/build
|
|
errordir: ${datadir}/error
|
|
iconsdir: ${datadir}/icons
|
|
htdocsdir: ${datadir}/htdocs
|
|
manualdir: /usr/share/doc/apache2/manual
|
|
cgidir: ${datadir}/cgi-bin
|
|
includedir: ${prefix}/include+
|
|
localstatedir: /var
|
|
runtimedir: ${localstatedir}/run+
|
|
logfiledir: ${localstatedir}/log+
|
|
proxycachedir: ${localstatedir}/cache/apache2
|
|
</Layout>
|
|
|