<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/php8/patches, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2025-04-10T04:45:31Z</updated>
<entry>
<title>php8: update to 8.4.5</title>
<updated>2025-04-10T04:45:31Z</updated>
<author>
<name>Michael Heimpold</name>
</author>
<published>2025-01-21T20:28:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=9ebb457377f7104c1f03906580454172a21f184b'/>
<id>urn:sha1:9ebb457377f7104c1f03906580454172a21f184b</id>
<content type='text'>
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 &lt;mhei@heimpold.de&gt;
</content>
</entry>
<entry>
<title>php8: add patch for loongarch64 support</title>
<updated>2024-12-27T10:13:08Z</updated>
<author>
<name>Michael Heimpold</name>
</author>
<published>2024-12-23T20:41:05Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=ca9c3d1baea38f0e5cedae7b74cfe8ef15a3ec83'/>
<id>urn:sha1:ca9c3d1baea38f0e5cedae7b74cfe8ef15a3ec83</id>
<content type='text'>
This backported patch is required to fix the build for loongarch64:
...
... loongarch64-openwrt-linux-musl/bin/ld.bfd: Zend/zend_fibers.o: in function `zend_fiber_init_context':
zend_fibers.c:(.text+0xb34): undefined reference to `getcontext'
... loongarch64-openwrt-linux-musl/bin/ld.bfd: zend_fibers.c:(.text+0xb38): undefined reference to `getcontext'
... loongarch64-openwrt-linux-musl/bin/ld.bfd: zend_fibers.c:(.text+0xb74): undefined reference to `makecontext'
... loongarch64-openwrt-linux-musl/bin/ld.bfd: zend_fibers.c:(.text+0xb78): undefined reference to `makecontext'
... loongarch64-openwrt-linux-musl/bin/ld.bfd: Zend/zend_fibers.o: in function `.L170':
zend_fibers.c:(.text+0xe34): undefined reference to `swapcontext'
...

Signed-off-by: Michael Heimpold &lt;mhei@heimpold.de&gt;
</content>
</entry>
<entry>
<title>php8: update to 8.3.14</title>
<updated>2024-11-24T20:38:05Z</updated>
<author>
<name>Michael Heimpold</name>
</author>
<published>2024-11-23T11:18:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=0b04156859c128ec1b3e0d4497cb4f66e98cc721'/>
<id>urn:sha1:0b04156859c128ec1b3e0d4497cb4f66e98cc721</id>
<content type='text'>
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 &lt;mhei@heimpold.de&gt;
</content>
</entry>
<entry>
<title>php8: update to 8.3.12</title>
<updated>2024-10-06T08:30:06Z</updated>
<author>
<name>Michael Heimpold</name>
</author>
<published>2024-09-30T16:30:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=c20918cac70cdb40cbd7a954d914d727a515820c'/>
<id>urn:sha1:c20918cac70cdb40cbd7a954d914d727a515820c</id>
<content type='text'>
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 &lt;mhei@heimpold.de&gt;
</content>
</entry>
<entry>
<title>php8: update to 8.3.11</title>
<updated>2024-09-05T05:18:53Z</updated>
<author>
<name>Michael Heimpold</name>
</author>
<published>2024-09-03T18:11:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=1890b5fcc3e0f656ef8092727cff0279d38773d0'/>
<id>urn:sha1:1890b5fcc3e0f656ef8092727cff0279d38773d0</id>
<content type='text'>
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 &lt;mhei@heimpold.de&gt;
</content>
</entry>
<entry>
<title>php8: workaround libgd capability detection (refs #23846)</title>
<updated>2024-06-08T05:33:18Z</updated>
<author>
<name>Michael Heimpold</name>
</author>
<published>2024-05-28T19:00:02Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=1b7f11d96ddeea22ae9a88bf3222df50b33d2a7c'/>
<id>urn:sha1:1b7f11d96ddeea22ae9a88bf3222df50b33d2a7c</id>
<content type='text'>
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 &lt;mhei@heimpold.de&gt;
</content>
</entry>
<entry>
<title>php8: update to 8.3.8</title>
<updated>2024-06-08T04:17:24Z</updated>
<author>
<name>Michael Heimpold</name>
</author>
<published>2024-06-08T04:14:53Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=1dd9f4bfc85d69c19f78a06c0fd5eb3ec247e2e3'/>
<id>urn:sha1:1dd9f4bfc85d69c19f78a06c0fd5eb3ec247e2e3</id>
<content type='text'>
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 &lt;mhei@heimpold.de&gt;
</content>
</entry>
<entry>
<title>php8: update to 8.3.7</title>
<updated>2024-05-28T18:41:50Z</updated>
<author>
<name>Michael Heimpold</name>
</author>
<published>2024-05-14T18:57:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=533456bcc07164fade4b7290a4b3b8869f82dc50'/>
<id>urn:sha1:533456bcc07164fade4b7290a4b3b8869f82dc50</id>
<content type='text'>
Signed-off-by: Michael Heimpold &lt;mhei@heimpold.de&gt;
</content>
</entry>
<entry>
<title>php8: Support for icu 75</title>
<updated>2024-05-09T02:43:21Z</updated>
<author>
<name>Hirokazu MORIKAWA</name>
</author>
<published>2024-05-09T02:43:21Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=6d6fed624f745fa05f9cd708d98f83c2981b4708'/>
<id>urn:sha1:6d6fed624f745fa05f9cd708d98f83c2981b4708</id>
<content type='text'>
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&lt;
      |                             ^~~~~~~~~~~
/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&lt;
      |                        ^~~
/mnt/node/openwrt/staging_dir/target-aarch64_generic_musl/usr/include/unicode/stringpiece.h:133:40: error: expected '&gt;' before '&lt;' token
  133 |             typename = std::enable_if_t&lt;
      |                                        ^
```
The FreeBSD ports patch was used as a reference.
https://github.com/freebsd/freebsd-ports/commit/e680bd98d34a86302db434c5be23d0cf9d23df23

Signed-off-by: Hirokazu MORIKAWA &lt;morikw2@gmail.com&gt;
</content>
</entry>
<entry>
<title>php8: update to 8.3.3</title>
<updated>2024-02-19T07:07:02Z</updated>
<author>
<name>Michael Heimpold</name>
</author>
<published>2024-02-19T07:07:02Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=a8c69cf6bf238a352782b767626caa4852d25c14'/>
<id>urn:sha1:a8c69cf6bf238a352782b767626caa4852d25c14</id>
<content type='text'>
Signed-off-by: Michael Heimpold &lt;mhei@heimpold.de&gt;
</content>
</entry>
</feed>
