summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/php/php.inc
Commit message (Collapse)AuthorAgeFilesLines
* php: update to 5.6.18 and 6.6.32Armin Kuster2016-03-021-1/+0
| | | | | | | | | | | | | | | | | | | Moved LIC_FILES_CHKSUM from .inc to .bb 5.6.18 changed do to yr update. Includes: CVE-2016-2554 and PCRE: Upgraded bundled PCRE library to 8.38. (CVE-2015-8383, CVE-2015-8386, CVE-2015-8387, CVE-2015-8389, CVE-2015-8390, CVE-2015-8391, CVE-2015-8393, CVE-2015-8394) see http://php.net/ChangeLog-5.php#5.6.18 for more info. http://php.net/ChangeLog-5.php#5.5.32 Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: check for existance of directory before 'rmdir' in ↵Derek Straka2016-02-011-1/+3
| | | | | | | do_install_append_class-target Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: create recipe for 5.6.12Roy Li2015-08-311-0/+271
| | | | | | | | | | | The difference between 5.6.x and 5.5.x is in http://php.net/migration56 Most improvements in PHP 5.6.x have no impact on existing code. There are a few incompatibilities and new features that should be considered, and code should be tested before switching PHP versions in production environments. Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php 5.4.14: merge .inc and .bbKoen Kooi2014-10-101-132/+0
| | | | | | | | | There's only one version of the recipe in the repo and the split makes it harder to debug and fix problems. Also fix target overrides and style issues. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: Fix native build due mistakenly linking against host's iconvOtavio Salvador2014-08-271-0/+1
| | | | | | | | | | | | | | | | | | The configure script has mistakenly choose to enable iconv support, due host to provide it, adding '/usr/lib' to the linking flags and failing as: ,----[ Linking error while testing 'fork' support ] | conftest.c:268: warning: conflicting types for built-in function 'fork' | .../build/tmp/sysroots/x86_64-linux/usr/lib/libxml2.so: | undefined reference to `gzopen64@ZLIB_1.2.3.3' | collect2: ld returned 1 exit status `---- This patch disables iconv support for native builds fixing the error. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php 5.4.14: use pkg-config for libxml2 detectionKoen Kooi2014-08-051-2/+0
| | | | | Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: fix do_installing when S!=BKoen Kooi2014-05-051-4/+4
| | | | | Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: update SRC_URI for new download locationchase maupin2014-02-011-1/+5
| | | | | | | | | | | | | | | | | | | | | * The old downloads location of http://www.php.net/distributions now points to a listing of all distributions and the mirrors or download locations where the sources can be downloaded. * The new download location is http://museum.php.net/..... where the rest of the URL is based on the major version on PHP being downloaded. This is a change from the previous download server which had a flattened directory structure so that all versions were available in a single location. * To account for this change in the directory structure a variable called PHP_MAJVER is used based off of the PV to point the SRC_URI to the proper subdirectory. * This issue wsa first noted by Joshua Vanderpool at Joshua.Vanderpool@raymondcorp.com and there was discussion at http://lists.openembedded.org/pipermail/openembedded-devel/2014-January/093757.html * This patch has been commited to that master branch Signed-off-by: Chase Maupin <chase.maupin@ti.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: move INSTALL_ROOT over to EXTRA_OEMAKEJack Mitchell2013-05-031-4/+2
| | | | | | | | move INSTALL_ROOT over to EXTRA_OEMAKE rather than over riding oe_runmake install Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: remove unneeded THREADS exportJack Mitchell2013-05-031-2/+0
| | | | | | | This is no longer required, as pthreads is the default thread library Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: remove unnecessary LIBS exportJack Mitchell2013-05-031-3/+0
| | | | | | | Adding explicit LIBS additions is not required anymore Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: remove obsolete CFLAGSJack Mitchell2013-05-031-1/+1
| | | | | | | | PTYS_ARE_GETPT and PTYS_ARE_SEARCHED don't appear anywhere in the source code anymore, remove them. Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: add sqlite3 and mysql PACKAGECONFIG optionsJack Mitchell2013-04-261-14/+24
| | | | | Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: update to 5.4.14Marcin Juszkiewicz2013-04-221-1/+3
| | | | | | | | Build tested for AArch64 and x86. Runtime tested on x86. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* php: cleanup QA warningsMarcin Juszkiewicz2013-01-221-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | php-native had: WARNING: The recipe php-native is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.filemap /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.lock /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.depdblock /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.depdb /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/pear.php.net.reg /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/pecl.php.net.reg /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/doc.php.net.reg /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/__uri.reg /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/.alias/pear.txt /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/.alias/pecl.txt /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/.alias/phpdocs.txt Please verify which package should provide the above files. php had: WARNING: QA Issue: php: Files/directories were installed but not shipped /.filemap /.lock /.depdblock /.depdb /var /.registry /.channels /home /var/run /var/log /var/volatile /var/volatile/run /var/volatile/log /etc/php-fpm.conf.default /.registry/.channel.pecl.php.net /.registry/.channel.doc.php.net /.registry/.channel.__uri /.channels/pear.php.net.reg /.channels/pecl.php.net.reg /.channels/doc.php.net.reg /.channels/__uri.reg /.channels/.alias /.channels/.alias/pear.txt /.channels/.alias/pecl.txt /.channels/.alias/phpdocs.txt /home/hrw /home/hrw/HDD /home/hrw/HDD/devel /home/hrw/HDD/devel/canonical /home/hrw/HDD/devel/canonical/aarch64 /home/hrw/HDD/devel/canonical/aarch64/openembedded /home/hrw/HDD/devel/canonical/aarch64/openembedded/build Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: add apache configuration for php-fpmMarcin Juszkiewicz2012-12-041-2/+6
| | | | | Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* php: enable php-fpmEric BENARD2012-12-041-4/+17
| | | | | | | | | | | - php-fpm is an alternative PHP FastCGI implementation which seems to be now prefered to php-fcgi - this patch enable the build of php-fpm and packages it in its own package - it's tested with hiawatha on an armv5te target Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* php: enable gettext and sqliteEric BENARD2012-12-041-4/+6
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* php: upgrade to 5.3.19Eric BENARD2012-12-041-2/+2
| | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* php: drop LD_LIBRARY_PATH settingsMartin Jansa2012-08-201-4/+1
| | | | | | * it breaks do_fetch in some settings Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: add build-defs.h to SSTATE_SCAN_FILES it defines path to sysroot where ↵Martin Jansa2012-08-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pear.conf is later created * without this fails in do_install (shr-core-branches is workspace where we got SSTATE_MIRROR): | [PEAR] PEAR - installed: 1.9.2 | Wrote PEAR system config file at: /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/php-5.3.6-r0.0/image//var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/etc/pear.conf | You may want to add: /usr/lib/php to your php.ini include_path | Installing header files: /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/php-5.3.6-r0.0/image/usr/include/php/ | sed: can't read /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/php-5.3.6-r0.0/image//etc/pear.conf: No such file or directory | ERROR: Function failed: do_install (see /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/php-5.3.6-r0.0/temp/log.do_install.3783 for further information) NOTE: package php-5.3.6-r0.0: task do_install: Failed * it also has couple of unpackaged dirs in ${D} (all used in STAGING_DIR_NATIVE) WARNING: QA Issue: php: Files/directories were installed but not shipped /var /var/lib /var/lib/jenkins /var/lib/jenkins/jobs /var/lib/jenkins/jobs/shr-core /var/lib/jenkins/jobs/shr-core/workspace /var/lib/jenkins/jobs/shr-core/workspace/shr-core /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: inherit pythonnativeMartin Jansa2012-08-071-1/+1
| | | | | | | | | | | | | | | | * fixes: | AUTOV is 1.12 | Traceback (most recent call last): | File "/OE/shr-core/openembedded-core/scripts/cp-noerror", line 8, in <module> | import shutil | File "/usr/lib/python2.7/shutil.py", line 12, in <module> | import collections | File "/usr/lib/python2.7/collections.py", line 9, in <module> | from operator import itemgetter as _itemgetter | ImportError: /usr/lib/python2.7/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS4_AsDefaultEncodedString | ERROR: Function failed: do_configure (see /OE/shr-core/tmp-eglibc/work/x86_64-linux/php-native-5.3.6-r1.0/temp/log.do_configure.14841 for further information) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php 5.3.6: import from OE classicKoen Kooi2011-11-031-0/+93
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>