diff options
| author | Remi Collet <remi@remirepo.net> | 2023-09-26 14:41:37 +0200 | 
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2023-09-26 14:41:37 +0200 | 
| commit | 28ccaaaeb66e12573ddbec6c025dc0d593f0f5fc (patch) | |
| tree | 873337b7eef5d336b846fa3443d3202343c5ab0c | |
| parent | 253135de8f6c2b3fdb8560bfd425bf0da8679b18 (diff) | |
Update to 8.2.11 - http://www.php.net/releases/8_2_11.php
| -rw-r--r-- | failed.txt | 5 | ||||
| -rw-r--r-- | php-7.2.0-oci8conf.patch | 24 | ||||
| -rw-r--r-- | php.spec | 42 | 
3 files changed, 35 insertions, 36 deletions
| @@ -1,12 +1,15 @@ -===== 8.2.11RC1 (2023-09-14) +===== 8.2.11 (2023-09-26)  $ grep -ar 'Tests failed' /var/lib/mock/*/build.log  /var/lib/mock/scl82el7x/build.log:Tests failed    :     0 +/var/lib/mock/scl82el8a/build.log:Tests failed     :    0  /var/lib/mock/scl82el8x/build.log:Tests failed     :    0 +/var/lib/mock/scl82el9a/build.log:Tests failed     :    0  /var/lib/mock/scl82el9x/build.log:Tests failed     :    0  /var/lib/mock/scl82fc37x/build.log:Tests failed    :    0  /var/lib/mock/scl82fc38x/build.log:Tests failed    :    2 +/var/lib/mock/scl82fc39a/build.log:Tests failed    :    2  /var/lib/mock/scl82fc39x/build.log:Tests failed    :    2 diff --git a/php-7.2.0-oci8conf.patch b/php-7.2.0-oci8conf.patch index 0ad16a1..d026575 100644 --- a/php-7.2.0-oci8conf.patch +++ b/php-7.2.0-oci8conf.patch @@ -10,26 +10,4 @@ diff -up ./ext/ldap/php_ldap.h.remi-oci8 ./ext/ldap/php_ldap.h   extern zend_module_entry ldap_module_entry;   #define ldap_module_ptr &ldap_module_entry -diff -up ./ext/oci8/config.m4.remi-oci8 ./ext/oci8/config.m4 ---- ./ext/oci8/config.m4.remi-oci8	2017-06-20 15:45:39.000000000 +0200 -+++ ./ext/oci8/config.m4	2017-06-20 16:55:01.640203868 +0200 -@@ -372,6 +372,7 @@ if test "$PHP_OCI8" != "no"; then -  -     dnl Header directory for Instant Client SDK RPM install -     OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | $PHP_OCI8_SED -e 's!^/usr/lib/oracle/\(.*\)/client\('${PHP_OCI8_IC_LIBDIR_SUFFIX}'\)*/lib[/]*$!/usr/include/oracle/\1/client\2!'` -+    OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | $PHP_OCI8_SED -e 's!^/usr/\(lib64\|lib\)/oracle/\(.*\)/\(client64\|client\)/lib[/]*$!/usr/include/oracle/\2/\3!'` -  -     dnl Header directory for Instant Client SDK zip file install -     OCISDKZIPINC=$PHP_OCI8_INSTANT_CLIENT/sdk/include -diff -up ./ext/pdo_oci/config.m4.remi-oci8 ./ext/pdo_oci/config.m4 ---- ./ext/pdo_oci/config.m4.remi-oci8	2017-06-20 16:55:01.640203868 +0200 -+++ ./ext/pdo_oci/config.m4	2017-06-20 17:16:03.053538358 +0200 -@@ -93,7 +93,7 @@ if test "$PHP_PDO_OCI" != "no"; then -  -     AC_MSG_CHECKING([for oci.h]) -     dnl Header directory for Instant Client SDK RPM install --    OCISDKRPMINC=`echo "$PDO_OCI_LIB_DIR" | $PHP_PDO_OCI_SED -e 's!^\(.*\)/lib/oracle/\(.*\)/\('${PDO_OCI_CLIENT_DIR}'\)/lib[/]*$!\1/include/oracle/\2/\3!'` -+    OCISDKRPMINC=`echo "$PDO_OCI_LIB_DIR" | $PHP_PDO_OCI_SED -e 's!^\(.*\)/\(lib64\|lib\)/oracle/\(.*\)/\('${PDO_OCI_CLIENT_DIR}'\)/lib[/]*$!\1/include/oracle/\3/\4!'` -  -     dnl Header directory for manual installation -     OCISDKMANINC=`echo "$PDO_OCI_LIB_DIR" | $PHP_PDO_OCI_SED -e 's!^\(.*\)/lib[/]*$!\1/include!'` + @@ -49,8 +49,15 @@  %global mysql_sock %(mysql_config --socket  2>/dev/null || echo /var/lib/mysql/mysql.sock) +%ifarch aarch64 +%global oraclever 19.19 +%global oraclelib 19.1 +%global oracledir 19.19 +%else  %global oraclever 21.11  %global oraclelib 21.1 +%global oracledir 21 +%endif  # Build for LiteSpeed Web Server (LSAPI), you can disable using --without tests  %bcond_without        lsws @@ -123,7 +130,7 @@  %global gh_owner     php  %global gh_project   php-src  %global upver        8.2.11 -%global rcver        RC1 +#global rcver        RC1  Summary: PHP scripting language for creating dynamic web sites  Name:    %{?scl_prefix}php @@ -372,6 +379,9 @@ Summary: Common files for PHP  # regex, libmagic are licensed under BSD  License: PHP-3.01 AND BSD-2-Clause +%if %{with tzdata} +Requires:  tzdata +%endif  %if %{with libpcre}  %global pcre2_buildver %(pkg-config --silence-errors --modversion libpcre2-8 2>/dev/null || echo 10.30)  Requires:  pcre2%{?_isa} >= %{pcre2_buildver} @@ -628,7 +638,14 @@ License.  Summary:        A module for PHP applications that use OCI8 databases  # All files licensed under PHP version 3.01  License:        PHP-3.01 +%ifarch aarch64 +BuildRequires:  oracle-instantclient%{oraclever}-devel +# Should requires libclntsh.so.19.1()(aarch-64), but it's not provided by Oracle RPM. +Requires:       libclntsh.so.%{oraclelib} +AutoReq:        0 +%else  BuildRequires:  oracle-instantclient-devel >= %{oraclever} +%endif  Requires:       %{?scl_prefix}php-pdo%{?_isa} = %{version}-%{release}  Provides:       %{?scl_prefix}php_database  Provides:       %{?scl_prefix}php-pdo_oci @@ -637,8 +654,6 @@ Obsoletes:      %{?scl_prefix}php-pecl-oci8         <= %{oci8ver}  Conflicts:      %{?scl_prefix}php-pecl-oci8         >  %{oci8ver}  Provides:       %{?scl_prefix}php-pecl(oci8)         = %{oci8ver}  Provides:       %{?scl_prefix}php-pecl(oci8)%{?_isa} = %{oci8ver} -# Should requires libclntsh.so.18.3, but it's not provided by Oracle RPM. -AutoReq:        0  %description oci8  The %{?scl_prefix}php-oci8 packages provides the OCI8 extension version %{oci8ver} @@ -648,13 +663,9 @@ The extension is linked with Oracle client libraries %{oraclever}  (Oracle Instant Client).  For details, see Oracle's note  "Oracle Client / Server Interoperability Support" (ID 207303.1). -You must install libclntsh.so.%{oraclelib} to use this package, provided -in the database installation, or in the free Oracle Instant Client -available from Oracle. - -Notice: -- %{?scl_prefix}php-oci8 provides oci8 and pdo_oci extensions from php sources. -- %{?scl_prefix}php-pecl-oci8 only provides oci8 extension. +You must install libclntsh.so.%{oraclelib} to use this package, +provided by Oracle Instant Client RPM available from Oracle on: +https://www.oracle.com/database/technologies/instant-client/downloads.html  Documentation is at http://php.net/oci8 and http://php.net/pdo_oci  %endif @@ -1247,8 +1258,8 @@ build --libdir=%{_libdir}/php \        --with-mysqli=shared,mysqlnd \        --with-mysql-sock=%{mysql_sock} \  %if %{with oci8} -      --with-oci8=shared,instantclient,%{_root_libdir}/oracle/%{oraclever}/client64/lib,%{oraclever} \ -      --with-pdo-oci=shared,instantclient,%{_root_libdir}/oracle/%{oraclever}/client64/lib,%{oraclever} \ +         --with-oci8=shared,instantclient,%{_root_prefix}/lib/oracle/%{oracledir}/client64/lib,%{oraclever} \ +      --with-pdo-oci=shared,instantclient,%{_root_prefix}/lib/oracle/%{oracledir}/client64/lib,%{oraclever} \  %endif  %if %{with firebird}        --with-pdo-firebird=shared \ @@ -1851,6 +1862,13 @@ fi  %changelog +* Tue Sep 26 2023 Remi Collet <remi@remirepo.net> - 8.2.11-1 +- Update to 8.2.11 - http://www.php.net/releases/8_2_11.php + +* Thu Sep 21 2023 Remi Collet <remi@remirepo.net> - 8.2.11~RC1-2 +- use oracle client library version 19.19 on aarch64 +- use official Oracle Instant Client RPM +  * Tue Sep 12 2023 Remi Collet <remi@remirepo.net> - 8.2.11~RC1-1  - update to 8.2.11RC1  - use oracle client library version 21.11 | 
