summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/php
Commit message (Collapse)AuthorAgeFilesLines
...
* php: zlib and zip supportSlater, Joseph2019-08-151-1/+3
| | | | | | | Add back zlib support. Define zip support but do not enable it. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: upgrade 7.3.7 -> 7.3.8Zang Ruochen2019-08-081-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: remove host specific info from header fileSlater, Joseph2019-07-212-0/+32
| | | | | | | Import patch from Debian. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: remove 5.6.40Hongxu Jia2019-07-1611-2057/+0
| | | | | | | | Lets remove it directly, since October would be a year after EOL so waiting until then would make it quite stale Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: upgrade 7.3.6 -> 7.3.7Zang Ruochen2019-07-101-2/+2
| | | | | | | -Upgrade from php_7.3.6.bb to php_7.3.7.bb. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: upgrade 7.3.4 -> 7.3.6Changqing Li2019-06-151-2/+2
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php-fpm-apache: fix module pathChangqing Li2019-06-151-2/+2
| | | | | | | | | | | | | with configuration: IMAGE_INSTALL_append = " apache2 php-fpm-apache2" systemctl status apache2.service report error: httpd: Syntax error on line 509 of /etc/apache2/httpd.conf: Syntax error on line 3 of /etc/apache2/conf.d/php-fpm.conf: Cannot load lib/apache fix by correct the module path Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php-7: mark two tests as expected to failSlater, Joseph2019-05-212-0/+35
| | | | | | | The output is reasonable, but not what is expected. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: correct httpd pathChangqing Li2019-05-051-1/+1
| | | | | | | | | | | | | | | | | | Configuration: IMAGE_INSTALL_append = " modphp apache2 phpmyadmin xdebug" PACKAGECONFIG_append_pn-php = " apache2" Apache2 service start up with error: [php7:crit] [pid 3943:tid 140477147074880] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. Fix: after apache2 is upgraded from 2.4.34 to 2.4.39, apache2-native installs httpd into STAGING_SBINDIR_NATIVE, correct it so that ZTS feature is open, and php is compiled to be threadsafe. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: upgrade 7.3.2 -> 7.3.4Changqing Li2019-04-303-121/+118
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php_7.3.2.bb: Switch to mysqlndKhem Raj2019-03-071-2/+2
| | | | | | | | | With mariadb 10.x it fails to find headers in right location during builds https://bugs.php.net/bug.php?id=75612 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: upgrade 7.2.10 -> 7.3.2 / 5.3.39 -> 5.6.40Changqing Li2019-02-1512-205/+331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: 7.x version trim trailing whitespace 7.x: * drop CVE-2017-9120.patch since it cannot resolve the CVE * use recommand option --with-libzip, bundled libzip is deprecated * update patches 5.x: * use recommand option --with-libzip, bundled libzip is deprecated * update patches * Fix php 7.x cross build on hosts which have libxml2 installed libxml2 is not detected properly, it pokes at host and takes the libraries and header files added to build which links in libraries like libicu which may not be available in sysroot causing configure failures like checking for sqlite3 files in default path... found in TOPDIR/build/tmp/work/aarch64-yoe-linux/php/7.3.2-r0/recipe-sysroot/usr/lib/.. checking for SQLite 3.3.9+... checking for sqlite3_prepare_v2 in -lsqlite3... no not found configure: error: Please install SQLite 3.3.9 first or check libsqlite3 is present the reason is configure test fails to find icu libraries since they were added based on build host's libxml2.pc Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: upgrade to 5.6.39Hong Liu2019-01-301-2/+2
| | | | | | | 1.Upgrade php from 5.6.38 to 5.6.39. Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: remove True option to getVar calls (again)André Draszik2019-01-131-1/+1
| | | | | | | | | | | | | | A couple have still been missed in the past despite multiple attempts at doing so (or simply have re-appeared?). Search & replace made using the following command: sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \ -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \ | cut -d':' -f1 \ | sort -u) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: fix linker errors by setting `ac_cv_func_dlopen=no`Max Kellermann2018-09-271-1/+1
| | | | | | | | | | | | | The autoconf variable `ac_cv_func_dlopen` controls whether `dlopen()` is available without linking `libdl.so`. But that doesn't work: tmp-glibc/work/aarch64-oe-linux/php/7.2.10-r0/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/8.2.0/ld: ext/sqlite3/libsqlite/sqlite3.o: undefined reference to symbol 'dlsym@@GLIBC_2.17' tmp-glibc/work/aarch64-oe-linux/php/7.2.10-r0/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/8.2.0/ld: tmp-glibc/work/aarch64-oe-linux/php/7.2.10-r0/recipe-sysroot/lib/libdl.so.2: error adding symbols: DSO missing from command line Leave `ac_cv_lib_dl_dlopen=yes`, because that's the one which controls whether `-ldl` is needed. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: add "--without-sqlite3 --without-pdo-sqlite"Max Kellermann2018-09-271-1/+1
| | | | | | | | Removing "sqlite3" from `PACKAGECONFIG` doesn't actually disable SQLite, because those options default to "yes". It just switches from the system SQLite to PHP's internal SQLite copy. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php5: 5.6.36 -> 5.6.38Hongxu Jia2018-09-262-2/+1288
| | | | | | | | | | | | | | | | 1. Support openssl 1.1.x 2. 5.6.38 ChangeLog (http://php.net/ChangeLog-5.php#5.6.38) - Fixed bug #76582 (XSS due to the header Transfer-Encoding: chunked). - Fixed bug #76423 (Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c). (CVE-2018-14883) - Fixed bug #76557 (heap-buffer-overflow (READ of size 48) while reading exif data). (CVE-2018-14851) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: Upgrade 7.2.9 -< 7.2.10Changqing Li2018-09-242-3/+3
| | | | | | | | 1. Upgrade 7.2.9 -> 7.2.10 2. php 5.x not support valgrind config, so move it to php_7.x.bb Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "php: actually enable openssl"Khem Raj2018-09-051-1/+1
| | | | | | This reverts commit ff33f477c7288c8d619a129fdaf49bb57deb6282. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: define PACKAGECONFIG[] for valgrindSlater, Joseph2018-08-281-0/+1
| | | | | | | | | | | configure will look by default for valgrind.h in some host directories. We override this by setting --with-valgrind even if we do not want it. The default value of PACKAGECONFIG does not enable valgrind support. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: 7.2.8 -> 7.2.9Hong Liu2018-08-281-2/+2
| | | | | | | Upgrade php from 7.2.8 to 7.2.9 Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: fix CVE-2017-9120Changqing Li2018-08-212-0/+22
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: upgrade 7.2.7 -> 7.2.8Changqing Li2018-08-111-2/+2
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: actually enable opensslRoss Burton2018-07-221-1/+1
| | | | | | | | The PHP recipe depends on OpenSSL but support is disabled unless you pass --with-openssl. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: actually enable opensslRoss Burton2018-07-121-4/+4
| | | | | | | | | | The PHP recipe depends on OpenSSL but support is disabled unless you pass --with-openssl. Add a PACKAGECONFIG for openssl and enable it by default. Also for clarity pass --enable-opcache when the opcache is enabled. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: upgrade 5.6.35 -> 5.6.36Changqing Li2018-07-121-2/+2
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: upgrade 7.2.4 -> 7.2.7changqing.li@windriver.com2018-06-298-10/+9
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php 7.2.4: fix do_compile failure on qemumipsHongxu Jia2018-05-012-0/+46
| | | | | | | | | | | | | | | | It caused by a new variable is declared after the label There is a build failure on mips: ... |sljitNativeMIPS_common.c: In function 'sljit_has_cpu_feature': |sljitNativeMIPS_common.c:506:3: error: a label can only be part of a statement and a declaration is not a statement | sljit_sw fir; | ^~~~~~~~ ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* php: enable opcache by defaultAnuj Mittal2018-04-081-1/+1
| | | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* php: add opcache extension to PACKAGECONFIGAnuj Mittal2018-04-087-26/+822
| | | | | | | | | | | | | | | | | OPcache improves PHP performance by storing precompiled script bytecode in shared memory, thereby removing the need for PHP to load and parse scripts on each request [1]. Add an option to enable opcache in php. AC_CHECK_FUNC isn't suitable for a cross-compile environment, so pass the configure options instead to force dlopen detection that is necessary to have extension support enabled. On a standard phpbench test, I see a performance improvement of > 40%. [1] http://php.net/manual/en/book.opcache.php Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* php5: upgrade to 5.6.35Anuj Mittal2018-04-086-5/+148
| | | | | | | | | | | For changes, see: http://php.net/ChangeLog-5.php#5.6.35 Split patches between php5 and php7 to ensure there are no fuzz warnings for both the versions. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* php7: upgrade to 7.2.4Anuj Mittal2018-04-0815-5410/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * For changes, see: http://www.php.net/ChangeLog-7.php#7.2.4 * Remove patches as they've been upstreamed: - 0001-Specify-tag-with-libtool.patch - CVE-2017-16642.patch - CVE-2018-5711.patch * mcrypt module has been deprecated and as such dependency has been moved from php.inc to php5 recipe. * Refresh patches to avoid fuzz warnings. * New patches to: - Make sure libxml is detected using pkg-config instead of binconfig. - Fix link time warnings (backport, see patch for details) * Move the following patches to php5 from inc as they were getting applied out of context: - acinclude-xml2-config.patch - 0001-acinclude-use-pkgconfig-for-libxml2-config.patch License-Update: License is same, just a change in copyright year to 2018. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* php: move patches to a single directoryAnuj Mittal2018-04-086-56/+0
| | | | | | | | | | | Having two directories with version numbers just leads to unnecessary churn everytime there's a version update. We can have all patches in one single directory and differentiate b/w specific version by prefix php5-/php7- Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* php: Security Advisory - php - CVE-2018-5711Li Zhou2018-03-162-0/+57
| | | | | | | | Porting the patch from <http://git.php.net/?p=php-src.git;a=commit; h=8d6e9588671136837533fe3785657c31c5b52767> to solve CVE-2018-5711. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* php: update stable version 5.6.31 -> 5.6.33Andre McCurdy2018-02-233-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 04 Jan 2017, PHP 5.6.33 - GD: . Fixed bug #75571 (Potential infinite loop in gdImageCreateFromGifCtx). (cmb) - Phar: . Fixed bug #74782 (Reflected XSS in .phar 404 page). (Stas) 26 Sep 2017, PHP 5.6.32 - Date: . Fixed bug #75055 (Out-Of-Bounds Read in timelib_meridian()). (Derick) - mcrypt: . Fixed bug #72535 (arcfour encryption stream filter crashes php). (Leigh) - PCRE: . Fixed bug #75207 (applied upstream patch for CVE-2016-1283). (Anatol) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* recipes: use oe.utils.conditional instead of deprecated base_conditionalMartin Jansa2018-02-011-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php-native: eliminate SSTATEPOSTINSTFUNCS useJoe Slater2018-01-161-12/+0
| | | | | | | | | The use of SSTATEPOSTINSTFUNCS has been deprecated and is not needed for php-native. The current function always fails, forcing a re-build of php-native. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* php: Security Advisory - php - CVE-2017-16642Li Zhou2017-11-302-0/+5242
| | | | | | | | Porting the patch from <https://github.com/php/php-src/commit/ 5c0455bf2c8cd3c25401407f158e820aa3b239e1> to solve CVE-2017-16642. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* php: add libgcc to the runtime dependsDerek Straka2017-09-221-0/+1
| | | | | | | Avoids issues with 'libgcc_s.so.1 must be installed for pthread_cancel to work' Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: update stable version to 5.6.31Derek Straka2017-09-224-19/+10
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: update version to 7.1.9Derek Straka2017-09-223-2/+2
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: disable this version by defaultJoe Slater2017-08-281-0/+9
| | | | | | | | | There are many unaddressed CVEs which are fixed in 7.1.7 and later versions. Allow the user to define php_5.6.26 to enable building the recipe. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: move to version 7.1.8 from 7.1.7Joe Slater2017-08-283-2/+2
| | | | | | | Only change is source version. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php7: upgrade to 7.1.7Khem Raj2017-08-134-14/+78
| | | | | | | | License checksum changed due to opyright year changed to 2017 Fix build with clang/hardening Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: fix install error for libphp*.sodengke.du@windriver.com2017-05-234-8/+58
| | | | | | | | | | | | | | | | | | | | | | | | Changed in V4: Add the tag: meta-oe 1. Different version php have different libphp*.so, so we need to install its corresponding libphp*.so, for example: php-7.1.0 libphp7.so php-5.6.26 libphp5.so 2. Fix php-5.6.26 compiling errors: ld: TSRM/.libs/TSRM.o: undefined reference to symbol 'pthread_sigmask@@GLIBC_2.2.5' error adding symbols: DSO missing from command line 3. Create a configure script like 70_mod_php5, we name it 70_mod_php7, this file connect the php7 and the apache2, so they work together to let the LAMP works correctly. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: remove PNBLACKLISTRobert Yang2017-04-182-4/+0
| | | | | | | | | | | | | | It has been fixed since: commit b5bb61163751d93672bdcdfb24dda21398e42657 Author: dengke.du@windriver.com <dengke.du@windriver.com> Date: Tue Mar 28 04:13:36 2017 -0400 php: fix install failure Also remove it for xdebug since php works now. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: add removal date to PNBLACKLIST messagesMartin Jansa2017-04-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * based on discussion in pndeprecated thread: https://patchwork.openembedded.org/patch/137573/ update the messages to warn possible users that the recipe will be removed before the end of the next development cycle (before Yocto 2.4 is released). * updated with: sed -i 's/^\(PNBLACKLIST.*".*\)"/\1 - the recipe will be removed on 2017-09-01 unless the issue is fixed"/g' `git grep PNBLACKLIST | sed 's/:.*//g' | sort -u | xargs` * then noticed couple recipes being blacklisted only based on DISTRO_FEATURES, so removed those: meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb meta-oe/recipes-navigation/gypsy/gypsy.inc meta-oe/recipes-navigation/navit/navit.inc meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb * if it isn't fixed by this date, it's fair game to be removed whenever someone gets around to i Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* php: fix install failuredengke.du@windriver.com2017-03-311-4/+4
| | | | | | | | | | | | | After switch to RSS(recipe specific sysroot), the php package failed when installing. This is because the build system can't find the file: pear.conf, that file stay in "${D}/${STAGING_DIR_NATIVE}" directory before the switch, now stay in "${RECIPE_SYSROOT_NATIVE}" directory, so we need to place it in correct place. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-2/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python-edbus exquisite elementary libeweather unionfs-fuse xfsprogs gmtk ↵Martin Jansa2017-02-132-0/+4
| | | | | | | | | devilspie2 gnome-backgrounds gnome-desktop gnome-mime-data gtk-engines gtksourceview2 libgnomekbd libidl-native onboard libgpewidget ubi-utils-klibc kexec-tools-klibc gupnp-igd gupnp-tools dvb-apps gstreamer mpd crda netcat-openbsd wireshark gnokii libmbim mosh networkmanager-openvpn libtelepathy dbus-daemon-proxy libdbus-c++ php vala-dbus-binding-tool collectd libgxim pywbem gtkhtml2 fbida fontforge libsexy wayland-fits xstdcmap xf86-video-glamo font-adobe-100dpi font-adobe-utopia-100dpi font-bh-100dpi font-bh-lucidatypewriter-100dpi font-misc-misc crash a2jmidid libsdl2-mixer libsdl-mixer minidlna sylpheed libsdl2-ttf libsdl-ttf ode pidgin postgresql syslog-ng usb-modeswitch xdg-user-dirs gateone python3-cryptography-vectors python3-ndg-httpsclient python-cryptography-vectors python-pbr bundler netdata menulibre openzone xfce4-verve-plugin iperf terminus-font xf86-video-nouveau ipmiutil klibc-utils pmbw multipath-tools gparted, gnome-system-monitor, php, vala-dbus-binding-tool, gtkmathview, lmsensors, postgresql: Blacklist * fails repeatedly as reported in: http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111112.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>