summaryrefslogtreecommitdiffstats
path: root/package/php
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'next'Peter Korsgaard2014-09-012-0/+14
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * php: add pdo_pgsql extensionFloris Bos2014-08-172-0/+14
| | | | | | | | | | | | | | | | | | | | Adds support for the PDO PostgreSQL extension to the PHP package. [Thomas: slightly adjust Config.in comment to indicate that's it's the "Postgresql driver" that needs (e)glibc and not just "Postgresql".] Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | php: security bump to version 5.5.16Gustavo Zacarias2014-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: CVE-2014-3538 - Extensive backtracking in rule regular expression CVE-2014-3587 - Segfault in cdf.c CVE-2014-2497 - php-gd 'c_color' NULL pointer dereference CVE-2014-5120 - Null byte injection possible with imagexxx functions CVE-2014-3597 - segfault in dns_get_record Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/icu: use the new ARCH_HAS_ATOMICS as dependencyYann E. MORIN2014-08-181-4/+4
|/ | | | | | | | | | And propagate to the reverse dependencies of icu. Also, fix beecrypt's comment: only the C++ support needs atomics. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Anton Kolesov <Anton.Kolesov@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* icu: Add dependency on atomic intrinsicsAnton Kolesov2014-08-031-4/+4
| | | | | | | | ICU requires GCC built-in atomic functions which are architecture specific and may not be implemented. Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* php: security bump to version 5.5.15Gustavo Zacarias2014-07-261-1/+1
| | | | | | | | Fixes: CVE-2014-4670 (SPL Iterators use-after-free) Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* php: add FPM supportJordi Llonch2014-07-152-0/+19
| | | | | | | | [Thomas: adjust commit title, as suggested by Gustavo.] Signed-off-by: Jordi Llonch <jordi.llonch@rochsystems.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* php: fix phar build failure for CLIGustavo Zacarias2014-07-081-0/+26
| | | | | | | | | Disable the phar command-line tool since it requires php to pack itself up. Fixes build failure for CLI (or CLI+CGI) variants of php. Hardly useful for embedded scenarios. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* php: add option for phar builtin extensionGustavo Zacarias2014-07-082-1/+7
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* php: security bump to version 5.5.14Gustavo Zacarias2014-06-291-1/+1
| | | | | | | | | | | | | | | | | | Fixes: CVE-2014-3981 - insecure temporary file use in the configure script. CVE-2014-0207 - cdf_read_short_sector insufficient boundary check. CVE-2014-3478 - mconvert incorrect handling of truncated pascal string size. CVE-2014-3479 - cdf_check_stream_offset insufficient boundary check. CVE-2014-3480 - cdf_count_chain insufficient boundary check. CVE-2014-3487 - cdf_read_property_info insufficient boundary check. CVE-2014-4049 - Fix potential segfault in dns_get_record(). CVE-2014-3515 - unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/php: Bump version to 5.5.13Bernd Kuhls2014-06-011-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* php: fix more iconv related build failuresGustavo Zacarias2014-05-251-24/+57
| | | | | | | | | See php-01-no-iconv.patch for the gory details. Fixes: http://autobuild.buildroot.net/results/1c9/1c9bdfe55288430dca80a1bb514b85353d2f1c54/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* php: bump to version 5.5.12Gustavo Zacarias2014-05-041-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/php: intl support needs icu, which needs threadsYann E. MORIN2014-04-091-2/+3
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/156/1567be445b3ab9071717e9e72301818f95d0a143/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "php: fix build for xtensa"Max Filippov2014-04-031-4/+0
| | | | | | | | | This reverts commit 410c3cf7ebe69016e73bbe63d1ba4b0a251b5c9a. Now that -mtext-section-literals is specified in the xtensa ABI this fix is no longer needed. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* php: version bump 5.5.11Bernd Kuhls2014-04-031-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* php: security bump to version 5.5.10Gustavo Zacarias2014-03-101-1/+1
| | | | | | | Fixes CVE-2014-1943, CVE-2014-2270 and CVE-2013-7327. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* php: fix typoSamuel Martin2014-03-011-1/+1
| | | | | Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2014-02-282-4/+48
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile package/dmraid/Config.in package/gdb/Config.in.host package/linux-headers/linux-headers.mk package/python/python.mk package/python3/python3.mk package/rt-tests/Config.in package/sdl/sdl.mk package/systemd/systemd-01-fix-getty-unit.patch package/systemd/systemd-02-fix-page-size.patch package/systemd/systemd-03-uclibc-fix.patch package/udev/Config.in package/udisks/Config.in package/vlc/vlc.mk system/Config.in Quite some merge conflicts, hopefully I didn't screw up anything. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * php: bump to version 5.5.9Gustavo Zacarias2014-02-261-1/+1
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * php: fix for external extensionsGustavo Zacarias2014-02-122-3/+47
| | | | | | | | | | | | | | | | | | | | Adjust phpize and php-config to make them work for cross-compiled external extensions. While at it also fix dl* issues that prevent said extensions from loading. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | icu: not available when BR2_BINFMT_FLAT is usedThomas Petazzoni2014-02-201-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | icu does not recognize 'uclinux' as a supported platform. While making it recognize uclinux is easy, there is another problem down the road: icu does very weird things to generate an ELF library containing static data (libicudata.a), and the generated library being ELF, it is not compatible with the FLAT binary format expected by uclinux platforms such as Blackfin in FLAT format. Therefore, we simply disallow the selection of icu on FLAT platforms. Note that adding a dependency on BR2_BINFMT_ELF doesn't work, because BR2_BINFMT_FDPIC is considered to be separate (even if technically FDPIC is a derivative of ELF). That's why the dependency we're adding is "depends on !BR2_BINFMT_FLAT" and not "depends on BR2_BINFMT_ELF". Fixes: http://autobuild.buildroot.org/results/b41/b415fed7fae4012bad7d8b53a481bd71bdab716f/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* php: security bump to version 5.5.8Gustavo Zacarias2014-01-281-2/+1
| | | | | | | | Fixes CVE-2013-6712. Note that there's no xz format tarball for 5.5.8. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: fixup dependencies after mysql_client -> mysql renamePeter Korsgaard2014-01-222-6/+6
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* php: fix build for xtensaBaruch Siach2013-12-311-0/+4
| | | | | | | | | | | | The php package generates a binary that is too large for the xtensa default placement of literals in a dedicated section. Use -mtext-section-literal to place literals in the text section. Fixes http://autobuild.buildroot.net/results/a9a/a9a1063104402ec28e01560ec7c8f8a5b6d43dd5/. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* php: bump to version 5.5.7Gustavo Zacarias2013-12-162-23/+8
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove uninstall commandsThomas De Schampheleire2013-12-061-12/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* php: fix iconv related build failureGustavo Zacarias2013-11-262-21/+32
| | | | | | | | | | Fix a rare edge build failure when iconv is enabled, easily reproduced in a debian chroot with an aarch64 external toolchain with iconv + xmlrpc support enabled with a php cgi + cli target. Should solve bug #6500. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* icu: Doesn't work on ARC yetMischa Jonker2013-11-111-0/+2
| | | | | | | | | icu depends on __sync_sub_and_fetch and other atomic primitives that don't exist in the ARC toolchain yet. [Peter: adjust beecrypt/php comment dependency, don't mention atomic builtins] Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: whitespace cleanupThomas De Schampheleire2013-11-111-10/+10
| | | | | | | | | | This patch fixes the following whitespace problems in Config.in files: - trailing whitespace - spaces instead of tabs for indentation - help text not indented with tab + 2 spaces Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: add missing dependencies to toolchain option commentsThomas De Schampheleire2013-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a package A depends on config option B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example: config BR2_PACKAGE_A depends on BR2_B depends on BR2_LARGEFILE depends on BR2_WCHAR comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR This comment should actually be: comment "A needs a toolchain w/ largefile, wchar" depends on BR2_B depends on !BR2_LARGEFILE || !BR2_WCHAR or if possible (typically when B is a package config option declared in that same Config.in file): if BR2_B comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR [other config options depending on B] endif Otherwise, the comment would be visible even though the other dependencies are not met. This patch adds such missing dependencies, and changes existing such dependencies from depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC to depends on BR2_BASE_DEP depends on !BR2_TOOLCHAIN_USES_GLIBC so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (untested) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* php: fix runtime error on big endianPeter Korsgaard2013-10-241-0/+5
| | | | | | Fixes #6566 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-3/+3
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mysql_client: needs thread supportThomas Petazzoni2013-10-051-0/+3
| | | | | | | | | Fixes: http://autobuild.buildroot.org/results/9b1/9b19b312651d21ea2fd54f364b11b01e4aa25e4b/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* change package tarball compression to xz whenever possibleJerzy Grzegorek2013-09-081-1/+1
| | | | | | [Peter: leave change xz tarball format to not end up with circular deps] Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: security bump to version 5.3.27Gustavo Zacarias2013-07-121-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Introduce BR2_TOOLCHAIN_USES_{UCLIBC, GLIBC}Thomas Petazzoni2013-07-041-1/+1
| | | | | | | | | | | | | | | | | Currently, when we need to do a conditional on the type of C library used, we need to take into account the three toolchain backends. As we are going to add eglibc support to the Buildroot toolchain backend, it would become even uglier, so this patch introduces two new hidden options: BR2_TOOLCHAIN_USES_UCLIBC and BR2_TOOLCHAIN_USES_GLIBC, that exist regardless of the toolchain backend. The entire Buildroot code base is converted to use those options. Note that we have intentionally created only one option (BR2_TOOLCHAIN_USES_GLIBC) for both glibc and eglibc, since they are essentially the same, as far as Buildroot is concerned. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: security bump to version 5.3.26Gustavo Zacarias2013-06-101-1/+1
| | | | | | | Fixes CVE-2013-2110. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: bump to version 5.3.25Gustavo Zacarias2013-06-031-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt, php: selecting mysql requires depending on MMUThomas Petazzoni2013-04-291-0/+3
| | | | | | | | | The mysql_client package is only available on architectures having a MMU, so all packages that are selecting mysql_client should depend on BR2_USE_MMU. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: fix libxml2 build failureGustavo Zacarias2013-04-261-0/+1
| | | | | | | | | | The libxml2 build test uses the PHP_TEST_BUILD macro which in turn uses AC_TRY_RUN which is bad for cross compilations. Force php_cv_libxml_build_works to yes when libxml2 is selected. Fixes: http://autobuild.buildroot.net/results/8b45a1260ab6ae15dc59a5d6b5b98698ec3e7bbe/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: bump to version 5.3.24Gustavo Zacarias2013-04-221-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: fix typo for fileinfo extensionGustavo Zacarias2013-03-271-1/+1
| | | | | | | As reported by Aleksandar <aleksandar.zivkovic@gmail.com> in bug #6140 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: security bump to version 5.3.23Gustavo Zacarias2013-03-201-1/+1
| | | | | | | Fixes CVE-2013-1635 and CVE-2013-1643. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: bump to version 5.3.22Gustavo Zacarias2013-03-011-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: use <pkg>_CONFIG_SCRIPTS wherever possibleThomas Petazzoni2013-02-081-10/+1
| | | | | | | | | | | Use the <pkg>_CONFIG_SCRIPTS mechanism in all packages for which it does all what the package was doing. A few packages, like libxslt, are for now left out, since they need some additional fixup (for example a fixup of includedir). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: bump to version 5.3.20Gustavo Zacarias2012-12-261-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: bump to version 5.3.19Gustavo Zacarias2012-12-051-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: fix C++ link issueThomas Petazzoni2012-11-171-0/+4
| | | | | | | | | | | | | The intl module is implemented in C++, but PHP fails to use g++ as the compiler for the final link. As a workaround, tell it to link with libstdc++. Fixes: http://autobuild.buildroot.org/results/13eefdf2121fa1aea7a844bbed8b6cbce3b45996/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud