Commit Graph

20 Commits

Author SHA1 Message Date
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
Giovanni Giacobbi f54b987c8f
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>
2021-11-13 21:33:55 +00: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
Sebastian Kemper c175f8b82c php8: add mod php for apache
The module will be available, once php8 is selected, at the same place
as the other apache modules.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-31 22:54:15 +01:00
Michael Heimpold fb7a33a114 php8: update to 8.0.12
This fixes:
    - CVE-2021-21703

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-10-22 21:04:32 +02:00
Michael Heimpold 6969fedfd9 php8: update to 8.0.11
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-09-27 20:46:19 +02:00
Michael Heimpold 1bff138517 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>
2021-09-26 22:05:15 +02: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 9080dce60f php8: update to 8.0.9
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-07-29 21:46:37 +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 961b7c5a25 php8: update to 8.0.7
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-06-08 21:25:03 +02:00
Michael Heimpold 0154157b6c php8: update to 8.0.6
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-05-10 21:24:53 +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
Eneas U de Queiroz 8c6d7dc37c 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>
2021-03-06 20:34:10 +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