343cbc
# RHEL / Fedora spec file for php
343cbc
#
343cbc
# License: MIT
343cbc
# http://opensource.org/licenses/MIT
343cbc
#
343cbc
# Please preserve changelog entries
343cbc
#
343cbc
343cbc
# API/ABI check
343cbc
%global apiver      20190902
343cbc
%global zendver     20190902
343cbc
%global pdover      20170320
343cbc
343cbc
# we don't want -z defs linker flag
343cbc
%undefine _strict_symbol_defs_build
343cbc
343cbc
# Adds -z now to the linker flags
343cbc
%global _hardened_build 1
343cbc
343cbc
# version used for php embedded library soname
343cbc
%global embed_version 7.4
343cbc
343cbc
%global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock)
343cbc
343cbc
# Regression tests take a long time, you can skip 'em with this
343cbc
#global runselftest 0
343cbc
%{!?runselftest: %global runselftest 1}
343cbc
343cbc
# Use the arch-specific mysql_config binary to avoid mismatch with the
343cbc
# arch detection heuristic used by bindir/mysql_config.
343cbc
%global mysql_config %{_libdir}/mysql/mysql_config
343cbc
343cbc
# needed at srpm build time, when httpd-devel not yet installed
343cbc
%{!?_httpd_mmn:        %{expand: %%global _httpd_mmn        %%(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}}
343cbc
343cbc
%global with_modphp   1
343cbc
%if 0%{?fedora}
343cbc
%global with_zts      1
343cbc
%global with_firebird 1
343cbc
%global with_imap     1
343cbc
%global with_freetds  1
343cbc
%global with_sodium   1
343cbc
%global with_pspell   1
343cbc
%global with_lmdb     1
343cbc
%global with_tidy     1
343cbc
%else
343cbc
%global with_zts      0
343cbc
%global with_firebird 0
343cbc
%global with_imap     0
343cbc
%global with_freetds  0
343cbc
%global with_sodium   0
343cbc
%global with_pspell   0
343cbc
%global with_lmdb     0
343cbc
%global with_tidy     0
343cbc
%endif
343cbc
d2b0f3
%global upver        7.4.19
343cbc
#global rcver        RC1
343cbc
343cbc
Summary: PHP scripting language for creating dynamic web sites
343cbc
Name: php
343cbc
Version: %{upver}%{?rcver:~%{rcver}}
7b3418
Release: 4%{?dist}
343cbc
# All files licensed under PHP version 3.01, except
343cbc
# Zend is licensed under Zend
343cbc
# TSRM is licensed under BSD
343cbc
# main/snprintf.c, main/spprintf.c and main/rfc1867.c are ASL 1.0
343cbc
# ext/date/lib is MIT
343cbc
# Zend/zend_sort is NCSA
343cbc
License: PHP and Zend and BSD and MIT and ASL 1.0 and NCSA
343cbc
URL: http://www.php.net/
343cbc
343cbc
Source0: https://www.php.net/distributions/php-%{upver}%{?rcver}.tar.xz
343cbc
Source1: php.conf
343cbc
Source2: php.ini
343cbc
Source3: macros.php
343cbc
Source4: php-fpm.conf
343cbc
Source5: php-fpm-www.conf
343cbc
Source6: php-fpm.service
343cbc
Source7: php-fpm.logrotate
343cbc
Source9: php.modconf
343cbc
Source12: php-fpm.wants
343cbc
Source13: nginx-fpm.conf
343cbc
Source14: nginx-php.conf
343cbc
# See https://secure.php.net/gpg-keys.php
343cbc
Source20: https://www.php.net/distributions/php-keyring.gpg
343cbc
Source21: https://www.php.net/distributions/php-%{upver}%{?rcver}.tar.xz.asc
343cbc
# Configuration files for some extensions
343cbc
Source50: 10-opcache.ini
343cbc
Source51: opcache-default.blacklist
343cbc
Source53: 20-ffi.ini
343cbc
343cbc
# Build fixes
343cbc
Patch1: php-7.4.0-httpd.patch
343cbc
Patch5: php-7.2.0-includedir.patch
343cbc
Patch6: php-7.4.0-embed.patch
343cbc
Patch8: php-7.2.0-libdb.patch
343cbc
343cbc
# Functional changes
343cbc
Patch42: php-7.3.3-systzdata-v18.patch
343cbc
# See http://bugs.php.net/53436
343cbc
Patch43: php-7.4.0-phpize.patch
343cbc
# Use -lldap_r for OpenLDAP
343cbc
Patch45: php-7.4.0-ldap_r.patch
343cbc
# drop "Configure command" from phpinfo output
343cbc
Patch47: php-5.6.3-phpinfo.patch
343cbc
343cbc
# Upstream fixes (100+)
343cbc
343cbc
# Security fixes (200+)
c60418
Patch200: php-7.4.19-CVE-2021-21703.patch
c60418
Patch201: php-7.4.19-CVE-2021-21705.patch
122ed5
Patch202: php-CVE-2022-31626.patch
7b3418
Patch203: php-CVE-2022-31625.patch
343cbc
343cbc
# Fixes for tests (300+)
343cbc
# Factory is droped from system tzdata
343cbc
Patch300: php-5.6.3-datetests.patch
343cbc
343cbc
343cbc
BuildRequires: gnupg2
343cbc
BuildRequires: bzip2-devel
343cbc
BuildRequires: pkgconfig(libcurl)  >= 7.15.5
343cbc
BuildRequires: httpd-devel >= 2.0.46-1
343cbc
BuildRequires: pam-devel
343cbc
# to ensure we are using httpd with filesystem feature (see #1081453)
343cbc
BuildRequires: httpd-filesystem
343cbc
# to ensure we are using nginx with filesystem feature (see #1142298)
343cbc
BuildRequires: nginx-filesystem
343cbc
BuildRequires: libstdc++-devel
343cbc
# no pkgconfig to avoid compat-openssl10
343cbc
BuildRequires: openssl-devel >= 1.0.1
343cbc
BuildRequires: pkgconfig(sqlite3) >= 3.7.4
343cbc
BuildRequires: pkgconfig(zlib) >= 1.2.0.4
343cbc
BuildRequires: smtpdaemon
343cbc
BuildRequires: pkgconfig(libedit)
343cbc
BuildRequires: pkgconfig(libpcre2-8) >= 10.30
343cbc
BuildRequires: bzip2
343cbc
BuildRequires: perl-interpreter
343cbc
BuildRequires: autoconf
343cbc
BuildRequires: automake
343cbc
BuildRequires: gcc
343cbc
BuildRequires: gcc-c++
343cbc
BuildRequires: libtool
343cbc
BuildRequires: libtool-ltdl-devel
343cbc
BuildRequires: systemtap-sdt-devel
343cbc
# used for tests
343cbc
BuildRequires: %{_bindir}/ps
343cbc
343cbc
%if %{with_zts}
343cbc
Provides: php-zts = %{version}-%{release}
343cbc
Provides: php-zts%{?_isa} = %{version}-%{release}
343cbc
%endif
343cbc
343cbc
%if %{with_modphp}
343cbc
Requires: httpd-mmn = %{_httpd_mmn}
343cbc
Provides: mod_php                = %{version}-%{release}
343cbc
# To ensure correct /var/lib/php/session ownership:
343cbc
Requires(pre): httpd-filesystem
343cbc
# php engine for Apache httpd webserver
343cbc
Provides: php(httpd)
343cbc
%endif
343cbc
Requires: php-common%{?_isa}     = %{version}-%{release}
343cbc
# For backwards-compatibility, pull the "php" command
343cbc
Recommends: php-cli%{?_isa}      = %{version}-%{release}
343cbc
# httpd have threaded MPM by default
343cbc
Recommends: php-fpm%{?_isa}      = %{version}-%{release}
343cbc
# as "php" is now mostly a meta-package, commonly used extensions
343cbc
# reduce diff with "dnf module install php"
343cbc
Recommends: php-json%{?_isa}     = %{version}-%{release}
343cbc
Recommends: php-mbstring%{?_isa} = %{version}-%{release}
343cbc
Recommends: php-opcache%{?_isa}  = %{version}-%{release}
343cbc
Recommends: php-pdo%{?_isa}      = %{version}-%{release}
343cbc
%if %{with_sodium}
343cbc
Recommends: php-sodium%{?_isa}   = %{version}-%{release}
343cbc
%endif
343cbc
Recommends: php-xml%{?_isa}      = %{version}-%{release}
343cbc
343cbc
343cbc
%description
343cbc
PHP is an HTML-embedded scripting language. PHP attempts to make it
343cbc
easy for developers to write dynamically generated web pages. PHP also
343cbc
offers built-in database integration for several commercial and
343cbc
non-commercial database management systems, so writing a
343cbc
database-enabled webpage with PHP is fairly simple. The most common
343cbc
use of PHP coding is probably as a replacement for CGI scripts.
343cbc
%if %{with_modphp}
343cbc
The php package contains the module (often referred to as mod_php)
343cbc
which adds support for the PHP language to Apache HTTP Server when
343cbc
running in prefork mode.
343cbc
%endif
343cbc
343cbc
%package cli
343cbc
Summary: Command-line interface for PHP
343cbc
# sapi/cli/ps_title.c is PostgreSQL
343cbc
License: PHP and Zend and BSD and MIT and ASL 1.0 and NCSA and PostgreSQL
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
Provides: php-cgi = %{version}-%{release}, php-cgi%{?_isa} = %{version}-%{release}
343cbc
Provides: php-pcntl, php-pcntl%{?_isa}
343cbc
Provides: php-readline, php-readline%{?_isa}
343cbc
343cbc
%description cli
343cbc
The php-cli package contains the command-line interface
343cbc
executing PHP scripts, /usr/bin/php, and the CGI interface.
343cbc
343cbc
343cbc
%package dbg
343cbc
Summary: The interactive PHP debugger
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
343cbc
%description dbg
343cbc
The php-dbg package contains the interactive PHP debugger.
343cbc
343cbc
343cbc
%package fpm
343cbc
Summary: PHP FastCGI Process Manager
343cbc
BuildRequires: libacl-devel
343cbc
BuildRequires: pkgconfig(libsystemd) >= 209
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
Requires(pre): /usr/sbin/useradd
343cbc
%{?systemd_requires}
343cbc
# To ensure correct /var/lib/php/session ownership:
343cbc
Requires(pre): httpd-filesystem
343cbc
# For php.conf in /etc/httpd/conf.d
343cbc
# and version 2.4.10 for proxy support in SetHandler
343cbc
Requires: httpd-filesystem >= 2.4.10
343cbc
# php engine for Apache httpd webserver
343cbc
Provides: php(httpd)
343cbc
# for /etc/nginx ownership
343cbc
Requires: nginx-filesystem
343cbc
343cbc
%description fpm
343cbc
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI
343cbc
implementation with some additional features useful for sites of
343cbc
any size, especially busier sites.
343cbc
343cbc
%package common
343cbc
Summary: Common files for PHP
343cbc
# All files licensed under PHP version 3.01, except
343cbc
# fileinfo is licensed under PHP version 3.0
343cbc
# regex, libmagic are licensed under BSD
343cbc
License: PHP and BSD
343cbc
# ABI/API check - Arch specific
343cbc
Provides: php(api) = %{apiver}-%{__isa_bits}
343cbc
Provides: php(zend-abi) = %{zendver}-%{__isa_bits}
343cbc
Provides: php(language) = %{version}, php(language)%{?_isa} = %{version}
343cbc
# Provides for all builtin/shared modules:
343cbc
Provides: php-bz2, php-bz2%{?_isa}
343cbc
Provides: php-calendar, php-calendar%{?_isa}
343cbc
Provides: php-core = %{version}, php-core%{?_isa} = %{version}
343cbc
Provides: php-ctype, php-ctype%{?_isa}
343cbc
Provides: php-curl, php-curl%{?_isa}
343cbc
Provides: php-date, php-date%{?_isa}
343cbc
Provides: bundled(timelib)
343cbc
Provides: php-exif, php-exif%{?_isa}
343cbc
Provides: php-fileinfo, php-fileinfo%{?_isa}
343cbc
Provides: bundled(libmagic) = 5.29
343cbc
Provides: php-filter, php-filter%{?_isa}
343cbc
Provides: php-ftp, php-ftp%{?_isa}
343cbc
Provides: php-gettext, php-gettext%{?_isa}
343cbc
Provides: php-hash, php-hash%{?_isa}
343cbc
Provides: php-mhash = %{version}, php-mhash%{?_isa} = %{version}
343cbc
Provides: php-iconv, php-iconv%{?_isa}
343cbc
Provides: php-libxml, php-libxml%{?_isa}
343cbc
Provides: php-openssl, php-openssl%{?_isa}
343cbc
Provides: php-phar, php-phar%{?_isa}
343cbc
Provides: php-pcre, php-pcre%{?_isa}
343cbc
Provides: php-reflection, php-reflection%{?_isa}
343cbc
Provides: php-session, php-session%{?_isa}
343cbc
Provides: php-sockets, php-sockets%{?_isa}
343cbc
Provides: php-spl, php-spl%{?_isa}
343cbc
Provides: php-standard = %{version}, php-standard%{?_isa} = %{version}
343cbc
Provides: php-tokenizer, php-tokenizer%{?_isa}
343cbc
Provides: php-zlib, php-zlib%{?_isa}
343cbc
343cbc
%description common
343cbc
The php-common package contains files used by both the php
343cbc
package and the php-cli package.
343cbc
343cbc
%package devel
343cbc
Summary: Files needed for building PHP extensions
343cbc
Requires: php-cli%{?_isa} = %{version}-%{release}
343cbc
# always needed to build extension
343cbc
Requires: autoconf
343cbc
Requires: automake
343cbc
Requires: gcc
343cbc
Requires: gcc-c++
343cbc
Requires: libtool
343cbc
# see "php-config --libs"
343cbc
Requires: krb5-devel%{?_isa}
343cbc
Requires: libxml2-devel%{?_isa}
343cbc
Requires: openssl-devel%{?_isa} >= 1.0.1
343cbc
Requires: pcre2-devel%{?_isa}
343cbc
Requires: zlib-devel%{?_isa}
343cbc
Obsoletes: php-pecl-json-devel  < %{version}
343cbc
Obsoletes: php-pecl-jsonc-devel < %{version}
343cbc
%if %{with_zts}
343cbc
Provides: php-zts-devel = %{version}-%{release}
343cbc
Provides: php-zts-devel%{?_isa} = %{version}-%{release}
343cbc
%endif
343cbc
343cbc
%description devel
343cbc
The php-devel package contains the files needed for building PHP
343cbc
extensions. If you need to compile your own PHP extensions, you will
343cbc
need to install this package.
343cbc
343cbc
%package opcache
343cbc
Summary:   The Zend OPcache
343cbc
License:   PHP
343cbc
Requires:  php-common%{?_isa} = %{version}-%{release}
343cbc
Provides:  php-pecl-zendopcache = %{version}
343cbc
Provides:  php-pecl-zendopcache%{?_isa} = %{version}
343cbc
Provides:  php-pecl(opcache) = %{version}
343cbc
Provides:  php-pecl(opcache)%{?_isa} = %{version}
343cbc
343cbc
%description opcache
343cbc
The Zend OPcache provides faster PHP execution through opcode caching and
343cbc
optimization. It improves PHP performance by storing precompiled script
343cbc
bytecode in the shared memory. This eliminates the stages of reading code from
343cbc
the disk and compiling it on future access. In addition, it applies a few
343cbc
bytecode optimization patterns that make code execution faster.
343cbc
343cbc
%if %{with_imap}
343cbc
%package imap
343cbc
Summary: A module for PHP applications that use IMAP
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
BuildRequires: pkgconfig(krb5)
343cbc
BuildRequires: pkgconfig(krb5-gssapi)
343cbc
BuildRequires: openssl-devel >= 1.0.1
343cbc
BuildRequires: libc-client-devel
343cbc
343cbc
%description imap
343cbc
The php-imap module will add IMAP (Internet Message Access Protocol)
343cbc
support to PHP. IMAP is a protocol for retrieving and uploading e-mail
343cbc
messages on mail servers. PHP is an HTML-embedded scripting language.
343cbc
%endif
343cbc
343cbc
%package ldap
343cbc
Summary: A module for PHP applications that use LDAP
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
BuildRequires: pkgconfig(libsasl2)
343cbc
BuildRequires: openldap-devel
343cbc
BuildRequires: openssl-devel >= 1.0.1
343cbc
343cbc
%description ldap
343cbc
The php-ldap adds Lightweight Directory Access Protocol (LDAP)
343cbc
support to PHP. LDAP is a set of protocols for accessing directory
343cbc
services over the Internet. PHP is an HTML-embedded scripting
343cbc
language.
343cbc
343cbc
%package pdo
343cbc
Summary: A database access abstraction module for PHP applications
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
# ABI/API check - Arch specific
343cbc
Provides: php-pdo-abi  = %{pdover}-%{__isa_bits}
343cbc
Provides: php(pdo-abi) = %{pdover}-%{__isa_bits}
343cbc
Provides: php-sqlite3, php-sqlite3%{?_isa}
343cbc
Provides: php-pdo_sqlite, php-pdo_sqlite%{?_isa}
343cbc
343cbc
%description pdo
343cbc
The php-pdo package contains a dynamic shared object that will add
343cbc
a database access abstraction layer to PHP.  This module provides
343cbc
a common interface for accessing MySQL, PostgreSQL or other
343cbc
databases.
343cbc
343cbc
%package mysqlnd
343cbc
Summary: A module for PHP applications that use MySQL databases
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-pdo%{?_isa} = %{version}-%{release}
343cbc
Provides: php_database
343cbc
Provides: php-mysqli = %{version}-%{release}
343cbc
Provides: php-mysqli%{?_isa} = %{version}-%{release}
343cbc
Provides: php-pdo_mysql, php-pdo_mysql%{?_isa}
343cbc
343cbc
%description mysqlnd
343cbc
The php-mysqlnd package contains a dynamic shared object that will add
343cbc
MySQL database support to PHP. MySQL is an object-relational database
343cbc
management system. PHP is an HTML-embeddable scripting language. If
343cbc
you need MySQL support for PHP applications, you will need to install
343cbc
this package and the php package.
343cbc
343cbc
This package use the MySQL Native Driver
343cbc
343cbc
%package pgsql
343cbc
Summary: A PostgreSQL database module for PHP
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-pdo%{?_isa} = %{version}-%{release}
343cbc
Provides: php_database
343cbc
Provides: php-pdo_pgsql, php-pdo_pgsql%{?_isa}
343cbc
BuildRequires: krb5-devel
343cbc
BuildRequires: openssl-devel >= 1.0.1
343cbc
BuildRequires: libpq-devel
343cbc
343cbc
%description pgsql
343cbc
The php-pgsql package add PostgreSQL database support to PHP.
343cbc
PostgreSQL is an object-relational database management
343cbc
system that supports almost all SQL constructs. PHP is an
343cbc
HTML-embedded scripting language. If you need back-end support for
343cbc
PostgreSQL, you should install this package in addition to the main
343cbc
php package.
343cbc
343cbc
%package process
343cbc
Summary: Modules for PHP script using system process interfaces
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
Provides: php-posix, php-posix%{?_isa}
343cbc
Provides: php-shmop, php-shmop%{?_isa}
343cbc
Provides: php-sysvsem, php-sysvsem%{?_isa}
343cbc
Provides: php-sysvshm, php-sysvshm%{?_isa}
343cbc
Provides: php-sysvmsg, php-sysvmsg%{?_isa}
343cbc
343cbc
%description process
343cbc
The php-process package contains dynamic shared objects which add
343cbc
support to PHP using system interfaces for inter-process
343cbc
communication.
343cbc
343cbc
%package odbc
343cbc
Summary: A module for PHP applications that use ODBC databases
343cbc
# All files licensed under PHP version 3.01, except
343cbc
# pdo_odbc is licensed under PHP version 3.0
343cbc
License: PHP
343cbc
Requires: php-pdo%{?_isa} = %{version}-%{release}
343cbc
Provides: php_database
343cbc
Provides: php-pdo_odbc, php-pdo_odbc%{?_isa}
343cbc
BuildRequires: unixODBC-devel
343cbc
343cbc
%description odbc
343cbc
The php-odbc package contains a dynamic shared object that will add
343cbc
database support through ODBC to PHP. ODBC is an open specification
343cbc
which provides a consistent API for developers to use for accessing
343cbc
data sources (which are often, but not always, databases). PHP is an
343cbc
HTML-embeddable scripting language. If you need ODBC support for PHP
343cbc
applications, you will need to install this package and the php
343cbc
package.
343cbc
343cbc
%package soap
343cbc
Summary: A module for PHP applications that use the SOAP protocol
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
BuildRequires: pkgconfig(libxml-2.0)
343cbc
343cbc
%description soap
343cbc
The php-soap package contains a dynamic shared object that will add
343cbc
support to PHP for using the SOAP web services protocol.
343cbc
343cbc
%if %{with_firebird}
343cbc
%package pdo-firebird
343cbc
Summary: PDO driver for Interbase/Firebird databases
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
# for fb_config command
343cbc
BuildRequires:  firebird-devel
343cbc
Requires: php-pdo%{?_isa} = %{version}-%{release}
343cbc
Provides: php_database
343cbc
Provides: php-pdo_firebird, php-pdo_firebird%{?_isa}
343cbc
343cbc
%description pdo-firebird
343cbc
The php-pdo-firebird package contains the PDO driver for
343cbc
Interbase/Firebird databases.
343cbc
%endif
343cbc
343cbc
%package snmp
343cbc
Summary: A module for PHP applications that query SNMP-managed devices
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}, net-snmp
343cbc
BuildRequires: net-snmp-devel
343cbc
343cbc
%description snmp
343cbc
The php-snmp package contains a dynamic shared object that will add
343cbc
support for querying SNMP devices to PHP.  PHP is an HTML-embeddable
343cbc
scripting language. If you need SNMP support for PHP applications, you
343cbc
will need to install this package and the php package.
343cbc
343cbc
%package xml
343cbc
Summary: A module for PHP applications which use XML
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
Provides: php-dom, php-dom%{?_isa}
343cbc
Provides: php-domxml, php-domxml%{?_isa}
343cbc
Provides: php-simplexml, php-simplexml%{?_isa}
343cbc
Provides: php-xmlreader, php-xmlreader%{?_isa}
343cbc
Provides: php-xmlwriter, php-xmlwriter%{?_isa}
343cbc
Provides: php-xsl, php-xsl%{?_isa}
343cbc
BuildRequires: pkgconfig(libxslt)  >= 1.1
343cbc
BuildRequires: pkgconfig(libexslt)
343cbc
BuildRequires: pkgconfig(libxml-2.0)  >= 2.7.6
343cbc
343cbc
%description xml
343cbc
The php-xml package contains dynamic shared objects which add support
343cbc
to PHP for manipulating XML documents using the DOM tree,
343cbc
and performing XSL transformations on XML documents.
343cbc
343cbc
%package xmlrpc
343cbc
Summary: A module for PHP applications which use the XML-RPC protocol
343cbc
# All files licensed under PHP version 3.01, except
343cbc
# libXMLRPC is licensed under BSD
343cbc
License: PHP and BSD
343cbc
Requires: php-xml%{?_isa} = %{version}-%{release}
343cbc
343cbc
%description xmlrpc
343cbc
The php-xmlrpc package contains a dynamic shared object that will add
343cbc
support for the XML-RPC protocol to PHP.
343cbc
343cbc
%package mbstring
343cbc
Summary: A module for PHP applications which need multi-byte string handling
343cbc
# All files licensed under PHP version 3.01, except
343cbc
# libmbfl is licensed under LGPLv2
343cbc
# ucgendat is licensed under OpenLDAP
343cbc
License: PHP and LGPLv2 and OpenLDAP
343cbc
BuildRequires: pkgconfig(oniguruma) >= 6.8
343cbc
Provides: bundled(libmbfl) = 1.3.2
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
343cbc
%description mbstring
343cbc
The php-mbstring package contains a dynamic shared object that will add
343cbc
support for multi-byte string handling to PHP.
343cbc
343cbc
%package gd
343cbc
Summary: A module for PHP applications for using the gd graphics library
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
BuildRequires: pkgconfig(gdlib) >= 2.1.1
343cbc
343cbc
%description gd
343cbc
The php-gd package contains a dynamic shared object that will add
343cbc
support for using the gd graphics library to PHP.
343cbc
343cbc
%package bcmath
343cbc
Summary: A module for PHP applications for using the bcmath library
343cbc
# All files licensed under PHP version 3.01, except
343cbc
# libbcmath is licensed under LGPLv2+
343cbc
License: PHP and LGPLv2+
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
343cbc
%description bcmath
343cbc
The php-bcmath package contains a dynamic shared object that will add
343cbc
support for using the bcmath library to PHP.
343cbc
343cbc
%package gmp
343cbc
Summary: A module for PHP applications for using the GNU MP library
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
BuildRequires: gmp-devel
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
343cbc
%description gmp
343cbc
These functions allow you to work with arbitrary-length integers
343cbc
using the GNU MP library.
343cbc
343cbc
%package dba
343cbc
Summary: A database abstraction layer module for PHP applications
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
BuildRequires: libdb-devel
343cbc
BuildRequires: tokyocabinet-devel
343cbc
%if %{with_lmdb}
343cbc
BuildRequires: lmdb-devel
343cbc
%endif
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
343cbc
%description dba
343cbc
The php-dba package contains a dynamic shared object that will add
343cbc
support for using the DBA database abstraction layer to PHP.
343cbc
343cbc
%if %{with_tidy}
343cbc
%package tidy
343cbc
Summary: Standard PHP module provides tidy library support
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
BuildRequires: libtidy-devel
343cbc
343cbc
%description tidy
343cbc
The php-tidy package contains a dynamic shared object that will add
343cbc
support for using the tidy library to PHP.
343cbc
%endif
343cbc
343cbc
%if %{with_freetds}
343cbc
%package pdo-dblib
343cbc
Summary: PDO driver for Microsoft SQL Server and Sybase databases
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-pdo%{?_isa} = %{version}-%{release}
343cbc
BuildRequires: freetds-devel
343cbc
Provides: php-pdo_dblib, php-pdo_dblib%{?_isa}
343cbc
343cbc
%description pdo-dblib
343cbc
The php-pdo-dblib package contains a dynamic shared object
343cbc
that implements the PHP Data Objects (PDO) interface to enable access from
343cbc
PHP to Microsoft SQL Server and Sybase databases through the FreeTDS library.
343cbc
%endif
343cbc
343cbc
%package embedded
343cbc
Summary: PHP library for embedding in applications
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
# doing a real -devel package for just the .so symlink is a bit overkill
343cbc
Provides: php-embedded-devel = %{version}-%{release}
343cbc
Provides: php-embedded-devel%{?_isa} = %{version}-%{release}
343cbc
343cbc
%description embedded
343cbc
The php-embedded package contains a library which can be embedded
343cbc
into applications to provide PHP scripting language support.
343cbc
343cbc
%if %{with_pspell}
343cbc
%package pspell
343cbc
Summary: A module for PHP applications for using pspell interfaces
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
BuildRequires: aspell-devel >= 0.50.0
343cbc
343cbc
%description pspell
343cbc
The php-pspell package contains a dynamic shared object that will add
343cbc
support for using the pspell library to PHP.
343cbc
%endif
343cbc
343cbc
%package intl
343cbc
Summary: Internationalization extension for PHP applications
343cbc
# All files licensed under PHP version 3.01
343cbc
License: PHP
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
BuildRequires: pkgconfig(icu-i18n) >= 50.1
343cbc
BuildRequires: pkgconfig(icu-io)   >= 50.1
343cbc
BuildRequires: pkgconfig(icu-uc)   >= 50.1
343cbc
343cbc
%description intl
343cbc
The php-intl package contains a dynamic shared object that will add
343cbc
support for using the ICU library to PHP.
343cbc
343cbc
%package enchant
343cbc
Summary: Enchant spelling extension for PHP applications
343cbc
# All files licensed under PHP version 3.0
343cbc
License: PHP
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
BuildRequires: pkgconfig(enchant)
343cbc
343cbc
%description enchant
343cbc
The php-enchant package contains a dynamic shared object that will add
343cbc
support for using the enchant library to PHP.
343cbc
343cbc
%package json
343cbc
Summary: JavaScript Object Notation extension for PHP
343cbc
# All files licensed under PHP version 3.0.1
343cbc
License: PHP
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
Obsoletes: php-pecl-json          < %{version}
343cbc
Obsoletes: php-pecl-jsonc         < %{version}
343cbc
Provides:  php-pecl(json)         = %{version}
343cbc
Provides:  php-pecl(json)%{?_isa} = %{version}
343cbc
Provides:  php-pecl-json          = %{version}
343cbc
Provides:  php-pecl-json%{?_isa}  = %{version}
343cbc
343cbc
%description json
343cbc
The php-json package provides an extension that will add
343cbc
support for JavaScript Object Notation (JSON) to PHP.
343cbc
343cbc
%if %{with_sodium}
343cbc
%package sodium
343cbc
Summary: Wrapper for the Sodium cryptographic library
343cbc
# All files licensed under PHP version 3.0.1
343cbc
License: PHP
343cbc
BuildRequires:  pkgconfig(libsodium) >= 1.0.9
343cbc
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
Obsoletes: php-pecl-libsodium2 < 3
343cbc
Provides:  php-pecl(libsodium)         = %{version}
343cbc
Provides:  php-pecl(libsodium)%{?_isa} = %{version}
343cbc
343cbc
%description sodium
343cbc
The php-sodium package provides a simple,
343cbc
low-level PHP extension for the libsodium cryptographic library.
343cbc
%endif
343cbc
343cbc
343cbc
%package ffi
343cbc
Summary: Foreign Function Interface
343cbc
# All files licensed under PHP version 3.0.1
343cbc
License: PHP
343cbc
Group: System Environment/Libraries
343cbc
BuildRequires:  pkgconfig(libffi)
343cbc
Requires: php-common%{?_isa} = %{version}-%{release}
343cbc
343cbc
%description ffi
343cbc
FFI is one of the features that made Python and LuaJIT very useful for fast
343cbc
prototyping. It allows calling C functions and using C data types from pure
343cbc
scripting language and therefore develop “system code” more productively.
343cbc
343cbc
For PHP, FFI opens a way to write PHP extensions and bindings to C libraries
343cbc
in pure PHP.
343cbc
343cbc
343cbc
%prep
343cbc
%{?gpgverify:%{gpgverify} --keyring='%{SOURCE20}' --signature='%{SOURCE21}' --data='%{SOURCE0}'}
343cbc
343cbc
%setup -q -n php-%{upver}%{?rcver}
343cbc
343cbc
%patch1 -p1 -b .mpmcheck
343cbc
%patch5 -p1 -b .includedir
343cbc
%patch6 -p1 -b .embed
343cbc
%patch8 -p1 -b .libdb
343cbc
343cbc
%patch42 -p1 -b .systzdata
343cbc
%patch43 -p1 -b .headers
343cbc
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
343cbc
%patch45 -p1 -b .ldap_r
343cbc
%endif
343cbc
%patch47 -p1 -b .phpinfo
343cbc
343cbc
# upstream patches
343cbc
343cbc
# security patches
c60418
%patch200 -p1 -b .cve21705
c60418
%patch201 -p1 -b .cve21703
122ed5
%patch202 -p1 -b .cve31626
7b3418
%patch203 -p1 -b .cve31625
343cbc
343cbc
# Fixes for tests
343cbc
%patch300 -p1 -b .datetests
343cbc
343cbc
343cbc
# Prevent %%doc confusion over LICENSE files
343cbc
cp Zend/LICENSE Zend/ZEND_LICENSE
343cbc
cp TSRM/LICENSE TSRM_LICENSE
343cbc
cp sapi/fpm/LICENSE fpm_LICENSE
343cbc
cp ext/mbstring/libmbfl/LICENSE libmbfl_LICENSE
343cbc
cp ext/fileinfo/libmagic/LICENSE libmagic_LICENSE
343cbc
cp ext/bcmath/libbcmath/LICENSE libbcmath_LICENSE
343cbc
cp ext/date/lib/LICENSE.rst timelib_LICENSE
343cbc
343cbc
# Multiple builds for multiple SAPIs
343cbc
mkdir build-cgi build-embedded \
343cbc
%if %{with_modphp}
343cbc
    build-apache \
