%bcond_without alternatives # use alternatives system to select default phar and php-fpm
%bcond_with default_php # build this PHP as default PHP in system (disables alternatives)
# - General options:
-%bcond_with embed # disable building Embedded API
-%bcond_with gcov # Enable Code coverage reporting
-%bcond_without kerberos5 # without Kerberos5 support
+%bcond_with embed # Embedded API
+%bcond_with gcov # Code coverage reporting
+%bcond_without kerberos5 # Kerberos5 support
%bcond_with systemtap # systemtap/DTrace support
%bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
%bcond_with zts # Zend Thread Safety
%bcond_with debug # Zend Debug Build
# - SAPI
-%bcond_without apache2 # disable building Apache 2.x SAPI
-%bcond_without cgi # disable CGI/FCGI SAPI
-%bcond_without fpm # disable FPM SAPI
-%bcond_without litespeed # build litespeed SAPI
-%bcond_without phpdbg # disable phpdbg SAPI
+%bcond_without apache2 # building Apache 2.x SAPI
+%bcond_without cgi # CGI/FCGI SAPI
+%bcond_without fpm # FPM SAPI
+%bcond_without litespeed # litespeed SAPI
+%bcond_without phpdbg # phpdbg SAPI
# - Extensions
-%bcond_without bcmath # without bcmath extension module
-%bcond_without bzip2 # without bz2 extension module
-%bcond_without calendar # without calendar extension module
-%bcond_without ctype # without ctype extension module
-%bcond_without curl # without CURL extension module
-%bcond_without dba # without DBA extension module
-%bcond_without dom # without DOM extension module
-%bcond_without enchant # without Enchant extension module
-%bcond_without exif # without EXIF extension module
-%bcond_without ffi # without FFI extension module
-%bcond_without fileinfo # without fileinfo extension module
-%bcond_without filter # without filter extension module
-%bcond_without ftp # without FTP extension module
-%bcond_without gd # without GD extension module
-%bcond_without gettext # without gettext extension module
-%bcond_without gmp # without gmp extension module
-%bcond_without iconv # without iconv extension module
-%bcond_without imap # without IMAP extension module
-%bcond_without intl # without Intl extension module
-%bcond_without ldap # without LDAP extension module
-%bcond_without mbstring # without mbstring extension module
-%bcond_without mhash # without mhash extension (supported by hash extension)
-%bcond_without mysqli # without mysqli support (Requires mysql >= 4.1)
-%bcond_without mysqlnd # without mysqlnd support in mysql related extensions
-%bcond_with oci # with Oracle oci8 extension module (BR: proprietary libs)
-%bcond_without odbc # without ODBC extension module
-%bcond_without opcache # without Enable Zend OPcache extension support
-%bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
-%bcond_without pcntl # without pcntl extension module
+%bcond_without bcmath # bcmath extension module
+%bcond_without bzip2 # bz2 extension module
+%bcond_without calendar # calendar extension module
+%bcond_without ctype # ctype extension module
+%bcond_without curl # CURL extension module
+%bcond_without dba # DBA extension module
+%bcond_without dom # DOM extension module
+%bcond_without enchant # Enchant extension module
+%bcond_without exif # EXIF extension module
+%bcond_without ffi # FFI extension module
+%bcond_without fileinfo # fileinfo extension module
+%bcond_without filter # filter extension module
+%bcond_without ftp # FTP extension module
+%bcond_without gd # GD extension module
+%bcond_without gettext # gettext extension module
+%bcond_without gmp # gmp extension module
+%bcond_without iconv # iconv extension module
+%bcond_without imap # IMAP extension module
+%bcond_without intl # Intl extension module
+%bcond_without ldap # LDAP extension module
+%bcond_without mbstring # mbstring extension module
+%bcond_without mhash # mhash extension (supported by hash extension)
+%bcond_without mysqli # mysqli support (Requires mysql >= 4.1)
+%bcond_without mysqlnd # mysqlnd support in mysql related extensions
+%bcond_with oci # Oracle oci8 extension module (BR: proprietary libs)
+%bcond_without odbc # ODBC extension module
+%bcond_without opcache # Enable Zend OPcache extension support
+%bcond_without openssl # OpenSSL support and OpenSSL extension (module)
+%bcond_without pcntl # pcntl extension module
%bcond_without pcre_jit # PCRE JIT
-%bcond_without pdo # without PDO extension module
-%bcond_without pdo_dblib # without PDO dblib extension module
-%bcond_without pdo_firebird # without PDO Firebird extension module
-%bcond_without pdo_mysql # without PDO MySQL extension module
+%bcond_without pdo # PDO extension module
+%bcond_without pdo_dblib # PDO dblib extension module
+%bcond_without pdo_firebird # PDO Firebird extension module
+%bcond_without pdo_mysql # PDO MySQL extension module
%bcond_without pdo_oci # without PDO oci extension module
-%bcond_without pdo_odbc # without PDO ODBC extension module
-%bcond_without pdo_pgsql # without PDO pgsql extension module
-%bcond_without pdo_sqlite # without PDO SQLite extension module
-%bcond_without pgsql # without PostgreSQL extension module
-%bcond_without phar # without Phar extension module
-%bcond_without posix # without POSIX extension module
-%bcond_without pspell # without pspell extension module
-%bcond_without readline # without readline extension module
-%bcond_without session # without session extension module
-%bcond_without snmp # without SNMP extension module
-%bcond_without sodium # without sodium extension module
-%bcond_without sqlite2 # without SQLite extension module
-%bcond_without sqlite3 # without SQLite3 extension module
-%bcond_without tidy # without Tidy extension module
-%bcond_without xsl # without xsl extension module
-%bcond_without zip # without zip extension module
+%bcond_without pdo_odbc # PDO ODBC extension module
+%bcond_without pdo_pgsql # PDO pgsql extension module
+%bcond_without pdo_sqlite # PDO SQLite extension module
+%bcond_without pgsql # PostgreSQL extension module
+%bcond_without phar # Phar extension module
+%bcond_without posix # POSIX extension module
+%bcond_without pspell # pspell extension module
+%bcond_without readline # readline extension module
+%bcond_without session # session extension module
+%bcond_without snmp # SNMP extension module
+%bcond_without sodium # sodium extension module
+%bcond_without sqlite2 # SQLite extension module
+%bcond_without sqlite3 # SQLite3 extension module
+%bcond_without tidy # Tidy extension module
+%bcond_without xsl # xsl extension module
+%bcond_without zip # zip extension module
# extensions options
%bcond_without argon2 # argon2 password hashing
-%bcond_without instantclient # build Oracle oci8 extension module against oracle-instantclient package
+%bcond_without instantclient # Oracle oci8 extension module against oracle-instantclient package
%bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
-%bcond_with mm # without mm support for session storage
-%bcond_without system_gd # system gd
-%bcond_without webp # Without WebP support in GD extension (imagecreatefromwebp)
+%bcond_with mm # mm support for session storage
+%bcond_without system_gd # system gd library
+%bcond_without avif # AVIF support in GD extension (imagecreatefromavif and imageavif)
+%bcond_without webp # WebP support in GD extension (imagecreatefromwebp)
%define apxs2 /usr/sbin/apxs
%undefine with_pdo_oci
%endif
-%ifnarch %{ix86} %{x8664} x32
-# unsupported, see sapi/cgi/fpm/fpm_atomic.h
+%ifnarch %{ix86} %{x8664} x32 %{arm} aarch64 sparcv9 sparc64
+# unsupported, see sapi/fpm/fpm/fpm_atomic.h
%undefine with_fpm
%endif
%undefine with_pdo_sqlite
%endif
-%define orgname php
-%define ver_suffix 80
-%define php_suffix %{!?with_default_php:%{ver_suffix}}
+%define orgname php
+%define ver_suffix 82
+%define php_suffix %{!?with_default_php:%{ver_suffix}}
+%define subver %{nil}
+%define rel 1
Summary: PHP: Hypertext Preprocessor
Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
Summary(pl.UTF-8): Język skryptowy PHP
Summary(ru.UTF-8): PHP - язык препроцессирования HTML-файлов, выполняемый на сервере
Summary(uk.UTF-8): PHP - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
-Version: 8.0.7
-Release: 2
+Version: 8.2.9
+Release: %{rel}
Epoch: 4
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
License: PHP 3.01 and Zend and BSD
Group: Libraries
-Source0: https://php.net/distributions/%{orgname}-%{version}.tar.xz
-# Source0-md5: ee5d675f8e9d58fcdc4c887d3d9e8412
+Source0: https://www.php.net/distributions/%{orgname}-%{version}.tar.xz
+# Source0-md5: 897c9c416663d03e516a68cb86b598f3
+#Source0: https://downloads.php.net/~pierrick/php-%{version}%{subver}.tar.xz
Source1: opcache.ini
Source2: %{orgname}-mod_php.conf
Source3: %{orgname}-cgi-fcgi.ini
Patch2: %{orgname}-mail.patch
Patch3: %{orgname}-link-libs.patch
Patch4: intl-stdc++.patch
+# https://bugs.php.net/bug.php?id=79589
+Patch5: openssl.patch
Patch7: %{orgname}-sapi-ini-file.patch
-Patch9: libtool-tag.patch
Patch10: %{orgname}-ini.patch
Patch11: embed.patch
Patch14: %{orgname}-no_pear_install.patch
# https://bugs.php.net/bug.php?id=68344
Patch68: php-mysql-ssl-context.patch
Patch71: libdb-info.patch
-URL: http://php.net/
+URL: https://www.php.net/
%{?with_pdo_firebird:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
%{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1.4d
BuildRequires: bison >= 3.0.0
BuildRequires: bzip2-devel >= 1.0.0
-%{?with_curl:BuildRequires: curl-devel >= 7.15.5}
+%{?with_opcache:BuildRequires: capstone-devel >= 3.0.0}
+%{?with_curl:BuildRequires: curl-devel >= 7.29.0}
BuildRequires: cyrus-sasl-devel >= 2
BuildRequires: db-devel >= 4.0
BuildRequires: elfutils-devel
-%{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
+%{?with_enchant:BuildRequires: enchant2-devel}
%if %{with pdo_dblib}
BuildRequires: freetds-devel >= 0.82
%endif
%{?with_gcov:BuildRequires: lcov}
%{?with_fpm:BuildRequires: libapparmor-devel}
%{?with_argon2:BuildRequires: libargon2-devel >= 20161029}
-%{?with_ffi:BuildRequires: libffi-devel}
+%{?with_avif:BuildRequires: libavif-devel >= 0.8.2}
+%{?with_ffi:BuildRequires: libffi-devel >= 7:3.0.11}
%{?with_intl:BuildRequires: libicu-devel >= 50.1}
BuildRequires: libjpeg-devel
BuildRequires: libltdl-devel >= 1.4
%{?with_sodium:BuildRequires: libsodium-devel >= 1.0.8}
%{?with_intl:BuildRequires: libstdc++-devel}
BuildRequires: libtool >= 2:2.4.6
-%{?with_webp:BuildRequires: libwebp-devel}
-BuildRequires: libxml2-devel >= 1:2.7.6-4
+%{?with_webp:BuildRequires: libwebp-devel >= 0.2.0}
+BuildRequires: libxml2-devel >= 1:2.9.0
%{?with_xsl:BuildRequires: libxslt-devel >= 1.1.0}
-%{?with_zip:BuildRequires: libzip-devel >= 1.3.1}
+%{?with_zip:BuildRequires: libzip-devel >= 1.7.1}
%{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
%{?with_mm:BuildRequires: mm-devel >= 1.3.0}
%{!?with_mysqli:BuildRequires: mysql-devel >= 4.1.13}
BuildRequires: oniguruma-devel
%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
%if %{with openssl} || %{with ldap}
-BuildRequires: openssl-devel >= 1.0.1
+BuildRequires: openssl-devel >= 1.0.2
%endif
%{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
BuildRequires: pam-devel
%{?with_pgsql:BuildRequires: postgresql-devel}
BuildRequires: readline-devel
BuildRequires: rpm >= 4.4.9-56
-BuildRequires: rpm-build >= 4.4.0
+BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.566
BuildRequires: sed >= 4.0
%if %{with sqlite3} || %{with pdo_sqlite}
-BuildRequires: sqlite3-devel >= 3.7.4
+BuildRequires: sqlite3-devel >= 3.7.7
%endif
%{?with_systemtap:BuildRequires: systemtap-sdt-devel}
BuildRequires: tar >= 1:1.22
%define _sysconfdir %{php_sysconfdir}
# must be in sync with source. extra check ensuring that it is so is done in %%build
-%define php_api_version 20200930
+%define php_api_version 20220829
%define zend_module_api %{php_api_version}
%define zend_extension_api 4%{zend_module_api}
%define php_pdo_api_version 20170320
%define jsonver %{version}
%define pharver %{version}
%define sqlite3ver %{version}
-%define zipver 1.19.2
+%define zipver 1.21.1
%define phpdbgver %{version}
%define sodiumver %{version}
Group: Development/Languages/PHP
Requires: %{name}-cli = %{epoch}:%{version}-%{release}
Obsoletes: php-program < 4:5.3.28-7
-Obsoletes: php4-program
-Obsoletes: php52-program
-Obsoletes: php53-program
-Obsoletes: php54-program
-Obsoletes: php55-program
-Obsoletes: php56-program
-Obsoletes: php70-program
-Obsoletes: php71-program
-Obsoletes: php72-program
-Obsoletes: php73-program
-Obsoletes: php74-program
+Obsoletes: php4-program < 3:5
+Obsoletes: php52-program < 4:5.3
+Obsoletes: php53-program < 4:5.4
+Obsoletes: php54-program < 4:5.5
+Obsoletes: php55-program < 4:5.6
+Obsoletes: php56-program < 4:7
+Obsoletes: php70-program < 4:7.1
+Obsoletes: php71-program < 4:7.2
+Obsoletes: php72-program < 4:7.3
+Obsoletes: php73-program < 4:7.4
+Obsoletes: php74-program < 4:8
+Obsoletes: php80-program < 4:8.1
+Obsoletes: php81-program < 4:8.2
%description program
Package providing /usr/bin/php symlink to PHP CLI.
Summary: PHP FastCGI Process Manager
Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
Group: Development/Languages/PHP
-URL: http://php-fpm.org/
+URL: https://php-fpm.org/
Requires(post,preun): /sbin/chkconfig
Requires(postun): /usr/sbin/userdel
Requires(pre): /bin/id
Requires: shtool
Provides: php-devel = %{epoch}:%{version}-%{release}
Obsoletes: php-devel
-Obsoletes: php-pear-devel
-Obsoletes: php4-devel
-Obsoletes: php52-devel
-Obsoletes: php53-devel
-Obsoletes: php54-devel
-Obsoletes: php55-devel
-Obsoletes: php56-devel
-Obsoletes: php70-devel
-Obsoletes: php71-devel
-Obsoletes: php73-devel
-Obsoletes: php74-devel
+Obsoletes: php-pear-devel < 3:4.3.0-1
+Obsoletes: php4-devel < 3:5
+Obsoletes: php52-devel < 4:5.3
+Obsoletes: php53-devel < 4:5.4
+Obsoletes: php54-devel < 4:5.5
+Obsoletes: php55-devel < 4:5.6
+Obsoletes: php56-devel < 4:7
+Obsoletes: php70-devel < 4:7.1
+Obsoletes: php71-devel < 4:7.2
+Obsoletes: php72-devel < 4:7.3
+Obsoletes: php73-devel < 4:7.4
+Obsoletes: php74-devel < 4:8
+Obsoletes: php80-devel < 4:8.1
+Obsoletes: php81-devel < 4:8.2
%description devel
The php-devel package lets you compile dynamic extensions to PHP.
Summary: bcmath extension module for PHP
Summary(pl.UTF-8): Moduł bcmath dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.bc.php
+URL: https://www.php.net/manual/en/book.bc.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(bcmath)
Obsoletes: php-bcmath < 4:5.3.28-7
Summary: Bzip2 extension module for PHP
Summary(pl.UTF-8): Moduł bzip2 dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.bzip2.php
+URL: https://www.php.net/manual/en/book.bzip2.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: bzip2-libs >= 1.0.0
Provides: php(bz2) = %{bz2ver}
Summary: Calendar extension module for PHP
Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.calendar.php
+URL: https://www.php.net/manual/en/book.calendar.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(calendar)
Obsoletes: php-calendar < 4:5.3.28-7
Summary: ctype extension module for PHP
Summary(pl.UTF-8): Moduł ctype dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.ctype.php
+URL: https://www.php.net/manual/en/book.ctype.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(ctype)
Obsoletes: php-ctype < 4:5.3.28-7
Summary: curl extension module for PHP
Summary(pl.UTF-8): Moduł curl dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.curl.php
+URL: https://www.php.net/manual/en/book.curl.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
-Requires: curl-libs >= 7.12.0
+Requires: curl-libs >= 7.29.0
Provides: php(curl)
Obsoletes: php-curl < 4:5.3.28-7
Summary: DBA extension module for PHP
Summary(pl.UTF-8): Moduł DBA dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.dba.php
+URL: https://www.php.net/manual/en/book.dba.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(dba)
Obsoletes: php-dba < 4:5.3.28-7
Summary: DOM extension module for PHP
Summary(pl.UTF-8): Moduł DOM dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.dom.php
+URL: https://www.php.net/manual/en/book.dom.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(dom)
# it has some compatibility functions
Summary: libenchant binder
Summary(pl.UTF-8): dowiązania biblioteki libenchant
Group: Libraries
-URL: http://php.net/manual/en/book.enchant.php
+URL: https://www.php.net/manual/en/book.enchant.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(enchant) = %{enchantver}
Obsoletes: php-enchant < 4:5.3.28-7
Summary: exif extension module for PHP
Summary(pl.UTF-8): Moduł exif dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.exif.php
+URL: https://www.php.net/manual/en/book.exif.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(exif)
Obsoletes: php-exif < 4:5.3.28-7
Summary: libmagic bindings
Summary(pl.UTF-8): Wiązania do libmagic
Group: Libraries
-URL: http://php.net/manual/en/book.fileinfo.php
+URL: https://www.php.net/manual/en/book.fileinfo.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
Provides: php(fileinfo) = %{fileinfover}
Obsoletes: php-fileinfo < 4:5.3.28-7
-Obsoletes: php-mime_magic
+Obsoletes: php-mime_magic < 4:5.3
Obsoletes: php-pecl-fileinfo < %{fileinfover}
%description fileinfo
Summary: Extension for safely dealing with input parameters
Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
Group: Libraries
-URL: http://php.net/manual/en/book.filter.php
+URL: https://www.php.net/manual/en/book.filter.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
Provides: php(filter)
Obsoletes: php-filter < 4:5.3.28-7
-Obsoletes: php-pecl-filter
+Obsoletes: php-pecl-filter < 0.12
%description filter
We all know that you should always check input variables, but PHP does
Summary: FTP extension module for PHP
Summary(pl.UTF-8): Moduł FTP dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.ftp.php
+URL: https://www.php.net/manual/en/book.ftp.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(ftp)
Obsoletes: php-ftp < 4:5.3.28-7
Summary: GD extension module for PHP
Summary(pl.UTF-8): Moduł GD dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.image.php
+URL: https://www.php.net/manual/en/book.image.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
%if %{with system_gd}
Requires: gd >= 2.1
Summary: gettext extension module for PHP
Summary(pl.UTF-8): Moduł gettext dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.gettext.php
+URL: https://www.php.net/manual/en/book.gettext.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(gettext)
Obsoletes: php-gettext < 4:5.3.28-7
Summary: gmp extension module for PHP
Summary(pl.UTF-8): Moduł gmp dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.gmp.php
+URL: https://www.php.net/manual/en/book.gmp.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: gmp >= 4.2
Provides: php(gmp)
Summary: iconv extension module for PHP
Summary(pl.UTF-8): Moduł iconv dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.iconv.php
+URL: https://www.php.net/manual/en/book.iconv.php
Requires: %{_libdir}/gconv
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: iconv
Summary(pl.UTF-8): Moduł IMAP dla PHP
Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
Group: Libraries
-URL: http://php.net/manual/en/book.imap.php
+URL: https://www.php.net/manual/en/book.imap.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
Requires: imap-lib >= 1:2007e-2
Summary: Internationalization extension (ICU wrapper)
Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
Group: Libraries
-URL: http://php.net/intl
+URL: https://www.php.net/intl
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(intl) = %{intlver}
Obsoletes: php-intl < 4:5.3.28-7
Summary: PHP C extension for JSON serialization
Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
Group: Libraries
-URL: http://php.net/manual/en/book.json.php
+URL: https://www.php.net/manual/en/book.json.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(json) = %{jsonver}
Obsoletes: php-json < 4:5.3.28-7
Summary(pl.UTF-8): Moduł LDAP dla PHP
Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
Group: Libraries
-URL: http://php.net/manual/en/book.ldap.php
+URL: https://www.php.net/manual/en/book.ldap.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(ldap)
Obsoletes: php-ldap < 4:5.3.28-7
Summary: mbstring extension module for PHP
Summary(pl.UTF-8): Moduł mbstring dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.mbstring.php
+URL: https://www.php.net/manual/en/book.mbstring.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(mbstring)
Obsoletes: php-mbstring < 4:5.3.28-7
Summary: MySQLi module for PHP
Summary(pl.UTF-8): Moduł MySQLi dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.mysqli.php
+URL: https://www.php.net/manual/en/book.mysqli.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
%{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
Requires: %{name}-spl = %{epoch}:%{version}-%{release}
Summary: MySQL Native Client Driver for PHP
Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.mysqlnd.php
+URL: https://www.php.net/manual/en/book.mysqlnd.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(mysqlnd)
Obsoletes: php-mysqlnd < 4:5.3.28-7
Summary: Oracle 8+ database module for PHP
Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.oci8.php
+URL: https://www.php.net/manual/en/book.oci8.php
%{?requires_php_extension}
Provides: php(oci8)
Obsoletes: php-oci8 < 4:5.3.28-7
Summary(pl.UTF-8): Moduł ODBC dla PHP
Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
Group: Libraries
-URL: http://php.net/manual/en/book.uodbc.php
+URL: https://www.php.net/manual/en/book.uodbc.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: unixODBC >= 2.1.1-3
Provides: php(odbc)
Summary: OpenSSL extension module for PHP
Summary(pl.UTF-8): Moduł OpenSSL dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.openssl.php
+URL: https://www.php.net/manual/en/book.openssl.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(openssl)
Obsoletes: php-openssl < 4:5.3.28-7
Summary: Process Control extension module for PHP
Summary(pl.UTF-8): Moduł Process Control dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.pcntl.php
+URL: https://www.php.net/manual/en/book.pcntl.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(pcntl)
Obsoletes: php-pcntl < 4:5.3.28-7
Summary: PHP Data Objects (PDO)
Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
Group: Libraries
-URL: http://php.net/manual/en/book.pdo.php
+URL: https://www.php.net/manual/en/book.pdo.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-spl = %{epoch}:%{version}-%{release}
Provides: %{name}(PDO_API) = %{php_pdo_api_version}
Provides: php(pdo)
Obsoletes: php-pdo < 4:5.3.28-7
-Obsoletes: php-pecl-PDO
+Obsoletes: php-pecl-PDO < 1.1
%description pdo
This is a dynamic shared object (DSO) for PHP that will add PDO
Summary: PHP Data Objects (PDO) FreeTDS support
Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
Group: Libraries
-URL: http://php.net/manual/en/ref.pdo-dblib.php
+URL: https://www.php.net/manual/en/ref.pdo-dblib.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
Provides: php(pdo_dblib)
Summary: PHP Data Objects (PDO) Firebird support
Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
Group: Libraries
-URL: http://php.net/manual/en/ref.pdo-firebird.php
+URL: https://www.php.net/manual/en/ref.pdo-firebird.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
Provides: php(pdo-firebird)
Provides: php(pdo_firebird)
Obsoletes: php-pdo-firebird < 4:5.3.28-7
-Obsoletes: php-pecl-PDO_FIREBIRD
+Obsoletes: php-pecl-PDO_FIREBIRD < 0.3
%description pdo-firebird
This is a dynamic shared object (DSO) for PHP that will add PDO
Summary: PHP Data Objects (PDO) MySQL support
Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
Group: Libraries
-URL: http://php.net/manual/en/ref.pdo-mysql.php
+URL: https://www.php.net/manual/en/ref.pdo-mysql.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
%{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
Provides: php(pdo-mysql)
Provides: php(pdo_mysql)
Obsoletes: php-pdo-mysql < 4:5.3.28-7
-Obsoletes: php-pecl-PDO_MYSQL
+Obsoletes: php-pecl-PDO_MYSQL < 1.1
%description pdo-mysql
This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
Summary: PHP Data Objects (PDO) Oracle support
Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
Group: Libraries
-URL: http://php.net/manual/en/ref.pdo-oci.php
+URL: https://www.php.net/manual/en/ref.pdo-oci.php
%{?requires_php_extension}
%{?requires_php_pdo_module}
Provides: php(pdo-oci)
Provides: php(pdo_oci)
Obsoletes: php-pdo-oci < 4:5.3.28-7
-Obsoletes: php-pecl-PDO_OCI
+Obsoletes: php-pecl-PDO_OCI < 1.1
%description pdo-oci
This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
Summary: PHP Data Objects (PDO) ODBC support
Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
Group: Libraries
-URL: http://php.net/manual/en/ref.pdo-odbc.php
+URL: https://www.php.net/manual/en/ref.pdo-odbc.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
Provides: php(pdo-odbc)
Provides: php(pdo_odbc)
Obsoletes: php-pdo-odbc < 4:5.3.28-7
-Obsoletes: php-pecl-PDO_ODBC
+Obsoletes: php-pecl-PDO_ODBC < 1.1
%description pdo-odbc
This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
Summary: PHP Data Objects (PDO) PostgreSQL support
Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
Group: Libraries
-URL: http://php.net/manual/en/ref.pdo-pgsql.php
+URL: https://www.php.net/manual/en/ref.pdo-pgsql.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
Provides: php(pdo-pgsql)
Summary: PHP Data Objects (PDO) SQLite support
Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
Group: Libraries
-URL: http://php.net/manual/en/ref.pdo-sqlite.php
+URL: https://www.php.net/manual/en/ref.pdo-sqlite.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
Provides: php(pdo-sqlite)
Provides: php(pdo_sqlite)
Obsoletes: php-pdo-sqlite < 4:5.3.28-7
-Obsoletes: php-pecl-PDO_SQLITE
+Obsoletes: php-pecl-PDO_SQLITE < 1.1
%description pdo-sqlite
This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
Summary: PostgreSQL database module for PHP
Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.pgsql.php
+URL: https://www.php.net/manual/en/book.pgsql.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(pgsql)
Obsoletes: php-pgsql < 4:5.3.28-7
Summary: Phar archive module for PHP
Summary(pl.UTF-8): Moduł phar dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.phar.php
+URL: https://www.php.net/manual/en/book.phar.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-hash = %{epoch}:%{version}-%{release}
Requires: %{name}-spl = %{epoch}:%{version}-%{release}
Summary: POSIX extension module for PHP
Summary(pl.UTF-8): Moduł POSIX dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.posix.php
+URL: https://www.php.net/manual/en/book.posix.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(posix)
Obsoletes: php-posix < 4:5.3.28-7
Summary: pspell extension module for PHP
Summary(pl.UTF-8): Moduł pspell dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.pspell.php
+URL: https://www.php.net/manual/en/book.pspell.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(pspell)
Obsoletes: php-pspell < 4:5.3.28-7
Summary: readline extension module for PHP
Summary(pl.UTF-8): Moduł readline dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.readline.php
+URL: https://www.php.net/manual/en/book.readline.php
Requires: %{name}-cli = %{epoch}:%{version}-%{release}
Provides: php(readline)
Obsoletes: php-readline < 4:5.3.28-7
Summary: session extension module for PHP
Summary(pl.UTF-8): Moduł session dla PHP
Group: Libraries
+URL: https://www.php.net/manual/en/book.session.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-spl = %{epoch}:%{version}-%{release}
Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
Summary: Shared Memory Operations extension module for PHP
Summary(pl.UTF-8): Moduł shmop dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.shmop.php
+URL: https://www.php.net/manual/en/book.shmop.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(shmop)
Obsoletes: php-shmop < 4:5.3.28-7
Summary: Simple XML extension module for PHP
Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.simplexml.php
+URL: https://www.php.net/manual/en/book.simplexml.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-spl = %{epoch}:%{version}-%{release}
Provides: php(simplexml)
Summary: SNMP extension module for PHP
Summary(pl.UTF-8): Moduł SNMP dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.snmp.php
+URL: https://www.php.net/manual/en/book.snmp.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
Requires: %{name}-spl = %{epoch}:%{version}-%{release}
Summary: soap extension module for PHP
Summary(pl.UTF-8): Moduł soap dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.soap.php
+URL: https://www.php.net/manual/en/book.soap.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(soap)
Obsoletes: php-soap < 4:5.3.28-7
Summary: sockets extension module for PHP
Summary(pl.UTF-8): Moduł socket dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.sockets.php
+URL: https://www.php.net/manual/en/book.sockets.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(sockets)
Obsoletes: php-sockets < 4:5.3.28-7
Summary: SQLite3 extension module for PHP
Summary(pl.UTF-8): Moduł SQLite3 dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.sqlite3.php
+URL: https://www.php.net/manual/en/book.sqlite3.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(sqlite3) = %{sqlite3ver}
Obsoletes: php-sqlite3 < 4:5.3.28-7
Summary: SysV msg extension module for PHP
Summary(pl.UTF-8): Moduł SysV msg dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.sem.php
+URL: https://www.php.net/manual/en/book.sem.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(sysvmsg)
Obsoletes: php-sysvmsg < 4:5.3.28-7
Summary: SysV sem extension module for PHP
Summary(pl.UTF-8): Moduł SysV sem dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.sem.php
+URL: https://www.php.net/manual/en/book.sem.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(sysvsem)
Obsoletes: php-sysvsem < 4:5.3.28-7
Summary: SysV shm extension module for PHP
Summary(pl.UTF-8): Moduł SysV shm dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.sem.php
+URL: https://www.php.net/manual/en/book.sem.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(sysvshm)
Obsoletes: php-sysvshm < 4:5.3.28-7
Summary: Tidy extension module for PHP
Summary(pl.UTF-8): Moduł Tidy dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.tidy.php
+URL: https://www.php.net/manual/en/book.tidy.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: tidy
Provides: php(tidy)
Summary: tokenizer extension module for PHP
Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.tokenizer.php
+URL: https://www.php.net/manual/en/book.tokenizer.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(tokenizer)
Obsoletes: php-tokenizer < 4:5.3.28-7
Summary: XML extension module for PHP
Summary(pl.UTF-8): Moduł XML dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.xml.php
+URL: https://www.php.net/manual/en/book.xml.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(xml)
Obsoletes: php-xml < 4:5.3.28-7
Summary: XML Reader extension module for PHP
Summary(pl.UTF-8): Moduł XML Reader dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.xmlreader.php
+URL: https://www.php.net/manual/en/book.xmlreader.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-dom = %{epoch}:%{version}-%{release}
Provides: php(xmlreader)
Summary: Fast, non-cached, forward-only means to write XML data
Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
Group: Libraries
-URL: http://php.net/manual/en/book.xmlwriter.php
+URL: https://www.php.net/manual/en/book.xmlwriter.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(xmlwriter)
-Obsoletes: php-pecl-xmlwriter
+Obsoletes: php-pecl-xmlwriter < 2.1
Obsoletes: php-xmlwriter < 4:5.3.28-7
%description xmlwriter
Summary: xsl extension module for PHP
Summary(pl.UTF-8): Moduł xsl dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.xsl.php
+URL: https://www.php.net/manual/en/book.xsl.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: %{name}-dom = %{epoch}:%{version}-%{release}
Requires: libxslt >= 1.1.0
Summary: Zip management extension
Summary(pl.UTF-8): Zarządzanie archiwami zip
Group: Libraries
-URL: http://php.net/manual/en/book.zip.php
+URL: https://www.php.net/manual/en/book.zip.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
-Requires: libzip >= 1.3.1
+Requires: libzip >= 1.7.1
Provides: php(zip) = %{zipver}
Obsoletes: php-pecl-zip < %{zipver}
Obsoletes: php-zip < 4:5.3.28-7
Summary: Zlib extension module for PHP
Summary(pl.UTF-8): Moduł zlib dla PHP
Group: Libraries
-URL: http://php.net/manual/en/book.zlib.php
+URL: https://www.php.net/manual/en/book.zlib.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Provides: php(zlib)
Obsoletes: php-zlib < 4:5.3.28-7
#%patch2 -p1 -b .mail
%patch3 -p1
%patch4 -p1
+#%patch5 -p1 resolved upstream?
%patch7 -p1 -b .sapi-ini-file
-%patch9 -p1
%patch10 -p1 -b .ini
%patch14 -p1
%patch18 -p1
#%patch68 -p1 DROP or update to 7.0 APIs
%patch71 -p1 -b .libdb-info
-sed -E -i -e '1s,#!\s*/usr/bin/env\s+(.*),#!%{__bindir}\1,' \
+%{__sed} -i -e '1s,/usr/bin/env php,%{_bindir}/php,' \
ext/ext_skel.php \
run-tests.php
#%{__rm} -r ext/gd/libgd
#%{__rm} -r ext/mbstring/libmbfl
#%{__rm} -r ext/pcre/pcre2lib
-#%{__rm} -r ext/soap/interop
-#%{__rm} -r ext/zip/lib
%{__rm} ext/date/lib/timezonedb.h
cp -pf Zend/LICENSE{,.Zend}
%{__enable_disable pcntl pcntl shared} \
%{__enable_disable pdo pdo shared} \
--enable-xmlwriter=shared \
+ %{?with_avif:--with-avif} \
%if %{with fpm}
--with-fpm-user=http \
--with-fpm-group=http \
%if %{with pdo_oci}
%files oci8
%defattr(644,root,root,755)
-%doc ext/oci8/{CREDITS,README}
+%doc ext/oci8/{CREDITS,README.md}
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_oci8.ini
%attr(755,root,root) %{php_extensiondir}/oci8.so
%endif
%{php_data_dir}/tests/php/run-test
%{php_data_dir}/tests/php/security
%{php_data_dir}/tests/php/strings
-%{php_data_dir}/tests/php/quicktester.inc
%attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
%if %{with tidy}