Compare commits

..

19 Commits
f37 ... rawhide

Author SHA1 Message Date
Remi Collet 8faf123679 ini changes from upstream 2023-02-17 16:02:00 +01:00
Remi Collet 2ab121573e handles links to GH security issues 2023-02-16 07:36:06 +01:00
Remi Collet 5a86f70e63 Update to 8.2.3 - http://www.php.net/releases/8_2_3.php 2023-02-14 07:03:31 +01:00
Remi Collet f6665a931f Update to 8.2.2 - http://www.php.net/releases/8_2_2.php 2023-02-01 07:25:23 +01:00
Fedora Release Engineering 3576cbaef0 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 08:15:02 +00:00
Remi Collet af9f86ceb5 v8.2.2RC1 2023-01-18 08:27:38 +01:00
Remi Collet a4ba436f97 Update to 8.2.1 - http://www.php.net/releases/8_2_1.php 2023-01-04 07:28:20 +01:00
Pete Walter fa19cf6335 Rebuild for ICU 72 2022-12-31 03:02:32 +00:00
Remi Collet 0238007d88 php-fpm.conf: move include directive after [global] section
following upstream example
2022-12-19 11:03:33 +01:00
Remi Collet d66fcc7daf v8.2.1RC1 2022-12-14 09:00:43 +01:00
Remi Collet 19b0b1668f update to 8.2.0 GA 2022-12-06 16:15:46 +01:00
Remi Collet 6993e0695d v8.2.0RC7 2022-11-23 07:52:46 +01:00
Remi Collet 69192ff176 update to 8.2.0RC6 2022-11-08 08:19:16 +01:00
Remi Collet 755e3496fd v8.2.0RC5 2022-10-26 09:10:59 +02:00
Remi Collet 6dd1920dd7 v8.2.0RC4 2022-10-11 10:22:25 +02:00
Remi Collet d489ea0802 update to 8.2.0RC3
bump API/ABI
new random extension
add dependency on libselinux
2022-10-05 07:53:11 +02:00
Remi Collet 2d463a7153 Update to 8.1.11 - http://www.php.net/releases/8_1_11.php 2022-09-28 11:29:52 +02:00
Remi Collet f844eec7be refresh keyring 2022-09-15 12:44:47 +02:00
Remi Collet ff3814718d 8.1.11RC1 2022-09-14 09:27:41 +02:00
8 changed files with 99 additions and 46 deletions

32
.gitignore vendored
View File

@ -6,15 +6,23 @@ php-7.*.xz
php-7.*.xz.asc
/php-8.0.*.tar.xz
/php-8.0.*.tar.xz.asc
/php-8.2.*.tar.xz
/php-8.2.*.tar.xz.asc
/php-8.1.12.tar.xz
/php-8.1.12.tar.xz.asc
/php-8.1.13.tar.xz
/php-8.1.13.tar.xz.asc
/php-8.1.14.tar.xz
/php-8.1.14.tar.xz.asc
/php-8.1.15.tar.xz
/php-8.1.15.tar.xz.asc
/php-8.1.16.tar.xz
/php-8.1.16.tar.xz.asc
/php-8.1.*.tar.xz
/php-8.1.*.tar.xz.asc
/php-8.2.0RC5.tar.xz
/php-8.2.0RC5.tar.xz.asc
/php-8.2.0RC6.tar.xz
/php-8.2.0RC6.tar.xz.asc
/php-8.2.0RC7.tar.xz
/php-8.2.0RC7.tar.xz.asc
/php-8.2.0.tar.xz
/php-8.2.0.tar.xz.asc
/php-8.2.1RC1.tar.xz
/php-8.2.1RC1.tar.xz.asc
/php-8.2.1.tar.xz
/php-8.2.1.tar.xz.asc
/php-8.2.2RC1.tar.xz
/php-8.2.2RC1.tar.xz.asc
/php-8.2.2.tar.xz
/php-8.2.2.tar.xz.asc
/php-8.2.3.tar.xz
/php-8.2.3.tar.xz.asc

