Trevor Woerner 62b7dc247b apache2: use update-alternatives for httpd
Busybox can optionally provide an httpd server, but by default The Yocto
Project defconfig for busybox does not enable it. If it is enabled,
busybox puts the resulting /usr/sbin/httpd object under the control of
update-alternatives.

apache2, on the other hand, does not put /usr/sbin/httpd under the control
of update-alternatives. Therefore, in the off chance a user enables the
busybox httpd server, it does not play well with apache2.

Add update-alternatives information to apache2 so that it plays nicely with
busybox which can optionally provide an httpd server at /usr/sbin/httpd.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-10-06 07:26:19 -04:00
..
2012-10-03 13:34:32 +01: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: scarthgap

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

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

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][scarthgap]' in the subject.

When sending single patches, please using something like: git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix='meta-webserver][scarthgap][PATCH'

Layer maintainer: Armin Kuster akuster808@gmail.com

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.