Commit Graph

81 Commits

Author SHA1 Message Date
Michael Heimpold
b1ca18e900 php8: update to 8.4.15
Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.4.15

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-12-05 22:57:41 +01:00
Michael Heimpold
657f326b33 php8: update to 8.4.14
Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.4.14

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-10-25 19:03:44 +03:00
Michael Heimpold
dd9c6ecd31 php8: update to 8.4.13
Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.4.13

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-10-16 22:41:37 +02:00
Michael Heimpold
69e9d5c560 php8: update to 8.4.12
Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.4.12

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-09-06 20:11:29 +02:00
Michael Heimpold
465ad70688 php8: update to 8.4.11
Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.4.11

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-08-22 23:02:23 +02:00
Michael Heimpold
331c6bc7ca php8: link PCRE2 JIT usage to actual library configuration
libpcre2's JIT support is controlled with a compile-time flag.
When PHP is compiled against it (external libpcre2 - not PHP's bundled
version) as in our use-case, then it tries to auto-detect whether
JIT support is enalbed or not - but this is done based on a guess
when cross-compiling.

So instead of guessing, we need to tell the actual OpenWrt configuration
of libpcre2 to PHP.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-08-09 22:29:01 +02:00
Michael Heimpold
ae7cb49d6f php8: update to 8.4.10
Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.4.10

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-07-21 23:10:18 +02:00
Michael Heimpold
f9ea6b5ee3 php8: add missing dependency for soap module
The soap module depends on the session module.
Add the missing dependency.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-06-15 17:57:31 +02:00
Michael Heimpold
8ba99fd701 php8: update to 8.4.8
Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.4.8

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-06-15 17:57:31 +02:00
Michael Heimpold
8d999cfc50 php8: update to 8.4.7
Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.4.7

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-05-17 17:25:18 +02:00
Michael Heimpold
b523439c90 php8: pass configure hints for snmp extension
The 'snmp' extension module uses net-snmp as library, but fails
to detect whether the library uses openssl when cross-compiling.
Pass the according autoconf variables as hint - net-snmp is not
using openssl at the moment as defined in the Makefile.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-05-01 15:40:26 +02:00
Michael Heimpold
3e34edcf3b php8: update to 8.4.6
Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.4.6

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-05-01 15:40:26 +02:00
Michael Heimpold
9ebb457377 php8: update to 8.4.5
This is a major upgrade to latest stable PHP version.

- IMAP extension was unbundled from PHP
- align patch filenames with latest ones from Debian
- removed obsolete patches
- adapted/refreshed patches
- added patch to remove call to httpd during configure
  Note: this assumes that 'prefork' mpm is used

Upstream changelog for this specific release:
https://www.php.net/ChangeLog-8.php#8.4.5

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-04-10 06:45:31 +02:00
Michael Heimpold
0b04156859 php8: update to 8.3.14
This fixes:
    - CVE-2024-8932
    - CVE-2024-11236
    - CVE-2024-11236
    - CVE-2024-11234
    - CVE-2024-11233

Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.3.14

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-11-24 21:38:05 +01:00
Michael Heimpold
c20918cac7 php8: update to 8.3.12
This fixes:
    - CVE-2024-8925
    - CVE-2024-8926
    - CVE-2024-8927
    - CVE-2024-9026

Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.3.12

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-10-06 10:30:06 +02:00
Michael Heimpold
1890b5fcc3 php8: update to 8.3.11
Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.3.11

