aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-php/modphp
Commit message (Collapse)AuthorAgeFilesLines
* modphp: removePaul Eggleton2015-01-079-594/+0
| | | | | | This is now built out of the standard php recipe. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* PNBLACKLIST: use weak assignmentsMartin Jansa2014-12-171-1/+1
| | | | | | | * this makes it easier to unblacklist it from local.conf which is parsed before the recipes Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* modphp: Security Advisory - php - CVE-2014-3597Yue Tao2014-10-302-0/+283
| | | | | | | | | | | | | | Multiple buffer overflows in the php_parserr function in ext/standard/dns.c in PHP before 5.4.32 and 5.5.x before 5.5.16 allow remote DNS servers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted DNS record, related to the dns_get_record function and the dn_expand function. NOTE: this issue exists because of an incomplete fix for CVE-2014-4049. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3597 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* modphp: Security Advisory - php - CVE-2014-3587Yue Tao2014-10-302-0/+32
| | | | | | | | | | | | | Integer overflow in the cdf_read_property_info function in cdf.c in file through 5.19, as used in the Fileinfo component in PHP before 5.4.32 and 5.5.x before 5.5.16, allows remote attackers to cause a denial of service (application crash) via a crafted CDF file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1571. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3587 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* modphp: Security Advisory - php - CVE-2014-5120Yue Tao2014-10-302-0/+36
| | | | | | | | | | | | | gd_ctx.c in the GD component in PHP 5.4.x before 5.4.32 and 5.5.x before 5.5.16 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to overwrite arbitrary files via crafted input to an application that calls the (1) imagegd, (2) imagegd2, (3) imagegif, (4) imagejpeg, (5) imagepng, (6) imagewbmp, or (7) imagewebp function. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-5120 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* modphp, xdebug: blacklist because of conflict with phpMartin Jansa2014-10-271-0/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* modphp: using PKGCONFIG and PACKAGECONFIG for libxml and soapRoy.Li2014-10-142-2/+78
| | | | | Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* modphp: update to 5.5.15Paul Eggleton2014-08-103-8/+8
| | | | | | LIC_FILES_CHKSUM changed since the copyright year changed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* modphp: update to 5.5.12Paul Eggleton2014-05-132-7/+7
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* modphp: fix for S != BPaul Eggleton2014-05-031-3/+3
| | | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* modphp: add phpize to scan for absolute pathsJoe Slater2014-04-061-0/+4
| | | | | | | | | | sstate processing for items in sysroot scans certain file name patterns for absolute paths to be adjusted when items are installed into sysroot from sstate. phpize is not one of these patterns (surprise!) so we add it to the list. Signed-off-by: Joe Slater <jslater@windriver.com>
* modphp: update to 5.5.10Paul Eggleton2014-03-172-7/+7
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* modphp: upgrade to 5.5.9Paul Eggleton2014-03-063-8/+7
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* modphp: enable endian checkChong Lu2013-12-121-1/+2
| | | | | | | | | | | | Previously, modphp estimates endian on host rather than checks it on target. If the host is little-endian and the target is big-endian, modphp claims that endian is little. As a result, a memory location that it is not allowed to access when calling libphp5.so module on target. It will occur segmentation fault. This patch enables endian check support for modphp. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* modphp: update to 5.5.2Paul Eggleton2013-08-273-6/+10
| | | | | | | | | | * LIC_FILES_CHKSUM needed to change because the copyright year changed * Enabled mcrypt since upstream recommend this for acceptable performance (and we now have a libmcrypt recipe in meta-oe) * Disabled the opcache; this is a new feature in 5.5 and the configure check for it currently breaks when cross-compiling. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* modphp: fix re-exec of do_installPaul Eggleton2013-05-141-1/+1
| | | | | | | | Copying files and then modifying them is preferred rather than the other way around because then the modification can never be run twice if the function is re-executed on an existing work directory. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* modphp: fix text relocation QA warningPaul Eggleton2013-05-141-0/+1
| | | | | | | | Fixes the following warning: WARNING: QA Issue: ELF binary '${WORKDIR}/packages-split/modphp/usr/lib/apache2/modules/libphp5.so' has relocations in .text Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* modphp: update to 5.4.15Paul Eggleton2013-05-142-4/+4
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* modphp: update to 5.4.14Marcin Juszkiewicz2013-04-294-215/+4
| | | | | | Only build tested. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
* recipes: Unify indentationMartin Jansa2013-04-151-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* modphp: enable mysql option in PACKAGECONFIGJackie Huang2013-04-152-12/+221
| | | | | | | | * enable mysql option in PACKAGECONFIG * add patch to support autoconf 2.59+ so we can use autotools do_configure to fix a libtool cross-compile issue Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* modphp: revert pthread-check.patch and add one against threads.m4Jackie Huang2013-04-153-65/+31
| | | | | | | | revert pthread-check.patch which hacks the old configure, instead, add one against threads.m4 to enable pthread support when cross-compiling. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* modphp: use libdir instead of baselib to load moduleJackie Huang2013-04-031-1/+1
| | | | | | | | | | When we change the apache2 files layout to debian style, the ServerRoot in httpd.conf was changed to "/" from "/usr", then the relative path to libphp5 module in 70_mod_php5.conf will be invalid so it fails to load the module, use libdir (absolute path) instead so it will always find the module. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* modphp5: use ${baselib} instead of hardcoded "lib"Jackie Huang2013-03-071-0/+1
| | | | | | | The hardcoded lib path will cause apache2 fail to start on the target with other baselib like lib64. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* modphp: enable bz2, zip and mbstringEric Bénard2012-11-272-2/+5
| | | | | | | - bz2 and zip remove warnings in phpmyadmin - mbstring is usefull for multibyte strings Signed-off-by: Eric Bénard <eric@eukrea.com>
* modphp: upgrade to 5.3.19Eric Bénard2012-11-272-5/+5
| | | | Signed-off-by: Eric Bénard <eric@eukrea.com>
* modphp: call gnu-configize in do_configurePaul Eggleton2012-10-182-1/+2
| | | | | | | | | Since we override do_configure, gnu-configize doesn't get called and using the old gnu-config files distributed with the PHP source can cause problems for some people e.g. building for AArch64; so add a call to it explicitly here. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* modphp: make LICENSE more accuratePaul Eggleton2012-10-151-1/+1
| | | | | | | | | | | PHP 5 is distributed under the PHP 3.01 license (which we identify as PHP-3.0 as far as common license files go). Fixes the following warning: WARNING: modphp: No generic license file exists for: PHP in any provider Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* modphp: fix rpath QA issuePaul Eggleton2012-10-152-1/+5
| | | | | | | | Fixes the following QA issue: ERROR: QA Issue: package modphp contains bad RPATH ${STAGING_DIR_TARGET}/usr/lib in file ${WORKDIR}/packages-split/modphp/usr/lib/apache2/modules/libphp5.so Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* modphp: fix default php.ini & add PACKAGECONFIGPaul Eggleton2012-10-092-18/+18
| | | | | | | | | * Add "mysql" PACKAGECONFIG option * Add "pgsql" PACKAGECONFIG option (untested) * Use the correct template php.ini filename so that we actually get some content in the default file Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* modphp: add from OE-Classic, update to 5.3.14 and fixPaul Eggleton2012-10-035-0/+182
* Use working SRC_URI * Fix to use correct headers and apxs script for cross-compiling * Enable threading * Install headers and scripts for building extension modules * Use proper variables instead of /etc, /usr/lib etc. * Fix rpath QA issues * Add LIC_FILES_CHKSUM * Put apache config file into SRC_URI instead of referring to it using FILESDIR Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>