aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/apache2
Commit message (Collapse)AuthorAgeFilesLines
* apache2: update to version 2.4.27Derek Straka2017-08-132-4/+4
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: delete obsolete patchesOleksandr Kravchuk2017-03-161-55/+0
| | | | | | | Deleted bunch of patches which are not used anymore by any recipe. Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-1/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: Correct the SRC_URIPeter Kjellerstedt2017-02-222-2/+2
| | | | | | | | The change to use ${APACHE_MIRROR} in the SRC_URI in dfbe6cf214 did not take into account that ${APACHE_MIRROR} already contains "/dist". Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache: use the APACHE_MIRROR variable in the SRC_URIDerek Straka2017-02-132-2/+2
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: always use the archive.apache.org to ensure older releases are ↵Derek Straka2016-12-262-2/+2
| | | | | | | always available Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: update to version 2.4.25Derek Straka2016-12-263-30/+4
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: include .load files in modules.dJunxian.Xiao2016-11-231-0/+1
| | | | | | | | | | | | | According to other Linux distributes like Ubuntu, the modules are usually included by 'LoadModule' command in *.load files in mods-enable directory, as *.conf files in this directory are usually used for special configurations for each module. Include *.load in apache2 top conf file to be compatible with customer's normal usage habits. Signed-off-by: Junxian.Xiao <Junxian.Xiao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: cve-2016-5387Joe Slater2016-11-232-0/+26
| | | | | | | Handle HTTP_PROXY envirnoment variable. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: remove trailing spacesMartin Jansa2016-08-221-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: update to version 2.4.23Derek Straka2016-07-292-4/+4
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: fix libtool's path in apxsKirill Esipov2016-05-191-1/+1
| | | | | | | libtool-cross recipe install it as ${HOST_SYS}-libtool Signed-off-by: Kirill Esipov <yesipov@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-webserver: use bb.utils.contains() instead of base_contains()Ross Burton2016-04-281-2/+2
| | | | | | | | base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: update to 2.4.20Derek Straka2016-04-212-4/+4
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: stage apachectlIoan-Adrian Ratiu2016-03-251-0/+2
| | | | | | | | Some apache module recipes like the newly introduced apache-websocket also need apachectl at build in the sysroot besides apxs. Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: add openldap support to PACKAGECONFIGIoan-Adrian Ratiu2016-02-151-0/+1
| | | | | | | This config option is disabled by default Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: Upgrade 2.4.16 -> 2.4.18fan.xin2016-01-043-294/+4
| | | | | | | | | | | | | | | 1. Upgrade apache2 from 2.4.16 to 2.4.18 The changes in 2.4.18 is shown in following URL. http://ftp.meisei-u.ac.jp/mirror/apache/dist//httpd/CHANGES_2.4.18 2. Delete patch file npn-patch-2.4.7.patch due to this patch file can not be applied to the apache2 2.4.18's source code. The NPN support was removed with r1676004. NPN is now quite unlikely to find its way into a stable release. https://bz.apache.org/bugzilla/show_bug.cgi?id=52210 Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: fix host-user-contaminated warningsKai Kang2015-12-181-0/+2
| | | | | | | | | | | | | It shows warnings when build apache2 such as: | WARNING: QA Issue: apache2: /apache2-dev/usr/share/apache2/icons/small/movie.gif | is owned by uid 1785, which is the same as the user running bitbake. | This may be due to host contamination [host-user-contaminated] Set the owner and group to root to fix it. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: fix config_vars.mk path contaminationGeorge McCollister2015-11-021-0/+4
| | | | | | | | Replace contaminated paths with staging paths so apxs can be successfully used in other recipes to build modules when host and target arch differ. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: cleanup buildpaths for target stuffsWenzong Fan2015-10-131-0/+9
| | | | | | | | | | | | | | | Those buildpaths were generated from configure substitutions, they are required for cross-compiling, but obviously they should be cleaned up from target stuffs. Cleanup buildpaths from config_vars.mk and config.nice: * remove ${STAGING_DIR_HOST} from CC, CFLAGS ... * set APU_INCLUDEDIR, APU_CONFIG as empty * remove buildpath from configure line Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: wait for server to start/stop/restartAdam Chappell2015-08-311-4/+161
| | | | | | | | | | | Change start, stop, and restart functions in apache2 init script to return only after completion (i.e. the server has started/stopped, not just received a kill signal). Starting and stopping the server in quick sucession results in an error because the server will attempt to stop before it has had time to start and vice versa. Signed-off-by: Adam Chappell <adam.chappell@ni.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache: upgrade to 2.4.16Roy Li2015-08-243-63/+4
| | | | | | | | 2.4.16 includes fixes for CVE-2015-3185, CVE-2015-0253 and CVE-2015-3183 remove a backport patch 0001-SECURITY-CVE-2015-0228-cve.mitre.org.patch Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: fix build warning.Armin Kuster2015-07-161-0/+1
| | | | | | | WARNING: QA Issue: /usr/bin/apxs_apache2-dev contained in package apache2-dev requires /usr/bin/perl, but no providers found in its RDEPENDS [file-rdeps] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: upgrade to 2.4.12Roy Li2015-05-135-321/+98
| | | | | | | | | Remove apache-CVE-2014-0117.patch which apache2 2.4.12 has it Update the apache-ssl-ltmain-rpath.patch Backport the patch to fix CVE-2015-0228 Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: fix a typosRoy Li2015-01-281-1/+1
| | | | | | | | | fix a typos to remove a warning: systemd[1]: [/lib/systemd/system/apache2.service:2] Unknown lvalue 'Decription' in section 'Unit' Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: add PACKAGECONFIG for selinuxWenzong Fan2014-12-092-0/+44
| | | | | | | | | | 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>
* apache: add fix for CVE-2014-0117 Security AdvisoryKang Kai2014-10-312-1/+292
| | | | | | | | | | | | | | | | 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>
* apache2: split apache2-scripts subpkgRobert Yang2014-09-261-2/+8
| | | | | | | | | | 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>
* apache2: add systemd unit fileChen Qi2014-08-272-2/+25
| | | | | | | Add systemd unit file for apache2. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: update to 2.4.10Paul Eggleton2014-08-102-4/+4
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* apache2: do not patch generated filePaul Eggleton2014-08-101-17/+0
| | | | | | | 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>
* recipes: Add missing pkgconfig dependenciesRichard Purdie2014-07-151-1/+1
| | | | | | | 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>
* recipes: add missing pkgconfig class inheritsRichard Purdie2014-06-211-1/+1
| | | | | | | | * 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>
* apache2(-native): use pkg-config for pcre detectionKoen Kooi2014-06-213-10/+66
| | | | | | | 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>
* apache: upgrade to 2.4.9Kang Kai2014-05-022-4/+4
| | | | | | Upgrade apache from 2.4.7 to 2.4.9. Signed-off-by: Kai Kang <kai.kang@windriver.com>
* apache2: update to 2.4.7Paul Eggleton2014-03-0611-48/+77
| | | | | | | | | | * 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>
* apache2: add config_var.mk and config.nice into SSTATE_SCAN_FILESRoy Li2013-10-281-1/+1
| | | | | | | 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>
* apache2: fix error messages when restart apache serviceHongxu Jia2013-09-261-0/+2
| | | | | | | | | | | | | | | | | | | | 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>
* apache2: add apxs to SSTATE_SCAN_FILESRoy.Li2013-09-161-0/+2
| | | | | | | 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>
* apache2: create configuration file for systemd-tmpfilesRoy Li2013-09-162-1/+9
| | | | | | | | 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>
* apache2: update to 2.4.6Paul Eggleton2013-08-2711-4/+4
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* apache2: move pidfile to runRiku Voipio2013-07-262-1/+3
| | | | | | 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.
* apache2: drop unneeded workaround for apr/apr-util config script issuePaul Eggleton2013-05-141-11/+2
| | | | | | | | | 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>
* apache2: update to 2.4.4Paul Eggleton2013-05-1411-33/+31
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* apache2: fix multilib buildsPaul Eggleton2013-04-291-34/+33
| | | | | | | | | | 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>
* recipes: Unify indentationMartin Jansa2013-04-152-81/+81
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* apache2: fix the race issue of parallel installationZhenhua Luo2013-01-252-1/+23
| | | | | | | | | | | 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>
* apache2: upgrade to 2.4.3Eric Bénard2012-11-2715-555/+5
| | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
* apache2: avoid injecting host include pathPaul Eggleton2012-10-241-1/+2
| | | | | | | 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>
* apache2: reorganise packaging definitionsPaul Eggleton2012-10-111-3/+4
| | | | | | | Move RDEPENDS to the end and PACKAGES before other packaging definitions. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>