Commit Graph

22 Commits

Author SHA1 Message Date
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 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 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 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 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 8043007879 php8: update to 8.2.5
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-04-16 16:39:10 +03: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 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 ca4e6992fd php8: update to 8.1.2
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-01-22 21:48:12 +01:00
Michael Heimpold 9dd0bbf0a6 php8: update to 8.1.0
Also update patches and remove obsolete ones.
We also need to add one to prevent mod_php to be enabled
by apxs in configuration file.

While at, remove the VARIANT setting for pecl extensions.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-06 19:26:50 +01:00
Michael Heimpold 2e9c1a00ea php8: update to 8.0.13
This fixes:
    - CVE-2021-21707

Also drop upstream patch which is included in the release now.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-11-20 13:53:45 +01:00
Hirokazu MORIKAWA 4da149b68a php8: Support for icu 70.1
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>
2021-11-02 09:28:45 +09:00
Michael Heimpold 449acc7dac php8: update to 8.0.10
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-08-30 13:34:49 +02:00
Michael Heimpold 7ddd5280d4 php8: update to 8.0.8
This fixes:
  - CVE-2021-21704
  - CVE-2021-21705

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-07-05 00:15:59 +02:00
Michael Heimpold 5e82e6be71 php8: update to 8.0.5
Also update opcache makefile patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-04-29 21:10:30 +02:00
Michael Heimpold e819f630a2 php8: update to 8.0.3
Also update opcache compile fix patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-03-06 20:34:10 +01:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
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>
2021-02-20 16:02:15 -08:00
Michael Heimpold 0119aa5280 php8: fix cross-compiling for x86_64
The build process uses a minilua helper for code generation
which must not be compiled with target cross-compiler but
the host compiler.

This error was spotted by buildbots:
ext/opcache/minilua /builder/shared-workdir/build/sdk/build_dir/
 target-x86_64_musl/php-8.0.1/ext/opcache/jit/dynasm/dynasm.lua
 -D X64=1 -o ext/opcache/jit/zend_jit_x86.c /builder/shared-workdir
 /build/sdk/build_dir/target-x86_64_musl/php-8.0.1/ext/opcache/jit/zend_jit_x86.dasc
/bin/bash: ext/opcache/minilua: No such file or directory
Makefile:406: recipe for target 'ext/opcache/jit/zend_jit_x86.c' failed
make[4]: *** [ext/opcache/jit/zend_jit_x86.c] Error 127

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-02-04 23:47:52 +01:00
Michael Heimpold b1c44ae9fd php8: introduce new major version package
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-02-01 07:49:01 +01:00