summaryrefslogtreecommitdiffstats
path: root/package/php/php.mk
Commit message (Collapse)AuthorAgeFilesLines
* 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-261-1/+1
| | | | | | | | 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: libgmp was renamed to gmpGustavo Zacarias2010-12-271-1/+1
| | | | | | 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-241-0/+4
| | | | | | | 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: 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>
* Make all package using gettext rely on BR2_NEEDS_GETTEXTThomas Petazzoni2010-05-201-1/+1
| | | | 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.
* php: convert to Makefile.autotools.in and other improvementsPeter Korsgaard2009-03-041-134/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Gustavo Zacarias <gustavo@zacarias.com.ar> Closes #5, #77, #141 and #143. * Migrate php package to Makefile.autotools.in * Make PCRE regex an option (previously forced on) * Add calendar option from bug #77 * Add external sqlite3 option from bug #141 New option BR2_PACKAGE_PHP_PDO_SQLITE_EXTERNAL * Add alternate php.ini configuration option from bug #5 Named BR2_PACKAGE_PHP_CONFIG and defaults to shipped config. In most scenarios the shipped config isn't good enough, it has a high memory limit for embedded for example. * Changed some options from depends to select Namely openssl, libxml2, zlib, gettext, gmp. * Disabled some 'y' defaults to make things lighter by default Namely libxml2, sqlite, pdo and pdo_sqlite. * Made some of the extensions help text more verbose
* php: bump versionPeter Korsgaard2009-03-021-2/+2
| | | | | | Fixes Fixes CVE-2008-5498, closes #137. Patch by Gustavo Zacarias <gustavo@zacarias.com.ar>
* php: fix sqlite modulePeter Korsgaard2009-02-211-2/+5
| | | | | | | - php comes with it's own embedded sqlite, so no need to select sqlite - disable largefile support for !BR2_LARGEFILE - php somehow forgets to link with -ldl, breaking the sqlite extension. Fix it by disabling the (unused?) modload support in sqlite.
* php: use alternative download URL so we can use DOWNLOAD macroPeter Korsgaard2009-02-201-2/+2
| | | | As noted by Solar on IRC.
* php: don't use DOWNLOAD macroPeter Korsgaard2009-02-201-1/+1
| | | | | | | | php.net only offers downloads though a strange php script with the file name embedded in the *MIDDLE* of the URL, which isn't compatible with the DOWNLOAD macro. Fix it by reverting php.mk hunk of r24689 to go back to $(WGET). This ofcourse means that the primary site / fallback mirror stuff isn't used.
* Fix spelling error, causing php to use host includes, add patching and ↵Ulf Samuelsson2009-01-251-1/+5
| | | | unpacked targets
* package/: convert to DOWNLOAD helperPeter Korsgaard2009-01-161-1/+1
|
* Bump php version since source is removed due to security riskUlf Samuelsson2009-01-111-1/+1
|
* Bump PHP version to 5.2.7.Thomas Petazzoni2008-12-131-1/+1
| | | | | | | Patch provided by Gustavo Zacarias <gustavo@zacarias.com.ar>. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/: get rid of unneeded $(strip ..)Peter Korsgaard2008-12-081-1/+1
|
* buildroot: remove trailing spacesPeter Korsgaard2008-08-041-1/+1
| | | | | | | for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
* Add missing dependsArnar Mar Sigurðsson2008-06-011-0/+1
|
* Dump php to version 5.2.6 and add SimpleXML extension to config menuArnar Mar Sigurðsson2008-06-011-5/+8
|
* fixes for php makefileJohn Voltz2008-03-111-2/+3
|
* enhancements for phpJohn Voltz2008-03-061-27/+89
|
* - just use the strip binary to avoid confusing libtool (quotes)Bernhard Reutner-Fischer2007-10-011-2/+2
| | | | - use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
* - fix unpacking the tarballs, minor cleanups while at it.Bernhard Reutner-Fischer2007-08-221-6/+6
|
* - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* ↵Bernhard Reutner-Fischer2007-08-211-1/+1
| | | | toolchain/*/*.mk */Makefile.in -l)
* Remove switches if sstrip is runUlf Samuelsson2007-08-211-2/+2
|
* Från: Brad House <brad@mainstreetsoftworks.com>Ulf Samuelsson2007-08-191-2/+12
| | | | | | | | | | | | | | | | Till: buildroot@uclibc.org Ämne: [Buildroot] [patch] php fixes and updates Datum: Tue, 14 Aug 2007 16:39:03 -0400 (22.39 CEST) Changes: - fastcgi config option - force php to find the php.ini in /etc (it seems to default to /lib for some reason) - build with posix support, a lot of php scripts require this apparently - strip the php binary when installing to TARGET_DIR - actually 'uninstall' php on a php-clean -Brad
* Add php packageUlf Samuelsson2007-08-071-0/+127