aboutsummaryrefslogtreecommitdiff
path: root/lang/php7
Commit message (Collapse)AuthorAge
* php7: drop packageMichael Heimpold2021-12-09
| | | | | | | | | | Active support for PHP 7.4 branch ended a few days ago. Since we have PHP 8.x in the repository for a while and we migrated all PECL extension packages already, let's focus on that newer version and drop support for 7.4. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.26Michael Heimpold2021-11-20
| | | | | | | | | This fixes: - CVE-2021-21707 Also drop upstream patch which is included in the release now. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: Clean up and update distributed php.ini for php 7.4.25Giovanni Giacobbi2021-11-12
| | | | | | | | | | | | | | | | | | | | | Details: - Cleaned up whitespace and removed comments (refer to official PHP documentation for that) - Removed directives that no longer exist as of PHP 7.4.25 - Added '~E_DEPRECATED' to 'error_reporting' Directives removed that no longer exist as of PHP 7.4.25: - zend.ze1_compatibility_mode - y2k_compliance - register_globals - register_long_arrays - magic_quotes_gpc - magic_quotes_runtime - magic_quotes_sybase - always_populate_raw_post_data Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net> (cherry picked from commit 7e45ad87f3f2ebcc9e6496ec358a6297e818f90d) Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: Support for icu 70.1Hirokazu MORIKAWA2021-11-02
| | | | | | | | | | This PR prepares PHP for a few minor changes that cause PHP builds to fail when using --enable-intl with ICU 70.1. Change UBool to bool for equality operators in ICU >= 70.1 https://github.com/php/php-src/pull/7596 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* php7: update to 7.4.25Michael Heimpold2021-10-22
| | | | | | | This fixes: - CVE-2021-21703 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.24Michael Heimpold2021-09-27
| | | | | | | This fixes: - CVE-2021-21706 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix module loading with glibc (refs #16642)Michael Heimpold2021-09-26
| | | | | | | | Without -ldl linker flag .so extensions are not loaded when glibc is used. Fix it by providing adjusted LDFLAGS for this case. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix config file upgrade issue (fixes #14623)Michael Heimpold2021-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | The addressed issue is related to #6893 as its resolution is actually causing the problem. When changing the priority of the config file it happens that after a sysupgrade the previous file is restored and the new file is added, ending up in a situation like this: /etc/php7/15_openssl.ini /etc/php7/20_openssl.ini Causing a double extension=openssl.so to be parsed, which is not appropriate and leads to error message. The same problem might also occur for mysqli since there was also a priority change - let's take care about this at the same time. The solution is to remove one of the files. Since it is a configuration file, the user might have adjusted it, so lets just use the previous version to replace the new installed version. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.23Michael Heimpold2021-08-31
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.22Michael Heimpold2021-07-29
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.21Michael Heimpold2021-07-05
| | | | | | | | This fixes: - CVE-2021-21704 - CVE-2021-21705 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.20Michael Heimpold2021-06-07
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.19Michael Heimpold2021-05-10
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.18Michael Heimpold2021-04-30
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.16Michael Heimpold2021-03-04
| | | | | | Also refresh patch. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix build with QUILTEneas U de Queiroz2021-02-26
| | | | | | | | | | | | When building with QUILT, unlike the regular build, Build/Prepare does not apply the patches. So when buildconf is called with QUILT on, at the end of Build/Prepare, it will not have the patched sources, and build will fail. To fix the problem, run buildconf in Build/Prepare only when QUILT is off, and do it in Build/Configure otherwise. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* php7: fix pecl build with QUILTEneas U de Queiroz2021-02-26
| | | | | | | | | | | | | | | | | Commit d741a64b7 ("lang/php7: Don't run phpize7 with QUILT") changed pecl.mk to not run phpize7 during Package/prepare if QUILT is set. The intention was to allow prepare, refresh and update targets to run without building dependencies. As a side-effect, Package/configure and Package/compile fail when QUILT is defined because they can't find ./configure or a Makefile. It also impacts the github tests run with pull requests, because QUILT is defined there. To avoid that failure and still keep the prepare, refresh, and update speedup, call phpize7 before Package/Configure if QUILT is defined. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* treewide: Run refresh on all packagesIlya Lipnitskiy2021-02-20
| | | | | | | | | The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* php7: update to 7.4.15Michael Heimpold2021-02-08
| | | | | | | This fixes: - CVE-2021-21702 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* lang/php7: Don't run phpize7 with QUILTIlya Lipnitskiy2021-02-03
| | | | | | | Allows targets such as prepare, refresh, or update to be run without building dependencies for easier patch maintenance. Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* php7: move into own submenu to prepare for upcoming php8Michael Heimpold2021-02-01
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: rename PECLPackage to PHP7PECLPackage to prepare PHP8 transitionMichael Heimpold2021-02-01
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.14Michael Heimpold2021-01-16
| | | | | | | This fixes: - CVE-2020-7071 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix some whitespace nitpicksMichael Heimpold2021-01-16
| | | | | | Align some lines with the rest, no functional change. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: add CI test scriptMichael Heimpold2020-12-02
| | | | | | This adds basic checks for php7 core and module packages. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: remove obsolete patch for ICU 68.1Michael Heimpold2020-11-29
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.13Michael Heimpold2020-11-29
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix for icu 68.1Hirokazu MORIKAWA2020-11-13
| | | | | | | https://github.com/openwrt/packages/pull/13883 https://github.com/php/php-src/commit/8eaaabd Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* php7: update to 7.4.12Michael Heimpold2020-11-01
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.11Michael Heimpold2020-10-03
| | | | | | | | This fixes: - CVE-2020-7069 - CVE-2020-7070 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.10Michael Heimpold2020-09-10
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.9Michael Heimpold2020-08-12
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.8Michael Heimpold2020-07-15
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.7Michael Heimpold2020-06-14
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.6Michael Heimpold2020-05-16
| | | | | | | This fixes: - CVE-2019-11048 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.4.5Michael Heimpold2020-04-19
| | | | | | | This fixes: - CVE-2020-7067 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* 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>