summaryrefslogtreecommitdiffstats
path: root/package/php
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* php: bump to version 5.3.18Gustavo Zacarias2012-10-303-51/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: bump to version 5.3.16Gustavo Zacarias2012-09-041-1/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: security bump to version 5.3.15Gustavo Zacarias2012-07-231-1/+1
| | | | | | | | Fix for CVE-2012-2688 (potential overflow in _php_stream_scandir), CVE-2012-3365 (SQLite open_basedir bypass) and other misc bugfixes. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* php: force cross-compilationThomas Petazzoni2012-06-231-0/+50
| | | | | | | | This fixes build problems like http://autobuild.buildroot.org/results/e3c5815766fdcf3f13b06fa0758ec418618ac4be/build-end.log. 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.14Gustavo Zacarias2012-06-171-1/+1
| | | | | | | Bump php to version 5.3.14 to fix CVE-2012-2143 and other assorted bugs. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: fix WDDX extension build failureGustavo Zacarias2012-06-052-1/+6
| | | | | | | | | | Fix WDDX extension build failure. The documentation and source are conflicting about this, in theory libexpat support is deprecated and libxml2 can replace it, but it seems not so for WDDX, so pull in expat for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: fix build error for snmp extensionGustavo Zacarias2012-06-041-0/+1
| | | | | | | | PHP requires that net-snmp be built with the ability to load MIB code, so force it on when the extension is enabled. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: security bump to version 5.3.13 and enhanceGustavo Zacarias2012-05-215-237/+400
| | | | | | | | | | | | | | | | | | Bump php to version 5.3.13 to solve multiple CVEs. The 5.2 series is no longer maintained. The PCRE and SPL extensions are no longer optional. Reflection is no longer optional either. Ncurses was spun out to PECL. Add a ton of new extensions and give more granular options on others (like the libxml2-based ones). The FastCGI option no longer exists, it's always on as long as CGI is. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: fixup paths in php-config for cross compilationPeter Korsgaard2012-05-011-0/+9
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: fix build breakageGustavo Zacarias2011-11-262-1/+2
| | | | | | | | The zip extension requires zlib, so select it. [Peter: Only select zlib, not php zlib extension] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: security bump to 5.2.17Gustavo Zacarias2011-01-171-2/+1
| | | | | | | | | PHP bug #53632 and CVE-2010-4645, where conversions from string to double might cause the PHP interpreter to hang on systems using x87 FPU registers. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: fix CFLAGS handlingPeter Korsgaard2011-01-021-3/+7
| | | | | | | The shell doesn't understand += assignments. Fixes a build issue with sqlite extension and !largefile (and possibly with ext toolchains as well). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: fix gmp extension build after libgmp bumpPeter Korsgaard2010-12-281-0/+30
| | | | | | Patch from php svn r295402. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: libgmp was renamed to gmpGustavo Zacarias2010-12-272-2/+2
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: security bump to version 5.2.16Gustavo Zacarias2010-12-221-1/+1
| | | | | | | | | | | | | | | | | | | | * Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE. * Fixed crash in zip extract method (possible CWE-170). * Fixed a possible double free in imap extension. * Fixed possible flaw in open_basedir (CVE-2010-3436). * Fixed NULL pointer dereference in ZipArchive::getArchiveComment. (CVE-2010-3709). * Fixed bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with large amount of data). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: add process control supportThomas Rudin2010-11-242-0/+9
| | | | | | | Closes #2791 Signed-off-by: Thomas Rudin <thomas@rudin.li> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: convert old-style hooks to new-style hooksThomas Petazzoni2010-09-121-7/+10
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Security bump php to 5.2.14Gustavo Zacarias2010-08-241-1/+1
| | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
* php: filter plugin depends on pcrePeter Korsgaard2010-07-221-0/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: pdo mysql extension needs C++ support in toolchainPeter Korsgaard2010-07-211-0/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: add sqlite3 dependency when using externalGustavo Zacarias2010-06-061-0/+1
| | | | | | | Closes #1945 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: gettext needs WCHAR supportPeter Korsgaard2010-05-251-0/+4
| | | | | | | | gettext needs WCHAR support in the toolchain, and as libglib2 depends on gettext and lots of stuff depends on libglib2, quite a lot of packages needs to have their dependencies adjusted. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Make all package using gettext rely on BR2_NEEDS_GETTEXTThomas Petazzoni2010-05-202-2/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* php: make sure either CLI or CGI is selectedThomas Petazzoni2010-05-091-10/+28
| | | | | | | | | | | | | | | | When neither CLI nor CGI is selected, PHP's configure script fails with: checking whether to build CGI binary... configure: error: No SAPIs selected. Of couse, the help text of the options says that at least one of them should be selected, but when doing testing with randpackageconfig, noone is reading these help texts. Therefore, based on the suggestion of Yann E. Morin, modify the Config.in organization so that at least one of the option is selected. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* php: bump versionGustavo Zacarias2010-03-311-1/+1
| | | | | | | | Closes #1429 [Peter: stick to bz2 upstream] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove redundant DISABLE_{IPV6,NLS,LARGEFILE} configure argsPeter Korsgaard2010-03-221-2/+1
| | | | | | | Makefile.autotools.in automatically adds these to the configure invocation, so there's no need to explicitly list them. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Bump php to 5.2.12Gustavo Zacarias2010-01-291-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: fix pdo sqlite compilation with !BR2_LARGEFILEPeter Korsgaard2009-11-231-0/+3
| | | | | | Similar fix as with the sqlite package. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update php package to 5.2.11Gustavo Zacarias2009-10-091-1/+1
| | | | | | | | | | | | Security Enhancements and Fixes in PHP 5.2.11: * Fixed certificate validation inside php_openssl_apply_verification_policy * Fixed sanity check for the color index in imagecolortransparent() * Added missing sanity checks around exif processing * Fixed bug #44683 (popen crashes when an invalid mode is passed) Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: bump versionGustavo Zacarias2009-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #409. php-5.2.10 is out, mostly misc bugfixes, one small security fix: Security Enhancements and Fixes in PHP 5.2.10: * Fixed bug #48378 (exif_read_data() segfaults on certain corrupted .jpeg files). (Pierre) Key enhancements in PHP 5.2.10 include: * Added "ignore_errors" option to http fopen wrapper. (David Zulke, Sara) * Fixed memory corruptions while reading properties of zip files. (Ilia) * Fixed memory leak in ob_get_clean/ob_get_flush. (Christian) * Fixed segfault on invalid session.save_path. (Hannes) * Fixed leaks in imap when a mail_criteria is used. (Pierre) * Changed default value of array_unique()'s optional sorting type parameter back to SORT_STRING to fix backwards compatibility breakage introduced in PHP 5.2.9. (Moriyoshi) * Fixed bug #47940 (memory leaks in imap_body). (Pierre, Jake Levitt) * Fixed bug #47903 ("@" operator does not work with string offsets). (Felipe) * Fixed bug #47644 (Valid integers are truncated with json_decode()). (Scott) * Fixed bug #47564 (unpacking unsigned long 32bit big endian returns wrong result). (Ilia) * Fixed bug #47365 (ip2long() may allow some invalid values on certain 64bit systems). * Over 100 bug fixes. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* php: touch post-install stamp filePeter Korsgaard2009-03-051-0/+1
|
* php: only overwrite php.ini if not present in target_skeletonPeter Korsgaard2009-03-041-1/+2
| | | | Allow platforms to provide a custom php.ini in their target_skeleton.