diff options
| -rw-r--r-- | macros.php | 4 | ||||
| -rw-r--r-- | php-7.3.3-systzdata-v19.patch | 3 | ||||
| -rw-r--r-- | php.spec | 58 | 
3 files changed, 36 insertions, 29 deletions
| @@ -14,3 +14,7 @@  %@SCL@__php        @BINDIR@/php +%@SCL@__phpize     @BINDIR@/phpize + +%@SCL@__phpconfig  @BINDIR@/php-config + diff --git a/php-7.3.3-systzdata-v19.patch b/php-7.3.3-systzdata-v19.patch index 866729b..9dde92f 100644 --- a/php-7.3.3-systzdata-v19.patch +++ b/php-7.3.3-systzdata-v19.patch @@ -5,6 +5,7 @@ Add support for use of the system timezone database, rather  than embedding a copy.  Discussed upstream but was not desired.  History: +r20: fix possible buffer overflow  r19: retrieve tzdata version from /usr/share/zoneinfo/tzdata.zi  r18: adapt for autotool change in 7.3.3RC1  r17: adapt for timelib 2018.01 (in 7.3.2RC1) @@ -452,7 +453,7 @@ index 020da3135e..12e68ef043 100644  +        size_t n;  +        char *data, *p;  +         -+        data = malloc(3 * sysdb->index_size + 7); ++        data = malloc(3 * sysdb->index_size + sizeof(FAKE_HEADER) - 1);  +  +        p = mempcpy(data, FAKE_HEADER, sizeof(FAKE_HEADER) - 1);  + @@ -49,7 +49,7 @@  %global mysql_sock %(mysql_config --socket  2>/dev/null || echo /var/lib/mysql/mysql.sock) -%global oraclever 21.8 +%global oraclever 21.10  %global oraclelib 21.1  # Build for LiteSpeed Web Server (LSAPI) @@ -110,7 +110,7 @@  Summary: PHP scripting language for creating dynamic web sites  Name:    %{?scl_prefix}php  Version: %{upver}%{?rcver:~%{rcver}}%{?gh_date:.%{gh_date}} -Release: 5%{?dist} +Release: 6%{?dist}  # All files licensed under PHP version 3.01, except  # Zend is licensed under Zend  # TSRM is licensed under BSD @@ -839,9 +839,9 @@ Group: System Environment/Libraries  # All files licensed under PHP version 3.01  License: PHP  Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release} -BuildRequires: pkgconfig(icu-i18n) >= 71 -BuildRequires: pkgconfig(icu-io)   >= 71 -BuildRequires: pkgconfig(icu-uc)   >= 71 +BuildRequires: pkgconfig(icu-i18n) >= 72 +BuildRequires: pkgconfig(icu-io)   >= 72 +BuildRequires: pkgconfig(icu-uc)   >= 72  %description intl  The %{?scl_prefix}php-intl package contains a dynamic shared object that will add @@ -934,42 +934,38 @@ in pure PHP.  %setup -q -n php-%{upver}%{?rcver}  %endif -%patch1 -p1 -b .mpmcheck -%patch5 -p1 -b .includedir -%patch6 -p1 -b .embed -%patch8 -p1 -b .libdb -%if 0%{?rhel} -%patch9 -p1 -b .curltls +%patch -P1 -p1 -b .mpmcheck +%patch -P5 -p1 -b .includedir +%patch -P6 -p1 -b .embed +%patch -P8 -p1 -b .libdb +%if 0%{?rhel} == 7 +%patch -P9 -p1 -b .curltls  %endif -%if 0%{?fedora} >= 28 || 0%{?rhel} >= 6 -%patch42 -p1 -b .systzdata -%endif -%patch43 -p1 -b .headers +%patch -P42 -p1 -b .systzdata +%patch -P43 -p1 -b .headers  sed -e 's/php-devel/%{?scl_prefix}php-devel/' -i scripts/phpize.in -%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 -%patch45 -p1 -b .ldap_r -%endif -%patch46 -p1 -b .argon2 -%patch47 -p1 -b .phpinfo -%patch48 -p1 -b .snmp +%patch -P45 -p1 -b .ldap_r +%patch -P46 -p1 -b .argon2 +%patch -P47 -p1 -b .phpinfo +%patch -P48 -p1 -b .snmp  %if 0%{?fedora} >= 36 || 0%{?rhel} >= 9 -%patch50 -p1 -b .openssl3 +%patch -P50 -p1 -b .openssl3  rm ext/openssl/tests/p12_with_extra_certs.p12  %endif -%patch91 -p1 -b .remi-oci8 +%patch -P91 -p1 -b .remi-oci8  # upstream patches  # security patches -%patch200 -p1 -b .bug81740 -%patch201 -p1 -b .bug81744 -%patch202 -p1 -b .bug81746 -%patch203 -p1 -b .cve0662 +%patch -P200 -p1 -b .bug81740 +%patch -P201 -p1 -b .bug81744 +%patch -P202 -p1 -b .bug81746 +%patch -P203 -p1 -b .cve0662  # Fixes for tests -%patch300 -p1 -b .datetests +%patch -P300 -p1 -b .datetests  # WIP patch @@ -1856,6 +1852,12 @@ EOF  %changelog +* Fri Apr 14 2023 Remi Collet <remi@remirepo.net> - 7.4.33-6 +- use ICU 72.1 +- use oracle client library version 21.10 +- fix possible buffer overflow in date +- define %%php74___phpize and %%php74___phpconfig +  * Tue Feb 21 2023 Remi Collet <remi@remirepo.net> - 7.4.33-5  - F38: enable imap extension | 
