aboutsummaryrefslogtreecommitdiff
path: root/lang/php7
Commit message (Collapse)AuthorAge
* php7: update to 7.4.4Michael Heimpold2020-03-26
| | | | | | | | | This fixes: - CVE-2020-7064 - CVE-2020-7065 - CVE-2020-7066 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.3Michael Heimpold2020-02-25
| | | | | | | | | This fixes: - CVE-2020-7061 - CVE-2020-7062 - CVE-2020-7063 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix dependencies for mysqlnd (fixes #11113)Michael Heimpold2020-01-26
| | | | | | | When during the build the openssl extension is also selected, then the mysqlnd extension depends on it, too. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.2Michael Heimpold2020-01-26
| | | | | | | | This fixes: - CVE-2020-7059 - CVE-2020-7060 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update the gd module to depend on libgd-fullW. Michael Petullo2020-01-12
| | | | | | | | | | The php7-mod-gd package requires that freetype support exist in libgd. The libgd-full package provides this, whereas the libgd package does only if explicitly configured. Ref: https://github.com/openwrt/packages/issues/10944 Signed-off-by: W. Michael Petullo <mike@flyn.org> Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: major upgrade to 7.4.1Michael Heimpold2019-12-21
| | | | | | | | | | | | | - remove obsolete patches and update other ones - filter support is now available as an extension module - php7-mod-hash: this extension is now part of the core binary and cannot be built as an extension module anymore - php7-mod-gd: - do not use bundled libgd, but rely on external one - this also obsoletes dependencies and configuration options - php7-mod-zip: requires external libzip now Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.26Michael Heimpold2019-12-18
| | | | | | | | | | | This fixes: - CVE-2019-11046 - CVE-2019-11044 - CVE-2019-11045 - CVE-2019-11050 - CVE-2019-11047 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: Properly fix compilation without deprecated APIsRosen Penev2019-11-25
| | | | | | | It seems that OpenSSL is bugged. While OpenSSL uses this code, it doesn't export these defines anywhere. Match against the API version instead. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* php7: Update to version 7.2.25Josef Schlehofer2019-11-24
| | | | | | - Fixes CVE-2019-11043 Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* php7: mark /etc/config/php7-fastcgi as conffileW. Michael Petullo2019-10-19
| | | | Signed-off-by: W. Michael Petullo <mike@flyn.org>
* php7-mod-xmlreader: add conditional dependency to php7-mod-dom (fixes #10201)Michael Heimpold2019-10-16
| | | | | | | | | | | | | | | | | | | PHP7 fails to load xmlreader.so (php7-mod-xmlreader) module without dom.so (php7-mod-dom) module loaded: -snip- PHP Warning: PHP Startup: Unable to load dynamic library 'xmlreader.so' (tried: /usr/lib/php/xmlreader.so (Error relocating /usr/lib/php/xmlreader.so: dom_node_class_entry: symbol not found), /usr/lib/php/xmlreader.so.so (Error loading shared library /usr/lib/php/xmlreader.so.so: No such file or directory)) in Unknown on line 0 ^C -snap- However, this dependency only exists when during build also php7-mod-dom is selected. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: bump to 7.2.23Stefaan Ghysels2019-10-03
| | | | Signed-off-by: Stefaan Ghysels <stefaang@gmail.com>
* php7-mod-gd: enable libwebpStefaan Ghysels2019-10-03
| | | | Signed-off-by: Stefaan Ghysels <stefaang@gmail.com>
* php7: update to 7.2.22Michael Heimpold2019-09-08
| | | | | | | | While at, update the SPDX license id to most recent format. Compile and run tested on mxs platform. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.21Michael Heimpold2019-08-04
| | | | | | | | This fixes CVE-2019-11042 and CVE-2019-11041. Compile and run tested on mxs platform Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.19Michael Heimpold2019-06-21
| | | | | | Compile and run tested on mxs platform Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.18Michael Heimpold2019-05-20
| | | | | | Compile and run tested on mxs platform. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: Fix compilation without deprecated OpenSSL APIsRosen Penev2019-04-20
| | | | | | Refreshed patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* php7: update to 7.2.17Michael Heimpold2019-04-14
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: facilitate running php7-fastcgi without listening on TCP socketW. Michael Petullo2019-04-13
| | | | | | | | The init.d script for php7-fastcgi no longer invokes php7-fastcgi with the '-b' flag when 'port' does not appear in /etc/config/php7-fastcgi. This causes php7-fastcgi to communicate using only a Unix socket. Signed-off-by: W. Michael Petullo <mike@flyn.org>
* php7: Add PKG_CPE_ID for proper CVE trackingJan Pavlinec2019-03-15
| | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* php7: update to 7.2.16Michael Heimpold2019-03-13
| | | | | | | | Also refresh patch which does not apply cleanly anymore. Run tested on Duckbill for mxs platform. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix cross compiling patch (fixes #8166)Michael Heimpold2019-02-10
| | | | | Fixes: e148924a4 ("php7: update to 7.2.15") Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.15Michael Heimpold2019-02-09
| | | | | | Also refresh patch which does not apply cleanly anymore. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.14Michael Heimpold2019-01-11
| | | | | | | | | | | | | | | | | | | While at, add --with-pic to configure arguments. This prevents the following build errors spotted by the build bots for i386 targets: -snip- ... ext/openssl/.libs/openssl.o: direct GOT relocation R_386_GOT32X against `X509_REQ_free' without base register can not be used when making a shared object ... -snap- This parameter seems to make no difference on other targets, nor improve or make worse the package size. Run tested for i386 in VirtualBox VM and on Duckbill for mxs platform. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.13Michael Heimpold2018-12-09
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.12Michael Heimpold2018-11-15
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.2.11Michael Heimpold2018-10-16
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* 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>