343cbc
%endif
343cbc
%if %{with_zts}
343cbc
    build-zts build-ztscli \
343cbc
%endif
343cbc
    build-fpm
343cbc
343cbc
# ----- Manage known as failed test -------
343cbc
# affected by systzdata patch
343cbc
rm ext/date/tests/timezone_location_get.phpt
343cbc
rm ext/date/tests/timezone_version_get.phpt
343cbc
rm ext/date/tests/timezone_version_get_basic1.phpt
343cbc
# fails sometime
343cbc
rm ext/sockets/tests/mcast_ipv?_recv.phpt
343cbc
# cause stack exhausion
343cbc
rm Zend/tests/bug54268.phpt
343cbc
rm Zend/tests/bug68412.phpt
343cbc
# tar issue
343cbc
rm ext/zlib/tests/004-mb.phpt
343cbc
343cbc
# Safety check for API version change.
343cbc
pver=$(sed -n '/#define PHP_VERSION /{s/.* "//;s/".*$//;p}' main/php_version.h)
343cbc
if test "x${pver}" != "x%{upver}%{?rcver}"; then
343cbc
   : Error: Upstream PHP version is now ${pver}, expecting %{upver}%{?rcver}.
343cbc
   : Update the version/rcver macros and rebuild.
343cbc
   exit 1
