Commit graph

17 commits

Author SHA1 Message Date
Giovanni Giacobbi
6918a2c9a8 php8: Clean up and update distributed php.ini for php 8.0.12
Details:
- Cleaned up whitespace and removed comments (refer to official PHP documentation for that)
- Removed directives that no longer exist as of PHP 8.0.12
- Added newly existing directives commented out
- Added '~E_DEPRECATED' to 'error_reporting'

Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
(cherry picked from commit f54b987c8f)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-11-14 08:50:43 +01:00
Hirokazu MORIKAWA
f173d1d1da 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>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 4da149b68a)
2021-11-02 07:37:12 +01:00
Michael Heimpold
a446dba542 php8: update to 8.0.12
This fixes:
    - CVE-2021-21703

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit fb7a33a114)
2021-10-26 22:01:53 +02:00
Michael Heimpold
3741e45eae php8: update to 8.0.11
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 6969fedfd9)
2021-10-05 22:41:35 +02:00
Michael Heimpold
b188ecff22 php8: fix module loading with glibc (refs #16642)
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>
(cherry picked from commit 1bff138517)
2021-10-05 22:41:35 +02:00
Michael Heimpold
934de93ad4 php8: update to 8.0.10
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 449acc7dac)
2021-10-05 22:41:35 +02:00
Michael Heimpold
e928ef733e php8: add CI runtime test
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 2dad652446)
2021-07-31 15:34:11 +02:00
Michael Heimpold
91be67942d php8: update to 8.0.9
Also update opcache makefile patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commits
 - 5e82e6be71
 - 0154157b6c
 - 961b7c5a25
 - 7ddd5280d4
 - 9080dce60f)
2021-07-31 15:34:11 +02:00
Michael Heimpold
f4a36a0c60 php8: update to 8.0.3
Also update opcache compile fix patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit e819f630a2)
2021-03-08 21:26:22 +01:00
Eneas U de Queiroz
61bd6aa423 php8: fix pecl build with QUILT
This is d4979cff0 ported to php8.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit db3389edc2)
2021-03-08 21:26:17 +01:00
Eneas U de Queiroz
10d3f10a81 php8: fix build with QUILT
This is d4979cff0 ported to php8.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 8c6d7dc37c)
2021-03-08 21:26:00 +01:00
Ilya Lipnitskiy
b1cbd93bcd
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>
(cherry picked from commit 5d8d4fbbcb)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-25 01:26:05 +08:00
Michael Heimpold
8cb6bb35a6 php8: Don't run phpize8 with QUILT
Allows targets such as prepare, refresh, or update to be run without
building dependencies for easier patch maintenance.

This is d741a64b7 applied to php8.

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-02-06 14:26:25 +01:00
Michael Heimpold
4f20c737cb
Merge pull request #14659 from mhei/php8-update
php8: update to 8.0.2
2021-02-05 19:20:54 +01:00
Michael Heimpold
0b531c4ec0 php8: update to 8.0.2
This fixes:
  - CVE-2021-21702

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-02-05 00:01:41 +01: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