aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/apache2
AgeCommit message (Collapse)Author
2014-12-09apache2: add PACKAGECONFIG for selinuxWenzong Fan
Add PACKAGECONFIG for 'selinux', otherwise there would be warnings like below: WARN: apache2: apache2 rdepends on libselinux, but it isn't a build dependency? Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-31apache: add fix for CVE-2014-0117 Security AdvisoryKang Kai
The patch comes from upstream: http://svn.apache.org/viewvc?view=revision&revision=1610674 SECURITY (CVE-2014-0117): Fix a crash in mod_proxy. In a reverse proxy configuration, a remote attacker could send a carefully crafted request which could crash a server process, resulting in denial of service. Thanks to Marek Kroemeke working with HP's Zero Day Initiative for reporting this issue. Submitted by: Edward Lu, breser, covener Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com>
2014-09-26apache2: split apache2-scripts subpkgRobert Yang
Split apache2-scripts subpkg to put the perl script dbmmanage, so that apache2 doesn't have to RDEPEND on perl. Add another perl script apxs to apache2-dev pkg as Olof Johansson suggested. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-08-27apache2: add systemd unit fileChen Qi
Add systemd unit file for apache2. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-10apache2: update to 2.4.10Paul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-08-10apache2: do not patch generated filePaul Eggleton
We already patch configure.ac and we're not bypassing autoreconf, so we don't need to patch configure as well. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-07-15recipes: Add missing pkgconfig dependenciesRichard Purdie
These recipes were all missing pkgconfig dependencies. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21recipes: add missing pkgconfig class inheritsRichard Purdie
* These recipes all use pkg-config in some way but were missing dependencies on the tool, this patch adds them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21apache2(-native): use pkg-config for pcre detectionKoen Kooi
Also fixup apache2-native recipe to use autotools and SEPB. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-02apache: upgrade to 2.4.9Kang Kai
Upgrade apache from 2.4.7 to 2.4.9. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2014-03-06apache2: update to 2.4.7Paul Eggleton
* LIC_FILES_CHKSUM changed because of the introduction of an extra blank line in the LICENSE file (!) * Refreshed TLS Next Protocol Negotiation support patch for conflict with 2.4.7. Thanks to Hongxu Jia for doing this work. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-10-28apache2: add config_var.mk and config.nice into SSTATE_SCAN_FILESRoy Li
Since both config_var.mk and config.nice will be packaged into sstate cache, and be reused, add them into SSTATE_SCAN_FILES to replace the hardcoded paths Signed-off-by: Roy Li <rongqing.li@windriver.com>
2013-09-26apache2: fix error messages when restart apache serviceHongxu Jia
There are error messages when restart apache service: Observed Behavior ====================== root@qemu0:/etc/php# apachectl restart AH00557: httpd: apr_sockaddr_info_get() failed for qemu0 AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message root@qemu0:/etc/php# /etc/init.d/apache2 restart AH00557: httpd: apr_sockaddr_info_get() failed for qemu0 AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message root@qemu0:/etc/php# /etc/init.d/apache2 stop AH00557: httpd: apr_sockaddr_info_get() failed for qemu0 AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message Add 'ServerName localhost:80' to httpd.conf could fix this issue. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2013-09-16apache2: add apxs to SSTATE_SCAN_FILESRoy.Li
apxs is installed under /usr/bin/crossscripts of sysroot, its hardcode paths should be handled when store or extracts the sstate archives. Signed-off-by: Roy Li <rongqing.li@windriver.com>
2013-09-16apache2: create configuration file for systemd-tmpfilesRoy Li
when use systemd as a system and service manager, systemd-tmpfiles will replace /etc/init.d/populate-volatile.sh to handle temporary files, so we need to create the configuration file for apache2 Signed-off-by: Roy Li <rongqing.li@windriver.com>
2013-08-27apache2: update to 2.4.6Paul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-07-26apache2: move pidfile to runRiku Voipio
pidile was stored in /var/apache2/log which is saved over boots. This might prevent startup of apache2 on boots. Move it to /run where pidfiles in general belong.
2013-05-14apache2: drop unneeded workaround for apr/apr-util config script issuePaul Eggleton
The fix for the apr-1-config/apu-1-config path issue has been in OE-Core for some time now (OE-Core commit ab56f1063a666df5faddd97f44758c8ae378e51c) so we no longer need these workarounds. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-05-14apache2: update to 2.4.4Paul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29apache2: fix multilib buildsPaul Eggleton
Change PN -> BPN in a number of places so that files are stored in the correct location and packaged correctly. Based on a patch by Song.Li <Song.Li@windriver.com> with additional PN -> BPN replacements. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-15recipes: Unify indentationMartin Jansa
* This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-01-25apache2: fix the race issue of parallel installationZhenhua Luo
fix following race issue when do parallel install | mkdir: cannot create directory `/home/mypc/workspace/poky/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/apache2/2.4.3-r1/image/usr/share/apache2': File exists ... | mkdir: cannot create directory `/home/mypc/workspace/poky/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/apache2/2.4.3-r1/image/usr/share/apache2': File exists | make[1]: *** [install-man] Error 1 | make[1]: *** Waiting for unfinished jobs.... Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
2012-11-27apache2: upgrade to 2.4.3Eric Bénard
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-10-24apache2: avoid injecting host include pathPaul Eggleton
includedir (by way of EXTRA_INCLUDES) gets into the CFLAGS of modphp via apxs; thus it should not point to a location on the host. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-11apache2: reorganise packaging definitionsPaul Eggleton
Move RDEPENDS to the end and PACKAGES before other packaging definitions. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-11apache2: work around bug in apr-1-config/apu-1-config scriptsPaul Eggleton
The apr-1-config and apu-1-config scripts (installed into the sysroot by apr and apr-util respectively) report incorrect paths with current OE-Core - see: http://bugzilla.yoctoproject.org/show_bug.cgi?id=3267 Since OE-Core is frozen at the moment, work around the issue by taking a copy of the scripts and fixing them up. Additionally we need to not mangle the libtool name as apr installs it into the sysroot as just 'libtool'. This fixes building apache2 with rm_work enabled. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-09apache2: fix configurationPaul Eggleton
* Include conf files in /etc/apache2/modules.d and conf.d * Add -D PHP5 to options so that PHP is enabled if installed * Fix "reload" action in initscript Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-03apache2: add from OE-Classic, update to version 2.4.2 and fixPaul Eggleton
* 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>