343cbc
fi
343cbc
343cbc
vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
343cbc
if test "x${vapi}" != "x%{apiver}"; then
343cbc
   : Error: Upstream API version is now ${vapi}, expecting %{apiver}.
343cbc
   : Update the apiver macro and rebuild.
343cbc
   exit 1
343cbc
fi
343cbc
343cbc
vzend=`sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h`
343cbc
if test "x${vzend}" != "x%{zendver}"; then
343cbc
   : Error: Upstream Zend ABI version is now ${vzend}, expecting %{zendver}.
343cbc
   : Update the zendver macro and rebuild.
343cbc
   exit 1
343cbc
fi
343cbc
343cbc
# Safety check for PDO ABI version change
343cbc
vpdo=`sed -n '/#define PDO_DRIVER_API/{s/.*[ 	]//;p}' ext/pdo/php_pdo_driver.h`
343cbc
if test "x${vpdo}" != "x%{pdover}"; then
343cbc
   : Error: Upstream PDO ABI version is now ${vpdo}, expecting %{pdover}.
343cbc
   : Update the pdover macro and rebuild.
343cbc
   exit 1
343cbc
fi
343cbc
343cbc
# https://bugs.php.net/63362 - Not needed but installed headers.
343cbc
# Drop some Windows specific headers to avoid installation,
343cbc
# before build to ensure they are really not needed.
343cbc
rm -f TSRM/tsrm_win32.h \
343cbc
      TSRM/tsrm_config.w32.h \
343cbc
      Zend/zend_config.w32.h \
343cbc
      ext/mysqlnd/config-win.h \
343cbc
      ext/standard/winver.h \
343cbc
      main/win32_internal_function_disabled.h \
343cbc
      main/win95nt.h
