aboutsummaryrefslogtreecommitdiff
path: root/lang/php7
Commit message (Collapse)AuthorAge
* php7: update to 7.2.10Michael Heimpold2018-09-23
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: mod-intl: add optional dep for icu-full-data (fixes #6536)Michael Heimpold2018-09-08
| | | | | | | | As worked out, ICU library needs its data archive to be useful. Explain the situation in help text and add option to declare/prevent this dependency in package meta-data. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: adjust load priority for openssl (fixes #6893)Michael Heimpold2018-09-02
| | | | | | | This orders loading of openssl extension before extensions which require openssl functions. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: add bcmath moduleKrystian Kozak2018-09-02
| | | | | | | | | | Added bcmath module, which is required for some packages. For example it is required for zabbix-server frontend Compile tested: Yes, brcm2708 Run tested: Yes, brcm2708 Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
* php7: update to 7.2.9Michael Heimpold2018-08-23
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: add dependency to hash for mysqlndMichael Heimpold2018-08-23
| | | | | | | | | | | | | | | | | The following error shows that mysqlnd depends on functions provided by hash: root@OpenWrt:/etc/php7# php-cli -m PHP Warning: PHP Startup: Unable to load dynamic library 'mysqlnd.so' (tried: /usr/lib/php/mysqlnd.so (Error relocating /usr/lib/php/mysqlnd.so: PHP_SHA256Final: symbol not found), /usr/lib/php/mysqlnd.so.so (Error loading shared library /usr/lib/php/mysqlnd.so.so: No such file or directory)) in Unknown on line 0 So let's model this dep in package metadata. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.8Michael Heimpold2018-07-21
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix load order of mysqli extensionMichael Heimpold2018-07-06
| | | | | | This problem was reported by Teun Lubberhuizen, thanks! Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.7Michael Heimpold2018-07-02
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* Merge pull request #6333 from micmac1/php7-mysqlndMichael Heimpold2018-06-29
|\ | | | | php7: use mysqlnd
| * php7: use mysqlndSebastian Kemper2018-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is in anticipation of the MariaDB upgrade from mariadb 10.1.x to 10.2.x. With the latter the PHP MySQL plugins fail to compile, e.g.: In file included from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/php_mysqli_structs.h:63:0, from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/mysqli.c:34: /home/equeiroz/src/openwrt-asus/staging_dir/target-mipsel_74kc_musl/usr/include/mysql/my_global.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp] #warning This file should not be included by clients, include only <mysql.h> ^~~~~~~ In file included from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/php_mysqli_structs.h:79:0, from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/mysqli.c:34: /home/equeiroz/src/openwrt-asus/staging_dir/target-mipsel_74kc_musl/usr/include/mysql/my_sys.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp] #warning This file should not be included by clients, include only <mysql.h> ^~~~~~~ In file included from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/mysqli.c:34:0: /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/php_mysqli_structs.h:82:10: fatal error: my_list.h: No such file or directory #include <my_list.h> Upstream seems unlikely to fix this, see https://bugs.php.net/bug.php?id=75612. In the bug report it is suggested to not use libmysqlclient/libmariadbclient and instead utilize mysqlnd (MySQL Native Driver) provided by PHP. This is the default anyway. So add the mysqlnd module and remove the libmariadbclient depends. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* | php7: add package dependency on zoneinfo-coreRafał Miłecki2018-06-24
|/ | | | | | | | | | | | | | | | | | | | | Having "select PACKAGE_zoneinfo-core" wasn't enough for builds without php7-cli=y or php7-cgi=y. It didn't result in installing zoneinfo-core when using "opkg install" (during runtime or when building images with CONFIG_TARGET_PER_DEVICE_ROOTFS). Missing zoneinfo results in PHP fatal errors, e.g.: Fatal error: DateTime::createFromFormat(): Timezone database is corrupt - this should *never* happen! For years users were told to manually install zoneinfo-core package. This problem was hidden for some time (including 17.01 release) due to disabled support for CONFIG_PHP7_SYSTEMTZDATA. It's now back as support for --with-system-tzdata was enabled again. The proper solution is to simply make php7 package depend on zoneinfo-core when PHP7_SYSTEMTZDATA is used. Fixes: 84e5012e8853 ("php7: re-enable system timezone data usage") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* php7: update to 7.2.6Michael Heimpold2018-05-27
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: replace libmysqlclient dependencies with libmariadbclientMichael Heimpold2018-05-15
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.5Michael Heimpold2018-04-28
| | | | | | Also drop obsolete patches. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix compile issue with icu 61.1 (refs #5853)Michael Heimpold2018-04-02
| | | | | | Compile tested only at the moment. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.4Michael Heimpold2018-03-31
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.3Michael Heimpold2018-03-04
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix linking to libpcreMichael Heimpold2018-02-14
| | | | | | | | | PHP comes with a bundled version of libpcre which is then statically linked. However, we already depend on the packaged library, so we can reduce the footprint when linking to it dynamically. This saves around 200-300 kB (this depends on other configuration). Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.2Michael Heimpold2018-02-05
| | | | | | Also refresh patches to reflect new year. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: redux of fix for issue #5488Philip Prindeville2018-01-25
| | | | | | | Upstream was a little premature on asking for a change and not vetting it. Here is the currently proposed fix. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* php7: fix issue 5488Philip Prindeville2018-01-25
| | | | | | | | | | | Depending on which version of libiconv you're using, php_iconv_string() doesn't always null out *out as part of its initialization. This patch makes that behavior invariant. Submitted upstream as https://github.com/php/php-src/pull/3037 where it's approved and waiting a merge. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* php7: update to 7.2.1Michael Heimpold2018-01-04
| | | | | | | | | Remove a patch which was included upstream. While at, also add openssl configuration parameters when modules are selected which depend on openssl (reported by Philip Prindeville). Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix syntax issue in MIPS code for pcrePhilip Prindeville2017-12-29
| | | | | | Copied from upstream (master). Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* php7: disable valgrind supportMichael Heimpold2017-12-28
| | | | | | | | | | | | | The check to enable/disable this new feature of PHP 7.2 works incorrectly when cross-compiling because it detects the host headers only and there is no way to pass in a dedicated directory. The wish to change this was reported upstream at: https://bugs.php.net/bug.php?id=75722 For the meantime, use a self-cooked patch. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.0Philip Prindeville2017-12-22
| | | | | | | | Also drop mcrypt module as it's deprecated. Dropped patches have been accepted upstream or something homologous. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* php7: remove build timestampAlexander Couzens2017-12-14
| | | | | | | | Build timestamp prevents reproducible builds [0]. [0] https://reproducible-builds.org/docs/timestamps/ Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* php7-mod-imap: add missing dependency for libpamMichael Heimpold2017-12-02
| | | | | | | | | When libpam is selected, then mod_imap pulls in a dep to libpam, and there seems no way to disable it via configure arguments. So add this dep here conditionally. Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com> Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: try fix imap build-bot buildLucian Cristian2017-12-01
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* php7: try to fix compilation on LEDE buildbotsMichael Heimpold2017-11-26
| | | | | | | | | | | | | | | | Detection of U8T_DECOMPOSE seems to be broken when cross-compiling, so needs to be preseeded. -snip- checking for utf8_mime2text signature... new checking for U8T_DECOMPOSE... configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information. -snap- This requires also a patch for PHP to make the preseeding working. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.1.12Michael Heimpold2017-11-25
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* Merge pull request #5066 from lucize/php7imapMichael Heimpold2017-11-25
|\ | | | | php7: add php7-mod-imap
| * php7: add php7-mod-imapLucian Cristian2017-11-08
| | | | | | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* | php7-mod-gd: add Freetype 2 supportVal Kulkov2017-11-19
| | | | | | | | | | | | | | | | Add Freetype 2 support to php7-mod-gd. Introduce a configuration parameter to disable Freetype 2 support if the increased package size is a concern. Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
* | php7: re-enable system timezone data usageMichael Heimpold2017-11-15
| | | | | | | | | | | | | | | | This part of the Makefile was commented out during update from PHP 5.x to 7.x and not re-enabled in the meanswhile, so fix this finally. Reported-by: Val Kulkov <val.kulkov@gmail.com> Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* | php7: add configuration files to conffilesVal Kulkov2017-11-10
|/ | | | | | | | | | | Two important configuration files, /etc/php7-fpm.conf and /etc/php7-fpm.d/www.conf are silently overwritten on each php7-fpm upgrade or lost on a sysupgrade. This commit adds the conffiles section for php7-fpm and revises the conffiles section for php7. Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
* php7: update to 7.1.11Michael Heimpold2017-10-31
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: upgrade to 7.1.10Michael Heimpold2017-10-03
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: add conditional dependency to libstdcpp for FPMMichael Heimpold2017-09-27
| | | | | | This should fix buildbot breakage introduced by last commit. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: drop dependency to cgi for fpm sapi (refs #4522)Michael Heimpold2017-09-26
| | | | | | | | | | The FPM SAPI works fine without the CGI SAPI installed. It seems that this is a copy & paste error introduced a long time ago, when FPM support was added - and nobody noticed. So drop the dependency now to allow smaller footprints on installations which only use FPM. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: upgrade to 7.1.9Michael Heimpold2017-09-04
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: backport upstream fix for multiline loggingPhilip Prindeville2017-08-19
| | | | | | See: https://github.com/php/php-src/pull/2674 Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* php7: upgrade to 7.1.8Michael Heimpold2017-08-07
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: upgrade to 7.1.7Michael Heimpold2017-07-29
| | | | | | | | | This fixes several CVEs: - in mbstring: CVE-2017-9224, CVE-2017-9226, CVE-2017-9227, CVE-2017-9228, CVE-2017-9229 - in gd: CVE-2017-7890 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: add SNMP module to bundlePhilip Prindeville2017-06-16
| | | | | | | | Add native support for SNMP manager functions, so scripts don't have to call system("snmpget -v2c ...") etc. Cuts down on fork/exec pairs and simplifies issues with parsing intermediate output. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* php7: update to 7.1.6Michael Heimpold2017-06-10
| | | | | | | | | Removed patch 1008-fix-musl-sys-headers.patch which was integrated upstream. (Compile tested only so far) Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.1.5Michael Heimpold2017-05-14
| | | | | | Remove patch 1006-fix-gettext.patch which was integrated upstream. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: use TARGET_CXXFLAGS instead of TARGET_CPPFLAGS for C++ optionMichael Heimpold2017-04-18
| | | | | | | | | This fixes a stupid typo from last commit which lead to the following compiler warning: cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix build of php7-mod-intlMichael Heimpold2017-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following build error (shortened paths for readability): -snip- In file included from .../php-7.1.4/ext/intl/intl_convertcpp.h:26:0, from .../php-7.1.4/ext/intl/intl_convertcpp.cpp:21: .../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:56:16: error: 'UChar' does not name a type u_strlen(const UChar *s); ^ .../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:80:19: error: 'char16_t' has not been declared char16_t *dest, int32_t destCapacity, ^ .../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:81:25: error: 'char16_t' does not name a type const char16_t *src, int32_t srcLength, ^ In file included from .../php-7.1.4/ext/intl/intl_convertcpp.h:26:0, from .../php-7.1.4/ext/intl/intl_convertcpp.cpp:21: .../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:462:16: error: 'char16_t' does not name a type const char16_t *srcChars) const; ^ [...] -snap- This build error was introduced by update of icu to 59.1. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix php build issues with musl headers (fixes #4263)Philip Prindeville2017-04-17
| | | | | | | | | | | MUSL is complaining about <sys/poll.h> instead of <poll.h>. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> [ Replaced the *-t1lib filtering stuff by simply removing the left-over configure option ] Signed-off-by: Michael Heimpold <mhei@heimpold.de>