summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Monkey: new v1.5.4 release.Eduardo Silva2014-10-271-2/+2
| | | | | | | | | | | | | | | | | This patch add the new Monkey HTTP Server v1.5.4. For more details about software changes please visit: http://monkey-project.com/Announcements/v1.5.4 === Build Tests == This version have been tested on Yocto/Daisy based on RPM. monkey-yocto/a617991e40bd5c3779ad7b3689f78857d3e45248 Signed-off-by: Eduardo Silva <eduardo@monkey.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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>
* monkey: new v1.5.3 release.Eduardo Silva2014-08-271-2/+2
| | | | | | | | | | | | | | | | | | This patch add the new Monkey HTTP Server v1.5.3. For more details about software changes please visit: http://monkey-project.com/Announcements/v1.5.3 === Build Tests == This version have been tested on Yocto/Daisy being packaged and deployed on images based on RPM successfully. monkey-yocto/672eadb254e754b91efe691a6594985ee6d9a22e Signed-off-by: Eduardo Silva <eduardo@monkey.io> 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>
* monkey: new v1.5.2 release.Eduardo Silva2014-08-102-50/+64
| | | | | | | | | | | | | | | | | | | | This patch add the new Monkey HTTP Server v1.5.2. The new Bitbake file contains the modifications suggested over the patch set for v1.5.1. It specify each configuration file for CONFFILES_${PN}. For more details about software changes please visit: http://monkey-project.com/Announcements/v1.5.2 === Build Tests == This version and new Bitbake file have been tested on Yocto/Daisy being packaged and deployed on images based on rpm and ipk successfully. monkey-yocto/70d57bfd19c01ec055db57e35385ffc4185ae186 Signed-off-by: Eduardo Silva <eduardo@monkey.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* monkey: new v1.5.1 release.Eduardo Silva2014-08-013-7/+67
| | | | | | | | This patch add the minor release fix of Monkey HTTP Server v1.5.1. It fixes some problems when switching user when started as root. Signed-off-by: Eduardo Silva <eduardo@monkey.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-webserver: use BPN in SRC_URIRobert Yang2014-07-151-1/+1
| | | | | | | | | | | | Fixed SRC_URI: * ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV} * ${P} -> ${BP} Otherwise we would meet do_fetch errors when we do the multilib, native or nativesdk build. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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>
* sthttpd: improve init scripts to use config fileJack Mitchell2014-06-214-9/+15
| | | | | | | | | Rather than put hardcoded values into the init scripts, use a config file. The SRV_DIR is a special value as it should be used in the conifg file and also passed to make so it can put the html files in the correct directory. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* monkey: fix broken separate build with workaroundEduardo Silva2014-06-121-1/+1
| | | | | | | | | | This patch make use of autotools-brokensep on main recipe to avoid a broken build when using a different build directory. monkey-yocto/f15c9e7cd9143ce8486ae5e78db9092238c3d0ec Signed-off-by: Eduardo Silva <eduardo@monkey.io>
* monkey: add Monkey HTTP ServerEduardo Silva2014-06-071-0/+36
| | | | | | | | This patch adds the Monkey HTTP Server v1.5.0 recipes. The content on this patch includes the modifications suggested by people in the Maling List. Signed-off-by: Eduardo Silva <eduardo@monkey.io>
* 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>
* cherokee: only install configured.py onceRobert Yang2014-04-062-0/+41
| | | | | | | | | | | | | | | | | Both the two rules install-adminpyDATA and install-generatedDATA will install the configured.py to the same location, they can run parallel, and they use "install -m", which would might build failures: /usr/bin/install: setting permissions for `/path/to/configured.py': No such file or directory This is because the first install is setting the permission while the second install is removing the file an re-install. Only install the configured.py once will fix the problem, I think that there is no side effect since it installed the same file to the same location twice in the past. Signed-off-by: Robert Yang <liezhi.yang@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>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-231-1/+1
| | | | | | | | | | | | | Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nginx: new recipestephen.arnold422013-12-095-0/+506
| | | | | | | | | | | Initial recipe created by Steve Arnold. Original build patch and 1.0.10 recipe graciously contributed by bencoh (in #oe on irc.freenode.net). New recipe and init script contributed by this author. Built and tested on master branches using author's fork of meta-raspberrypi. Signed-off-by: stephen.arnold42 <stephen.arnold42@gmail.com> Signed-off-by: Sébastien Mennetrier <s.mennetrier@innotis.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cherokee: use cherokee-project.de mirrorEric Bénard2013-11-111-1/+1
| | | | Signed-off-by: Eric Bénard <eric@eukrea.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>
* cherokee: fix the installed but not shipped issueRobert Yang2013-10-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | We will get the following ERROR/WARN if we enable the installed-vs-shipped check in QA: ERROR: QA Issue: cherokee: Files/directories were installed but not shipped /srv /srv/www /srv/www/htdocs /srv/www/htdocs/index.html /srv/www/htdocs/images /srv/www/htdocs/images/cherokee-logo.png /srv/www/htdocs/images/default-bg.png /srv/www/htdocs/images/favicon.ico /srv/www/htdocs/images/powered_by_cherokee.png I think that we can pack these files into cherokee just like what apache2 does. Fedora 17 also packs them Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* sthttpd: add systemd serviceNick Glynn2013-10-282-1/+20
| | | | | Signed-off-by: Nick Glynn <n.s.glynn@gmail.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.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>
* cherokee: fix SRC_URIJavier Viguera2013-09-191-1/+1
| | | | | | | The package is no longer available in the official cherokee site, so download it from a mirror. Signed-off-by: Javier Viguera <javier.viguera@digi.com>
* cherokee: Add PACKAGECONFIG for ffmpeg and ldapMartin Jansa2013-09-171-0/+4
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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>
* nostromo: specify configuration for systemd-tmpfiles --updateJonathan Liu2013-09-101-1/+1
| | | | | | | | | | | | | | Running systemd-tmpfiles --update without specifying a configuration file results in all tmpfiles.d configuration files being processed. /usr/lib/tmpfiles.d/systemd.conf creates /run/nologin on boot to prevent non-root users from logging in while the system is booting. If systemd-tmpfiles --update is run after the system has started, it will still create /run/nologin which would prevent non-root users from logging in with the message "System is booting up.". Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* apache2: update to 2.4.6Paul Eggleton2013-08-2711-4/+4
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* nostromo: make sure usr/group www-data existJoe Slater2013-08-131-1/+6
| | | | | | | | | CQID: 422203 nostromo runs as user/group www-data and needs these to exist when we install it. Signed-off-by: Joe Slater <jslater@windriver.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.
* nostromo: fix installed but not shipped /run and /run/nostromo warningsJonathan Liu2013-07-092-4/+17
| | | | | | | | | | | | | Changes: - Remove unnecessary -c option from install - Add tmpfiles.d config to create /run/nostromo when systemd is enabled in DISTRO_FEATURES - Add postinst script to create /run/nostromo using tmpfiles.d if running systemd (detected by existence of /sys/fs/cgroup/systemd), otherwise using populate-volatile.sh if it exists - Remove /var/log/nostromo and /var/run/nostromo from package Signed-off-by: Jonathan Liu <net147@gmail.com>
* hiawatha: remove empty /var/run directoryJonathan Liu2013-07-081-0/+2
| | | | | | | The /var/run directory is already created by base-files. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* cherokee: remove empty /var/run directoryJonathan Liu2013-07-081-0/+2
| | | | | | | The /var/run directory is already created by base-files. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Hiawatha: update to 9.2Jack Mitchell2013-06-281-2/+2
| | | | Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
* nostromo: make SRC_URI work for multilib builds.Randy MacLeod2013-06-181-1/+1
| | | | Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
* 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>
* sthttpd: add recipePaul Eggleton2013-05-022-0/+83
| | | | | | | | | | | | | | | | | | This is the "supported" fork of thttpd which has a rewritten build system to avoid the need to patch it, as well as other minor fixes. The recipe was based on the thttpd recipe in meta-arago-extras (originally migrated from OE-Classic by Franklin S. Cooper Jr <fcooper@ti.com>) with the following improvements: * Set SUMMARY * Remove PARALLEL_MAKE = "" (new build system should avoid previous issues) * Use more accurate LICENSE * Rearrange recipe to conform with current style * Use += instead of _append for FILES definitions * Add LSB headers to initscript * Fix hardcoded ${sbindir} in initscript 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>
* hiawatha: update to 9.1Jack Mitchell2013-04-291-2/+2
| | | | Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
* Hiawatha: update to 9.0, add systemd supportJack Mitchell2013-04-222-5/+30
| | | | | Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* cherokee: move systemd service file to meta-webserver tooMartin Jansa2013-04-191-0/+10
|
* nostromo: move to meta-webserver and tweakPaul Eggleton2013-04-195-0/+284
| | | | | | | | * Add SUMMARY * Move SRC_URI checksums next to SRC_URI Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* cherokee: move to meta-webserver and tweakPaul Eggleton2013-04-192-0/+88
| | | | | | | * Set SUMMARY instead of DESCRIPTION Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-153-82/+82
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>