View File

@ -115,7 +115,12 @@ opcache.blacklist_filename=/etc/php.d/opcache*.blacklist
;opcache.file_cache_fallback=1
; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
; This should improve performance, but requires appropriate OS configuration.
; Under certain circumstances (if only a single global PHP process is
; started from which all others fork), this can increase performance
; by a tiny amount because TLB misses are reduced. On the other hand, this
; delays PHP startup, increases memory usage and degrades performance
; under memory pressure - use with care.
; Requires appropriate OS configuration.
opcache.huge_code_pages=0
; Validate cached file permissions.

View File

@ -24,8 +24,11 @@ foreach ($text as $line) {
if ($debug) echo "+ Ignore $line\n";
continue;
}
$github = 'https://github.com/php/php-src';
$line = preg_replace('/(#[0-9]+)/', 'php\1', $line);
$line = preg_replace('/(GH-([0-9]+))/', '[\1](https://github.com/php/php-src/issues/\2)', $line);
$line = preg_replace('/(GH-([0-9]+))/', "[\\1]($github/issues/\\2)", $line);
$line = preg_replace('/(GHSA-([^ ]+))/', "[\\1]($github/security/advisories/\\1)", $line);
$line = preg_replace('/(CVE-[0-9]+-[0-9]+)/', '**\1**', $line);
if (empty($line)) {
echo "\n\n";

View File

@ -1,7 +1,7 @@
diff -up ./build/gen_stub.php.syslib ./build/gen_stub.php
--- ./build/gen_stub.php.syslib 2020-06-25 08:11:51.782046813 +0200
+++ ./build/gen_stub.php 2020-06-25 08:13:11.188860368 +0200
@@ -1075,6 +1075,12 @@ function initPhpParser() {
@@ -3265,6 +3265,12 @@ function initPhpParser() {
}
$isInitialized = true;
@ -11,6 +11,6 @@ diff -up ./build/gen_stub.php.syslib ./build/gen_stub.php
+ return;
+ }
+
$version = "4.13.0";
$version = "4.15.1";
$phpParserDir = __DIR__ . "/PHP-Parser-$version";
if (!is_dir($phpParserDir)) {

View File

@ -5,11 +5,6 @@
; All relative paths in this configuration file are relative to PHP's install
; prefix.
; Include one or more files. If glob(3) exists, it is used to include a bunch of
; files from a glob(3) pattern. This directive can be used everywhere in the
; file.
include=/etc/php-fpm.d/*.conf
;;;;;;;;;;;;;;;;;;
; Global Options ;
;;;;;;;;;;;;;;;;;;
@ -133,5 +128,8 @@ daemonize = yes
; used in logs and stats. There is no limitation on the number of pools which
; FPM can handle. Your system will tell you anyway :)
; See /etc/php-fpm.d/*.conf
; Include one or more files. If glob(3) exists, it is used to include a bunch of
; files from a glob(3) pattern. This directive can be used everywhere in the
; file.
include=/etc/php-fpm.d/*.conf

11
php.ini
View File

@ -9,8 +9,8 @@
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
; 1. SAPI module specific location.
; 2. The PHPRC environment variable. (As of PHP 5.2.0)
; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
; 2. The PHPRC environment variable.
; 3. A number of predefined registry keys on Windows
; 4. Current working directory (except CLI)
; 5. The web server's directory (for SAPI modules), or directory of PHP
; (otherwise in Windows)
@ -425,6 +425,11 @@ max_input_time = 60
; How many GET/POST/COOKIE input variables may be accepted
;max_input_vars = 1000
; How many multipart body parts (combined input variable and file uploads) may
; be accepted.
; Default Value: -1 (Sum of max_input_vars and max_file_uploads)
;max_multipart_body_parts = 1500
; Maximum amount of memory a script may consume
; https://php.net/memory-limit
memory_limit = 128M
@ -449,7 +454,7 @@ memory_limit = 128M
; development and early testing.
;
; Error Level Constants:
; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
; E_ALL - All errors and warnings
; E_ERROR - fatal run-time errors
; E_RECOVERABLE_ERROR - almost fatal run-time errors
; E_WARNING - run-time warnings (non-fatal errors)

View File

@ -7,8 +7,8 @@
#
# API/ABI check
%global apiver 20210902
%global zendver 20210902
%global apiver 20220829
%global zendver 20220829
%global pdover 20170320
# we don't want -z defs linker flag
@ -18,7 +18,7 @@
%global _hardened_build 1
# version used for php embedded library soname
%global embed_version 8.1
%global embed_version 8.2
%global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock)
@ -64,7 +64,7 @@
%bcond_with imap
%bcond_without lmdb
%global upver 8.1.16
%global upver 8.2.3
#global rcver RC1
Summary: PHP scripting language for creating dynamic web sites
@ -109,7 +109,7 @@ Patch8: php-8.1.0-libdb.patch
# Functional changes
# Use system nikic/php-parser
Patch41: php-8.1.0-parser.patch
Patch41: php-8.2.0-parser.patch
# use system tzdata
Patch42: php-8.1.0-systzdata-v22.patch
# See http://bugs.php.net/53436
@ -236,6 +236,7 @@ The php-dbg package contains the interactive PHP debugger.
Summary: PHP FastCGI Process Manager
BuildRequires: libacl-devel
BuildRequires: pkgconfig(libsystemd) >= 209
BuildRequires: pkgconfig(libselinux)
Requires: php-common%{?_isa} = %{version}-%{release}
%{?systemd_requires}
# To ensure correct /var/lib/php/session ownership:
@ -286,6 +287,7 @@ Provides: php-libxml, php-libxml%{?_isa}
Provides: php-openssl, php-openssl%{?_isa}
Provides: php-phar, php-phar%{?_isa}
Provides: php-pcre, php-pcre%{?_isa}
Provides: php-random, php-random%{?_isa}
Provides: php-reflection, php-reflection%{?_isa}
Provides: php-session, php-session%{?_isa}
Provides: php-sockets, php-sockets%{?_isa}
@ -318,7 +320,7 @@ Requires: zlib-devel%{?_isa}
Provides: php-zts-devel = %{version}-%{release}
Provides: php-zts-devel%{?_isa} = %{version}-%{release}
%endif
Recommends: php-nikic-php-parser4 >= 4.13.0
Recommends: php-nikic-php-parser4 >= 4.15.1
%description devel
@ -707,9 +709,6 @@ in pure PHP.
%setup -q -n php-%{upver}%{?rcver}
# Corrupted MacOS archive
find . -name '._*' -delete
%patch1 -p1 -b .mpmcheck
%patch5 -p1 -b .includedir
%patch6 -p1 -b .embed
@ -1018,6 +1017,7 @@ pushd build-fpm
build --enable-fpm \
--with-fpm-acl \
--with-fpm-systemd \
--with-fpm-selinux \
--libdir=%{_libdir}/php \
--without-mysqli \
--disable-pdo \
@ -1543,24 +1543,58 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
%changelog
* Tue Feb 14 2023 Remi Collet <remi@remirepo.net> - 8.1.16-1
- Update to 8.1.16 - http://www.php.net/releases/8_1_16.php
* Tue Feb 14 2023 Remi Collet <remi@remirepo.net> - 8.2.3-1
- Update to 8.2.3 - http://www.php.net/releases/8_2_3.php
* Wed Feb 1 2023 Remi Collet <remi@remirepo.net> - 8.1.15-1
- Update to 8.1.15 - http://www.php.net/releases/8_1_15.php
* Wed Feb 1 2023 Remi Collet <remi@remirepo.net> - 8.2.2-1
- Update to 8.2.2 - http://www.php.net/releases/8_2_2.php
* Wed Jan 4 2023 Remi Collet <remi@remirepo.net> - 8.1.14-1
- Update to 8.1.14 - http://www.php.net/releases/8_1_14.php
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.2.2~RC1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Nov 22 2022 Remi Collet <remi@remirepo.net> - 8.1.13-1
- Update to 8.1.13 - http://www.php.net/releases/8_1_13.php
* Wed Jan 18 2023 Remi Collet <remi@remirepo.net> - 8.2.2~RC1-1
- update to 8.2.2RC1
* Wed Oct 26 2022 Remi Collet <remi@remirepo.net> - 8.1.12-1
- Update to 8.1.12 - http://www.php.net/releases/8_1_12.php
* Wed Jan 4 2023 Remi Collet <remi@remirepo.net> - 8.2.1-1
- Update to 8.2.1 - http://www.php.net/releases/8_2_1.php
* Sat Dec 31 2022 Pete Walter <pwalter@fedoraproject.org> - 8.2.1~RC1-3
- Rebuild for ICU 72
* Mon Dec 19 2022 Remi Collet <remi@remirepo.net> - 8.2.1~RC1-2
- php-fpm.conf: move include directive after [global] section
following upstream example
* Wed Dec 14 2022 Remi Collet <remi@remirepo.net> - 8.2.1~RC1-1
- update to 8.2.1RC1
* Tue Dec 6 2022 Remi Collet <remi@remirepo.net> - 8.2.0-1
- update to 8.2.0 GA
* Wed Nov 23 2022 Remi Collet <remi@remirepo.net> - 8.2.0~RC7-1
- update to 8.2.0RC7
* Tue Nov 8 2022 Remi Collet <remi@remirepo.net> - 8.2.0~RC6-1
- update to 8.2.0RC6
* Wed Oct 26 2022 Remi Collet <remi@remirepo.net> - 8.2.0~RC5-1
- update to 8.2.0RC5
* Tue Oct 11 2022 Remi Collet <remi@remirepo.net> - 8.2.0~RC4-1
- update to 8.2.0RC4
* Wed Sep 28 2022 Remi Collet <remi@remirepo.net> - 8.2.0~RC3-1
- update to 8.2.0RC3
- bump API/ABI
- new random extension
- add dependency on libselinux
* Wed Sep 28 2022 Remi Collet <remi@remirepo.net> - 8.1.11-1
- Update to 8.1.11 - http://www.php.net/releases/8_1_11.php
* Wed Sep 14 2022 Remi Collet <remi@remirepo.net> - 8.1.11~RC1-1
- update to 8.1.11RC1
* Thu Sep 8 2022 Remi Collet <remi@remirepo.net> - 8.1.10-1
- Update to 8.1.10 - http://www.php.net/releases/8_1_10.php

View File

@ -1,2 +1,2 @@
SHA512 (php-8.1.16.tar.xz) = 4515da38803272abfafb069d1684c66dbb5086987b148c48dd7d8acf8f5316d255cf321ec57d6fbffe914a35551a533446ac13c34bb7c984e0d109247e8e64da
SHA512 (php-8.1.16.tar.xz.asc) = 3153be5495fb1c3980513e6365982c553a667bce41bae7e5f9a64a0eb375143f369e58d7901062147db841421b7ee4cf9c7f8a5eb863b6e10e617e394267c1fa
SHA512 (php-8.2.3.tar.xz) = 4e3ae840ac486868d5bedc2ae771e3ff5d4939ba4c2f7c769b7052322a5eccc8fba253df311a77f3ea852bf42f9dec34653baf828f68c9c191d3a425a8968d4c
SHA512 (php-8.2.3.tar.xz.asc) = f152a76a428602589e142a0007b73810ece57af9c1455571efd9cd215f97273671b87831b4f9f6396ee156ae3b0c22c06b48dda582acf9e6028fa7a627a4501e