aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-php/modphp
AgeCommit message (Collapse)Author
2015-01-07modphp: removePaul Eggleton
This is now built out of the standard php recipe. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-12-17PNBLACKLIST: use weak assignmentsMartin Jansa
* 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>
2014-10-30modphp: Security Advisory - php - CVE-2014-3597Yue Tao
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>
2014-10-30modphp: Security Advisory - php - CVE-2014-3587Yue Tao
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>
2014-10-30modphp: Security Advisory - php - CVE-2014-5120Yue Tao
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>
2014-10-27modphp, xdebug: blacklist because of conflict with phpMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-14modphp: using PKGCONFIG and PACKAGECONFIG for libxml and soapRoy.Li
Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-10modphp: update to 5.5.15Paul Eggleton
LIC_FILES_CHKSUM changed since the copyright year changed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-05-13modphp: update to 5.5.12Paul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-05-03modphp: fix for S != BPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-06modphp: add phpize to scan for absolute pathsJoe Slater
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>
2014-03-17modphp: update to 5.5.10Paul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-06modphp: upgrade to 5.5.9Paul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-12modphp: enable endian checkChong Lu
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>
2013-08-27modphp: update to 5.5.2Paul Eggleton
* 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>
2013-05-14modphp: fix re-exec of do_installPaul Eggleton
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>
2013-05-14modphp: fix text relocation QA warningPaul Eggleton
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>
2013-05-14modphp: update to 5.4.15Paul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-04-29modphp: update to 5.4.14Marcin Juszkiewicz
Only build tested. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
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-04-15modphp: enable mysql option in PACKAGECONFIGJackie Huang
* 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>
2013-04-15modphp: revert pthread-check.patch and add one against threads.m4Jackie Huang
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>
2013-04-03modphp: use libdir instead of baselib to load moduleJackie Huang
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>
2013-03-07modphp5: use ${baselib} instead of hardcoded "lib"Jackie Huang
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>
2012-11-27modphp: enable bz2, zip and mbstringEric Bénard
- bz2 and zip remove warnings in phpmyadmin - mbstring is usefull for multibyte strings Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-11-27modphp: upgrade to 5.3.19Eric Bénard
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-10-18modphp: call gnu-configize in do_configurePaul Eggleton
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>
2012-10-15modphp: make LICENSE more accuratePaul Eggleton
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>
2012-10-15modphp: fix rpath QA issuePaul Eggleton
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>
2012-10-09modphp: fix default php.ini & add PACKAGECONFIGPaul Eggleton
* 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>
2012-10-03modphp: add from OE-Classic, update to 5.3.14 and fixPaul Eggleton
* 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>