343cbc
343cbc
# Fix some bogus permissions
343cbc
find . -name \*.[ch] -exec chmod 644 {} \;
343cbc
chmod 644 README.*
343cbc
343cbc
# Some extensions have their own configuration file
343cbc
cp %{SOURCE50} %{SOURCE51} %{SOURCE53} .
343cbc
343cbc
343cbc
%build
343cbc
# Set build date from https://reproducible-builds.org/specs/source-date-epoch/
343cbc
export SOURCE_DATE_EPOCH=$(date +%s -r NEWS)
d2b0f3
export PHP_UNAME=$(uname)
343cbc
343cbc
# Force use of system libtool:
343cbc
libtoolize --force --copy
343cbc
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >build/libtool.m4
343cbc
343cbc
# Regenerate configure scripts (patches change config.m4's)
343cbc
touch configure.ac
343cbc
./buildconf --force
343cbc
343cbc
CFLAGS=$(echo $RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign | sed 's/-mstackrealign//')
343cbc
export CFLAGS
343cbc
343cbc
# Install extension modules in %%{_libdir}/php/modules.
343cbc
EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
343cbc
343cbc
# Set PEAR_INSTALLDIR to ensure that the hard-coded include_path
343cbc
# includes the PEAR directory even though pear is packaged
343cbc
# separately.
343cbc
PEAR_INSTALLDIR=%{_datadir}/pear; export PEAR_INSTALLDIR
343cbc
343cbc
# Shell function to configure and build a PHP tree.
343cbc
build() {
343cbc
# Old/recent bison version seems to produce a broken parser;
343cbc
# upstream uses GNU Bison 2.3. Workaround:
343cbc
mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend
343cbc
343cbc
# Always static:
343cbc
# date, ereg, filter, libxml, reflection, spl: not supported
343cbc
# hash: for PHAR_SIG_SHA256 and PHAR_SIG_SHA512
343cbc
# session: dep on hash, used by soap
343cbc
# pcre: used by filter, zip
343cbc
# pcntl, readline: only used by CLI sapi
343cbc
# openssl: for PHAR_SIG_OPENSSL
343cbc
# zlib: used by image
343cbc
343cbc
ln -sf ../configure
343cbc
%configure \
343cbc
    --enable-rtld-now \
343cbc
    --cache-file=../config.cache \
343cbc
    --with-libdir=%{_lib} \
343cbc
    --with-config-file-path=%{_sysconfdir} \
343cbc
    --with-config-file-scan-dir=%{_sysconfdir}/php.d \
343cbc
    --disable-debug \
343cbc
    --with-pic \
343cbc
    --disable-rpath \
343cbc
    --without-pear \
343cbc
    --with-exec-dir=%{_bindir} \
343cbc
    --without-gdbm \
343cbc
    --with-openssl \
343cbc
    --with-system-ciphers \
343cbc
    --with-external-pcre \
343cbc
%ifarch s390 s390x sparc64 sparcv9 riscv64
343cbc
    --without-pcre-jit \
343cbc
%endif
343cbc
    --with-zlib \
343cbc
    --with-layout=GNU \
343cbc
    --with-kerberos \
343cbc
    --with-libxml \
343cbc
    --with-system-tzdata \
343cbc
    --with-mhash \
343cbc
    --without-password-argon2 \
343cbc
    --enable-dtrace \
343cbc
    $*
343cbc
if test $? != 0; then
343cbc
  tail -500 config.log
343cbc
  : configure failed
343cbc
  exit 1
343cbc
fi
343cbc
343cbc
make %{?_smp_mflags}
343cbc
}
343cbc
343cbc
# Build /usr/bin/php-cgi with the CGI SAPI, and most shared extensions
343cbc
pushd build-cgi
343cbc
343cbc
build --libdir=%{_libdir}/php \
343cbc
      --enable-pcntl \
343cbc
      --enable-opcache \
343cbc
      --enable-phpdbg \
343cbc
%if %{with_imap}
343cbc
      --with-imap=shared --with-imap-ssl \
343cbc
%endif
343cbc
      --enable-mbstring=shared \
343cbc
      --enable-mbregex \
343cbc
      --enable-gd=shared \
343cbc
      --with-external-gd \
343cbc
      --with-gmp=shared \
343cbc
      --enable-calendar=shared \
343cbc
      --enable-bcmath=shared \
343cbc
      --with-bz2=shared \
343cbc
      --enable-ctype=shared \
343cbc
      --enable-dba=shared --with-db4=%{_prefix} \
343cbc
                          --with-tcadb=%{_prefix} \
343cbc
%if %{with_lmdb}
343cbc
                          --with-lmdb=%{_prefix} \
343cbc
%endif
343cbc
      --enable-exif=shared \
343cbc
      --enable-ftp=shared \
343cbc
      --with-gettext=shared \
343cbc
      --with-iconv=shared \
343cbc
      --enable-sockets=shared \
343cbc
      --enable-tokenizer=shared \
343cbc
      --with-xmlrpc=shared \
343cbc
      --with-ldap=shared --with-ldap-sasl \
343cbc
      --enable-mysqlnd=shared \
343cbc
      --with-mysqli=shared,mysqlnd \
343cbc
      --with-mysql-sock=%{mysql_sock} \
343cbc
%if %{with_firebird}
343cbc
      --with-pdo-firebird=shared \
343cbc
%endif
343cbc
      --enable-dom=shared \
343cbc
      --with-pgsql=shared \
343cbc
      --enable-simplexml=shared \
343cbc
      --enable-xml=shared \
343cbc
      --with-snmp=shared,%{_prefix} \
343cbc
      --enable-soap=shared \
343cbc
      --with-xsl=shared,%{_prefix} \
343cbc
      --enable-xmlreader=shared --enable-xmlwriter=shared \
343cbc
      --with-curl=shared \
343cbc
      --enable-pdo=shared \
343cbc
      --with-pdo-odbc=shared,unixODBC,%{_prefix} \
343cbc
      --with-pdo-mysql=shared,mysqlnd \
343cbc
      --with-pdo-pgsql=shared,%{_prefix} \
343cbc
      --with-pdo-sqlite=shared \
343cbc
%if %{with_freetds}
343cbc
      --with-pdo-dblib=shared,%{_prefix} \
343cbc
%endif
343cbc
      --with-sqlite3=shared \
343cbc
      --enable-json=shared \
343cbc
      --without-readline \
343cbc
      --with-libedit \
343cbc
%if %{with_pspell}
343cbc
      --with-pspell=shared \
343cbc
%endif
343cbc
      --enable-phar=shared \
343cbc
%if %{with_tidy}
343cbc
      --with-tidy=shared,%{_prefix} \
343cbc
%endif
343cbc
      --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
343cbc
      --enable-shmop=shared \
343cbc
      --enable-posix=shared \
343cbc
      --with-unixODBC=shared,%{_prefix} \
343cbc
      --enable-fileinfo=shared \
343cbc
      --with-ffi=shared \
343cbc
%if %{with_sodium}
343cbc
      --with-sodium=shared \
343cbc
%else
343cbc
      --without-sodium \
343cbc
%endif
343cbc
      --enable-intl=shared \
343cbc
      --with-enchant=shared
343cbc
popd
343cbc
343cbc
without_shared="--without-gd \
343cbc
      --disable-dom --disable-dba --without-unixODBC \
343cbc
      --disable-opcache \
343cbc
      --disable-phpdbg \
343cbc
      --disable-json \
343cbc
      --without-ffi \
343cbc
      --disable-xmlreader --disable-xmlwriter \
343cbc
      --without-sodium \
343cbc
      --without-sqlite3 --disable-phar --disable-fileinfo \
343cbc
      --without-pspell \
343cbc
      --without-curl --disable-posix --disable-xml \
343cbc
      --disable-simplexml --disable-exif --without-gettext \
343cbc
      --without-iconv --disable-ftp --without-bz2 --disable-ctype \
343cbc
      --disable-shmop --disable-sockets --disable-tokenizer \
343cbc
      --disable-sysvmsg --disable-sysvshm --disable-sysvsem"
343cbc
343cbc
%if %{with_modphp}
343cbc
# Build Apache module, and the CLI SAPI, /usr/bin/php
343cbc
pushd build-apache
343cbc
build --with-apxs2=%{_httpd_apxs} \
343cbc
      --libdir=%{_libdir}/php \
343cbc
      --without-mysqli \
343cbc
      --disable-pdo \
343cbc
      ${without_shared}
343cbc
popd
343cbc
%endif
343cbc
343cbc
# Build php-fpm
343cbc
pushd build-fpm
343cbc
build --enable-fpm \
343cbc
      --with-fpm-acl \
343cbc
      --with-fpm-systemd \
343cbc
      --libdir=%{_libdir}/php \
343cbc
      --without-mysqli \
343cbc
      --disable-pdo \
343cbc
      ${without_shared}
343cbc
popd
343cbc
343cbc
# Build for inclusion as embedded script language into applications,
343cbc
# /usr/lib[64]/libphp7.so
343cbc
pushd build-embedded
343cbc
build --enable-embed \
343cbc
      --without-mysqli --disable-pdo \
343cbc
      ${without_shared}
343cbc
popd
343cbc
343cbc
%if %{with_zts}
343cbc
# Build a special thread-safe (mainly for modules)
343cbc
pushd build-ztscli
343cbc
343cbc
EXTENSION_DIR=%{_libdir}/php-zts/modules
343cbc
build --includedir=%{_includedir}/php-zts \
343cbc
      --libdir=%{_libdir}/php-zts \
343cbc
      --enable-maintainer-zts \
343cbc
      --program-prefix=zts- \
343cbc
      --disable-cgi \
343cbc
      --with-config-file-scan-dir=%{_sysconfdir}/php-zts.d \
343cbc
      --enable-pcntl \
343cbc
      --enable-opcache \
343cbc
%if %{with_imap}
343cbc
      --with-imap=shared --with-imap-ssl \
343cbc
%endif
343cbc
      --enable-mbstring=shared \
343cbc
      --enable-mbregex \
343cbc
      --enable-gd=shared \
343cbc
      --with-external-gd \
343cbc
      --with-gmp=shared \
343cbc
      --enable-calendar=shared \
343cbc
      --enable-bcmath=shared \
343cbc
      --with-bz2=shared \
343cbc
      --enable-ctype=shared \
343cbc
      --enable-dba=shared --with-db4=%{_prefix} \
343cbc
                          --with-tcadb=%{_prefix} \
343cbc
%if %{with_lmdb}
343cbc
                          --with-lmdb=%{_prefix} \
343cbc
%endif
343cbc
      --with-gettext=shared \
343cbc
      --with-iconv=shared \
343cbc
      --enable-sockets=shared \
343cbc
      --enable-tokenizer=shared \
343cbc
      --enable-exif=shared \
343cbc
      --enable-ftp=shared \
343cbc
      --with-xmlrpc=shared \
343cbc
      --with-ldap=shared --with-ldap-sasl \
343cbc
      --enable-mysqlnd=shared \
343cbc
      --with-mysqli=shared,mysqlnd \
343cbc
      --with-mysql-sock=%{mysql_sock} \
343cbc
      --enable-mysqlnd-threading \
343cbc
%if %{with_firebird}
343cbc
      --with-pdo-firebird=shared \
343cbc
%endif
343cbc
      --enable-dom=shared \
343cbc
      --with-pgsql=shared \
343cbc
      --enable-simplexml=shared \
343cbc
      --enable-xml=shared \
343cbc
      --with-snmp=shared,%{_prefix} \
343cbc
      --enable-soap=shared \
343cbc
      --with-xsl=shared,%{_prefix} \
343cbc
      --enable-xmlreader=shared --enable-xmlwriter=shared \
343cbc
      --with-curl=shared \
343cbc
      --enable-pdo=shared \
343cbc
      --with-pdo-odbc=shared,unixODBC,%{_prefix} \
343cbc
      --with-pdo-mysql=shared,mysqlnd \
343cbc
      --with-pdo-pgsql=shared,%{_prefix} \
343cbc
      --with-pdo-sqlite=shared \
343cbc
%if %{with_freetds}
343cbc
      --with-pdo-dblib=shared,%{_prefix} \
343cbc
%endif
343cbc
      --with-sqlite3=shared \
343cbc
      --enable-json=shared \
343cbc
      --without-readline \
343cbc
      --with-libedit \
343cbc
%if %{with_pspell}
343cbc
      --with-pspell=shared \
343cbc
%endif
343cbc
      --enable-phar=shared \
343cbc
%if %{with_tidy}
343cbc
      --with-tidy=shared,%{_prefix} \
343cbc
%endif
343cbc
      --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
343cbc
      --enable-shmop=shared \
343cbc
      --enable-posix=shared \
343cbc
      --with-unixODBC=shared,%{_prefix} \
343cbc
      --enable-fileinfo=shared \
343cbc
      --with-ffi=shared \
343cbc
%if %{with_sodium}
343cbc
      --with-sodium=shared \
343cbc
%else
343cbc
      --without-sodium \
343cbc
%endif
343cbc
      --enable-intl=shared \
343cbc
      --with-enchant=shared