A minor adaption to a single patch is required.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-09-05 07:18:53 +02:00
Michael Heimpold
e06c27d264 php8: update to 8.3.10
Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.3.10

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-08-07 07:01:44 +02:00
Michael Heimpold
183810bd5b php8: update to 8.3.9
Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.3.9

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-07-09 20:49:44 +02:00
Michael Heimpold
1b7f11d96d php8: workaround libgd capability detection (refs #23846)
This is an alternative approach to #24209. Instead of switching
to bundled/internal libgd, workaround the capability detection
by giving the information to the build system directly.

PHP's original approach does not work when cross-compiling,
but since it is known which features are enabled in OpenWrt's
build, we can directly enable these features here, too.

This is not that future prove, but should do the job for the
moment until a proper solution was discussed with upstream.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-06-08 07:33:18 +02:00
Michael Heimpold
1dd9f4bfc8 php8: update to 8.3.8
This fixes:
    - CVE-2024-4577
    - CVE-2024-5458
    - CVE-2024-5585

Changelog: https://www.php.net/ChangeLog-8.php#8.3.8

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-06-08 06:17:24 +02:00
Michael Heimpold
533456bcc0 php8: update to 8.3.7
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-05-28 20:41:50 +02:00
Hirokazu MORIKAWA
6d6fed624f php8: Support for icu 75
Preparing to update icu4c to 75.
Created a patch for build errors in php-intl.
```
In file included from /mnt/node/openwrt/staging_dir/target-aarch64_generic_musl/usr/include/unicode/unistr.h:39,
                 from ext/intl/intl_convertcpp.h:22,
                 from ext/intl/intl_convertcpp.cpp:17:
/mnt/node/openwrt/staging_dir/target-aarch64_generic_musl/usr/include/unicode/stringpiece.h:133:29: error: 'enable_if_t' in namespace 'std' does not name a template type
  133 |             typename = std::enable_if_t<
      |                             ^~~~~~~~~~~
/mnt/node/openwrt/staging_dir/target-aarch64_generic_musl/usr/include/unicode/stringpiece.h:133:24: note: 'std::enable_if_t' is only available from C++14 onwards
  133 |             typename = std::enable_if_t<
      |                        ^~~
/mnt/node/openwrt/staging_dir/target-aarch64_generic_musl/usr/include/unicode/stringpiece.h:133:40: error: expected '>' before '<' token
  133 |             typename = std::enable_if_t<
      |                                        ^
```
The FreeBSD ports patch was used as a reference.
e680bd98d3

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2024-05-09 11:43:21 +09:00
Michael Heimpold
2682b28cb3 php8: update to 8.3.6
This fixes:
    - CVE-2024-1874
    - CVE-2024-2756
    - CVE-2024-2757
    - CVE-2024-3096

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-04-17 20:56:55 +02:00
Michael Heimpold
a519774b97 php8: update to 8.3.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-03-17 18:00:30 +01:00
Michael Heimpold
42aa20ddeb php8/pecl8-pecl-*: use https URLs for PKG_SOURCE_URLs
Most packages already use https URLs and for PHP and PECL
package downloads https is working properly.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-02-26 21:03:22 +01:00
Michael Heimpold
a8c69cf6bf php8: update to 8.3.3
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-02-19 08:07:02 +01:00
Michael Heimpold
dd200c8fe0 php8: update to 8.3.2
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-01-28 11:20:07 +01:00
Michael Heimpold
b0a8ddf196 php8: update to 8.3.1
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-12-27 13:42:08 +01:00
Michael Heimpold
4e121ba69f php8: update to 8.3.0
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-12-17 19:52:35 +02:00
Michael Heimpold
8d6a63df8a php8: update to 8.2.12
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-10-27 07:45:18 +02:00
Michael Heimpold
3e0dccdea1 php8: update to 8.2.11
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-10-03 20:34:23 +02:00
Michael Heimpold
cb1070612b php8: update to 8.2.10
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-09-04 22:25:12 +02:00
Michael Heimpold
d85bac4d1e php8: update to 8.2.9
This fixes:
    - CVE-2023-3824

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-08-21 17:57:22 +02:00
Michael Heimpold
43b10ad9c1 php8: fix linking on riscv64 platform (again)
The initial fix was done in a2e76e497.
Later we could revert it with 5779ae4c5 since a global fix
in gcc was deployed.

But now, PHP itself applied a workaround/fix in 8.2.8,
so that we now require the initial fix again.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-08-16 21:38:54 +02:00
Michael Heimpold
75bd8ebde4 php8: update to 8.2.8
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-07-12 22:35:08 +02:00
Michael Heimpold
1db2070f00 php8: update to 8.2.7
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-06-14 08:43:04 +02:00
Michael Heimpold
5779ae4c5d Revert "php8: fix linking on riscv64 platform"
This reverts commit a2e76e4978.

Now that the issue is fixed on gcc side (see openwrt/openwrt@7b4a966),
we can revert this workaround here.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-06-12 18:52:39 +02:00
Michael Heimpold
a2e76e4978 php8: fix linking on riscv64 platform
The buildbots failed for the mentioned platform with the following error:
(I shortened the pathnames and broke long lines a little bit for readability)

.../lib/gcc/riscv64-openwrt-linux-musl/12.3.0/../../../../
  riscv64-openwrt-linux-musl/bin/ld: Zend/zend_execute_API.o: in function `.L533':
zend_execute_API.c:(.text+0x1b1c): undefined reference to `__atomic_exchange_1'
.../riscv64-openwrt-linux-musl/bin/ld: Zend/zend_atomic.o:
  in function `zend_atomic_bool_exchange':
zend_atomic.c:(.text+0xc): undefined reference to `__atomic_exchange_1'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:350: sapi/cli/php] Error 1

Inspired by the blog post[1], linking to libatomic explicitly seems to
do the trick.

[1] A RISC-V gcc pitfall revealed by a glibc update
https://blog.jiejiss.com/A-RISC-V-gcc-pitfall-revealed-by-a-glibc-update

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-06-04 22:02:23 +02:00
Michael Heimpold
e6a133cb9d php8: update to 8.2.6
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-05-19 00:00:34 +08:00
Michael Heimpold
85bf0627b1 php8: fix compilation with musl 1.2.4
As noted in the release notes of musl 1.2.4, we can use
CFLAGS to pass -D_LARGEFILE64_SOURCE to allow to keep
using LFS64 definitions (as a short-term solution).

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-05-19 00:00:34 +08:00
Michael Heimpold
8043007879 php8: update to 8.2.5
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-04-16 16:39:10 +03:00
Andre Heider
565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Michael Heimpold
0729764f96 php8: update to 8.2.3
This fixes:
    - CVE-2023-0567
    - CVE-2023-0568
    - CVE-2023-0662

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-03-14 21:47:06 +01:00
Michael Heimpold
258aa83988 php8: update to 8.2.2
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-02-07 07:52:10 +01:00
Michael Heimpold
9a49eb2e0a php8: update to 8.2.1
This fixes:
    - CVE-2022-31631

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-01-08 10:55:36 +01:00
Michael Heimpold
94c4f13ce6 php8: update to 8.2.0
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-12-12 21:14:04 +01:00
Michael Heimpold
056051da49 php8: update to 8.1.13
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-11-28 07:43:50 +01:00
Michael Heimpold
58b47869c0 php8: update to 8.1.12
This fixes:
    - CVE-2022-31630
    - CVE-2022-37454

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-11-02 07:21:20 +01:00
Michael Heimpold
e0db68ef0a php8: update to 8.1.11
This fixes:
    - CVE-2022-31628
    - CVE-2022-31629

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-10-03 11:08:08 +02:00
Michael Heimpold
8b1b6caedf php8: add sodium extensions (refs #18997)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-09-30 20:42:09 +02:00