meta-openembedded/meta-webserver
Kai Kang e77507a898
apache2: fix multilib file conflicts
There are file conflicts of apache2 when multilib enabled:

Error: Transaction test error:
  file /usr/share/apache2/build/config.nice conflicts between attempted
    installs of apache2-dev-2.4.58-r0.cortexa57 and lib32-apache2-dev-2.4.58-r0.armv7vet2hf_vfp
  file /usr/share/apache2/build/config_vars.mk conflicts between
    attempted installs of apache2-dev-2.4.58-r0.cortexa57 and lib32-apache2-dev-2.4.58-r0.armv7vet2hf_vfp

Install the 'build' directory to ${libexecdir} by setting
'installbuilddir' to fix the conflicts. ${libexecdir} is not populated
to sysroot by default, but command apxs requires these files, then add
the dir to SYSROOT_DIRS to populate them.

And inherit bbclasses multilib_script and multilib_header to fix
follow-up conflicts:

  file /usr/bin/apxs conflicts between attempted installs of
    apache2-dev-2.4.58-r0.cortexa57 and lib32-apache2-dev-2.4.58-r0.armv7vet2hf_vfp
  file /usr/include/apache2/ap_config_layout.h conflicts between
    attempted installs of apache2-dev-2.4.58-r0.cortexa57 and lib32-apache2-dev-2.4.58-r0.armv7vet2hf_vfp

Since multilib_script inherits update-alternatives, remove it from
inherit line for beautification.

Fix buildpaths warning as well:

  WARNING: lib32-apache2-2.4.58-r0 do_package_qa: QA Issue: File /usr/share/apache2/build/config.nice
           in package lib32-apache2-dev contains reference to TMPDIR [buildpaths]

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 16:17:11 -07:00
..
conf reproducibility: move repro excludes from AB config.json to meta-oe 2024-04-29 11:11:51 -07:00
files static-id: add missing netdata group 2023-11-15 09:51:46 -08:00
licenses OML: move license file from meta-oe to meta-webserver 2016-01-04 14:56:23 +01:00
recipes-core images: Rename <layer>-image to <layer>-image-all 2023-10-06 08:37:21 -07:00
recipes-httpd apache2: fix multilib file conflicts 2024-05-23 16:17:11 -07:00
recipes-php recipes: Start WORKDIR -> UNPACKDIR transition 2024-05-23 08:44:44 -07:00
recipes-support spawn-fcgi: upgrade 1.6.4 -> 1.6.5 2023-03-09 23:45:17 -08:00
recipes-webadmin recipes: Start WORKDIR -> UNPACKDIR transition 2024-05-23 08:44:44 -07:00
COPYING.MIT Add meta-webserver layer 2012-10-03 13:34:32 +01:00
README.md README.md: was a Markdown paragraph and should be a list 2023-11-17 11:38:26 -08:00

meta-webserver

This layer provides support for building web servers, web-based applications and related software.

Dependencies

This layer depends on:

URI: git://git.openembedded.org/openembedded-core subdirectory: meta branch: master

For some recipes, the meta-oe layer is required:

URI: git://git.openembedded.org/meta-openembedded subdirectory: meta-oe branch: master

Layout

  • recipes-httpd/ Web servers
  • recipes-php/ PHP applications
  • recipes-support/ Miscellaneous support recipes
  • recipes-webadmin/ Standalone web administration interfaces

Notes

  • This layer used to provide a modphp recipe that built mod_php, but this is now built as part of the php recipe in meta-oe. However, since apache2 is required to build mod_php, and apache2 recipe is in this layer and recipes in meta-oe can't depend on it, mod_php is not built by default. If you do wish to use mod_php, you need to add "apache2" to the PACKAGECONFIG value for the php recipe in order to enable it. See here for info on how to do that:

    http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-PACKAGECONFIG

Maintenance

Send patches / pull requests to openembedded-devel@lists.openembedded.org with '[meta-webserver]' in the subject.

Layer maintainer: Derek Straka derek@asterius.io

License

All metadata is MIT licensed unless otherwise stated. Source code included in tree for individual recipes is under the LICENSE stated in each recipe (.bb file) unless otherwise stated.

This README document is Copyright (C) 2012 Intel Corporation.