343cbc
popd
343cbc
343cbc
### NOTE!!! EXTENSION_DIR was changed for the -zts build, so it must remain
343cbc
### the last SAPI to be built.
343cbc
%endif
343cbc
343cbc
343cbc
%check
343cbc
%if %runselftest
343cbc
cd build-fpm
343cbc
343cbc
# Run tests, using the CLI SAPI
343cbc
export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
343cbc
export SKIP_ONLINE_TESTS=1
343cbc
export SKIP_IO_CAPTURE_TESTS=1
343cbc
unset TZ LANG LC_ALL
343cbc
if ! make test TESTS=-j4; then
343cbc
  set +x
343cbc
  for f in $(find .. -name \*.diff -type f -print); do
343cbc
    if ! grep -q XFAIL "${f/.diff/.phpt}"
343cbc
    then
343cbc
      echo "TEST FAILURE: $f --"
343cbc
      cat "$f"
343cbc
      echo -e "\n-- $f result ends."
343cbc
    fi
343cbc
  done
343cbc
  set -x
343cbc
  #exit 1
343cbc
fi
343cbc
unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
343cbc
%endif
343cbc
343cbc
%install
343cbc
%if %{with_zts}
343cbc
# Install the extensions for the ZTS version
343cbc
make -C build-ztscli install \
343cbc
     INSTALL_ROOT=$RPM_BUILD_ROOT
343cbc
%endif
343cbc
343cbc
# Install the version for embedded script language in applications + php_embed.h
343cbc
make -C build-embedded install-sapi install-headers \
343cbc
     INSTALL_ROOT=$RPM_BUILD_ROOT
343cbc
343cbc
# Install the php-fpm binary
343cbc
make -C build-fpm install-fpm \
343cbc
     INSTALL_ROOT=$RPM_BUILD_ROOT
343cbc
343cbc
# Install everything from the CGI SAPI build
343cbc
make -C build-cgi install \
343cbc
     INSTALL_ROOT=$RPM_BUILD_ROOT
343cbc
343cbc
# Use php-config from embed SAPI to reduce used libs
343cbc
install -m 755 build-embedded/scripts/php-config $RPM_BUILD_ROOT%{_bindir}/php-config
343cbc
343cbc
# Install the default configuration file
343cbc
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
343cbc
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
343cbc
343cbc
# For third-party packaging:
343cbc
install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/php/preload
343cbc
343cbc
%if %{with_modphp}
343cbc
# install the DSO
343cbc
install -m 755 -d $RPM_BUILD_ROOT%{_httpd_moddir}
343cbc
install -m 755 build-apache/libs/libphp7.so $RPM_BUILD_ROOT%{_httpd_moddir}
343cbc
%endif
343cbc
343cbc
# Apache config fragment
343cbc
# Dual config file with httpd >= 2.4 (fedora >= 18)
343cbc
%if %{with_modphp}
343cbc
install -D -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{_httpd_modconfdir}/15-php.conf
343cbc
%endif
343cbc
install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_httpd_confdir}/php.conf
343cbc
343cbc
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
343cbc
%if %{with_zts}
343cbc
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d
343cbc
%endif
343cbc
install -m 755 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php
343cbc
install -m 755 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php/peclxml
343cbc
install -m 700 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php/session
343cbc
install -m 700 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php/wsdlcache
343cbc
install -m 700 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php/opcache
343cbc
343cbc
install -m 755 -d $RPM_BUILD_ROOT%{_docdir}/pecl
343cbc
install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/tests/pecl
343cbc
343cbc
# PHP-FPM stuff
343cbc
# Log
343cbc
install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/log/php-fpm
343cbc
install -m 755 -d $RPM_BUILD_ROOT/run/php-fpm
343cbc
# Config
343cbc
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d
343cbc
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.conf
343cbc
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d/www.conf
343cbc
mv $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.conf.default .
343cbc
mv $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d/www.conf.default .
343cbc
# install systemd unit files and scripts for handling server startup
343cbc
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/php-fpm.service.d
343cbc
install -Dm 644 %{SOURCE6}  $RPM_BUILD_ROOT%{_unitdir}/php-fpm.service
343cbc
install -Dm 644 %{SOURCE12} $RPM_BUILD_ROOT%{_unitdir}/httpd.service.d/php-fpm.conf
343cbc
install -Dm 644 %{SOURCE12} $RPM_BUILD_ROOT%{_unitdir}/nginx.service.d/php-fpm.conf
343cbc
# LogRotate
343cbc
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
343cbc
install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/php-fpm
343cbc
# Nginx configuration
343cbc
install -D -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/conf.d/php-fpm.conf
343cbc
install -D -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/default.d/php.conf
343cbc
343cbc
TESTCMD="$RPM_BUILD_ROOT%{_bindir}/php --no-php-ini"
343cbc
# Ensure all provided extensions are really there
343cbc
for mod in core date filter hash libxml openssl pcntl pcre readline reflection session spl standard zlib
343cbc
do
343cbc
     $TESTCMD --modules | grep -qi $mod
343cbc
done
343cbc
343cbc
TESTCMD="$TESTCMD --define extension_dir=$RPM_BUILD_ROOT%{_libdir}/php/modules"
343cbc
343cbc
# Generate files lists and stub .ini files for each subpackage
343cbc
for mod in pgsql odbc ldap snmp \
343cbc
%if %{with_imap}
343cbc
    imap \
343cbc
%endif
343cbc
    json \
343cbc
    mysqlnd mysqli \
343cbc
    mbstring gd dom xsl soap bcmath dba \
343cbc
    simplexml bz2 calendar ctype exif ftp gettext gmp iconv \
343cbc
    sockets tokenizer opcache \
343cbc
    sqlite3 \
343cbc
    enchant phar fileinfo intl \
343cbc
    ffi \
343cbc
%if %{with_tidy}
343cbc
    tidy \
343cbc
%endif
343cbc
%if %{with_pspell}
343cbc
    pspell \
343cbc
%endif
343cbc
    curl \
343cbc
%if %{with_sodium}
343cbc
    sodium \
343cbc
%endif
343cbc
    posix shmop sysvshm sysvsem sysvmsg xml \
343cbc
    pdo pdo_mysql pdo pdo_pgsql pdo_odbc pdo_sqlite \
343cbc
%if %{with_firebird}
343cbc
    pdo_firebird \
343cbc
%endif
343cbc
%if %{with_freetds}
343cbc
    pdo_dblib \
343cbc
%endif
343cbc
    xmlrpc xmlreader xmlwriter
343cbc
do
343cbc
    case $mod in
343cbc
      opcache)
343cbc
        # Zend extensions
343cbc
        TESTCMD="$TESTCMD --define zend_extension=$mod"
343cbc
        ini=10-${mod}.ini;;
343cbc
      pdo_*|mysqli|xmlreader|xmlrpc)
343cbc
        # Extensions with dependencies on 20-*
343cbc
        TESTCMD="$TESTCMD --define extension=$mod"
343cbc
        ini=30-${mod}.ini;;
343cbc
      *)
343cbc
        # Extensions with no dependency
343cbc
        TESTCMD="$TESTCMD --define extension=$mod"
343cbc
        ini=20-${mod}.ini;;
343cbc
    esac
343cbc
343cbc
    $TESTCMD --modules | grep -qi $mod
343cbc
343cbc
    # some extensions have their own config file
343cbc
    if [ -f ${ini} ]; then
343cbc
      cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini}
343cbc
%if %{with_zts}
343cbc
      cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/${ini}
343cbc
%endif
343cbc
    else
343cbc
      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini} <
343cbc
; Enable ${mod} extension module
343cbc
extension=${mod}
343cbc
EOF
343cbc
%if %{with_zts}
343cbc
      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/${ini} <
343cbc
; Enable ${mod} extension module
343cbc
extension=${mod}
343cbc
EOF
343cbc
%endif
343cbc
    fi
343cbc
    cat > files.${mod} <
343cbc
%{_libdir}/php/modules/${mod}.so
343cbc
%config(noreplace) %{_sysconfdir}/php.d/${ini}
343cbc
%if %{with_zts}
343cbc
%{_libdir}/php-zts/modules/${mod}.so
343cbc
%config(noreplace) %{_sysconfdir}/php-zts.d/${ini}
343cbc
%endif
343cbc
EOF
343cbc
done
343cbc
343cbc
# The dom, xsl and xml* modules are all packaged in php-xml
343cbc
cat files.dom files.xsl files.xml{reader,writer} \
343cbc
    files.simplexml >> files.xml
343cbc
343cbc
# mysqlnd
343cbc
cat files.mysqli \
343cbc
    files.pdo_mysql \
343cbc
    >> files.mysqlnd
343cbc
343cbc
# Split out the PDO modules
343cbc
cat files.pdo_pgsql >> files.pgsql
343cbc
cat files.pdo_odbc >> files.odbc
343cbc
343cbc
# sysv* and posix in packaged in php-process
343cbc
cat files.shmop files.sysv* files.posix > files.process
343cbc
343cbc
# Package sqlite3 and pdo_sqlite with pdo; isolating the sqlite dependency
343cbc
# isn't useful at this time since rpm itself requires sqlite.
343cbc
cat files.pdo_sqlite >> files.pdo
343cbc
cat files.sqlite3 >> files.pdo
343cbc
343cbc
# Package curl, phar and fileinfo in -common.
343cbc
cat files.curl files.phar files.fileinfo \
343cbc
    files.exif files.gettext files.iconv files.calendar \
343cbc
    files.ftp files.bz2 files.ctype files.sockets \
343cbc
    files.tokenizer > files.common
343cbc
343cbc
# The default Zend OPcache blacklist file
343cbc
install -m 644 %{SOURCE51} $RPM_BUILD_ROOT%{_sysconfdir}/php.d/opcache-default.blacklist
343cbc
%if %{with_zts}
343cbc
install -m 644 %{SOURCE51} $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/opcache-default.blacklist
343cbc
sed -e '/blacklist_filename/s/php.d/php-zts.d/' \
343cbc
    -i $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/10-opcache.ini
343cbc
%endif
343cbc
343cbc
# Install the macros file:
343cbc
sed -e "s/@PHP_APIVER@/%{apiver}-%{__isa_bits}/" \
343cbc
    -e "s/@PHP_ZENDVER@/%{zendver}-%{__isa_bits}/" \
343cbc
    -e "s/@PHP_PDOVER@/%{pdover}-%{__isa_bits}/" \
343cbc
    -e "s/@PHP_VERSION@/%{upver}/" \
343cbc
%if ! %{with_zts}
343cbc
    -e "/zts/d" \
343cbc
%endif
343cbc
    < %{SOURCE3} > macros.php
343cbc
install -m 644 -D macros.php \
343cbc
           $RPM_BUILD_ROOT%{_rpmmacrodir}/macros.php
