diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-07-17 11:27:39 +0100 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-10-03 14:36:16 +0100 |
commit | 25ba859ab6ca18fb0391802a39300c408ab13420 (patch) | |
tree | 3d6b419afc8fffb8142b71ec943da9a312c39859 /meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-restart.patch | |
parent | 520d3a14c999c52f30bb4e25c8f68e75a49663a7 (diff) | |
download | meta-openembedded-25ba859ab6ca18fb0391802a39300c408ab13420.tar.gz |
apache2: add from OE-Classic, update to version 2.4.2 and fix
* Enable threading for PHP
* Backport a number of patches
* Use apachectl in init script
* Install modules into a sane location
* Ensure apxs script is installed into sysroot in crossscripts directory
and modified so that it works for building PHP
* Install httpd executable for native version so that PHP configure
script can call it
* Rename server-makefile-patch to server-makefile.patch and drop
apply=yes
* Add LIC_FILES_CHKSUM
* Fix packaging QA warnings
* Add LSB headers to init script
* Clean out some cruft and move packaging stuff after do_install
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-restart.patch')
-rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-restart.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-restart.patch b/meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-restart.patch new file mode 100644 index 0000000000..42254d2f8c --- /dev/null +++ b/meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-restart.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | |||
2 | * server/main.c (main): Bail out *before* signalling the server | ||
3 | if the config is bad. (as per the claim in the docs!) | ||
4 | |||
5 | https://bugzilla.redhat.com/show_bug.cgi?id=814645 | ||
6 | http://svn.apache.org/viewvc?view=revision&revision=1328345 | ||
7 | |||
8 | Upstream-Status: Backport | ||
9 | |||
10 | --- httpd-2.4.2/server/main.c.restart | ||
11 | +++ httpd-2.4.2/server/main.c | ||
12 | @@ -671,6 +671,11 @@ int main(int argc, const char * const ar | ||
13 | } | ||
14 | } | ||
15 | |||
16 | + /* If our config failed, deal with that here. */ | ||
17 | + if (rv != OK) { | ||
18 | + destroy_and_exit_process(process, 1); | ||
19 | + } | ||
20 | + | ||
21 | signal_server = APR_RETRIEVE_OPTIONAL_FN(ap_signal_server); | ||
22 | if (signal_server) { | ||
23 | int exit_status; | ||
24 | @@ -680,11 +685,6 @@ int main(int argc, const char * const ar | ||
25 | } | ||
26 | } | ||
27 | |||
28 | - /* If our config failed, deal with that here. */ | ||
29 | - if (rv != OK) { | ||
30 | - destroy_and_exit_process(process, 1); | ||
31 | - } | ||
32 | - | ||
33 | apr_pool_clear(plog); | ||
34 | |||
35 | if ( ap_run_open_logs(pconf, plog, ptemp, ap_server_conf) != OK) { | ||