343cbc
343cbc
# Remove unpackaged files
343cbc
rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
343cbc
       $RPM_BUILD_ROOT%{_libdir}/php-zts/modules/*.a \
343cbc
       $RPM_BUILD_ROOT%{_bindir}/{phptar} \
343cbc
       $RPM_BUILD_ROOT%{_datadir}/pear \
343cbc
       $RPM_BUILD_ROOT%{_libdir}/libphp7.a \
343cbc
       $RPM_BUILD_ROOT%{_libdir}/libphp7.la
343cbc
343cbc
# Remove irrelevant docs
343cbc
rm -f README.{Zeus,QNX,CVS-RULES}
343cbc
343cbc
343cbc
%post fpm
343cbc
%systemd_post php-fpm.service
343cbc
343cbc
%preun fpm
343cbc
%systemd_preun php-fpm.service
343cbc
343cbc
# Raised by new pool installation or new extension installation
343cbc
%transfiletriggerin fpm -- %{_sysconfdir}/php-fpm.d %{_sysconfdir}/php.d
343cbc
systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
343cbc
343cbc
343cbc
%files
343cbc
%if %{with_modphp}
343cbc
%{_httpd_moddir}/libphp7.so
343cbc
%config(noreplace) %{_httpd_modconfdir}/15-php.conf
343cbc
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/session
343cbc
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/wsdlcache
343cbc
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/opcache
343cbc
%config(noreplace) %{_httpd_confdir}/php.conf
343cbc
%endif
343cbc
343cbc
%files common -f files.common
343cbc
%doc EXTENSIONS NEWS UPGRADING* README.REDIST.BINS *md docs
343cbc
%license LICENSE TSRM_LICENSE
343cbc
%license libmagic_LICENSE
343cbc
%license timelib_LICENSE
343cbc
%doc php.ini-*
343cbc
%config(noreplace) %{_sysconfdir}/php.ini
343cbc
%dir %{_sysconfdir}/php.d
343cbc
%dir %{_libdir}/php
343cbc
%dir %{_libdir}/php/modules
343cbc
%if %{with_zts}
343cbc
%dir %{_sysconfdir}/php-zts.d
343cbc
%dir %{_libdir}/php-zts
343cbc
%dir %{_libdir}/php-zts/modules
343cbc
%endif
343cbc
%dir %{_sharedstatedir}/php
343cbc
%dir %{_sharedstatedir}/php/peclxml
343cbc
%dir %{_datadir}/php
343cbc
%dir %{_docdir}/pecl
343cbc
%dir %{_datadir}/tests
343cbc
%dir %{_datadir}/tests/pecl
343cbc
343cbc
%files cli
343cbc
%{_bindir}/php
343cbc
%if %{with_zts}
343cbc
%{_bindir}/zts-php
343cbc
%{_mandir}/man1/zts-php.1*
343cbc
%endif
343cbc
%{_bindir}/php-cgi
343cbc
%{_bindir}/phar.phar
343cbc
%{_bindir}/phar
343cbc
# provides phpize here (not in -devel) for pecl command
343cbc
%{_bindir}/phpize
343cbc
%{_mandir}/man1/php.1*
343cbc
%{_mandir}/man1/php-cgi.1*
343cbc
%{_mandir}/man1/phar.1*
343cbc
%{_mandir}/man1/phar.phar.1*
343cbc
%{_mandir}/man1/phpize.1*
343cbc
343cbc
%files dbg
343cbc
%doc sapi/phpdbg/{README.md,CREDITS}
343cbc
%{_bindir}/phpdbg
343cbc
%{_mandir}/man1/phpdbg.1*
343cbc
%if %{with_zts}
343cbc
%{_bindir}/zts-phpdbg
343cbc
%{_mandir}/man1/zts-phpdbg.1*
343cbc
%endif
343cbc
343cbc
%files fpm
343cbc
%doc php-fpm.conf.default www.conf.default
343cbc
%license fpm_LICENSE
343cbc
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/session
343cbc
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/wsdlcache
343cbc
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/opcache
343cbc
%config(noreplace) %{_httpd_confdir}/php.conf
343cbc
%config(noreplace) %{_sysconfdir}/php-fpm.conf
343cbc
%config(noreplace) %{_sysconfdir}/php-fpm.d/www.conf
343cbc
%config(noreplace) %{_sysconfdir}/logrotate.d/php-fpm
343cbc
%config(noreplace) %{_sysconfdir}/nginx/conf.d/php-fpm.conf
343cbc
%config(noreplace) %{_sysconfdir}/nginx/default.d/php.conf
343cbc
%{_unitdir}/php-fpm.service
343cbc
%{_unitdir}/httpd.service.d/php-fpm.conf
343cbc
%{_unitdir}/nginx.service.d/php-fpm.conf
343cbc
%{_sbindir}/php-fpm
343cbc
%dir %{_sysconfdir}/systemd/system/php-fpm.service.d
343cbc
%dir %{_sysconfdir}/php-fpm.d
343cbc
# log owned by apache for log
343cbc
%attr(770,apache,root) %dir %{_localstatedir}/log/php-fpm
343cbc
%dir %ghost /run/php-fpm
343cbc
%{_mandir}/man8/php-fpm.8*
343cbc
%dir %{_datadir}/fpm
343cbc
%{_datadir}/fpm/status.html
343cbc
343cbc
%files devel
343cbc
%{_bindir}/php-config
343cbc
%{_includedir}/php
343cbc
%{_libdir}/php/build
343cbc
%if %{with_zts}
343cbc
%{_bindir}/zts-php-config
343cbc
%{_bindir}/zts-phpize
343cbc
%{_includedir}/php-zts
343cbc
%{_libdir}/php-zts/build
343cbc
%{_mandir}/man1/zts-php-config.1*
343cbc
%{_mandir}/man1/zts-phpize.1*
343cbc
%endif
343cbc
%{_mandir}/man1/php-config.1*
343cbc
%{_rpmmacrodir}/macros.php
343cbc
343cbc
%files embedded
343cbc
%{_libdir}/libphp7.so
343cbc
%{_libdir}/libphp7-%{embed_version}.so
343cbc
343cbc
%files pgsql -f files.pgsql
343cbc
%files odbc -f files.odbc
343cbc
%if %{with_imap}
343cbc
%files imap -f files.imap
343cbc
%endif
343cbc
%files ldap -f files.ldap
343cbc
%files snmp -f files.snmp
343cbc
%files xml -f files.xml
343cbc
%files xmlrpc -f files.xmlrpc
343cbc
%files mbstring -f files.mbstring
343cbc
%license libmbfl_LICENSE
343cbc
%files gd -f files.gd
343cbc
%files soap -f files.soap
343cbc
%files bcmath -f files.bcmath
343cbc
%license libbcmath_LICENSE
343cbc
%files gmp -f files.gmp
343cbc
%files dba -f files.dba
343cbc
%files pdo -f files.pdo
343cbc
%if %{with_tidy}
343cbc
%files tidy -f files.tidy
343cbc
%endif
343cbc
%if %{with_freetds}
343cbc
%files pdo-dblib -f files.pdo_dblib
343cbc
%endif
343cbc
%if %{with_pspell}
343cbc
%files pspell -f files.pspell
343cbc
%endif
343cbc
%files intl -f files.intl
343cbc
%files process -f files.process
343cbc
%if %{with_firebird}
343cbc
%files pdo-firebird -f files.pdo_firebird
343cbc
%endif
343cbc
%files enchant -f files.enchant
343cbc
%files mysqlnd -f files.mysqlnd
343cbc
%files opcache -f files.opcache
343cbc
%config(noreplace) %{_sysconfdir}/php.d/opcache-default.blacklist
343cbc
%if %{with_zts}
343cbc
%config(noreplace) %{_sysconfdir}/php-zts.d/opcache-default.blacklist
343cbc
%endif
343cbc
%files json -f files.json
343cbc
%if %{with_sodium}
343cbc
%files sodium -f files.sodium
343cbc
%endif
343cbc
%files ffi -f files.ffi
343cbc
%dir %{_datadir}/php/preload
343cbc
343cbc
343cbc
%changelog
7b3418
* Tue Aug  9 2022 Remi Collet <rcollet@redhat.com> - 7.4.19-4
7b3418
- fix uninitialized array in pg_query_params() leading to RCE
7b3418
  CVE-2022-31625
7b3418
122ed5
* Wed Jun 22 2022 Remi Collet <rcollet@redhat.com> - 7.4.19-3
122ed5
- fix password of excessive length triggers buffer overflow leading to RCE
122ed5
  CVE-2022-31626
122ed5
c60418
* Wed Jan 19 2022 Remi Collet <rcollet@redhat.com> - 7.4.19-2
c60418
- fix SSRF bypass in FILTER_VALIDATE_URL
c60418
  CVE-2021-21705
c60418
- fix Local privilege escalation via PHP-FPM
c60418
  CVE-2021-21703
c60418
d2b0f3
* Thu May 20 2021 Remi Collet <rcollet@redhat.com> - 7.4.19-1
d2b0f3
- rebase to 7.4.19 #1944110
d2b0f3
343cbc
* Mon Jun 15 2020 Remi Collet <rcollet@redhat.com> - 7.4.6-4
343cbc
- fix regression in 7.4.6 with generators and exception
343cbc
343cbc
* Wed May 27 2020 Remi Collet <rcollet@redhat.com> - 7.4.6-3
343cbc
- build phpdbg only once
343cbc
- fix regression in 7.4.6 when yielding an array based generator
343cbc
343cbc
* Wed May 20 2020 Remi Collet <rcollet@redhat.com> - 7.4.6-2
343cbc
- use php-config from embed SAPI to reduce used libs
343cbc
343cbc
* Fri May 15 2020 Remi Collet <rcollet@redhat.com> - 7.4.6-1
343cbc
- update to 7.4.6
343cbc
- add ffi extension
343cbc
- add /usr/share/php/preload as default ffi.preload configuration
343cbc
- run FPM tests
343cbc
- set opcache.enable_cli in provided default configuration
343cbc
- ensure all shared extensions can be loaded
343cbc
- drop wddx, recode and extensions
343cbc
- run test suite using 4 concurrent workers
343cbc
343cbc
* Tue Oct 29 2019 Remi Collet <rcollet@redhat.com> - 7.3.5-5
343cbc
- fix underflow in env_path_info in fpm_main.c CVE-2019-11043
343cbc
343cbc
* Mon Jul  1 2019 Remi Collet <rcollet@redhat.com> - 7.3.5-3
343cbc
- fix AVC denied httpd_execmem when php-opcache is installed #1725104
343cbc
343cbc
* Tue May 14 2019 Remi Collet <rcollet@redhat.com> - 7.3.5-2
343cbc
- cleanup php-devel dependencies
343cbc
343cbc
* Tue May 14 2019 Remi Collet <rcollet@redhat.com> - 7.3.5-1
343cbc
- update to 7.3.5
343cbc
343cbc
* Wed Oct 10 2018 Remi Collet <rcollet@redhat.com> - 7.2.11-1
343cbc
- update to 7.2.11 #1628543
343cbc
343cbc
* Fri Aug 24 2018 Remi Collet <rcollet@redhat.com.net> - 7.2.8-4
343cbc
- drop tidy extension #1619290
343cbc
343cbc
* Wed Jul 18 2018 Remi Collet <rcollet@redhat.com> - 7.2.8-3
343cbc
- update to 7.2.8
343cbc
343cbc
* Fri Jul  6 2018 Remi Collet <rcollet@redhat.com> - 7.2.7-3
343cbc
- FPM: add getallheaders, backported from 7.3 #1582533
343cbc
343cbc
* Wed Jun 27 2018 Remi Collet <rcollet@redhat.com> - 7.2.7-2
343cbc
- drop libargon2 dependency #1595261
343cbc
343cbc
* Wed Jun 20 2018 Remi Collet <rcollet@redhat.com> - 7.2.7-1
343cbc
- Update to 7.2.7 - http://www.php.net/releases/7_2_7.php
343cbc
- drop -mstackrealign option, workaround to #1593144
343cbc
343cbc
* Thu May 31 2018 Remi Collet <rcollet@redhat.com> - 7.2.6-2
343cbc
- switch back to bundled onigurama
343cbc
343cbc
* Wed May 23 2018 Remi Collet <remi@remirepo.net> - 7.2.6-1
343cbc
- Update to 7.2.6 - http://www.php.net/releases/7_2_6.php
343cbc
343cbc
* Tue Apr 24 2018 Remi Collet <remi@remirepo.net> - 7.2.5-1
343cbc
- Update to 7.2.5 - http://www.php.net/releases/7_2_5.php
343cbc
343cbc
* Tue Mar 27 2018 Remi Collet <remi@remirepo.net> - 7.2.4-1
343cbc
- Update to 7.2.4 - http://www.php.net/releases/7_2_4.php
343cbc
- FPM: update default pool configuration for process.dumpable
343cbc
343cbc
* Wed Mar 21 2018 Remi Collet <rcollet@redhat.com> - 7.2.3-4
343cbc
- use systemd RuntimeDirectory instead of /etc/tmpfiles.d
343cbc
343cbc
* Tue Mar 20 2018 Remi Collet <rcollet@redhat.com> - 7.2.3-3
343cbc
- enable argon2 password hash
343cbc
343cbc
* Fri Mar 16 2018 Remi Collet <rcollet@redhat.com> - 7.2.3-2
343cbc
- php-json is optional
343cbc
- add file trigger to restart the php-fpm service
343cbc
  when new pool or new extension installed
343cbc
343cbc
* Wed Feb 28 2018 Remi Collet <remi@remirepo.net> - 7.2.3-1
343cbc
- Update to 7.2.3 - http://www.php.net/releases/7_2_3.php
343cbc
343cbc
- FPM: revert pid file removal
343cbc
343cbc
* Wed Feb 21 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-4
343cbc
- disable ZTS on RHEL
343cbc
343cbc
* Fri Feb 16 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-3
343cbc
- disable pspell extension on RHEL
343cbc
- improve devel dependencies
343cbc
343cbc
* Wed Feb 14 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-2
343cbc
- rebuild for new tag and drop patch merged upstream
343cbc
- drop ldconfig scriptlets
343cbc
343cbc
* Wed Feb 14 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-1
343cbc
- update to 7.2.3RC1
343cbc
- adapt systzdata, fixheader and ldap_r patches
343cbc
- apply upstream patch for date ext
343cbc
343cbc
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.2-2
343cbc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
343cbc
343cbc
* Tue Jan 30 2018 Remi Collet <remi@remirepo.net> - 7.2.2-1
343cbc
- Update to 7.2.2 - http://www.php.net/releases/7_2_2.php
343cbc
343cbc
* Mon Jan 29 2018 Remi Collet <rcollet@redhat.com> - 7.2.2~RC1-3
343cbc
- disable interbase, imap, pdo_dblib and sodium on rhel
343cbc
343cbc
* Thu Jan 25 2018 Remi Collet <remi@remirepo.net> - 7.2.2~RC1-3
343cbc
- undefine _strict_symbol_defs_build
343cbc
343cbc
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 7.2.2~RC1-2
343cbc
- Rebuilt for switch to libxcrypt
343cbc
343cbc
* Tue Jan 16 2018 Remi Collet <remi@remirepo.net> - 7.2.2~RC1-1
343cbc
- update to 7.2.2RC1
343cbc
- define SOURCE_DATE_EPOCH for reproducible build
343cbc
343cbc
* Wed Jan  3 2018 Remi Collet <remi@remirepo.net> - 7.2.1-1
343cbc
- Update to 7.2.1 - http://www.php.net/releases/7_2_1.php
343cbc
343cbc
* Wed Dec 13 2017 Remi Collet <remi@remirepo.net> - 7.2.1~RC1-1
343cbc
- update to 7.2.1RC1
343cbc
343cbc
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 7.2.0-3
343cbc
- Rebuild for ICU 60.1
343cbc
343cbc
* Tue Nov 28 2017 Remi Collet <remi@remirepo.net> - 7.2.0-2
343cbc
- refresh patch for https://bugs.php.net/75514
343cbc
343cbc
* Tue Nov 28 2017 Remi Collet <remi@remirepo.net> - 7.2.0-1
343cbc
- update to 7.2.0 GA
343cbc
- add upstream patch for https://bugs.php.net/75514
343cbc
343cbc
* Tue Nov  7 2017 Remi Collet <remi@fedoraproject.org> - 7.2.0~RC6-1
343cbc
- Update to 7.2.0RC6
343cbc
343cbc
* Wed Oct 25 2017 Remi Collet <remi@fedoraproject.org> - 7.2.0~RC5-1
343cbc
- Update to 7.2.0RC5
343cbc
- make php-fpm a weak dependency
343cbc
343cbc
* Wed Oct 18 2017 Remi Collet <remi@remirepo.net> - 7.2.0~RC4-2
343cbc
- enable argon2 password hash
343cbc
343cbc
* Tue Oct 10 2017 Remi Collet <remi@fedoraproject.org> - 7.2.0~RC4-1
343cbc
- Update to 7.2.0RC4
343cbc
343cbc
* Fri Sep 29 2017 Remi Collet <remi@fedoraproject.org> - 7.2.0~RC3-1
343cbc
- Update to 7.2.0RC3
343cbc
- drop mcrypt extension
343cbc
- add sodium extension
343cbc
- use system oniguruma
343cbc
- drop .so suffix from ini files
343cbc
- refresh configuration files from upstream
343cbc
343cbc
* Wed Sep 27 2017 Remi Collet <remi@fedoraproject.org> - 7.1.10-1
343cbc
- Update to 7.1.10 - http://www.php.net/releases/7_1_10.php
343cbc
343cbc
* Mon Sep 25 2017 Remi Collet <remi@fedoraproject.org> - 7.1.10~RC1-2
343cbc
- php now requires php-fpm and start it with httpd / nginx
343cbc
343cbc
* Wed Sep 13 2017 Remi Collet <remi@fedoraproject.org> - 7.1.10~RC1-1
343cbc
- Update to 7.1.10RC1
343cbc
343cbc
* Wed Sep  6 2017 Remi Collet <remi@fedoraproject.org> - 7.1.9-2
343cbc
- Automatically load OpenSSL configuration file, from PHP 7.2
343cbc
343cbc
* Wed Aug 30 2017 Remi Collet <remi@fedoraproject.org> - 7.1.9-1
343cbc
- Update to 7.1.9 - http://www.php.net/releases/7_1_9.php
343cbc
343cbc
* Wed Aug 16 2017 Remi Collet <remi@fedoraproject.org> - 7.1.9~RC1-1
343cbc
- Update to 7.1.9RC1
343cbc
- php-fpm: drop unneeded "pid" from default configuration
343cbc
343cbc
* Wed Aug  2 2017 Remi Collet <remi@fedoraproject.org> - 7.1.8-1
343cbc
- Update to 7.1.8 - http://www.php.net/releases/7_1_8.php
343cbc
343cbc
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.8~RC1-3
343cbc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
343cbc
343cbc
* Wed Jul 19 2017 Remi Collet <remi@fedoraproject.org> - 7.1.8~RC1-1
343cbc
- Update to 7.1.8RC1
343cbc
343cbc
* Tue Jul 18 2017 Remi Collet <remi@fedoraproject.org> - 7.1.7-2
343cbc
- disable httpd MPM check
343cbc
343cbc
* Thu Jul  6 2017 Remi Collet <remi@fedoraproject.org> - 7.1.7-1
343cbc
- Update to 7.1.7 - http://www.php.net/releases/7_1_7.php
343cbc
343cbc
* Wed Jun 21 2017 Remi Collet <remi@fedoraproject.org> - 7.1.7~RC1-1
343cbc
- Update to 7.1.7RC1
343cbc
343cbc
* Wed Jun  7 2017 Remi Collet <remi@fedoraproject.org> - 7.1.6-1
343cbc
- Update to 7.1.6 - http://www.php.net/releases/7_1_6.php
343cbc
- add upstream security patches for oniguruma
343cbc
343cbc
* Wed May 24 2017 Remi Collet <remi@fedoraproject.org> - 7.1.6~RC1-1
343cbc
- Update to 7.1.6RC1
343cbc
343cbc
* Tue May  9 2017 Remi Collet <remi@fedoraproject.org> - 7.1.5-1
343cbc
- Update to 7.1.5 - http://www.php.net/releases/7_1_5.php
343cbc
343cbc
* Sat May  6 2017 Remi Collet <remi@fedoraproject.org> - 7.1.5-0.3.RC1
343cbc
- enable PHP execution of .phar files, see #1117140
343cbc
343cbc
* Thu Apr 27 2017 Remi Collet <remi@fedoraproject.org> - 7.1.5-0.2.RC1
343cbc
- new sources from new tag
343cbc
343cbc
* Tue Apr 25 2017 Remi Collet <remi@fedoraproject.org> - 7.1.5-0.1.RC1
343cbc
- Update to 7.1.5RC1
343cbc
343cbc
* Tue Apr 11 2017 Remi Collet <remi@fedoraproject.org> - 7.1.4-1
343cbc
- Update to 7.1.4 - http://www.php.net/releases/7_1_4.php
343cbc
343cbc
* Wed Mar 29 2017 Remi Collet <remi@fedoraproject.org> - 7.1.4-0.1.RC1
343cbc
- Update to 7.1.4RC1
343cbc
343cbc
* Wed Mar 22 2017 Remi Collet <remi@fedoraproject.org> - 7.1.3-3
343cbc
- timelib is MIT license
343cbc
343cbc
* Wed Mar 15 2017 Remi Collet <remi@fedoraproject.org> - 7.1.3-2
343cbc
- remove %%attr, see #1432372
343cbc
343cbc
* Wed Mar 15 2017 Remi Collet <remi@fedoraproject.org> - 7.1.3-1
343cbc
- Update to 7.1.3 - http://www.php.net/releases/7_1_3.php
343cbc
343cbc
* Tue Feb 28 2017 Remi Collet <remi@fedoraproject.org> 7.1.3-0.1.RC1
343cbc
- Update to 7.1.3RC1
343cbc
343cbc
* Wed Feb 15 2017 Remi Collet <remi@fedoraproject.org> - 7.1.2-1
343cbc
- Update to 7.1.2 - http://www.php.net/releases/7_1_2.php
343cbc
343cbc
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.2-0.2.RC1.1
343cbc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
343cbc
343cbc
* Thu Feb  2 2017 Remi Collet <remi@fedoraproject.org> - 7.1.2-0.2.RC1
343cbc
- Update to 7.1.2RC1 (new sources)
343cbc
343cbc
* Wed Feb  1 2017 Remi Collet <remi@fedoraproject.org> 7.1.2-0.1.RC1
343cbc
- Update to 7.1.2RC1
343cbc
343cbc
* Wed Jan 18 2017 Remi Collet <remi@fedoraproject.org> 7.1.1-1
343cbc
- Update to 7.1.1 - http://www.php.net/releases/7_1_1.php
343cbc
343cbc
* Fri Jan  6 2017 Remi Collet <remi@fedoraproject.org> 7.1.1-0.1.RC1
343cbc
- Update to 7.1.1RC1
343cbc
343cbc
* Thu Dec  1 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-1
343cbc
- Update to 7.1.0 - http://www.php.net/releases/7_1_0.php
343cbc
343cbc
* Fri Nov 25 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-0.3.RC6
343cbc
- disable pcre.jit everywhere as it raise AVC #1398474
343cbc
- sync provided configuration with upstream production defaults
343cbc
343cbc
* Mon Nov 14 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-0.2.RC6
343cbc
- re-enable interbase sub package
343cbc
  see http://bugzilla.redhat.com/1394750 sub package inconsistency
343cbc
- add patch to fix firebird include path (using fb_config)
343cbc
343cbc
* Mon Nov 14 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-0.1.RC6
343cbc
- Update to 7.1.0RC6
343cbc
- update tzdata patch to v14, improve check for valid tz file
343cbc
- disable interbase sub package (interbase and pdo_firebird)
343cbc
343cbc
* Tue Oct 11 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-0.1.RC3
343cbc
- Update to 7.1.0RC3
343cbc
343cbc
* Wed Sep 28 2016 Remi Collet <remi@fedoraproject.org> 7.0.12-0.1.RC1
343cbc
- Update to 7.0.12RC1
343cbc
343cbc
* Wed Sep 14 2016 Remi Collet <remi@fedoraproject.org> 7.0.11-1
343cbc
- Update to 7.0.11 - http://www.php.net/releases/7_0_11.php
343cbc
343cbc
* Fri Sep  2 2016 Remi Collet <remi@fedoraproject.org> 7.0.11-0.1.RC1
343cbc
- Update to 7.0.11RC1
343cbc
343cbc
* Thu Sep  1 2016 Remi Collet <remi@fedoraproject.org> 7.0.10-1
343cbc
- Update to 7.0.10 - http://www.php.net/releases/7_0_10.php
343cbc
343cbc
* Wed Aug  3 2016 Remi Collet <remi@fedoraproject.org> 7.0.10-0.1.RC1
343cbc
- Update to 7.0.10RC1
343cbc
343cbc
* Wed Jul 20 2016 Remi Collet <remi@fedoraproject.org> 7.0.9-1
343cbc
- Update to 7.0.9 - http://www.php.net/releases/7_0_9.php
343cbc
- wddx: add upstream patch for https://bugs.php.net/72564
343cbc
343cbc
* Wed Jul  6 2016 Remi Collet <remi@fedoraproject.org> 7.0.9-0.1.RC1
343cbc
- Update to 7.0.9RC1
343cbc
343cbc
* Thu Jun 30 2016 Remi Collet <remi@fedoraproject.org> 7.0.8-2
343cbc
- own tests/doc directories for pecl packages #1351345
343cbc
343cbc
* Wed Jun 22 2016 Remi Collet <remi@fedoraproject.org> 7.0.8-1
343cbc
- Update to 7.0.8 - http://www.php.net/releases/7_0_8.php
343cbc
- https://fedoraproject.org/wiki/Changes/php70
343cbc
- drop ereg, mysql, mssql extensions
343cbc
- add json extension
343cbc
343cbc
* Wed Jun 22 2016 Remi Collet <remi@fedoraproject.org> 5.6.23-1
343cbc
- Update to 5.6.23 - http://www.php.net/releases/5_6_23.php
343cbc
343cbc
* Thu Jun  9 2016 Remi Collet <remi@fedoraproject.org> 5.6.23-0.1.RC1
343cbc
- update to 5.6.23RC1
343cbc
343cbc
* Fri May 27 2016 Remi Collet <remi@fedoraproject.org> 5.6.22-2
343cbc
- drop unneeded option --with-vpx-dir, fix FTBFS, thanks Koschei
343cbc
343cbc
* Thu May 26 2016 Remi Collet <remi@fedoraproject.org> 5.6.22-1
343cbc
- Update to 5.6.22 - http://www.php.net/releases/5_6_22.php
343cbc
343cbc
* Thu May 12 2016 Remi Collet <remi@fedoraproject.org> 5.6.22-0.1.RC1
343cbc
- update to 5.6.22RC1
343cbc
343cbc
* Thu Apr 28 2016 Remi Collet <remi@fedoraproject.org> 5.6.21-1
343cbc
- Update to 5.6.21
343cbc
  http://www.php.net/releases/5_6_21.php
343cbc
343cbc
* Mon Apr 18 2016 Remi Collet <remi@fedoraproject.org> 5.6.21-0.2.RC1
343cbc
- rebuild for ICU 57.1
343cbc
343cbc
* Mon Apr 18 2016 Remi Collet <remi@fedoraproject.org> 5.6.21-0.1.RC1
343cbc
- update to 5.6.21RC1
343cbc
343cbc
* Fri Apr 15 2016 David Tardon <dtardon@redhat.com> - 5.6.20-1.1
343cbc
- rebuild for ICU 57.1
343cbc
343cbc
* Thu Mar 31 2016 Remi Collet <remi@fedoraproject.org> 5.6.20-1
343cbc
- Update to 5.6.20
343cbc
  http://www.php.net/releases/5_6_20.php
343cbc
343cbc
* Thu Mar 17 2016 Remi Collet <remi@fedoraproject.org> 5.6.20-0.1.RC1
343cbc
- update to 5.6.20RC1
343cbc
343cbc
* Thu Mar  3 2016 Remi Collet <remi@fedoraproject.org> 5.6.19-1
343cbc
- Update to 5.6.19
343cbc
  http://www.php.net/releases/5_6_19.php
343cbc
343cbc
* Thu Feb 18 2016 Remi Collet <remi@fedoraproject.org> 5.6.19-0.1.RC1
343cbc
- update to 5.6.19RC1
343cbc
343cbc
* Tue Feb  9 2016 Remi Collet <remi@fedoraproject.org> 5.6.18-2
343cbc
- define %%pecl_xmldir and own it (/var/lib/php/peclxml)
343cbc
343cbc
* Wed Feb  3 2016 Remi Collet <remi@fedoraproject.org> 5.6.18-1
343cbc
- Update to 5.6.18
343cbc
  http://www.php.net/releases/5_6_18.php
343cbc
343cbc
* Thu Jan 21 2016 Remi Collet <remi@fedoraproject.org> 5.6.18-0.1.RC1
343cbc
- update to 5.6.18RC1
343cbc
343cbc
* Thu Jan  7 2016 Remi Collet <remi@fedoraproject.org> 5.6.17-1
343cbc
- Update to 5.6.17
343cbc
  http://www.php.net/releases/5_6_17.php
343cbc
343cbc
* Thu Dec 10 2015 Remi Collet <remi@fedoraproject.org> 5.6.17-0.1.RC1
343cbc
- update to 5.6.17RC1
343cbc
343cbc
* Tue Dec  1 2015 Tom Callaway <spot@fedoraproject.org> 5.6.16-2
343cbc
- rebuild for libvpx 1.5.0
343cbc
343cbc
* Thu Nov 26 2015 Remi Collet <remi@fedoraproject.org> 5.6.16-1
343cbc
- Update to 5.6.16
343cbc
  http://www.php.net/releases/5_6_16.php
343cbc
343cbc
* Wed Nov 18 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.16-0.2.RC2
343cbc
- rebuild (tidy)
343cbc
343cbc
* Thu Nov 12 2015 Remi Collet <remi@fedoraproject.org> 5.6.16-0.1.RC1
343cbc
- update to 5.6.16RC1
343cbc
343cbc
* Thu Oct 29 2015 Remi Collet <remi@fedoraproject.org> 5.6.15-1
343cbc
- Update to 5.6.15
343cbc
  http://www.php.net/releases/5_6_15.php
343cbc
- php-config: reports all built sapis
343cbc
343cbc
* Thu Oct 15 2015 Remi Collet <remi@fedoraproject.org> 5.6.15-0.1.RC1
343cbc
- update to 5.6.15RC1
343cbc
343cbc
* Wed Sep 30 2015 Remi Collet <remi@fedoraproject.org> 5.6.14-1
343cbc
- Update to 5.6.14
343cbc
  http://www.php.net/releases/5_6_14.php
343cbc
- php-fpm: enable http authorization headers
343cbc
343cbc
* Thu Sep 17 2015 Remi Collet <remi@fedoraproject.org> 5.6.14-0.1.RC1
343cbc
- update to 5.6.14RC1
343cbc
343cbc
* Thu Sep  3 2015 Remi Collet <remi@fedoraproject.org> 5.6.13-1
343cbc
- Update to 5.6.13
343cbc
  http://www.php.net/releases/5_6_13.php
343cbc
343cbc
* Thu Aug  6 2015 Remi Collet <remi@fedoraproject.org> 5.6.12-1
343cbc
- Update to 5.6.12
343cbc
  http://www.php.net/releases/5_6_12.php
343cbc
343cbc
* Fri Jul 24 2015 Remi Collet <remi@fedoraproject.org> 5.6.12-0.1.RC1
343cbc
- update to 5.6.12RC1
343cbc
343cbc
* Fri Jul 17 2015 Remi Collet <remi@fedoraproject.org> 5.6.11-2
343cbc
- fix typo in php.conf #1244104
343cbc
343cbc
* Sun Jul 12 2015 Remi Collet <remi@fedoraproject.org> 5.6.11-1
343cbc
- Update to 5.6.11
343cbc
  http://www.php.net/releases/5_6_11.php
343cbc
343cbc
* Thu Jun 25 2015 Remi Collet <remi@fedoraproject.org> 5.6.11-0.1.RC1
343cbc
- update to 5.6.11RC1
343cbc
- the phar link is now correctly created
343cbc
343cbc
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.10-1.1
343cbc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
343cbc
343cbc
* Thu Jun 11 2015 Remi Collet <remi@fedoraproject.org> 5.6.10-1
343cbc
- Update to 5.6.10
343cbc
  http://www.php.net/releases/5_6_10.php
343cbc
- add explicit spec license (implicit by FPCA)
343cbc
343cbc
* Thu May 28 2015 Remi Collet <remi@fedoraproject.org> 5.6.10-0.1.RC1
343cbc
- update to 5.6.10RC1
343cbc
- opcache is now 7.0.6-dev
343cbc
343cbc
* Fri May 15 2015 Remi Collet <remi@fedoraproject.org> 5.6.9-1
343cbc
- Update to 5.6.9
343cbc
  http://www.php.net/releases/5_6_9.php
343cbc
343cbc
* Thu Apr 30 2015 Remi Collet <remi@fedoraproject.org> 5.6.9-0.1.RC1
343cbc
- update to 5.6.9RC1
343cbc
- adapt systzdata patch for upstream changes for new zic
343cbc
343cbc
* Thu Apr 16 2015 Remi Collet <remi@fedoraproject.org> 5.6.8-1
343cbc
- Update to 5.6.8
343cbc
  http://www.php.net/releases/5_6_8.php
343cbc
343cbc
* Fri Apr 10 2015 Remi Collet <remi@fedoraproject.org> 5.6.8-0.3.RC1
343cbc
- add upstream patch to drop SSLv3 tests
343cbc
343cbc
* Mon Apr  6 2015 Tom Callaway <spot@fedoraproject.org> - 5.6.8-0.2.RC1
343cbc
- rebuild for libvpx 1.4.0
343cbc
343cbc
* Wed Apr  1 2015 Remi Collet <remi@fedoraproject.org> 5.6.8-0.1.RC1
343cbc
- update to 5.6.8RC1
343cbc
343cbc
* Fri Mar 20 2015 Remi Collet <remi@fedoraproject.org> 5.6.7-2
343cbc
- Update to 5.6.7
343cbc
  http://www.php.net/releases/5_6_7.php
343cbc
343cbc
* Sun Mar  8 2015 Remi Collet <remi@fedoraproject.org> 5.6.7-1
343cbc
- update to 5.6.7RC1
343cbc
343cbc
* Thu Feb 19 2015 Remi Collet <remi@fedoraproject.org> 5.6.6-1
343cbc
- Update to 5.6.6
343cbc
  http://www.php.net/releases/5_6_6.php
343cbc
343cbc
* Thu Feb  5 2015 Remi Collet <rcollet@redhat.com> 5.6.6-0.1.RC1
343cbc
- php 5.6.6RC1 for Koschei
343cbc
343cbc
* Mon Jan 26 2015 David Tardon <dtardon@redhat.com> - 5.6.5-2
343cbc
- rebuild for ICU 54.1
343cbc
343cbc
* Thu Jan 22 2015 Remi Collet <remi@fedoraproject.org> 5.6.5-1
343cbc
- Update to 5.6.5
343cbc
  http://www.php.net/releases/5_6_5.php
343cbc
- drop deprecated php-fpm EnvironmentFile
343cbc
343cbc
* Fri Jan  9 2015 Remi Collet <remi@fedoraproject.org> 5.6.5-0.1.RC1
343cbc
- update to 5.6.5RC1
343cbc
- FPM: enable ACL support for Unix Domain Socket
343cbc
- FPM: switch default configuration to use UDS
343cbc
343cbc
* Wed Dec 17 2014 Remi Collet <remi@fedoraproject.org> 5.6.4-2
343cbc
- Update to 5.6.4 (real)
343cbc
  http://www.php.net/releases/5_6_4.php
343cbc
- php-xmlrpc requires php-xml
343cbc
343cbc
* Wed Dec 10 2014 Remi Collet <remi@fedoraproject.org> 5.6.4-1
343cbc
- Update to 5.6.4
343cbc
  http://www.php.net/releases/5_6_4.php
343cbc
343cbc
* Fri Nov 28 2014 Remi Collet <rcollet@redhat.com> 5.6.4-0.1.RC1
343cbc
- php 5.6.4RC1
343cbc
343cbc
* Mon Nov 17 2014 Remi Collet <remi@fedoraproject.org> 5.6.3-4
343cbc
- FPM: add upstream patch for https://bugs.php.net/68428
343cbc
  listen.allowed_clients is IPv4 only
343cbc
343cbc
* Mon Nov 17 2014 Remi Collet <remi@fedoraproject.org> 5.6.3-3
343cbc
- sync php-fpm configuration with upstream
343cbc
- refresh upstream patch for 68421
343cbc
343cbc
* Sun Nov 16 2014 Remi Collet <remi@fedoraproject.org> 5.6.3-2
343cbc
- FPM: add upstream patch for https://bugs.php.net/68421
343cbc
  access.format=R doesn't log ipv6 address
343cbc
- FPM: add upstream patch for https://bugs.php.net/68420
343cbc
  listen=9000 listens to ipv6 localhost instead of all addresses
343cbc
- FPM: add upstream patch for https://bugs.php.net/68423
343cbc
  will no longer load all pools
343cbc
343cbc
* Thu Nov 13 2014 Remi Collet <remi@fedoraproject.org> 5.6.3-1
343cbc
- Update to PHP 5.6.3
343cbc
  http://php.net/releases/5_6_3.php
343cbc
343cbc
* Fri Oct 31 2014 Remi Collet <rcollet@redhat.com> 5.6.3-0.2.RC1
343cbc
- php 5.6.3RC1 (refreshed, phpdbg changes reverted)
343cbc
- new version of systzdata patch, fix case sensitivity
343cbc
- ignore Factory in date tests
343cbc
343cbc
* Wed Oct 29 2014 Remi Collet <rcollet@redhat.com> 5.6.3-0.1.RC1
343cbc
- php 5.6.3RC1