7f18ac
# RHEL / Fedora spec file for php
7f18ac
#
7f18ac
# License: MIT
7f18ac
# http://opensource.org/licenses/MIT
7f18ac
#
7f18ac
# Please preserve changelog entries
7f18ac
#
7f18ac
7f18ac
# API/ABI check
7f18ac
%global apiver      20190902
7f18ac
%global zendver     20190902
7f18ac
%global pdover      20170320
7f18ac
7f18ac
# we don't want -z defs linker flag
7f18ac
%undefine _strict_symbol_defs_build
7f18ac
7f18ac
# Adds -z now to the linker flags
7f18ac
%global _hardened_build 1
7f18ac
7f18ac
# version used for php embedded library soname
7f18ac
%global embed_version 7.4
7f18ac
7f18ac
%global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock)
7f18ac
7f18ac
# Regression tests take a long time, you can skip 'em with this
7f18ac
#global runselftest 0
7f18ac
%{!?runselftest: %global runselftest 1}
7f18ac
7f18ac
# Use the arch-specific mysql_config binary to avoid mismatch with the
7f18ac
# arch detection heuristic used by bindir/mysql_config.
7f18ac
%global mysql_config %{_libdir}/mysql/mysql_config
7f18ac
7f18ac
# needed at srpm build time, when httpd-devel not yet installed
7f18ac
%{!?_httpd_mmn:        %{expand: %%global _httpd_mmn        %%(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}}
7f18ac
7f18ac
%global with_modphp   1
7f18ac
%if 0%{?fedora}
7f18ac
%global with_zts      1
7f18ac
%global with_firebird 1
7f18ac
%global with_imap     1
7f18ac
%global with_freetds  1
7f18ac
%global with_sodium   1
7f18ac
%global with_pspell   1
7f18ac
%global with_lmdb     1
7f18ac
%global with_tidy     1
7f18ac
%else
7f18ac
%global with_zts      0
7f18ac
%global with_firebird 0
7f18ac
%global with_imap     0
7f18ac
%global with_freetds  0
7f18ac
%global with_sodium   0
7f18ac
%global with_pspell   0
7f18ac
%global with_lmdb     0
7f18ac
%global with_tidy     0
7f18ac
%endif
7f18ac
9af658
%global upver        7.4.30
7f18ac
#global rcver        RC1
7f18ac
7f18ac
Summary: PHP scripting language for creating dynamic web sites
7f18ac
Name: php
7f18ac
Version: %{upver}%{?rcver:~%{rcver}}
9af658
Release: 1%{?dist}
7f18ac
# All files licensed under PHP version 3.01, except
7f18ac
# Zend is licensed under Zend
7f18ac
# TSRM is licensed under BSD
7f18ac
# main/snprintf.c, main/spprintf.c and main/rfc1867.c are ASL 1.0
7f18ac
# ext/date/lib is MIT
7f18ac
# Zend/zend_sort is NCSA
7f18ac
License: PHP and Zend and BSD and MIT and ASL 1.0 and NCSA
7f18ac
URL: http://www.php.net/
7f18ac
7f18ac
Source0: https://www.php.net/distributions/php-%{upver}%{?rcver}.tar.xz
7f18ac
Source1: php.conf
7f18ac
Source2: php.ini
7f18ac
Source3: macros.php
7f18ac
Source4: php-fpm.conf
7f18ac
Source5: php-fpm-www.conf
7f18ac
Source6: php-fpm.service
7f18ac
Source7: php-fpm.logrotate
7f18ac
Source9: php.modconf
7f18ac
Source12: php-fpm.wants
7f18ac
Source13: nginx-fpm.conf
7f18ac
Source14: nginx-php.conf
7f18ac
# See https://secure.php.net/gpg-keys.php
7f18ac
Source20: https://www.php.net/distributions/php-keyring.gpg
7f18ac
Source21: https://www.php.net/distributions/php-%{upver}%{?rcver}.tar.xz.asc
7f18ac
# Configuration files for some extensions
7f18ac
Source50: 10-opcache.ini
7f18ac
Source51: opcache-default.blacklist
7f18ac
Source53: 20-ffi.ini
7f18ac
7f18ac
# Build fixes
7f18ac
Patch1: php-7.4.0-httpd.patch
7f18ac
Patch5: php-7.2.0-includedir.patch
7f18ac
Patch6: php-7.4.0-embed.patch
7f18ac
Patch8: php-7.2.0-libdb.patch
7f18ac
7f18ac
# Functional changes
9af658
Patch42: php-7.3.3-systzdata-v19.patch
7f18ac
# See http://bugs.php.net/53436
7f18ac
Patch43: php-7.4.0-phpize.patch
7f18ac
# Use -lldap_r for OpenLDAP
7f18ac
Patch45: php-7.4.0-ldap_r.patch
7f18ac
# drop "Configure command" from phpinfo output
7f18ac
Patch47: php-5.6.3-phpinfo.patch
7f18ac
7f18ac
# Upstream fixes (100+)
7f18ac
7f18ac
# Security fixes (200+)
7f18ac
7f18ac
# Fixes for tests (300+)
7f18ac
# Factory is droped from system tzdata
7f18ac
Patch300: php-5.6.3-datetests.patch
7f18ac
7f18ac
7f18ac
BuildRequires: gnupg2
7f18ac
BuildRequires: bzip2-devel
7f18ac
BuildRequires: pkgconfig(libcurl)  >= 7.15.5
7f18ac
BuildRequires: httpd-devel >= 2.0.46-1
7f18ac
BuildRequires: pam-devel
7f18ac
# to ensure we are using httpd with filesystem feature (see #1081453)
7f18ac
BuildRequires: httpd-filesystem
7f18ac
# to ensure we are using nginx with filesystem feature (see #1142298)
7f18ac
BuildRequires: nginx-filesystem
7f18ac
BuildRequires: libstdc++-devel
7f18ac
# no pkgconfig to avoid compat-openssl10
7f18ac
BuildRequires: openssl-devel >= 1.0.1
7f18ac
BuildRequires: pkgconfig(sqlite3) >= 3.7.4
7f18ac
BuildRequires: pkgconfig(zlib) >= 1.2.0.4
7f18ac
BuildRequires: smtpdaemon
7f18ac
BuildRequires: pkgconfig(libedit)
7f18ac
BuildRequires: pkgconfig(libpcre2-8) >= 10.30
7f18ac
BuildRequires: bzip2
7f18ac
BuildRequires: perl-interpreter
7f18ac
BuildRequires: autoconf
7f18ac
BuildRequires: automake
7f18ac
BuildRequires: gcc
7f18ac
BuildRequires: gcc-c++
7f18ac
BuildRequires: libtool
7f18ac
BuildRequires: libtool-ltdl-devel
7f18ac
BuildRequires: systemtap-sdt-devel
7f18ac
# used for tests
7f18ac
BuildRequires: %{_bindir}/ps
7f18ac
7f18ac
%if %{with_zts}
7f18ac
Provides: php-zts = %{version}-%{release}
7f18ac
Provides: php-zts%{?_isa} = %{version}-%{release}
7f18ac
%endif
7f18ac
7f18ac
%if %{with_modphp}
7f18ac
Requires: httpd-mmn = %{_httpd_mmn}
7f18ac
Provides: mod_php                = %{version}-%{release}
7f18ac
# To ensure correct /var/lib/php/session ownership:
7f18ac
Requires(pre): httpd-filesystem
7f18ac
# php engine for Apache httpd webserver
7f18ac
Provides: php(httpd)
7f18ac
%endif
7f18ac
Requires: php-common%{?_isa}     = %{version}-%{release}
7f18ac
# For backwards-compatibility, pull the "php" command
7f18ac
Recommends: php-cli%{?_isa}      = %{version}-%{release}
7f18ac
# httpd have threaded MPM by default
7f18ac
Recommends: php-fpm%{?_isa}      = %{version}-%{release}
7f18ac
# as "php" is now mostly a meta-package, commonly used extensions
7f18ac
# reduce diff with "dnf module install php"
7f18ac
Recommends: php-json%{?_isa}     = %{version}-%{release}
7f18ac
Recommends: php-mbstring%{?_isa} = %{version}-%{release}
7f18ac
Recommends: php-opcache%{?_isa}  = %{version}-%{release}
7f18ac
Recommends: php-pdo%{?_isa}      = %{version}-%{release}
7f18ac
%if %{with_sodium}
7f18ac
Recommends: php-sodium%{?_isa}   = %{version}-%{release}
7f18ac
%endif
7f18ac
Recommends: php-xml%{?_isa}      = %{version}-%{release}
7f18ac
7f18ac
7f18ac
%description
7f18ac
PHP is an HTML-embedded scripting language. PHP attempts to make it
7f18ac
easy for developers to write dynamically generated web pages. PHP also
7f18ac
offers built-in database integration for several commercial and
7f18ac
non-commercial database management systems, so writing a
7f18ac
database-enabled webpage with PHP is fairly simple. The most common
7f18ac
use of PHP coding is probably as a replacement for CGI scripts.
7f18ac
%if %{with_modphp}
7f18ac
The php package contains the module (often referred to as mod_php)
7f18ac
which adds support for the PHP language to Apache HTTP Server when
7f18ac
running in prefork mode.
7f18ac
%endif
7f18ac
7f18ac
%package cli
7f18ac
Summary: Command-line interface for PHP
7f18ac
# sapi/cli/ps_title.c is PostgreSQL
7f18ac
License: PHP and Zend and BSD and MIT and ASL 1.0 and NCSA and PostgreSQL
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
Provides: php-cgi = %{version}-%{release}, php-cgi%{?_isa} = %{version}-%{release}
7f18ac
Provides: php-pcntl, php-pcntl%{?_isa}
7f18ac
Provides: php-readline, php-readline%{?_isa}
7f18ac
7f18ac
%description cli
7f18ac
The php-cli package contains the command-line interface
7f18ac
executing PHP scripts, /usr/bin/php, and the CGI interface.
7f18ac
7f18ac
7f18ac
%package dbg
7f18ac
Summary: The interactive PHP debugger
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
7f18ac
%description dbg
7f18ac
The php-dbg package contains the interactive PHP debugger.
7f18ac
7f18ac
7f18ac
%package fpm
7f18ac
Summary: PHP FastCGI Process Manager
7f18ac
BuildRequires: libacl-devel
7f18ac
BuildRequires: pkgconfig(libsystemd) >= 209
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
%{?systemd_requires}
7f18ac
# To ensure correct /var/lib/php/session ownership:
7f18ac
Requires(pre): httpd-filesystem
7f18ac
# For php.conf in /etc/httpd/conf.d
7f18ac
# and version 2.4.10 for proxy support in SetHandler
7f18ac
Requires: httpd-filesystem >= 2.4.10
7f18ac
# php engine for Apache httpd webserver
7f18ac
Provides: php(httpd)
7f18ac
# for /etc/nginx ownership
7f18ac
Requires: nginx-filesystem
7f18ac
7f18ac
%description fpm
7f18ac
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI
7f18ac
implementation with some additional features useful for sites of
7f18ac
any size, especially busier sites.
7f18ac
7f18ac
%package common
7f18ac
Summary: Common files for PHP
7f18ac
# All files licensed under PHP version 3.01, except
7f18ac
# fileinfo is licensed under PHP version 3.0
7f18ac
# regex, libmagic are licensed under BSD
7f18ac
License: PHP and BSD
7f18ac
# ABI/API check - Arch specific
7f18ac
Provides: php(api) = %{apiver}-%{__isa_bits}
7f18ac
Provides: php(zend-abi) = %{zendver}-%{__isa_bits}
7f18ac
Provides: php(language) = %{version}, php(language)%{?_isa} = %{version}
7f18ac
# Provides for all builtin/shared modules:
7f18ac
Provides: php-bz2, php-bz2%{?_isa}
7f18ac
Provides: php-calendar, php-calendar%{?_isa}
7f18ac
Provides: php-core = %{version}, php-core%{?_isa} = %{version}
7f18ac
Provides: php-ctype, php-ctype%{?_isa}
7f18ac
Provides: php-curl, php-curl%{?_isa}
7f18ac
Provides: php-date, php-date%{?_isa}
7f18ac
Provides: bundled(timelib)
7f18ac
Provides: php-exif, php-exif%{?_isa}
7f18ac
Provides: php-fileinfo, php-fileinfo%{?_isa}
7f18ac
Provides: bundled(libmagic) = 5.29
7f18ac
Provides: php-filter, php-filter%{?_isa}
7f18ac
Provides: php-ftp, php-ftp%{?_isa}
7f18ac
Provides: php-gettext, php-gettext%{?_isa}
7f18ac
Provides: php-hash, php-hash%{?_isa}
7f18ac
Provides: php-mhash = %{version}, php-mhash%{?_isa} = %{version}
7f18ac
Provides: php-iconv, php-iconv%{?_isa}
7f18ac
Provides: php-libxml, php-libxml%{?_isa}
7f18ac
Provides: php-openssl, php-openssl%{?_isa}
7f18ac
Provides: php-phar, php-phar%{?_isa}
7f18ac
Provides: php-pcre, php-pcre%{?_isa}
7f18ac
Provides: php-reflection, php-reflection%{?_isa}
7f18ac
Provides: php-session, php-session%{?_isa}
7f18ac
Provides: php-sockets, php-sockets%{?_isa}
7f18ac
Provides: php-spl, php-spl%{?_isa}
7f18ac
Provides: php-standard = %{version}, php-standard%{?_isa} = %{version}
7f18ac
Provides: php-tokenizer, php-tokenizer%{?_isa}
7f18ac
Provides: php-zlib, php-zlib%{?_isa}
7f18ac
7f18ac
%description common
7f18ac
The php-common package contains files used by both the php
7f18ac
package and the php-cli package.
7f18ac
7f18ac
%package devel
7f18ac
Summary: Files needed for building PHP extensions
7f18ac
Requires: php-cli%{?_isa} = %{version}-%{release}
7f18ac
# always needed to build extension
7f18ac
Requires: autoconf
7f18ac
Requires: automake
7f18ac
Requires: gcc
7f18ac
Requires: gcc-c++
7f18ac
Requires: libtool
7f18ac
# see "php-config --libs"
7f18ac
Requires: krb5-devel%{?_isa}
7f18ac
Requires: libxml2-devel%{?_isa}
7f18ac
Requires: openssl-devel%{?_isa} >= 1.0.1
7f18ac
Requires: pcre2-devel%{?_isa}
7f18ac
Requires: zlib-devel%{?_isa}
7f18ac
Obsoletes: php-pecl-json-devel  < %{version}
7f18ac
Obsoletes: php-pecl-jsonc-devel < %{version}
7f18ac
%if %{with_zts}
7f18ac
Provides: php-zts-devel = %{version}-%{release}
7f18ac
Provides: php-zts-devel%{?_isa} = %{version}-%{release}
7f18ac
%endif
7f18ac
7f18ac
%description devel
7f18ac
The php-devel package contains the files needed for building PHP
7f18ac
extensions. If you need to compile your own PHP extensions, you will
7f18ac
need to install this package.
7f18ac
7f18ac
%package opcache
7f18ac
Summary:   The Zend OPcache
7f18ac
License:   PHP
7f18ac
Requires:  php-common%{?_isa} = %{version}-%{release}
7f18ac
Provides:  php-pecl-zendopcache = %{version}
7f18ac
Provides:  php-pecl-zendopcache%{?_isa} = %{version}
7f18ac
Provides:  php-pecl(opcache) = %{version}
7f18ac
Provides:  php-pecl(opcache)%{?_isa} = %{version}
7f18ac
7f18ac
%description opcache
7f18ac
The Zend OPcache provides faster PHP execution through opcode caching and
7f18ac
optimization. It improves PHP performance by storing precompiled script
7f18ac
bytecode in the shared memory. This eliminates the stages of reading code from
7f18ac
the disk and compiling it on future access. In addition, it applies a few
7f18ac
bytecode optimization patterns that make code execution faster.
7f18ac
7f18ac
%if %{with_imap}
7f18ac
%package imap
7f18ac
Summary: A module for PHP applications that use IMAP
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
BuildRequires: pkgconfig(krb5)
7f18ac
BuildRequires: pkgconfig(krb5-gssapi)
7f18ac
BuildRequires: openssl-devel >= 1.0.1
7f18ac
BuildRequires: libc-client-devel
7f18ac
7f18ac
%description imap
7f18ac
The php-imap module will add IMAP (Internet Message Access Protocol)
7f18ac
support to PHP. IMAP is a protocol for retrieving and uploading e-mail
7f18ac
messages on mail servers. PHP is an HTML-embedded scripting language.
7f18ac
%endif
7f18ac
7f18ac
%package ldap
7f18ac
Summary: A module for PHP applications that use LDAP
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
BuildRequires: pkgconfig(libsasl2)
7f18ac
BuildRequires: openldap-devel
7f18ac
BuildRequires: openssl-devel >= 1.0.1
7f18ac
7f18ac
%description ldap
7f18ac
The php-ldap adds Lightweight Directory Access Protocol (LDAP)
7f18ac
support to PHP. LDAP is a set of protocols for accessing directory
7f18ac
services over the Internet. PHP is an HTML-embedded scripting
7f18ac
language.
7f18ac
7f18ac
%package pdo
7f18ac
Summary: A database access abstraction module for PHP applications
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
# ABI/API check - Arch specific
7f18ac
Provides: php-pdo-abi  = %{pdover}-%{__isa_bits}
7f18ac
Provides: php(pdo-abi) = %{pdover}-%{__isa_bits}
7f18ac
Provides: php-sqlite3, php-sqlite3%{?_isa}
7f18ac
Provides: php-pdo_sqlite, php-pdo_sqlite%{?_isa}
7f18ac
7f18ac
%description pdo
7f18ac
The php-pdo package contains a dynamic shared object that will add
7f18ac
a database access abstraction layer to PHP.  This module provides
7f18ac
a common interface for accessing MySQL, PostgreSQL or other
7f18ac
databases.
7f18ac
7f18ac
%package mysqlnd
7f18ac
Summary: A module for PHP applications that use MySQL databases
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-pdo%{?_isa} = %{version}-%{release}
7f18ac
Provides: php_database
7f18ac
Provides: php-mysqli = %{version}-%{release}
7f18ac
Provides: php-mysqli%{?_isa} = %{version}-%{release}
7f18ac
Provides: php-pdo_mysql, php-pdo_mysql%{?_isa}
7f18ac
7f18ac
%description mysqlnd
7f18ac
The php-mysqlnd package contains a dynamic shared object that will add
7f18ac
MySQL database support to PHP. MySQL is an object-relational database
7f18ac
management system. PHP is an HTML-embeddable scripting language. If
7f18ac
you need MySQL support for PHP applications, you will need to install
7f18ac
this package and the php package.
7f18ac
7f18ac
This package use the MySQL Native Driver
7f18ac
7f18ac
%package pgsql
7f18ac
Summary: A PostgreSQL database module for PHP
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-pdo%{?_isa} = %{version}-%{release}
7f18ac
Provides: php_database
7f18ac
Provides: php-pdo_pgsql, php-pdo_pgsql%{?_isa}
7f18ac
BuildRequires: krb5-devel
7f18ac
BuildRequires: openssl-devel >= 1.0.1
7f18ac
BuildRequires: libpq-devel
7f18ac
7f18ac
%description pgsql
7f18ac
The php-pgsql package add PostgreSQL database support to PHP.
7f18ac
PostgreSQL is an object-relational database management
7f18ac
system that supports almost all SQL constructs. PHP is an
7f18ac
HTML-embedded scripting language. If you need back-end support for
7f18ac
PostgreSQL, you should install this package in addition to the main
7f18ac
php package.
7f18ac
7f18ac
%package process
7f18ac
Summary: Modules for PHP script using system process interfaces
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
Provides: php-posix, php-posix%{?_isa}
7f18ac
Provides: php-shmop, php-shmop%{?_isa}
7f18ac
Provides: php-sysvsem, php-sysvsem%{?_isa}
7f18ac
Provides: php-sysvshm, php-sysvshm%{?_isa}
7f18ac
Provides: php-sysvmsg, php-sysvmsg%{?_isa}
7f18ac
7f18ac
%description process
7f18ac
The php-process package contains dynamic shared objects which add
7f18ac
support to PHP using system interfaces for inter-process
7f18ac
communication.
7f18ac
7f18ac
%package odbc
7f18ac
Summary: A module for PHP applications that use ODBC databases
7f18ac
# All files licensed under PHP version 3.01, except
7f18ac
# pdo_odbc is licensed under PHP version 3.0
7f18ac
License: PHP
7f18ac
Requires: php-pdo%{?_isa} = %{version}-%{release}
7f18ac
Provides: php_database
7f18ac
Provides: php-pdo_odbc, php-pdo_odbc%{?_isa}
7f18ac
BuildRequires: unixODBC-devel
7f18ac
7f18ac
%description odbc
7f18ac
The php-odbc package contains a dynamic shared object that will add
7f18ac
database support through ODBC to PHP. ODBC is an open specification
7f18ac
which provides a consistent API for developers to use for accessing
7f18ac
data sources (which are often, but not always, databases). PHP is an
7f18ac
HTML-embeddable scripting language. If you need ODBC support for PHP
7f18ac
applications, you will need to install this package and the php
7f18ac
package.
7f18ac
7f18ac
%package soap
7f18ac
Summary: A module for PHP applications that use the SOAP protocol
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
BuildRequires: pkgconfig(libxml-2.0)
7f18ac
7f18ac
%description soap
7f18ac
The php-soap package contains a dynamic shared object that will add
7f18ac
support to PHP for using the SOAP web services protocol.
7f18ac
7f18ac
%if %{with_firebird}
7f18ac
%package pdo-firebird
7f18ac
Summary: PDO driver for Interbase/Firebird databases
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
# for fb_config command
7f18ac
BuildRequires:  firebird-devel
7f18ac
Requires: php-pdo%{?_isa} = %{version}-%{release}
7f18ac
Provides: php_database
7f18ac
Provides: php-pdo_firebird, php-pdo_firebird%{?_isa}
7f18ac
7f18ac
%description pdo-firebird
7f18ac
The php-pdo-firebird package contains the PDO driver for
7f18ac
Interbase/Firebird databases.
7f18ac
%endif
7f18ac
7f18ac
%package snmp
7f18ac
Summary: A module for PHP applications that query SNMP-managed devices
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}, net-snmp
7f18ac
BuildRequires: net-snmp-devel
7f18ac
7f18ac
%description snmp
7f18ac
The php-snmp package contains a dynamic shared object that will add
7f18ac
support for querying SNMP devices to PHP.  PHP is an HTML-embeddable
7f18ac
scripting language. If you need SNMP support for PHP applications, you
7f18ac
will need to install this package and the php package.
7f18ac
7f18ac
%package xml
7f18ac
Summary: A module for PHP applications which use XML
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
Provides: php-dom, php-dom%{?_isa}
7f18ac
Provides: php-domxml, php-domxml%{?_isa}
7f18ac
Provides: php-simplexml, php-simplexml%{?_isa}
7f18ac
Provides: php-xmlreader, php-xmlreader%{?_isa}
7f18ac
Provides: php-xmlwriter, php-xmlwriter%{?_isa}
7f18ac
Provides: php-xsl, php-xsl%{?_isa}
7f18ac
BuildRequires: pkgconfig(libxslt)  >= 1.1
7f18ac
BuildRequires: pkgconfig(libexslt)
7f18ac
BuildRequires: pkgconfig(libxml-2.0)  >= 2.7.6
7f18ac
7f18ac
%description xml
7f18ac
The php-xml package contains dynamic shared objects which add support
7f18ac
to PHP for manipulating XML documents using the DOM tree,
7f18ac
and performing XSL transformations on XML documents.
7f18ac
7f18ac
%package xmlrpc
7f18ac
Summary: A module for PHP applications which use the XML-RPC protocol
7f18ac
# All files licensed under PHP version 3.01, except
7f18ac
# libXMLRPC is licensed under BSD
7f18ac
License: PHP and BSD
7f18ac
Requires: php-xml%{?_isa} = %{version}-%{release}
7f18ac
7f18ac
%description xmlrpc
7f18ac
The php-xmlrpc package contains a dynamic shared object that will add
7f18ac
support for the XML-RPC protocol to PHP.
7f18ac
7f18ac
%package mbstring
7f18ac
Summary: A module for PHP applications which need multi-byte string handling
7f18ac
# All files licensed under PHP version 3.01, except
7f18ac
# libmbfl is licensed under LGPLv2
7f18ac
# ucgendat is licensed under OpenLDAP
7f18ac
License: PHP and LGPLv2 and OpenLDAP
7f18ac
BuildRequires: pkgconfig(oniguruma) >= 6.8
7f18ac
Provides: bundled(libmbfl) = 1.3.2
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
7f18ac
%description mbstring
7f18ac
The php-mbstring package contains a dynamic shared object that will add
7f18ac
support for multi-byte string handling to PHP.
7f18ac
7f18ac
%package gd
7f18ac
Summary: A module for PHP applications for using the gd graphics library
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
BuildRequires: pkgconfig(gdlib) >= 2.1.1
7f18ac
7f18ac
%description gd
7f18ac
The php-gd package contains a dynamic shared object that will add
7f18ac
support for using the gd graphics library to PHP.
7f18ac
7f18ac
%package bcmath
7f18ac
Summary: A module for PHP applications for using the bcmath library
7f18ac
# All files licensed under PHP version 3.01, except
7f18ac
# libbcmath is licensed under LGPLv2+
7f18ac
License: PHP and LGPLv2+
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
7f18ac
%description bcmath
7f18ac
The php-bcmath package contains a dynamic shared object that will add
7f18ac
support for using the bcmath library to PHP.
7f18ac
7f18ac
%package gmp
7f18ac
Summary: A module for PHP applications for using the GNU MP library
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
BuildRequires: gmp-devel
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
7f18ac
%description gmp
7f18ac
These functions allow you to work with arbitrary-length integers
7f18ac
using the GNU MP library.
7f18ac
7f18ac
%package dba
7f18ac
Summary: A database abstraction layer module for PHP applications
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
BuildRequires: libdb-devel
7f18ac
BuildRequires: tokyocabinet-devel
7f18ac
%if %{with_lmdb}
7f18ac
BuildRequires: lmdb-devel
7f18ac
%endif
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
7f18ac
%description dba
7f18ac
The php-dba package contains a dynamic shared object that will add
7f18ac
support for using the DBA database abstraction layer to PHP.
7f18ac
7f18ac
%if %{with_tidy}
7f18ac
%package tidy
7f18ac
Summary: Standard PHP module provides tidy library support
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
BuildRequires: libtidy-devel
7f18ac
7f18ac
%description tidy
7f18ac
The php-tidy package contains a dynamic shared object that will add
7f18ac
support for using the tidy library to PHP.
7f18ac
%endif
7f18ac
7f18ac
%if %{with_freetds}
7f18ac
%package pdo-dblib
7f18ac
Summary: PDO driver for Microsoft SQL Server and Sybase databases
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-pdo%{?_isa} = %{version}-%{release}
7f18ac
BuildRequires: freetds-devel
7f18ac
Provides: php-pdo_dblib, php-pdo_dblib%{?_isa}
7f18ac
7f18ac
%description pdo-dblib
7f18ac
The php-pdo-dblib package contains a dynamic shared object
7f18ac
that implements the PHP Data Objects (PDO) interface to enable access from
7f18ac
PHP to Microsoft SQL Server and Sybase databases through the FreeTDS library.
7f18ac
%endif
7f18ac
7f18ac
%package embedded
7f18ac
Summary: PHP library for embedding in applications
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
# doing a real -devel package for just the .so symlink is a bit overkill
7f18ac
Provides: php-embedded-devel = %{version}-%{release}
7f18ac
Provides: php-embedded-devel%{?_isa} = %{version}-%{release}
7f18ac
7f18ac
%description embedded
7f18ac
The php-embedded package contains a library which can be embedded
7f18ac
into applications to provide PHP scripting language support.
7f18ac
7f18ac
%if %{with_pspell}
7f18ac
%package pspell
7f18ac
Summary: A module for PHP applications for using pspell interfaces
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
BuildRequires: aspell-devel >= 0.50.0
7f18ac
7f18ac
%description pspell
7f18ac
The php-pspell package contains a dynamic shared object that will add
7f18ac
support for using the pspell library to PHP.
7f18ac
%endif
7f18ac
7f18ac
%package intl
7f18ac
Summary: Internationalization extension for PHP applications
7f18ac
# All files licensed under PHP version 3.01
7f18ac
License: PHP
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
BuildRequires: pkgconfig(icu-i18n) >= 50.1
7f18ac
BuildRequires: pkgconfig(icu-io)   >= 50.1
7f18ac
BuildRequires: pkgconfig(icu-uc)   >= 50.1
7f18ac
7f18ac
%description intl
7f18ac
The php-intl package contains a dynamic shared object that will add
7f18ac
support for using the ICU library to PHP.
7f18ac
7f18ac
%package enchant
7f18ac
Summary: Enchant spelling extension for PHP applications
7f18ac
# All files licensed under PHP version 3.0
7f18ac
License: PHP
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
BuildRequires: pkgconfig(enchant)
7f18ac
7f18ac
%description enchant
7f18ac
The php-enchant package contains a dynamic shared object that will add
7f18ac
support for using the enchant library to PHP.
7f18ac
7f18ac
%package json
7f18ac
Summary: JavaScript Object Notation extension for PHP
7f18ac
# All files licensed under PHP version 3.0.1
7f18ac
License: PHP
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
Obsoletes: php-pecl-json          < %{version}
7f18ac
Obsoletes: php-pecl-jsonc         < %{version}
7f18ac
Provides:  php-pecl(json)         = %{version}
7f18ac
Provides:  php-pecl(json)%{?_isa} = %{version}
7f18ac
Provides:  php-pecl-json          = %{version}
7f18ac
Provides:  php-pecl-json%{?_isa}  = %{version}
7f18ac
7f18ac
%description json
7f18ac
The php-json package provides an extension that will add
7f18ac
support for JavaScript Object Notation (JSON) to PHP.
7f18ac
7f18ac
%if %{with_sodium}
7f18ac
%package sodium
7f18ac
Summary: Wrapper for the Sodium cryptographic library
7f18ac
# All files licensed under PHP version 3.0.1
7f18ac
License: PHP
7f18ac
BuildRequires:  pkgconfig(libsodium) >= 1.0.9
7f18ac
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
Obsoletes: php-pecl-libsodium2 < 3
7f18ac
Provides:  php-pecl(libsodium)         = %{version}
7f18ac
Provides:  php-pecl(libsodium)%{?_isa} = %{version}
7f18ac
7f18ac
%description sodium
7f18ac
The php-sodium package provides a simple,
7f18ac
low-level PHP extension for the libsodium cryptographic library.
7f18ac
%endif
7f18ac
7f18ac
7f18ac
%package ffi
7f18ac
Summary: Foreign Function Interface
7f18ac
# All files licensed under PHP version 3.0.1
7f18ac
License: PHP
7f18ac
Group: System Environment/Libraries
7f18ac
BuildRequires:  pkgconfig(libffi)
7f18ac
Requires: php-common%{?_isa} = %{version}-%{release}
7f18ac
7f18ac
%description ffi
7f18ac
FFI is one of the features that made Python and LuaJIT very useful for fast
7f18ac
prototyping. It allows calling C functions and using C data types from pure
7f18ac
scripting language and therefore develop “system code” more productively.
7f18ac
7f18ac
For PHP, FFI opens a way to write PHP extensions and bindings to C libraries
7f18ac
in pure PHP.
7f18ac
7f18ac
7f18ac
%prep
7f18ac
%{?gpgverify:%{gpgverify} --keyring='%{SOURCE20}' --signature='%{SOURCE21}' --data='%{SOURCE0}'}
7f18ac
7f18ac
%setup -q -n php-%{upver}%{?rcver}
7f18ac
7f18ac
%patch1 -p1 -b .mpmcheck
7f18ac
%patch5 -p1 -b .includedir
7f18ac
%patch6 -p1 -b .embed
7f18ac
%patch8 -p1 -b .libdb
7f18ac
7f18ac
%patch42 -p1 -b .systzdata
7f18ac
%patch43 -p1 -b .headers
7f18ac
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
7f18ac
%patch45 -p1 -b .ldap_r
7f18ac
%endif
7f18ac
%patch47 -p1 -b .phpinfo
7f18ac
7f18ac
# upstream patches
7f18ac
7f18ac
# security patches
7f18ac
7f18ac
# Fixes for tests
7f18ac
%patch300 -p1 -b .datetests
7f18ac
7f18ac
7f18ac
# Prevent %%doc confusion over LICENSE files
9af658
cp Zend/LICENSE ZEND_LICENSE
7f18ac
cp TSRM/LICENSE TSRM_LICENSE
7f18ac
cp sapi/fpm/LICENSE fpm_LICENSE
7f18ac
cp ext/mbstring/libmbfl/LICENSE libmbfl_LICENSE
7f18ac
cp ext/fileinfo/libmagic/LICENSE libmagic_LICENSE
7f18ac
cp ext/bcmath/libbcmath/LICENSE libbcmath_LICENSE
7f18ac
cp ext/date/lib/LICENSE.rst timelib_LICENSE
7f18ac
7f18ac
# Multiple builds for multiple SAPIs
7f18ac
mkdir build-cgi build-embedded \
7f18ac
%if %{with_modphp}
7f18ac
    build-apache \
7f18ac
%endif
7f18ac
%if %{with_zts}
7f18ac
    build-zts build-ztscli \
7f18ac
%endif
7f18ac
    build-fpm
7f18ac
7f18ac
# ----- Manage known as failed test -------
7f18ac
# affected by systzdata patch
7f18ac
rm ext/date/tests/timezone_location_get.phpt
7f18ac
# fails sometime
7f18ac
rm ext/sockets/tests/mcast_ipv?_recv.phpt
7f18ac
# cause stack exhausion
7f18ac
rm Zend/tests/bug54268.phpt
7f18ac
rm Zend/tests/bug68412.phpt
7f18ac
# tar issue
7f18ac
rm ext/zlib/tests/004-mb.phpt
7f18ac
7f18ac
# Safety check for API version change.
7f18ac
pver=$(sed -n '/#define PHP_VERSION /{s/.* "//;s/".*$//;p}' main/php_version.h)
7f18ac
if test "x${pver}" != "x%{upver}%{?rcver}"; then
7f18ac
   : Error: Upstream PHP version is now ${pver}, expecting %{upver}%{?rcver}.
7f18ac
   : Update the version/rcver macros and rebuild.
7f18ac
   exit 1
7f18ac
fi
7f18ac
7f18ac
vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
7f18ac
if test "x${vapi}" != "x%{apiver}"; then
7f18ac
   : Error: Upstream API version is now ${vapi}, expecting %{apiver}.
7f18ac
   : Update the apiver macro and rebuild.
7f18ac
   exit 1
7f18ac
fi
7f18ac
7f18ac
vzend=`sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h`
7f18ac
if test "x${vzend}" != "x%{zendver}"; then
7f18ac
   : Error: Upstream Zend ABI version is now ${vzend}, expecting %{zendver}.
7f18ac
   : Update the zendver macro and rebuild.
7f18ac
   exit 1
7f18ac
fi
7f18ac
7f18ac
# Safety check for PDO ABI version change
7f18ac
vpdo=`sed -n '/#define PDO_DRIVER_API/{s/.*[ 	]//;p}' ext/pdo/php_pdo_driver.h`
7f18ac
if test "x${vpdo}" != "x%{pdover}"; then
7f18ac
   : Error: Upstream PDO ABI version is now ${vpdo}, expecting %{pdover}.
7f18ac
   : Update the pdover macro and rebuild.
7f18ac
   exit 1
7f18ac
fi
7f18ac
7f18ac
# https://bugs.php.net/63362 - Not needed but installed headers.
7f18ac
# Drop some Windows specific headers to avoid installation,
7f18ac
# before build to ensure they are really not needed.
7f18ac
rm -f TSRM/tsrm_win32.h \
7f18ac
      TSRM/tsrm_config.w32.h \
7f18ac
      Zend/zend_config.w32.h \
7f18ac
      ext/mysqlnd/config-win.h \
7f18ac
      ext/standard/winver.h \
7f18ac
      main/win32_internal_function_disabled.h \
7f18ac
      main/win95nt.h
7f18ac
7f18ac
# Fix some bogus permissions
7f18ac
find . -name \*.[ch] -exec chmod 644 {} \;
7f18ac
chmod 644 README.*
7f18ac
7f18ac
# Some extensions have their own configuration file
7f18ac
cp %{SOURCE50} %{SOURCE51} %{SOURCE53} .
7f18ac
7f18ac
7f18ac
%build
7f18ac
# Set build date from https://reproducible-builds.org/specs/source-date-epoch/
7f18ac
export SOURCE_DATE_EPOCH=$(date +%s -r NEWS)
f1abcb
export PHP_UNAME=$(uname)
7f18ac
7f18ac
# Force use of system libtool:
7f18ac
libtoolize --force --copy
7f18ac
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >build/libtool.m4
7f18ac
7f18ac
# Regenerate configure scripts (patches change config.m4's)
7f18ac
touch configure.ac
7f18ac
./buildconf --force
7f18ac
7f18ac
CFLAGS=$(echo $RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign | sed 's/-mstackrealign//')
7f18ac
export CFLAGS
7f18ac
7f18ac
# Install extension modules in %%{_libdir}/php/modules.
7f18ac
EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
7f18ac
7f18ac
# Set PEAR_INSTALLDIR to ensure that the hard-coded include_path
7f18ac
# includes the PEAR directory even though pear is packaged
7f18ac
# separately.
7f18ac
PEAR_INSTALLDIR=%{_datadir}/pear; export PEAR_INSTALLDIR
7f18ac
7f18ac
# Shell function to configure and build a PHP tree.
7f18ac
build() {
7f18ac
# Old/recent bison version seems to produce a broken parser;
7f18ac
# upstream uses GNU Bison 2.3. Workaround:
7f18ac
mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend
7f18ac
7f18ac
# Always static:
7f18ac
# date, ereg, filter, libxml, reflection, spl: not supported
7f18ac
# hash: for PHAR_SIG_SHA256 and PHAR_SIG_SHA512
7f18ac
# session: dep on hash, used by soap
7f18ac
# pcre: used by filter, zip
7f18ac
# pcntl, readline: only used by CLI sapi
7f18ac
# openssl: for PHAR_SIG_OPENSSL
7f18ac
# zlib: used by image
7f18ac
7f18ac
ln -sf ../configure
7f18ac
%configure \
7f18ac
    --enable-rtld-now \
7f18ac
    --cache-file=../config.cache \
7f18ac
    --with-libdir=%{_lib} \
7f18ac
    --with-config-file-path=%{_sysconfdir} \
7f18ac
    --with-config-file-scan-dir=%{_sysconfdir}/php.d \
7f18ac
    --disable-debug \
7f18ac
    --with-pic \
7f18ac
    --disable-rpath \
7f18ac
    --without-pear \
7f18ac
    --with-exec-dir=%{_bindir} \
7f18ac
    --without-gdbm \
7f18ac
    --with-openssl \
7f18ac
    --with-system-ciphers \
7f18ac
    --with-external-pcre \
7f18ac
%ifarch s390 s390x sparc64 sparcv9 riscv64
7f18ac
    --without-pcre-jit \
7f18ac
%endif
7f18ac
    --with-zlib \
7f18ac
    --with-layout=GNU \
7f18ac
    --with-kerberos \
7f18ac
    --with-libxml \
7f18ac
    --with-system-tzdata \
7f18ac
    --with-mhash \
7f18ac
    --without-password-argon2 \
7f18ac
    --enable-dtrace \
7f18ac
    $*
7f18ac
if test $? != 0; then
7f18ac
  tail -500 config.log
7f18ac
  : configure failed
7f18ac
  exit 1
7f18ac
fi
7f18ac
7f18ac
make %{?_smp_mflags}
7f18ac
}
7f18ac
7f18ac
# Build /usr/bin/php-cgi with the CGI SAPI, and most shared extensions
7f18ac
pushd build-cgi
7f18ac
7f18ac
build --libdir=%{_libdir}/php \
7f18ac
      --enable-pcntl \
7f18ac
      --enable-opcache \
7f18ac
      --enable-phpdbg \
7f18ac
%if %{with_imap}
7f18ac
      --with-imap=shared --with-imap-ssl \
7f18ac
%endif
7f18ac
      --enable-mbstring=shared \
7f18ac
      --enable-mbregex \
7f18ac
      --enable-gd=shared \
7f18ac
      --with-external-gd \
7f18ac
      --with-gmp=shared \
7f18ac
      --enable-calendar=shared \
7f18ac
      --enable-bcmath=shared \
7f18ac
      --with-bz2=shared \
7f18ac
      --enable-ctype=shared \
7f18ac
      --enable-dba=shared --with-db4=%{_prefix} \
7f18ac
                          --with-tcadb=%{_prefix} \
7f18ac
%if %{with_lmdb}
7f18ac
                          --with-lmdb=%{_prefix} \
7f18ac
%endif
7f18ac
      --enable-exif=shared \
7f18ac
      --enable-ftp=shared \
7f18ac
      --with-gettext=shared \
7f18ac
      --with-iconv=shared \
7f18ac
      --enable-sockets=shared \
7f18ac
      --enable-tokenizer=shared \
7f18ac
      --with-xmlrpc=shared \
7f18ac
      --with-ldap=shared --with-ldap-sasl \
7f18ac
      --enable-mysqlnd=shared \
7f18ac
      --with-mysqli=shared,mysqlnd \
7f18ac
      --with-mysql-sock=%{mysql_sock} \
7f18ac
%if %{with_firebird}
7f18ac
      --with-pdo-firebird=shared \
7f18ac
%endif
7f18ac
      --enable-dom=shared \
7f18ac
      --with-pgsql=shared \
7f18ac
      --enable-simplexml=shared \
7f18ac
      --enable-xml=shared \
7f18ac
      --with-snmp=shared,%{_prefix} \
7f18ac
      --enable-soap=shared \
7f18ac
      --with-xsl=shared,%{_prefix} \
7f18ac
      --enable-xmlreader=shared --enable-xmlwriter=shared \
7f18ac
      --with-curl=shared \
7f18ac
      --enable-pdo=shared \
7f18ac
      --with-pdo-odbc=shared,unixODBC,%{_prefix} \
7f18ac
      --with-pdo-mysql=shared,mysqlnd \
7f18ac
      --with-pdo-pgsql=shared,%{_prefix} \
7f18ac
      --with-pdo-sqlite=shared \
7f18ac
%if %{with_freetds}
7f18ac
      --with-pdo-dblib=shared,%{_prefix} \
7f18ac
%endif
7f18ac
      --with-sqlite3=shared \
7f18ac
      --enable-json=shared \
7f18ac
      --without-readline \
7f18ac
      --with-libedit \
7f18ac
%if %{with_pspell}
7f18ac
      --with-pspell=shared \
7f18ac
%endif
7f18ac
      --enable-phar=shared \
7f18ac
%if %{with_tidy}
7f18ac
      --with-tidy=shared,%{_prefix} \
7f18ac
%endif
7f18ac
      --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
7f18ac
      --enable-shmop=shared \
7f18ac
      --enable-posix=shared \
7f18ac
      --with-unixODBC=shared,%{_prefix} \
7f18ac
      --enable-fileinfo=shared \
7f18ac
      --with-ffi=shared \
7f18ac
%if %{with_sodium}
7f18ac
      --with-sodium=shared \
7f18ac
%else
7f18ac
      --without-sodium \
7f18ac
%endif
7f18ac
      --enable-intl=shared \
7f18ac
      --with-enchant=shared
7f18ac
popd
7f18ac
7f18ac
without_shared="--without-gd \
7f18ac
      --disable-dom --disable-dba --without-unixODBC \
7f18ac
      --disable-opcache \
7f18ac
      --disable-phpdbg \
7f18ac
      --disable-json \
7f18ac
      --without-ffi \
7f18ac
      --disable-xmlreader --disable-xmlwriter \
7f18ac
      --without-sodium \
7f18ac
      --without-sqlite3 --disable-phar --disable-fileinfo \
7f18ac
      --without-pspell \
7f18ac
      --without-curl --disable-posix --disable-xml \
7f18ac
      --disable-simplexml --disable-exif --without-gettext \
7f18ac
      --without-iconv --disable-ftp --without-bz2 --disable-ctype \
7f18ac
      --disable-shmop --disable-sockets --disable-tokenizer \
7f18ac
      --disable-sysvmsg --disable-sysvshm --disable-sysvsem"
7f18ac
7f18ac
%if %{with_modphp}
7f18ac
# Build Apache module, and the CLI SAPI, /usr/bin/php
7f18ac
pushd build-apache
7f18ac
build --with-apxs2=%{_httpd_apxs} \
7f18ac
      --libdir=%{_libdir}/php \
7f18ac
      --without-mysqli \
7f18ac
      --disable-pdo \
7f18ac
      ${without_shared}
7f18ac
popd
7f18ac
%endif
7f18ac
7f18ac
# Build php-fpm
7f18ac
pushd build-fpm
7f18ac
build --enable-fpm \
7f18ac
      --with-fpm-acl \
7f18ac
      --with-fpm-systemd \
7f18ac
      --libdir=%{_libdir}/php \
7f18ac
      --without-mysqli \
7f18ac
      --disable-pdo \
7f18ac
      ${without_shared}
7f18ac
popd
7f18ac
7f18ac
# Build for inclusion as embedded script language into applications,
7f18ac
# /usr/lib[64]/libphp7.so
7f18ac
pushd build-embedded
7f18ac
build --enable-embed \
7f18ac
      --without-mysqli --disable-pdo \
7f18ac
      ${without_shared}
7f18ac
popd
7f18ac
7f18ac
%if %{with_zts}
7f18ac
# Build a special thread-safe (mainly for modules)
7f18ac
pushd build-ztscli
7f18ac
7f18ac
EXTENSION_DIR=%{_libdir}/php-zts/modules
7f18ac
build --includedir=%{_includedir}/php-zts \
7f18ac
      --libdir=%{_libdir}/php-zts \
7f18ac
      --enable-maintainer-zts \
7f18ac
      --program-prefix=zts- \
7f18ac
      --disable-cgi \
7f18ac
      --with-config-file-scan-dir=%{_sysconfdir}/php-zts.d \
7f18ac
      --enable-pcntl \
7f18ac
      --enable-opcache \
7f18ac
%if %{with_imap}
7f18ac
      --with-imap=shared --with-imap-ssl \
7f18ac
%endif
7f18ac
      --enable-mbstring=shared \
7f18ac
      --enable-mbregex \
7f18ac
      --enable-gd=shared \
7f18ac
      --with-external-gd \
7f18ac
      --with-gmp=shared \
7f18ac
      --enable-calendar=shared \
7f18ac
      --enable-bcmath=shared \
7f18ac
      --with-bz2=shared \
7f18ac
      --enable-ctype=shared \
7f18ac
      --enable-dba=shared --with-db4=%{_prefix} \
7f18ac
                          --with-tcadb=%{_prefix} \
7f18ac
%if %{with_lmdb}
7f18ac
                          --with-lmdb=%{_prefix} \
7f18ac
%endif
7f18ac
      --with-gettext=shared \
7f18ac
      --with-iconv=shared \
7f18ac
      --enable-sockets=shared \
7f18ac
      --enable-tokenizer=shared \
7f18ac
      --enable-exif=shared \
7f18ac
      --enable-ftp=shared \
7f18ac
      --with-xmlrpc=shared \
7f18ac
      --with-ldap=shared --with-ldap-sasl \
7f18ac
      --enable-mysqlnd=shared \
7f18ac
      --with-mysqli=shared,mysqlnd \
7f18ac
      --with-mysql-sock=%{mysql_sock} \
7f18ac
      --enable-mysqlnd-threading \
7f18ac
%if %{with_firebird}
7f18ac
      --with-pdo-firebird=shared \
7f18ac
%endif
7f18ac
      --enable-dom=shared \
7f18ac
      --with-pgsql=shared \
7f18ac
      --enable-simplexml=shared \
7f18ac
      --enable-xml=shared \
7f18ac
      --with-snmp=shared,%{_prefix} \
7f18ac
      --enable-soap=shared \
7f18ac
      --with-xsl=shared,%{_prefix} \
7f18ac
      --enable-xmlreader=shared --enable-xmlwriter=shared \
7f18ac
      --with-curl=shared \
7f18ac
      --enable-pdo=shared \
7f18ac
      --with-pdo-odbc=shared,unixODBC,%{_prefix} \
7f18ac
      --with-pdo-mysql=shared,mysqlnd \
7f18ac
      --with-pdo-pgsql=shared,%{_prefix} \
7f18ac
      --with-pdo-sqlite=shared \
7f18ac
%if %{with_freetds}
7f18ac
      --with-pdo-dblib=shared,%{_prefix} \
7f18ac
%endif
7f18ac
      --with-sqlite3=shared \
7f18ac
      --enable-json=shared \
7f18ac
      --without-readline \
7f18ac
      --with-libedit \
7f18ac
%if %{with_pspell}
7f18ac
      --with-pspell=shared \
7f18ac
%endif
7f18ac
      --enable-phar=shared \
7f18ac
%if %{with_tidy}
7f18ac
      --with-tidy=shared,%{_prefix} \
7f18ac
%endif
7f18ac
      --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
7f18ac
      --enable-shmop=shared \
7f18ac
      --enable-posix=shared \
7f18ac
      --with-unixODBC=shared,%{_prefix} \
7f18ac
      --enable-fileinfo=shared \
7f18ac
      --with-ffi=shared \
7f18ac
%if %{with_sodium}
7f18ac
      --with-sodium=shared \
7f18ac
%else
7f18ac
      --without-sodium \
7f18ac
%endif
7f18ac
      --enable-intl=shared \
7f18ac
      --with-enchant=shared
7f18ac
popd
7f18ac
7f18ac
### NOTE!!! EXTENSION_DIR was changed for the -zts build, so it must remain
7f18ac
### the last SAPI to be built.
7f18ac
%endif
7f18ac
7f18ac
7f18ac
%check
7f18ac
%if %runselftest
7f18ac
cd build-fpm
7f18ac
7f18ac
# Run tests, using the CLI SAPI
7f18ac
export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
7f18ac
export SKIP_ONLINE_TESTS=1
7f18ac
export SKIP_IO_CAPTURE_TESTS=1
7f18ac
unset TZ LANG LC_ALL
7f18ac
if ! make test TESTS=-j4; then
7f18ac
  set +x
7f18ac
  for f in $(find .. -name \*.diff -type f -print); do
7f18ac
    if ! grep -q XFAIL "${f/.diff/.phpt}"
7f18ac
    then
7f18ac
      echo "TEST FAILURE: $f --"
7f18ac
      cat "$f"
7f18ac
      echo -e "\n-- $f result ends."
7f18ac
    fi
7f18ac
  done
7f18ac
  set -x
7f18ac
  #exit 1
7f18ac
fi
7f18ac
unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
7f18ac
%endif
7f18ac
7f18ac
%install
7f18ac
%if %{with_zts}
7f18ac
# Install the extensions for the ZTS version
7f18ac
make -C build-ztscli install \
7f18ac
     INSTALL_ROOT=$RPM_BUILD_ROOT
7f18ac
%endif
7f18ac
7f18ac
# Install the version for embedded script language in applications + php_embed.h
7f18ac
make -C build-embedded install-sapi install-headers \
7f18ac
     INSTALL_ROOT=$RPM_BUILD_ROOT
7f18ac
7f18ac
# Install the php-fpm binary
7f18ac
make -C build-fpm install-fpm \
7f18ac
     INSTALL_ROOT=$RPM_BUILD_ROOT
7f18ac
7f18ac
# Install everything from the CGI SAPI build
7f18ac
make -C build-cgi install \
7f18ac
     INSTALL_ROOT=$RPM_BUILD_ROOT
7f18ac
7f18ac
# Use php-config from embed SAPI to reduce used libs
7f18ac
install -m 755 build-embedded/scripts/php-config $RPM_BUILD_ROOT%{_bindir}/php-config
7f18ac
7f18ac
# Install the default configuration file
7f18ac
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
7f18ac
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
7f18ac
7f18ac
# For third-party packaging:
7f18ac
install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/php/preload
7f18ac
7f18ac
%if %{with_modphp}
7f18ac
# install the DSO
7f18ac
install -m 755 -d $RPM_BUILD_ROOT%{_httpd_moddir}
7f18ac
install -m 755 build-apache/libs/libphp7.so $RPM_BUILD_ROOT%{_httpd_moddir}
7f18ac
%endif
7f18ac
7f18ac
# Apache config fragment
7f18ac
# Dual config file with httpd >= 2.4 (fedora >= 18)
7f18ac
%if %{with_modphp}
7f18ac
install -D -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{_httpd_modconfdir}/15-php.conf
7f18ac
%endif
7f18ac
install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_httpd_confdir}/php.conf
7f18ac
7f18ac
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
7f18ac
%if %{with_zts}
7f18ac
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d
7f18ac
%endif
7f18ac
install -m 755 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php
7f18ac
install -m 755 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php/peclxml
7f18ac
install -m 700 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php/session
7f18ac
install -m 700 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php/wsdlcache
7f18ac
install -m 700 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php/opcache
7f18ac
7f18ac
install -m 755 -d $RPM_BUILD_ROOT%{_docdir}/pecl
7f18ac
install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/tests/pecl
7f18ac
7f18ac
# PHP-FPM stuff
7f18ac
# Log
7f18ac
install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/log/php-fpm
7f18ac
install -m 755 -d $RPM_BUILD_ROOT/run/php-fpm
7f18ac
# Config
7f18ac
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d
7f18ac
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.conf
7f18ac
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d/www.conf
7f18ac
mv $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.conf.default .
7f18ac
mv $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d/www.conf.default .
7f18ac
# install systemd unit files and scripts for handling server startup
7f18ac
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/php-fpm.service.d
7f18ac
install -Dm 644 %{SOURCE6}  $RPM_BUILD_ROOT%{_unitdir}/php-fpm.service
7f18ac
install -Dm 644 %{SOURCE12} $RPM_BUILD_ROOT%{_unitdir}/httpd.service.d/php-fpm.conf
7f18ac
install -Dm 644 %{SOURCE12} $RPM_BUILD_ROOT%{_unitdir}/nginx.service.d/php-fpm.conf
7f18ac
# LogRotate
7f18ac
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
7f18ac
install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/php-fpm
7f18ac
# Nginx configuration
7f18ac
install -D -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/conf.d/php-fpm.conf
7f18ac
install -D -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/default.d/php.conf
7f18ac
7f18ac
TESTCMD="$RPM_BUILD_ROOT%{_bindir}/php --no-php-ini"
7f18ac
# Ensure all provided extensions are really there
7f18ac
for mod in core date filter hash libxml openssl pcntl pcre readline reflection session spl standard zlib
7f18ac
do
7f18ac
     $TESTCMD --modules | grep -qi $mod
7f18ac
done
7f18ac
7f18ac
TESTCMD="$TESTCMD --define extension_dir=$RPM_BUILD_ROOT%{_libdir}/php/modules"
7f18ac
7f18ac
# Generate files lists and stub .ini files for each subpackage
7f18ac
for mod in pgsql odbc ldap snmp \
7f18ac
%if %{with_imap}
7f18ac
    imap \
7f18ac
%endif
7f18ac
    json \
7f18ac
    mysqlnd mysqli \
7f18ac
    mbstring gd dom xsl soap bcmath dba \
7f18ac
    simplexml bz2 calendar ctype exif ftp gettext gmp iconv \
7f18ac
    sockets tokenizer opcache \
7f18ac
    sqlite3 \
7f18ac
    enchant phar fileinfo intl \
7f18ac
    ffi \
7f18ac
%if %{with_tidy}
7f18ac
    tidy \
7f18ac
%endif
7f18ac
%if %{with_pspell}
7f18ac
    pspell \
7f18ac
%endif
7f18ac
    curl \
7f18ac
%if %{with_sodium}
7f18ac
    sodium \
7f18ac
%endif
7f18ac
    posix shmop sysvshm sysvsem sysvmsg xml \
7f18ac
    pdo pdo_mysql pdo pdo_pgsql pdo_odbc pdo_sqlite \
7f18ac
%if %{with_firebird}
7f18ac
    pdo_firebird \
7f18ac
%endif
7f18ac
%if %{with_freetds}
7f18ac
    pdo_dblib \
7f18ac
%endif
7f18ac
    xmlrpc xmlreader xmlwriter
7f18ac
do
7f18ac
    case $mod in
7f18ac
      opcache)
7f18ac
        # Zend extensions
7f18ac
        TESTCMD="$TESTCMD --define zend_extension=$mod"
7f18ac
        ini=10-${mod}.ini;;
7f18ac
      pdo_*|mysqli|xmlreader|xmlrpc)
7f18ac
        # Extensions with dependencies on 20-*
7f18ac
        TESTCMD="$TESTCMD --define extension=$mod"
7f18ac
        ini=30-${mod}.ini;;
7f18ac
      *)
7f18ac
        # Extensions with no dependency
7f18ac
        TESTCMD="$TESTCMD --define extension=$mod"
7f18ac
        ini=20-${mod}.ini;;
7f18ac
    esac
7f18ac
7f18ac
    $TESTCMD --modules | grep -qi $mod
7f18ac
7f18ac
    # some extensions have their own config file
7f18ac
    if [ -f ${ini} ]; then
7f18ac
      cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini}
7f18ac
%if %{with_zts}
7f18ac
      cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/${ini}
7f18ac
%endif
7f18ac
    else
7f18ac
      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini} <
7f18ac
; Enable ${mod} extension module
7f18ac
extension=${mod}
7f18ac
EOF
7f18ac
%if %{with_zts}
7f18ac
      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/${ini} <
7f18ac
; Enable ${mod} extension module
7f18ac
extension=${mod}
7f18ac
EOF
7f18ac
%endif
7f18ac
    fi
7f18ac
    cat > files.${mod} <
7f18ac
%{_libdir}/php/modules/${mod}.so
7f18ac
%config(noreplace) %{_sysconfdir}/php.d/${ini}
7f18ac
%if %{with_zts}
7f18ac
%{_libdir}/php-zts/modules/${mod}.so
7f18ac
%config(noreplace) %{_sysconfdir}/php-zts.d/${ini}
7f18ac
%endif
7f18ac
EOF
7f18ac
done
7f18ac
7f18ac
# The dom, xsl and xml* modules are all packaged in php-xml
7f18ac
cat files.dom files.xsl files.xml{reader,writer} \
7f18ac
    files.simplexml >> files.xml
7f18ac
7f18ac
# mysqlnd
7f18ac
cat files.mysqli \
7f18ac
    files.pdo_mysql \
7f18ac
    >> files.mysqlnd
7f18ac
7f18ac
# Split out the PDO modules
7f18ac
cat files.pdo_pgsql >> files.pgsql
7f18ac
cat files.pdo_odbc >> files.odbc
7f18ac
7f18ac
# sysv* and posix in packaged in php-process
7f18ac
cat files.shmop files.sysv* files.posix > files.process
7f18ac
7f18ac
# Package sqlite3 and pdo_sqlite with pdo; isolating the sqlite dependency
7f18ac
# isn't useful at this time since rpm itself requires sqlite.
7f18ac
cat files.pdo_sqlite >> files.pdo
7f18ac
cat files.sqlite3 >> files.pdo
7f18ac
7f18ac
# Package curl, phar and fileinfo in -common.
7f18ac
cat files.curl files.phar files.fileinfo \
7f18ac
    files.exif files.gettext files.iconv files.calendar \
7f18ac
    files.ftp files.bz2 files.ctype files.sockets \
7f18ac
    files.tokenizer > files.common
7f18ac
7f18ac
# The default Zend OPcache blacklist file
7f18ac
install -m 644 %{SOURCE51} $RPM_BUILD_ROOT%{_sysconfdir}/php.d/opcache-default.blacklist
7f18ac
%if %{with_zts}
7f18ac
install -m 644 %{SOURCE51} $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/opcache-default.blacklist
7f18ac
sed -e '/blacklist_filename/s/php.d/php-zts.d/' \
7f18ac
    -i $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/10-opcache.ini
7f18ac
%endif
7f18ac
7f18ac
# Install the macros file:
7f18ac
sed -e "s/@PHP_APIVER@/%{apiver}-%{__isa_bits}/" \
7f18ac
    -e "s/@PHP_ZENDVER@/%{zendver}-%{__isa_bits}/" \
7f18ac
    -e "s/@PHP_PDOVER@/%{pdover}-%{__isa_bits}/" \
7f18ac
    -e "s/@PHP_VERSION@/%{upver}/" \
7f18ac
%if ! %{with_zts}
7f18ac
    -e "/zts/d" \
7f18ac
%endif
7f18ac
    < %{SOURCE3} > macros.php
7f18ac
install -m 644 -D macros.php \
7f18ac
           $RPM_BUILD_ROOT%{_rpmmacrodir}/macros.php
7f18ac
7f18ac
# Remove unpackaged files
7f18ac
rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
7f18ac
       $RPM_BUILD_ROOT%{_libdir}/php-zts/modules/*.a \
7f18ac
       $RPM_BUILD_ROOT%{_bindir}/{phptar} \
7f18ac
       $RPM_BUILD_ROOT%{_datadir}/pear \
7f18ac
       $RPM_BUILD_ROOT%{_libdir}/libphp7.a \
7f18ac
       $RPM_BUILD_ROOT%{_libdir}/libphp7.la
7f18ac
7f18ac
# Remove irrelevant docs
7f18ac
rm -f README.{Zeus,QNX,CVS-RULES}
7f18ac
7f18ac
7f18ac
%post fpm
7f18ac
%systemd_post php-fpm.service
7f18ac
7f18ac
%preun fpm
7f18ac
%systemd_preun php-fpm.service
7f18ac
7f18ac
# Raised by new pool installation or new extension installation
7f18ac
%transfiletriggerin fpm -- %{_sysconfdir}/php-fpm.d %{_sysconfdir}/php.d
7f18ac
systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
7f18ac
7f18ac
7f18ac
%files
7f18ac
%if %{with_modphp}
7f18ac
%{_httpd_moddir}/libphp7.so
7f18ac
%config(noreplace) %{_httpd_modconfdir}/15-php.conf
7f18ac
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/session
7f18ac
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/wsdlcache
7f18ac
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/opcache
7f18ac
%config(noreplace) %{_httpd_confdir}/php.conf
7f18ac
%endif
7f18ac
7f18ac
%files common -f files.common
7f18ac
%doc EXTENSIONS NEWS UPGRADING* README.REDIST.BINS *md docs
9af658
%license LICENSE TSRM_LICENSE ZEND_LICENSE
7f18ac
%license libmagic_LICENSE
7f18ac
%license timelib_LICENSE
7f18ac
%doc php.ini-*
7f18ac
%config(noreplace) %{_sysconfdir}/php.ini
7f18ac
%dir %{_sysconfdir}/php.d
7f18ac
%dir %{_libdir}/php
7f18ac
%dir %{_libdir}/php/modules
7f18ac
%if %{with_zts}
7f18ac
%dir %{_sysconfdir}/php-zts.d
7f18ac
%dir %{_libdir}/php-zts
7f18ac
%dir %{_libdir}/php-zts/modules
7f18ac
%endif
7f18ac
%dir %{_sharedstatedir}/php
7f18ac
%dir %{_sharedstatedir}/php/peclxml
7f18ac
%dir %{_datadir}/php
7f18ac
%dir %{_docdir}/pecl
7f18ac
%dir %{_datadir}/tests
7f18ac
%dir %{_datadir}/tests/pecl
7f18ac
7f18ac
%files cli
7f18ac
%{_bindir}/php
7f18ac
%if %{with_zts}
7f18ac
%{_bindir}/zts-php
7f18ac
%{_mandir}/man1/zts-php.1*
7f18ac
%endif
7f18ac
%{_bindir}/php-cgi
7f18ac
%{_bindir}/phar.phar
7f18ac
%{_bindir}/phar
7f18ac
# provides phpize here (not in -devel) for pecl command
7f18ac
%{_bindir}/phpize
7f18ac
%{_mandir}/man1/php.1*
7f18ac
%{_mandir}/man1/php-cgi.1*
7f18ac
%{_mandir}/man1/phar.1*
7f18ac
%{_mandir}/man1/phar.phar.1*
7f18ac
%{_mandir}/man1/phpize.1*
7f18ac
7f18ac
%files dbg
7f18ac
%doc sapi/phpdbg/{README.md,CREDITS}
7f18ac
%{_bindir}/phpdbg
7f18ac
%{_mandir}/man1/phpdbg.1*
7f18ac
%if %{with_zts}
7f18ac
%{_bindir}/zts-phpdbg
7f18ac
%{_mandir}/man1/zts-phpdbg.1*
7f18ac
%endif
7f18ac
7f18ac
%files fpm
7f18ac
%doc php-fpm.conf.default www.conf.default
7f18ac
%license fpm_LICENSE
7f18ac
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/session
7f18ac
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/wsdlcache
7f18ac
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/opcache
7f18ac
%config(noreplace) %{_httpd_confdir}/php.conf
7f18ac
%config(noreplace) %{_sysconfdir}/php-fpm.conf
7f18ac
%config(noreplace) %{_sysconfdir}/php-fpm.d/www.conf
7f18ac
%config(noreplace) %{_sysconfdir}/logrotate.d/php-fpm
7f18ac
%config(noreplace) %{_sysconfdir}/nginx/conf.d/php-fpm.conf
7f18ac
%config(noreplace) %{_sysconfdir}/nginx/default.d/php.conf
7f18ac
%{_unitdir}/php-fpm.service
7f18ac
%{_unitdir}/httpd.service.d/php-fpm.conf
7f18ac
%{_unitdir}/nginx.service.d/php-fpm.conf
7f18ac
%{_sbindir}/php-fpm
7f18ac
%dir %{_sysconfdir}/systemd/system/php-fpm.service.d
7f18ac
%dir %{_sysconfdir}/php-fpm.d
7f18ac
# log owned by apache for log
7f18ac
%attr(770,apache,root) %dir %{_localstatedir}/log/php-fpm
7f18ac
%dir %ghost /run/php-fpm
7f18ac
%{_mandir}/man8/php-fpm.8*
7f18ac
%dir %{_datadir}/fpm
7f18ac
%{_datadir}/fpm/status.html
7f18ac
7f18ac
%files devel
7f18ac
%{_bindir}/php-config
7f18ac
%{_includedir}/php
7f18ac
%{_libdir}/php/build
7f18ac
%if %{with_zts}
7f18ac
%{_bindir}/zts-php-config
7f18ac
%{_bindir}/zts-phpize
7f18ac
%{_includedir}/php-zts
7f18ac
%{_libdir}/php-zts/build
7f18ac
%{_mandir}/man1/zts-php-config.1*
7f18ac
%{_mandir}/man1/zts-phpize.1*
7f18ac
%endif
7f18ac
%{_mandir}/man1/php-config.1*
7f18ac
%{_rpmmacrodir}/macros.php
7f18ac
7f18ac
%files embedded
7f18ac
%{_libdir}/libphp7.so
7f18ac
%{_libdir}/libphp7-%{embed_version}.so
7f18ac
7f18ac
%files pgsql -f files.pgsql
7f18ac
%files odbc -f files.odbc
7f18ac
%if %{with_imap}
7f18ac
%files imap -f files.imap
7f18ac
%endif
7f18ac
%files ldap -f files.ldap
7f18ac
%files snmp -f files.snmp
7f18ac
%files xml -f files.xml
7f18ac
%files xmlrpc -f files.xmlrpc
7f18ac
%files mbstring -f files.mbstring
7f18ac
%license libmbfl_LICENSE
7f18ac
%files gd -f files.gd
7f18ac
%files soap -f files.soap
7f18ac
%files bcmath -f files.bcmath
7f18ac
%license libbcmath_LICENSE
7f18ac
%files gmp -f files.gmp
7f18ac
%files dba -f files.dba
7f18ac
%files pdo -f files.pdo
7f18ac
%if %{with_tidy}
7f18ac
%files tidy -f files.tidy
7f18ac
%endif
7f18ac
%if %{with_freetds}
7f18ac
%files pdo-dblib -f files.pdo_dblib
7f18ac
%endif
7f18ac
%if %{with_pspell}
7f18ac
%files pspell -f files.pspell
7f18ac
%endif
7f18ac
%files intl -f files.intl
7f18ac
%files process -f files.process
7f18ac
%if %{with_firebird}
7f18ac
%files pdo-firebird -f files.pdo_firebird
7f18ac
%endif
7f18ac
%files enchant -f files.enchant
7f18ac
%files mysqlnd -f files.mysqlnd
7f18ac
%files opcache -f files.opcache
7f18ac
%config(noreplace) %{_sysconfdir}/php.d/opcache-default.blacklist
7f18ac
%if %{with_zts}
7f18ac
%config(noreplace) %{_sysconfdir}/php-zts.d/opcache-default.blacklist
7f18ac
%endif
7f18ac
%files json -f files.json
7f18ac
%if %{with_sodium}
7f18ac
%files sodium -f files.sodium
7f18ac
%endif
7f18ac
%files ffi -f files.ffi
7f18ac
%dir %{_datadir}/php/preload
7f18ac
7f18ac
7f18ac
%changelog
9af658
* Thu Jul  7 2022 Remi Collet <rcollet@redhat.com> - 7.4.30-1
9af658
- rebase to 7.4.30 #2099615
9af658
9af658
* Wed Jun 22 2022 Remi Collet <rcollet@redhat.com> - 7.4.19-3
9af658
- fix password of excessive length triggers buffer overflow leading to RCE
9af658
  CVE-2022-31626
9af658
cf0012
* Wed Jan 19 2022 Remi Collet <rcollet@redhat.com> - 7.4.19-2
cf0012
- fix SSRF bypass in FILTER_VALIDATE_URL
cf0012
  CVE-2021-21705
cf0012
- fix Local privilege escalation via PHP-FPM
cf0012
  CVE-2021-21703
cf0012
f1abcb
* Thu May 20 2021 Remi Collet <rcollet@redhat.com> - 7.4.19-1
f1abcb
- rebase to 7.4.19 #1944110
f1abcb
7f18ac
* Mon Jun 15 2020 Remi Collet <rcollet@redhat.com> - 7.4.6-4
7f18ac
- fix regression in 7.4.6 with generators and exception
7f18ac
7f18ac
* Wed May 27 2020 Remi Collet <rcollet@redhat.com> - 7.4.6-3
7f18ac
- build phpdbg only once
7f18ac
- fix regression in 7.4.6 when yielding an array based generator
7f18ac
7f18ac
* Wed May 20 2020 Remi Collet <rcollet@redhat.com> - 7.4.6-2
7f18ac
- use php-config from embed SAPI to reduce used libs
7f18ac
7f18ac
* Fri May 15 2020 Remi Collet <rcollet@redhat.com> - 7.4.6-1
7f18ac
- update to 7.4.6
7f18ac
- add ffi extension
7f18ac
- add /usr/share/php/preload as default ffi.preload configuration
7f18ac
- run FPM tests
7f18ac
- set opcache.enable_cli in provided default configuration
7f18ac
- ensure all shared extensions can be loaded
7f18ac
- drop wddx, recode and extensions
7f18ac
- run test suite using 4 concurrent workers
7f18ac
7f18ac
* Tue Oct 29 2019 Remi Collet <rcollet@redhat.com> - 7.3.5-5
7f18ac
- fix underflow in env_path_info in fpm_main.c CVE-2019-11043
7f18ac
7f18ac
* Mon Jul  1 2019 Remi Collet <rcollet@redhat.com> - 7.3.5-3
7f18ac
- fix AVC denied httpd_execmem when php-opcache is installed #1725104
7f18ac
7f18ac
* Tue May 14 2019 Remi Collet <rcollet@redhat.com> - 7.3.5-2
7f18ac
- cleanup php-devel dependencies
7f18ac
7f18ac
* Tue May 14 2019 Remi Collet <rcollet@redhat.com> - 7.3.5-1
7f18ac
- update to 7.3.5
7f18ac
7f18ac
* Wed Oct 10 2018 Remi Collet <rcollet@redhat.com> - 7.2.11-1
7f18ac
- update to 7.2.11 #1628543
7f18ac
7f18ac
* Fri Aug 24 2018 Remi Collet <rcollet@redhat.com.net> - 7.2.8-4
7f18ac
- drop tidy extension #1619290
7f18ac
7f18ac
* Wed Jul 18 2018 Remi Collet <rcollet@redhat.com> - 7.2.8-3
7f18ac
- update to 7.2.8
7f18ac
7f18ac
* Fri Jul  6 2018 Remi Collet <rcollet@redhat.com> - 7.2.7-3
7f18ac
- FPM: add getallheaders, backported from 7.3 #1582533
7f18ac
7f18ac
* Wed Jun 27 2018 Remi Collet <rcollet@redhat.com> - 7.2.7-2
7f18ac
- drop libargon2 dependency #1595261
7f18ac
7f18ac
* Wed Jun 20 2018 Remi Collet <rcollet@redhat.com> - 7.2.7-1
7f18ac
- Update to 7.2.7 - http://www.php.net/releases/7_2_7.php
7f18ac
- drop -mstackrealign option, workaround to #1593144
7f18ac
7f18ac
* Thu May 31 2018 Remi Collet <rcollet@redhat.com> - 7.2.6-2
7f18ac
- switch back to bundled onigurama
7f18ac
7f18ac
* Wed May 23 2018 Remi Collet <remi@remirepo.net> - 7.2.6-1
7f18ac
- Update to 7.2.6 - http://www.php.net/releases/7_2_6.php
7f18ac
7f18ac
* Tue Apr 24 2018 Remi Collet <remi@remirepo.net> - 7.2.5-1
7f18ac
- Update to 7.2.5 - http://www.php.net/releases/7_2_5.php
7f18ac
7f18ac
* Tue Mar 27 2018 Remi Collet <remi@remirepo.net> - 7.2.4-1
7f18ac
- Update to 7.2.4 - http://www.php.net/releases/7_2_4.php
7f18ac
- FPM: update default pool configuration for process.dumpable
7f18ac
7f18ac
* Wed Mar 21 2018 Remi Collet <rcollet@redhat.com> - 7.2.3-4
7f18ac
- use systemd RuntimeDirectory instead of /etc/tmpfiles.d
7f18ac
7f18ac
* Tue Mar 20 2018 Remi Collet <rcollet@redhat.com> - 7.2.3-3
7f18ac
- enable argon2 password hash
7f18ac
7f18ac
* Fri Mar 16 2018 Remi Collet <rcollet@redhat.com> - 7.2.3-2
7f18ac
- php-json is optional
7f18ac
- add file trigger to restart the php-fpm service
7f18ac
  when new pool or new extension installed
7f18ac
7f18ac
* Wed Feb 28 2018 Remi Collet <remi@remirepo.net> - 7.2.3-1
7f18ac
- Update to 7.2.3 - http://www.php.net/releases/7_2_3.php
7f18ac
7f18ac
- FPM: revert pid file removal
7f18ac
7f18ac
* Wed Feb 21 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-4
7f18ac
- disable ZTS on RHEL
7f18ac
7f18ac
* Fri Feb 16 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-3
7f18ac
- disable pspell extension on RHEL
7f18ac
- improve devel dependencies
7f18ac
7f18ac
* Wed Feb 14 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-2
7f18ac
- rebuild for new tag and drop patch merged upstream
7f18ac
- drop ldconfig scriptlets
7f18ac
7f18ac
* Wed Feb 14 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-1
7f18ac
- update to 7.2.3RC1
7f18ac
- adapt systzdata, fixheader and ldap_r patches
7f18ac
- apply upstream patch for date ext
7f18ac
7f18ac
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.2-2
7f18ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7f18ac
7f18ac
* Tue Jan 30 2018 Remi Collet <remi@remirepo.net> - 7.2.2-1
7f18ac
- Update to 7.2.2 - http://www.php.net/releases/7_2_2.php
7f18ac
7f18ac
* Mon Jan 29 2018 Remi Collet <rcollet@redhat.com> - 7.2.2~RC1-3
7f18ac
- disable interbase, imap, pdo_dblib and sodium on rhel
7f18ac
7f18ac
* Thu Jan 25 2018 Remi Collet <remi@remirepo.net> - 7.2.2~RC1-3
7f18ac
- undefine _strict_symbol_defs_build
7f18ac
7f18ac
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 7.2.2~RC1-2
7f18ac
- Rebuilt for switch to libxcrypt
7f18ac
7f18ac
* Tue Jan 16 2018 Remi Collet <remi@remirepo.net> - 7.2.2~RC1-1
7f18ac
- update to 7.2.2RC1
7f18ac
- define SOURCE_DATE_EPOCH for reproducible build
7f18ac
7f18ac
* Wed Jan  3 2018 Remi Collet <remi@remirepo.net> - 7.2.1-1
7f18ac
- Update to 7.2.1 - http://www.php.net/releases/7_2_1.php
7f18ac
7f18ac
* Wed Dec 13 2017 Remi Collet <remi@remirepo.net> - 7.2.1~RC1-1
7f18ac
- update to 7.2.1RC1
7f18ac
7f18ac
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 7.2.0-3
7f18ac
- Rebuild for ICU 60.1
7f18ac
7f18ac
* Tue Nov 28 2017 Remi Collet <remi@remirepo.net> - 7.2.0-2
7f18ac
- refresh patch for https://bugs.php.net/75514
7f18ac
7f18ac
* Tue Nov 28 2017 Remi Collet <remi@remirepo.net> - 7.2.0-1
7f18ac
- update to 7.2.0 GA
7f18ac
- add upstream patch for https://bugs.php.net/75514
7f18ac
7f18ac
* Tue Nov  7 2017 Remi Collet <remi@fedoraproject.org> - 7.2.0~RC6-1
7f18ac
- Update to 7.2.0RC6
7f18ac
7f18ac
* Wed Oct 25 2017 Remi Collet <remi@fedoraproject.org> - 7.2.0~RC5-1
7f18ac
- Update to 7.2.0RC5
7f18ac
- make php-fpm a weak dependency
7f18ac
7f18ac
* Wed Oct 18 2017 Remi Collet <remi@remirepo.net> - 7.2.0~RC4-2
7f18ac
- enable argon2 password hash
7f18ac
7f18ac
* Tue Oct 10 2017 Remi Collet <remi@fedoraproject.org> - 7.2.0~RC4-1
7f18ac
- Update to 7.2.0RC4
7f18ac
7f18ac
* Fri Sep 29 2017 Remi Collet <remi@fedoraproject.org> - 7.2.0~RC3-1
7f18ac
- Update to 7.2.0RC3
7f18ac
- drop mcrypt extension
7f18ac
- add sodium extension
7f18ac
- use system oniguruma
7f18ac
- drop .so suffix from ini files
7f18ac
- refresh configuration files from upstream
7f18ac
7f18ac
* Wed Sep 27 2017 Remi Collet <remi@fedoraproject.org> - 7.1.10-1
7f18ac
- Update to 7.1.10 - http://www.php.net/releases/7_1_10.php
7f18ac
7f18ac
* Mon Sep 25 2017 Remi Collet <remi@fedoraproject.org> - 7.1.10~RC1-2
7f18ac
- php now requires php-fpm and start it with httpd / nginx
7f18ac
7f18ac
* Wed Sep 13 2017 Remi Collet <remi@fedoraproject.org> - 7.1.10~RC1-1
7f18ac
- Update to 7.1.10RC1
7f18ac
7f18ac
* Wed Sep  6 2017 Remi Collet <remi@fedoraproject.org> - 7.1.9-2
7f18ac
- Automatically load OpenSSL configuration file, from PHP 7.2
7f18ac
7f18ac
* Wed Aug 30 2017 Remi Collet <remi@fedoraproject.org> - 7.1.9-1
7f18ac
- Update to 7.1.9 - http://www.php.net/releases/7_1_9.php
7f18ac
7f18ac
* Wed Aug 16 2017 Remi Collet <remi@fedoraproject.org> - 7.1.9~RC1-1
7f18ac
- Update to 7.1.9RC1
7f18ac
- php-fpm: drop unneeded "pid" from default configuration
7f18ac
7f18ac
* Wed Aug  2 2017 Remi Collet <remi@fedoraproject.org> - 7.1.8-1
7f18ac
- Update to 7.1.8 - http://www.php.net/releases/7_1_8.php
7f18ac
7f18ac
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.8~RC1-3
7f18ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7f18ac
7f18ac
* Wed Jul 19 2017 Remi Collet <remi@fedoraproject.org> - 7.1.8~RC1-1
7f18ac
- Update to 7.1.8RC1
7f18ac
7f18ac
* Tue Jul 18 2017 Remi Collet <remi@fedoraproject.org> - 7.1.7-2
7f18ac
- disable httpd MPM check
7f18ac
7f18ac
* Thu Jul  6 2017 Remi Collet <remi@fedoraproject.org> - 7.1.7-1
7f18ac
- Update to 7.1.7 - http://www.php.net/releases/7_1_7.php
7f18ac
7f18ac
* Wed Jun 21 2017 Remi Collet <remi@fedoraproject.org> - 7.1.7~RC1-1
7f18ac
- Update to 7.1.7RC1
7f18ac
7f18ac
* Wed Jun  7 2017 Remi Collet <remi@fedoraproject.org> - 7.1.6-1
7f18ac
- Update to 7.1.6 - http://www.php.net/releases/7_1_6.php
7f18ac
- add upstream security patches for oniguruma
7f18ac
7f18ac
* Wed May 24 2017 Remi Collet <remi@fedoraproject.org> - 7.1.6~RC1-1
7f18ac
- Update to 7.1.6RC1
7f18ac
7f18ac
* Tue May  9 2017 Remi Collet <remi@fedoraproject.org> - 7.1.5-1
7f18ac
- Update to 7.1.5 - http://www.php.net/releases/7_1_5.php
7f18ac
7f18ac
* Sat May  6 2017 Remi Collet <remi@fedoraproject.org> - 7.1.5-0.3.RC1
7f18ac
- enable PHP execution of .phar files, see #1117140
7f18ac
7f18ac
* Thu Apr 27 2017 Remi Collet <remi@fedoraproject.org> - 7.1.5-0.2.RC1
7f18ac
- new sources from new tag
7f18ac
7f18ac
* Tue Apr 25 2017 Remi Collet <remi@fedoraproject.org> - 7.1.5-0.1.RC1
7f18ac
- Update to 7.1.5RC1
7f18ac
7f18ac
* Tue Apr 11 2017 Remi Collet <remi@fedoraproject.org> - 7.1.4-1
7f18ac
- Update to 7.1.4 - http://www.php.net/releases/7_1_4.php
7f18ac
7f18ac
* Wed Mar 29 2017 Remi Collet <remi@fedoraproject.org> - 7.1.4-0.1.RC1
7f18ac
- Update to 7.1.4RC1
7f18ac
7f18ac
* Wed Mar 22 2017 Remi Collet <remi@fedoraproject.org> - 7.1.3-3
7f18ac
- timelib is MIT license
7f18ac
7f18ac
* Wed Mar 15 2017 Remi Collet <remi@fedoraproject.org> - 7.1.3-2
7f18ac
- remove %%attr, see #1432372
7f18ac
7f18ac
* Wed Mar 15 2017 Remi Collet <remi@fedoraproject.org> - 7.1.3-1
7f18ac
- Update to 7.1.3 - http://www.php.net/releases/7_1_3.php
7f18ac
7f18ac
* Tue Feb 28 2017 Remi Collet <remi@fedoraproject.org> 7.1.3-0.1.RC1
7f18ac
- Update to 7.1.3RC1
7f18ac
7f18ac
* Wed Feb 15 2017 Remi Collet <remi@fedoraproject.org> - 7.1.2-1
7f18ac
- Update to 7.1.2 - http://www.php.net/releases/7_1_2.php
7f18ac
7f18ac
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.2-0.2.RC1.1
7f18ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7f18ac
7f18ac
* Thu Feb  2 2017 Remi Collet <remi@fedoraproject.org> - 7.1.2-0.2.RC1
7f18ac
- Update to 7.1.2RC1 (new sources)
7f18ac
7f18ac
* Wed Feb  1 2017 Remi Collet <remi@fedoraproject.org> 7.1.2-0.1.RC1
7f18ac
- Update to 7.1.2RC1
7f18ac
7f18ac
* Wed Jan 18 2017 Remi Collet <remi@fedoraproject.org> 7.1.1-1
7f18ac
- Update to 7.1.1 - http://www.php.net/releases/7_1_1.php
7f18ac
7f18ac
* Fri Jan  6 2017 Remi Collet <remi@fedoraproject.org> 7.1.1-0.1.RC1
7f18ac
- Update to 7.1.1RC1
7f18ac
7f18ac
* Thu Dec  1 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-1
7f18ac
- Update to 7.1.0 - http://www.php.net/releases/7_1_0.php
7f18ac
7f18ac
* Fri Nov 25 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-0.3.RC6
7f18ac
- disable pcre.jit everywhere as it raise AVC #1398474
7f18ac
- sync provided configuration with upstream production defaults
7f18ac
7f18ac
* Mon Nov 14 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-0.2.RC6
7f18ac
- re-enable interbase sub package
7f18ac
  see http://bugzilla.redhat.com/1394750 sub package inconsistency
7f18ac
- add patch to fix firebird include path (using fb_config)
7f18ac
7f18ac
* Mon Nov 14 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-0.1.RC6
7f18ac
- Update to 7.1.0RC6
7f18ac
- update tzdata patch to v14, improve check for valid tz file
7f18ac
- disable interbase sub package (interbase and pdo_firebird)
7f18ac
7f18ac
* Tue Oct 11 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-0.1.RC3
7f18ac
- Update to 7.1.0RC3
7f18ac
7f18ac
* Wed Sep 28 2016 Remi Collet <remi@fedoraproject.org> 7.0.12-0.1.RC1
7f18ac
- Update to 7.0.12RC1
7f18ac
7f18ac
* Wed Sep 14 2016 Remi Collet <remi@fedoraproject.org> 7.0.11-1
7f18ac
- Update to 7.0.11 - http://www.php.net/releases/7_0_11.php
7f18ac
7f18ac
* Fri Sep  2 2016 Remi Collet <remi@fedoraproject.org> 7.0.11-0.1.RC1
7f18ac
- Update to 7.0.11RC1
7f18ac
7f18ac
* Thu Sep  1 2016 Remi Collet <remi@fedoraproject.org> 7.0.10-1
7f18ac
- Update to 7.0.10 - http://www.php.net/releases/7_0_10.php
7f18ac
7f18ac
* Wed Aug  3 2016 Remi Collet <remi@fedoraproject.org> 7.0.10-0.1.RC1
7f18ac
- Update to 7.0.10RC1
7f18ac
7f18ac
* Wed Jul 20 2016 Remi Collet <remi@fedoraproject.org> 7.0.9-1
7f18ac
- Update to 7.0.9 - http://www.php.net/releases/7_0_9.php
7f18ac
- wddx: add upstream patch for https://bugs.php.net/72564
7f18ac
7f18ac
* Wed Jul  6 2016 Remi Collet <remi@fedoraproject.org> 7.0.9-0.1.RC1
7f18ac
- Update to 7.0.9RC1
7f18ac
7f18ac
* Thu Jun 30 2016 Remi Collet <remi@fedoraproject.org> 7.0.8-2
7f18ac
- own tests/doc directories for pecl packages #1351345
7f18ac
7f18ac
* Wed Jun 22 2016 Remi Collet <remi@fedoraproject.org> 7.0.8-1
7f18ac
- Update to 7.0.8 - http://www.php.net/releases/7_0_8.php
7f18ac
- https://fedoraproject.org/wiki/Changes/php70
7f18ac
- drop ereg, mysql, mssql extensions
7f18ac
- add json extension
7f18ac
7f18ac
* Wed Jun 22 2016 Remi Collet <remi@fedoraproject.org> 5.6.23-1
7f18ac
- Update to 5.6.23 - http://www.php.net/releases/5_6_23.php
7f18ac
7f18ac
* Thu Jun  9 2016 Remi Collet <remi@fedoraproject.org> 5.6.23-0.1.RC1
7f18ac
- update to 5.6.23RC1
7f18ac
7f18ac
* Fri May 27 2016 Remi Collet <remi@fedoraproject.org> 5.6.22-2
7f18ac
- drop unneeded option --with-vpx-dir, fix FTBFS, thanks Koschei
7f18ac
7f18ac
* Thu May 26 2016 Remi Collet <remi@fedoraproject.org> 5.6.22-1
7f18ac
- Update to 5.6.22 - http://www.php.net/releases/5_6_22.php
7f18ac
7f18ac
* Thu May 12 2016 Remi Collet <remi@fedoraproject.org> 5.6.22-0.1.RC1
7f18ac
- update to 5.6.22RC1
7f18ac
7f18ac
* Thu Apr 28 2016 Remi Collet <remi@fedoraproject.org> 5.6.21-1
7f18ac
- Update to 5.6.21
7f18ac
  http://www.php.net/releases/5_6_21.php
7f18ac
7f18ac
* Mon Apr 18 2016 Remi Collet <remi@fedoraproject.org> 5.6.21-0.2.RC1
7f18ac
- rebuild for ICU 57.1
7f18ac
7f18ac
* Mon Apr 18 2016 Remi Collet <remi@fedoraproject.org> 5.6.21-0.1.RC1
7f18ac
- update to 5.6.21RC1
7f18ac
7f18ac
* Fri Apr 15 2016 David Tardon <dtardon@redhat.com> - 5.6.20-1.1
7f18ac
- rebuild for ICU 57.1
7f18ac
7f18ac
* Thu Mar 31 2016 Remi Collet <remi@fedoraproject.org> 5.6.20-1
7f18ac
- Update to 5.6.20
7f18ac
  http://www.php.net/releases/5_6_20.php
7f18ac
7f18ac
* Thu Mar 17 2016 Remi Collet <remi@fedoraproject.org> 5.6.20-0.1.RC1
7f18ac
- update to 5.6.20RC1
7f18ac
7f18ac
* Thu Mar  3 2016 Remi Collet <remi@fedoraproject.org> 5.6.19-1
7f18ac
- Update to 5.6.19
7f18ac
  http://www.php.net/releases/5_6_19.php
7f18ac
7f18ac
* Thu Feb 18 2016 Remi Collet <remi@fedoraproject.org> 5.6.19-0.1.RC1
7f18ac
- update to 5.6.19RC1
7f18ac
7f18ac
* Tue Feb  9 2016 Remi Collet <remi@fedoraproject.org> 5.6.18-2
7f18ac
- define %%pecl_xmldir and own it (/var/lib/php/peclxml)
7f18ac
7f18ac
* Wed Feb  3 2016 Remi Collet <remi@fedoraproject.org> 5.6.18-1
7f18ac
- Update to 5.6.18
7f18ac
  http://www.php.net/releases/5_6_18.php
7f18ac
7f18ac
* Thu Jan 21 2016 Remi Collet <remi@fedoraproject.org> 5.6.18-0.1.RC1
7f18ac
- update to 5.6.18RC1
7f18ac
7f18ac
* Thu Jan  7 2016 Remi Collet <remi@fedoraproject.org> 5.6.17-1
7f18ac
- Update to 5.6.17
7f18ac
  http://www.php.net/releases/5_6_17.php
7f18ac
7f18ac
* Thu Dec 10 2015 Remi Collet <remi@fedoraproject.org> 5.6.17-0.1.RC1
7f18ac
- update to 5.6.17RC1
7f18ac
7f18ac
* Tue Dec  1 2015 Tom Callaway <spot@fedoraproject.org> 5.6.16-2
7f18ac
- rebuild for libvpx 1.5.0
7f18ac
7f18ac
* Thu Nov 26 2015 Remi Collet <remi@fedoraproject.org> 5.6.16-1
7f18ac
- Update to 5.6.16
7f18ac
  http://www.php.net/releases/5_6_16.php
7f18ac
7f18ac
* Wed Nov 18 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.16-0.2.RC2
7f18ac
- rebuild (tidy)
7f18ac
7f18ac
* Thu Nov 12 2015 Remi Collet <remi@fedoraproject.org> 5.6.16-0.1.RC1
7f18ac
- update to 5.6.16RC1
7f18ac
7f18ac
* Thu Oct 29 2015 Remi Collet <remi@fedoraproject.org> 5.6.15-1
7f18ac
- Update to 5.6.15
7f18ac
  http://www.php.net/releases/5_6_15.php
7f18ac
- php-config: reports all built sapis
7f18ac
7f18ac
* Thu Oct 15 2015 Remi Collet <remi@fedoraproject.org> 5.6.15-0.1.RC1
7f18ac
- update to 5.6.15RC1
7f18ac
7f18ac
* Wed Sep 30 2015 Remi Collet <remi@fedoraproject.org> 5.6.14-1
7f18ac
- Update to 5.6.14
7f18ac
  http://www.php.net/releases/5_6_14.php
7f18ac
- php-fpm: enable http authorization headers
7f18ac
7f18ac
* Thu Sep 17 2015 Remi Collet <remi@fedoraproject.org> 5.6.14-0.1.RC1
7f18ac
- update to 5.6.14RC1
7f18ac
7f18ac
* Thu Sep  3 2015 Remi Collet <remi@fedoraproject.org> 5.6.13-1
7f18ac
- Update to 5.6.13
7f18ac
  http://www.php.net/releases/5_6_13.php
7f18ac
7f18ac
* Thu Aug  6 2015 Remi Collet <remi@fedoraproject.org> 5.6.12-1
7f18ac
- Update to 5.6.12
7f18ac
  http://www.php.net/releases/5_6_12.php
7f18ac
7f18ac
* Fri Jul 24 2015 Remi Collet <remi@fedoraproject.org> 5.6.12-0.1.RC1
7f18ac
- update to 5.6.12RC1
7f18ac
7f18ac
* Fri Jul 17 2015 Remi Collet <remi@fedoraproject.org> 5.6.11-2
7f18ac
- fix typo in php.conf #1244104
7f18ac
7f18ac
* Sun Jul 12 2015 Remi Collet <remi@fedoraproject.org> 5.6.11-1
7f18ac
- Update to 5.6.11
7f18ac
  http://www.php.net/releases/5_6_11.php
7f18ac
7f18ac
* Thu Jun 25 2015 Remi Collet <remi@fedoraproject.org> 5.6.11-0.1.RC1
7f18ac
- update to 5.6.11RC1
7f18ac
- the phar link is now correctly created
7f18ac
7f18ac
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.10-1.1
7f18ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7f18ac
7f18ac
* Thu Jun 11 2015 Remi Collet <remi@fedoraproject.org> 5.6.10-1
7f18ac
- Update to 5.6.10
7f18ac
  http://www.php.net/releases/5_6_10.php
7f18ac
- add explicit spec license (implicit by FPCA)
7f18ac
7f18ac
* Thu May 28 2015 Remi Collet <remi@fedoraproject.org> 5.6.10-0.1.RC1
7f18ac
- update to 5.6.10RC1
7f18ac
- opcache is now 7.0.6-dev
7f18ac
7f18ac
* Fri May 15 2015 Remi Collet <remi@fedoraproject.org> 5.6.9-1
7f18ac
- Update to 5.6.9
7f18ac
  http://www.php.net/releases/5_6_9.php
7f18ac
7f18ac
* Thu Apr 30 2015 Remi Collet <remi@fedoraproject.org> 5.6.9-0.1.RC1
7f18ac
- update to 5.6.9RC1
7f18ac
- adapt systzdata patch for upstream changes for new zic
7f18ac
7f18ac
* Thu Apr 16 2015 Remi Collet <remi@fedoraproject.org> 5.6.8-1
7f18ac
- Update to 5.6.8
7f18ac
  http://www.php.net/releases/5_6_8.php
7f18ac
7f18ac
* Fri Apr 10 2015 Remi Collet <remi@fedoraproject.org> 5.6.8-0.3.RC1
7f18ac
- add upstream patch to drop SSLv3 tests
7f18ac
7f18ac
* Mon Apr  6 2015 Tom Callaway <spot@fedoraproject.org> - 5.6.8-0.2.RC1
7f18ac
- rebuild for libvpx 1.4.0
7f18ac
7f18ac
* Wed Apr  1 2015 Remi Collet <remi@fedoraproject.org> 5.6.8-0.1.RC1
7f18ac
- update to 5.6.8RC1
7f18ac
7f18ac
* Fri Mar 20 2015 Remi Collet <remi@fedoraproject.org> 5.6.7-2
7f18ac
- Update to 5.6.7
7f18ac
  http://www.php.net/releases/5_6_7.php
7f18ac
7f18ac
* Sun Mar  8 2015 Remi Collet <remi@fedoraproject.org> 5.6.7-1
7f18ac
- update to 5.6.7RC1
7f18ac
7f18ac
* Thu Feb 19 2015 Remi Collet <remi@fedoraproject.org> 5.6.6-1
7f18ac
- Update to 5.6.6
7f18ac
  http://www.php.net/releases/5_6_6.php
7f18ac
7f18ac
* Thu Feb  5 2015 Remi Collet <rcollet@redhat.com> 5.6.6-0.1.RC1
7f18ac
- php 5.6.6RC1 for Koschei
7f18ac
7f18ac
* Mon Jan 26 2015 David Tardon <dtardon@redhat.com> - 5.6.5-2
7f18ac
- rebuild for ICU 54.1
7f18ac
7f18ac
* Thu Jan 22 2015 Remi Collet <remi@fedoraproject.org> 5.6.5-1
7f18ac
- Update to 5.6.5
7f18ac
  http://www.php.net/releases/5_6_5.php
7f18ac
- drop deprecated php-fpm EnvironmentFile
7f18ac
7f18ac
* Fri Jan  9 2015 Remi Collet <remi@fedoraproject.org> 5.6.5-0.1.RC1
7f18ac
- update to 5.6.5RC1
7f18ac
- FPM: enable ACL support for Unix Domain Socket
7f18ac
- FPM: switch default configuration to use UDS
7f18ac
7f18ac
* Wed Dec 17 2014 Remi Collet <remi@fedoraproject.org> 5.6.4-2
7f18ac
- Update to 5.6.4 (real)
7f18ac
  http://www.php.net/releases/5_6_4.php
7f18ac
- php-xmlrpc requires php-xml
7f18ac
7f18ac
* Wed Dec 10 2014 Remi Collet <remi@fedoraproject.org> 5.6.4-1
7f18ac
- Update to 5.6.4
7f18ac
  http://www.php.net/releases/5_6_4.php
7f18ac
7f18ac
* Fri Nov 28 2014 Remi Collet <rcollet@redhat.com> 5.6.4-0.1.RC1
7f18ac
- php 5.6.4RC1
7f18ac
7f18ac
* Mon Nov 17 2014 Remi Collet <remi@fedoraproject.org> 5.6.3-4
7f18ac
- FPM: add upstream patch for https://bugs.php.net/68428
7f18ac
  listen.allowed_clients is IPv4 only
7f18ac
7f18ac
* Mon Nov 17 2014 Remi Collet <remi@fedoraproject.org> 5.6.3-3
7f18ac
- sync php-fpm configuration with upstream
7f18ac
- refresh upstream patch for 68421
7f18ac
7f18ac
* Sun Nov 16 2014 Remi Collet <remi@fedoraproject.org> 5.6.3-2
7f18ac
- FPM: add upstream patch for https://bugs.php.net/68421
7f18ac
  access.format=R doesn't log ipv6 address
7f18ac
- FPM: add upstream patch for https://bugs.php.net/68420
7f18ac
  listen=9000 listens to ipv6 localhost instead of all addresses
7f18ac
- FPM: add upstream patch for https://bugs.php.net/68423
7f18ac
  will no longer load all pools
7f18ac
7f18ac
* Thu Nov 13 2014 Remi Collet <remi@fedoraproject.org> 5.6.3-1
7f18ac
- Update to PHP 5.6.3
7f18ac
  http://php.net/releases/5_6_3.php
7f18ac
7f18ac
* Fri Oct 31 2014 Remi Collet <rcollet@redhat.com> 5.6.3-0.2.RC1
7f18ac
- php 5.6.3RC1 (refreshed, phpdbg changes reverted)
7f18ac
- new version of systzdata patch, fix case sensitivity
7f18ac
- ignore Factory in date tests
7f18ac
7f18ac
* Wed Oct 29 2014 Remi Collet <rcollet@redhat.com> 5.6.3-0.1.RC1
7f18ac
- php 5.6.3RC1
7f18ac
- disable opcache.fast_shutdown in default config
7f18ac
- enable phpdbg_webhelper new extension (in php-dbg)
7f18ac
7f18ac
* Thu Oct 16 2014 Remi Collet <remi@fedoraproject.org> 5.6.1-1
7f18ac
- Update to PHP 5.6.2
7f18ac
  http://php.net/releases/5_6_2.php
7f18ac
7f18ac
* Fri Oct  3 2014 Remi Collet <remi@fedoraproject.org> 5.6.1-1
7f18ac
- Update to PHP 5.6.1
7f18ac
  http://php.net/releases/5_6_1.php
7f18ac
- use default system cipher list by Fedora policy
7f18ac
  http://fedoraproject.org/wiki/Changes/CryptoPolicy
7f18ac
7f18ac
* Wed Sep 24 2014 Remi Collet <rcollet@redhat.com> 5.6.1-0.2.RC1
7f18ac
- provides nginx configuration (see #1142298)
7f18ac
7f18ac
* Sat Sep 13 2014 Remi Collet <rcollet@redhat.com> 5.6.1-0.1.RC1
7f18ac
- php 5.6.1RC1
7f18ac
7f18ac
* Thu Aug 28 2014 Remi Collet <remi@fedoraproject.org> 5.6.0-1
7f18ac
- PHP 5.6.0 is GA
7f18ac
  http://php.net/releases/5_6_0.php
7f18ac
- fix ZTS man pages, upstream patch for 67878
7f18ac
- provides php(httpd)
7f18ac
7f18ac
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.0-0.7.RC4
7f18ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7f18ac
7f18ac
* Thu Aug 14 2014 Remi Collet <rcollet@redhat.com> 5.6.0-0.6.RC4
7f18ac
- php 5.6.0RC4
7f18ac
7f18ac
* Thu Jul 31 2014 Remi Collet <rcollet@redhat.com> 5.6.0-0.5.RC3
7f18ac
- fpm requires httpd >= 2.4.10 for proxy support in SetHandler
7f18ac
7f18ac
* Thu Jul 31 2014 Remi Collet <rcollet@redhat.com> 5.6.0-0.4.RC3
7f18ac
- php 5.6.0RC3
7f18ac
- cleanup with_libmysql
7f18ac
- fix licenses handling
7f18ac
- fix zts-php-config --php-binary output #1124605
7f18ac
- provide php.conf with php-fpm, allow apache + fpm
7f18ac
  to work with default configuration, without mod_php
7f18ac
7f18ac
* Mon Jul  7 2014 Remi Collet <rcollet@redhat.com> 5.6.0-0.3.RC2
7f18ac
- php 5.6.0RC2
7f18ac
7f18ac
* Mon Jun 23 2014 Remi Collet <rcollet@redhat.com> 5.6.0-0.2.RC1
7f18ac
- fix phpdbg with libedit https://bugs.php.net/67499
7f18ac
- add workaround for unserialize/mock issue from 5.4/5.5
7f18ac
7f18ac
* Thu Jun 19 2014 Remi Collet <rcollet@redhat.com> 5.6.0-0.1.RC1
7f18ac
- php 5.6.0RC1
7f18ac
  https://fedoraproject.org/wiki/Changes/Php56
7f18ac
- add php-dbg subpackage
7f18ac
- update php.ini and opcache.ini from upstream production template
7f18ac
- move zts-php to php-cli
7f18ac
7f18ac
* Thu Jun  5 2014 Remi Collet <rcollet@redhat.com> 5.5.13-3
7f18ac
- fix regression introduce in fix for #67118
7f18ac
7f18ac
* Tue Jun  3 2014 Remi Collet <remi@fedoraproject.org> 5.5.13-2
7f18ac
- fileinfo: fix insufficient boundary check
7f18ac
- workaround regression introduce in fix for 67072 in
7f18ac
  serialize/unzerialize functions
7f18ac
7f18ac
* Fri May 30 2014 Remi Collet <rcollet@redhat.com> 5.5.13-1
7f18ac
- Update to 5.5.13
7f18ac
  http://www.php.net/releases/5_5_13.php
7f18ac
- sync php.ini with upstream php.ini-production
7f18ac
7f18ac
* Sat May  3 2014 Remi Collet <rcollet@redhat.com> 5.5.12-1
7f18ac
- Update to 5.5.12
7f18ac
  http://www.php.net/releases/5_5_12.php
7f18ac
- php-fpm: change default unix socket permission CVE-2014-0185
7f18ac
7f18ac
* Wed Apr 23 2014 Remi Collet <rcollet@redhat.com> 5.5.11-2
7f18ac
- add numerical prefix to extension configuration files
7f18ac
- prevent .user.ini files from being viewed by Web clients
7f18ac
- load php directives only when mod_php is active
7f18ac
7f18ac
* Thu Apr  3 2014 Remi Collet <rcollet@redhat.com> 5.5.11-1
7f18ac
- Update to 5.5.11
7f18ac
  http://www.php.net/ChangeLog-5.php#5.5.11
7f18ac
7f18ac
* Thu Mar  6 2014 Remi Collet <rcollet@redhat.com> 5.5.10-1
7f18ac
- Update to 5.5.10
7f18ac
  http://www.php.net/ChangeLog-5.php#5.5.10
7f18ac
- php-fpm should own /var/lib/php/session and wsdlcache
7f18ac
- fix pcre test results with libpcre < 8.34
7f18ac
7f18ac
* Tue Feb 18 2014 Remi Collet <rcollet@redhat.com> 5.5.9-2
7f18ac
- upstream patch for https://bugs.php.net/66731
7f18ac
7f18ac
* Thu Feb 13 2014 Remi Collet <remi@fedoraproject.org> 5.5.9-1.1
7f18ac
- rebuild
7f18ac
7f18ac
* Tue Feb 11 2014 Remi Collet <remi@fedoraproject.org> 5.5.9-1
7f18ac
- Update to 5.5.9
7f18ac
  http://www.php.net/ChangeLog-5.php#5.5.9
7f18ac
- Install macros to /usr/lib/rpm/macros.d
7f18ac
7f18ac
* Thu Jan 23 2014 Joe Orton <jorton@redhat.com> - 5.5.8-2
7f18ac
- fix _httpd_mmn expansion in absence of httpd-devel
7f18ac
7f18ac
* Wed Jan  8 2014 Remi Collet <rcollet@redhat.com> 5.5.8-1
7f18ac
- update to 5.5.8
7f18ac
- drop conflicts with other opcode caches as both can
7f18ac
  be used only for user data cache
7f18ac
7f18ac
* Wed Dec 11 2013 Remi Collet <rcollet@redhat.com> 5.5.7-1
7f18ac
- update to 5.5.7, fix for CVE-2013-6420
7f18ac
- fix zend_register_functions breaks reflection, php bug 66218
7f18ac
- fix Heap buffer over-read in DateInterval, php bug 66060
7f18ac
- fix fix overflow handling bug in non-x86
7f18ac
7f18ac
* Wed Nov 13 2013 Remi Collet <remi@fedoraproject.org> 5.5.6-1
7f18ac
- update to 5.5.6
7f18ac
7f18ac
* Thu Oct 17 2013 Remi Collet <rcollet@redhat.com> - 5.5.5-1
7f18ac
- update to 5.5.5
7f18ac
- sync php.ini with upstream
7f18ac
7f18ac
* Thu Sep 19 2013 Remi Collet <rcollet@redhat.com> - 5.5.4-1
7f18ac
- update to 5.5.4
7f18ac
- improve security, use specific soap.wsdl_cache_dir
7f18ac
  use /var/lib/php/wsdlcache for mod_php and php-fpm
7f18ac
- sync short_tag comments in php.ini with upstream
7f18ac
7f18ac
* Wed Aug 21 2013 Remi Collet <rcollet@redhat.com> - 5.5.3-1
7f18ac
- update to 5.5.3
7f18ac
- fix typo and add missing entries in php.ini
7f18ac
- drop zip extension
7f18ac
7f18ac
* Mon Aug 19 2013 Remi Collet <rcollet@redhat.com> - 5.5.2-1
7f18ac
- update to 5.5.2, fixes for CVE-2011-4718 + CVE-2013-4248
7f18ac
7f18ac
* Thu Aug 08 2013 Remi Collet <rcollet@redhat.com> - 5.5.1-3
7f18ac
- improve system libzip patch
7f18ac
7f18ac
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.1-2
7f18ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7f18ac
7f18ac
* Mon Jul 22 2013 Remi Collet <rcollet@redhat.com> - 5.5.1-1
7f18ac
- update to 5.5.1
7f18ac
- add Provides: php(pdo-abi), for consistency with php(api)
7f18ac
  and php(zend-abi)
7f18ac
- improved description for mod_php
7f18ac
- fix opcache ZTS configuration (blacklists in /etc/php-zts.d)
7f18ac
- add missing man pages (phar, php-cgi)
7f18ac
7f18ac
* Fri Jul 12 2013 Remi Collet <rcollet@redhat.com> - 5.5.0-2
7f18ac
- add security fix for CVE-2013-4113
7f18ac
- add missing ASL 1.0 license
7f18ac
- 32k stack size seems ok for tests on both 32/64bits build
7f18ac
7f18ac
* Thu Jun 20 2013 Remi Collet <rcollet@redhat.com> 5.5.0-1
7f18ac
- update to 5.5.0 final
7f18ac
7f18ac
* Fri Jun 14 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.11.RC3
7f18ac
- also drop JSON from sources
7f18ac
- clean conditional for JSON (as removed from the sources)
7f18ac
- clean conditional for FPM (always build)
7f18ac
7f18ac
* Thu Jun 13 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.10.RC3
7f18ac
- drop JSON extension
7f18ac
7f18ac
* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.9.RC3
7f18ac
- build with system GD >= 2.1.0
7f18ac
7f18ac
* Thu Jun  6 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.8.RC3
7f18ac
- update to 5.5.0RC3
7f18ac
7f18ac
* Thu May 23 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.7.RC2
7f18ac
- update to 5.5.0RC2
7f18ac
- add missing options in php-fpm.conf
7f18ac
- run php-fpm in systemd notify mode
7f18ac
- /etc/syconfig/php-fpm is deprecated (still used)
7f18ac
- add /systemd/system/php-fpm.service.d
7f18ac
7f18ac
* Wed May  8 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.6.RC1
7f18ac
- update to 5.5.0RC1
7f18ac
- remove reference to apache in some sub-packages description
7f18ac
- add option to disable json extension
7f18ac
- drop most (very old) "Obsoletes", add version to others
7f18ac
7f18ac
* Thu Apr 25 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.5.beta4
7f18ac
- update to 5.5.0beta4
7f18ac
- zend_extension doesn't requires full path
7f18ac
- refresh patch for system libzip
7f18ac
- drop opcache patch merged upstream
7f18ac
- add BuildRequires libvpx-devel for WebP support in php-gd
7f18ac
- php-fpm own /usr/share/fpm
7f18ac
7f18ac
* Thu Apr 11 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.4.beta3
7f18ac
- update to 5.5.0beta3
7f18ac
- allow wildcard in opcache.blacklist_filename and provide
7f18ac
  default /etc/php.d/opcache-default.blacklist
7f18ac
- clean spec, use only spaces (no tab)
7f18ac
7f18ac
* Thu Apr  4 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.3.beta2
7f18ac
- clean old deprecated options
7f18ac
7f18ac
* Thu Mar 28 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.2.beta2
7f18ac
- update to 5.5.0beta2
7f18ac
- Zend Optimizer+ renamed to Zend OPcache
7f18ac
- sync provided configuration with upstream
7f18ac
7f18ac
* Fri Mar 22 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.1.beta1
7f18ac
- update to 5.5.0beta1
7f18ac
  http://fedoraproject.org/wiki/Features/Php55
7f18ac
- new Zend OPcache extension in php-opccache new sub-package
7f18ac
- don't display XFAIL tests in report
7f18ac
- use xz compressed tarball
7f18ac
- build simplexml and xml extensions shared (moved in php-xml)
7f18ac
- build bz2, calendar, ctype, exif, ftp, gettext, iconv
7f18ac
  sockets and tokenizer extensions shared (in php-common)
7f18ac
- build gmp extension shared (in php-gmp new sub-package)
7f18ac
- build shmop extension shared (moved in php-process)
7f18ac
- drop some old compatibility provides (php-api, php-zend-abi, php-pecl-*)
7f18ac
7f18ac
* Thu Mar 14 2013 Remi Collet <rcollet@redhat.com> 5.4.13-1
7f18ac
- update to 5.4.13
7f18ac
- security fix for CVE-2013-1643
7f18ac
- Hardened build (links with -z now option)
7f18ac
7f18ac
* Mon Mar 11 2013 Ralf Corsépius <corsepiu@fedoraproject.org> -  5.4.13-0.2.RC1
7f18ac
- Remove %%config from %%{_sysconfdir}/rpm/macros.*
7f18ac
  (https://fedorahosted.org/fpc/ticket/259).
7f18ac
7f18ac
* Thu Feb 28 2013 Remi Collet <rcollet@redhat.com> 5.4.13-0.1.RC1
7f18ac
- update to 5.4.13RC1
7f18ac
- drop patches merged upstream
7f18ac
7f18ac
* Sat Feb 23 2013 Karsten Hopp <karsten@redhat.com> 5.4.12-4
7f18ac
- add support for ppc64p7 arch (Power7 optimized)
7f18ac
7f18ac
* Thu Feb 21 2013 Remi Collet <rcollet@redhat.com> 5.4.12-3
7f18ac
- make ZTS build optional (still enabled)
7f18ac
7f18ac
* Wed Feb 20 2013 Remi Collet <rcollet@redhat.com> 5.4.12-2
7f18ac
- make php-mysql package optional and disabled
7f18ac
7f18ac
* Wed Feb 20 2013 Remi Collet <remi@fedoraproject.org> 5.4.12-1
7f18ac
- update to 5.4.12
7f18ac
- security fix for CVE-2013-1635
7f18ac
- drop gdbm because of license incompatibility
7f18ac
7f18ac
* Wed Feb 13 2013 Remi Collet <rcollet@redhat.com> 5.4.12-0.6.RC2
7f18ac
- enable tokyocabinet and gdbm dba handlers
7f18ac
7f18ac
* Wed Feb 13 2013 Remi Collet <rcollet@redhat.com> 5.4.12-0.5.RC2
7f18ac
- update to 5.4.12RC2
7f18ac
7f18ac
* Mon Feb 11 2013 Remi Collet <rcollet@redhat.com> 5.4.12-0.4.RC1
7f18ac
- upstream patch (5.4.13) to fix dval to lval conversion
7f18ac
  https://bugs.php.net/64142
7f18ac
7f18ac
* Mon Feb  4 2013 Remi Collet <rcollet@redhat.com> 5.4.12-0.3.RC1
7f18ac
- upstream patch (5.4.13) for 2 failed tests
7f18ac
7f18ac
* Fri Feb  1 2013 Remi Collet <rcollet@redhat.com> 5.4.12-0.2.RC1
7f18ac
- fix buit-in web server on ppc64 (fdset usage)
7f18ac
  https://bugs.php.net/64128
7f18ac
7f18ac
* Thu Jan 31 2013 Remi Collet <rcollet@redhat.com> 5.4.12-0.1.RC1
7f18ac
- update to 5.4.12RC1
7f18ac
7f18ac
* Mon Jan 28 2013 Remi Collet <rcollet@redhat.com> 5.4.11-3
7f18ac
- rebuild for new libicu
7f18ac
7f18ac
* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 5.4.11-2
7f18ac
- rebuild due to "jpeg8-ABI" feature drop
7f18ac
7f18ac
* Wed Jan 16 2013 Remi Collet <rcollet@redhat.com> 5.4.11-1
7f18ac
- update to 5.4.11
7f18ac
7f18ac
* Thu Jan 10 2013 Remi Collet <rcollet@redhat.com> 5.4.11-0.2.RC1
7f18ac
- fix php.conf to allow MultiViews managed by php scripts
7f18ac
7f18ac
* Thu Jan 10 2013 Remi Collet <rcollet@redhat.com> 5.4.11-0.1.RC1
7f18ac
- update to 5.4.11RC1
7f18ac
7f18ac
* Wed Dec 19 2012 Remi Collet <rcollet@redhat.com> 5.4.10-1
7f18ac
- update to 5.4.10
7f18ac
- remove patches merged upstream
7f18ac
7f18ac
* Tue Dec 11 2012 Remi Collet <rcollet@redhat.com> 5.4.9-3
7f18ac
- drop "Configure Command" from phpinfo output
7f18ac
7f18ac
* Tue Dec 11 2012 Joe Orton <jorton@redhat.com> - 5.4.9-2
7f18ac
- prevent php_config.h changes across (otherwise identical) rebuilds
7f18ac
7f18ac
* Thu Nov 22 2012 Remi Collet <rcollet@redhat.com> 5.4.9-1
7f18ac
- update to 5.4.9
7f18ac
7f18ac
* Thu Nov 15 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.5.RC1
7f18ac
- switch back to upstream generated scanner/parser
7f18ac
7f18ac
* Thu Nov 15 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.4.RC1
7f18ac
- use _httpd_contentdir macro and fix php.gif path
7f18ac
7f18ac
* Wed Nov 14 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.3.RC1
7f18ac
- improve system libzip patch to use pkg-config
7f18ac
7f18ac
* Wed Nov 14 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.2.RC1
7f18ac
- use _httpd_moddir macro
7f18ac
7f18ac
* Wed Nov 14 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.1.RC1
7f18ac
- update to 5.4.9RC1
7f18ac
- improves php.conf (use FilesMatch + SetHandler)
7f18ac
- improves filter (httpd module)
7f18ac
- apply ldap_r patch on fedora >= 18 only
7f18ac
7f18ac
* Fri Nov  9 2012 Remi Collet <rcollet@redhat.com> 5.4.8-6
7f18ac
- clarify Licenses
7f18ac
- missing provides xmlreader and xmlwriter
7f18ac
- modernize spec
7f18ac
- change php embedded library soname version to 5.4
7f18ac
7f18ac
* Tue Nov  6 2012 Remi Collet <rcollet@redhat.com> 5.4.8-5
7f18ac
- fix _httpd_mmn macro definition
7f18ac
7f18ac
* Mon Nov  5 2012 Remi Collet <rcollet@redhat.com> 5.4.8-4
7f18ac
- fix mysql_sock macro definition
7f18ac
7f18ac
* Thu Oct 25 2012 Remi Collet <rcollet@redhat.com> 5.4.8-3
7f18ac
- fix installed headers
7f18ac
7f18ac
* Tue Oct 23 2012 Joe Orton <jorton@redhat.com> - 5.4.8-2
7f18ac
- use libldap_r for ldap extension
7f18ac
7f18ac
* Thu Oct 18 2012 Remi Collet <remi@fedoraproject.org> 5.4.8-1
7f18ac
- update to 5.4.8
7f18ac
- define both session.save_handler and session.save_path
7f18ac
- fix possible segfault in libxml (#828526)
7f18ac
- php-fpm: create apache user if needed
7f18ac
- use SKIP_ONLINE_TEST during make test
7f18ac
- php-devel requires pcre-devel and php-cli (instead of php)
7f18ac
7f18ac
* Fri Oct  5 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-11
7f18ac
- provides php-phar
7f18ac
- update systzdata patch to v10, timezone are case insensitive
7f18ac
7f18ac
* Mon Oct  1 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-10
7f18ac
- fix typo in systemd macro
7f18ac
7f18ac
* Mon Oct  1 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-9
7f18ac
- php-fpm: enable PrivateTmp
7f18ac
- php-fpm: new systemd macros (#850268)
7f18ac
- php-fpm: add upstream patch for startup issue (#846858)
7f18ac
7f18ac
* Fri Sep 28 2012 Remi Collet <rcollet@redhat.com> 5.4.7-8
7f18ac
- systemd integration, https://bugs.php.net/63085
7f18ac
- no odbc call during timeout, https://bugs.php.net/63171
7f18ac
- check sqlite3_column_table_name, https://bugs.php.net/63149
7f18ac
7f18ac
* Mon Sep 24 2012 Remi Collet <rcollet@redhat.com> 5.4.7-7
7f18ac
- most failed tests explained (i386, x86_64)
7f18ac
7f18ac
* Wed Sep 19 2012 Remi Collet <rcollet@redhat.com> 5.4.7-6
7f18ac
- fix for http://bugs.php.net/63126 (#783967)
7f18ac
7f18ac
* Wed Sep 19 2012 Remi Collet <rcollet@redhat.com> 5.4.7-5
7f18ac
- patch to ensure we use latest libdb (not libdb4)
7f18ac
7f18ac
* Wed Sep 19 2012 Remi Collet <rcollet@redhat.com> 5.4.7-4
7f18ac
- really fix rhel tests (use libzip and libdb)
7f18ac
7f18ac
* Tue Sep 18 2012 Remi Collet <rcollet@redhat.com> 5.4.7-3
7f18ac
- fix test to enable zip extension on RHEL-7
7f18ac
7f18ac
* Mon Sep 17 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-2
7f18ac
- remove session.save_path from php.ini
7f18ac
  move it to apache and php-fpm configuration files
7f18ac
7f18ac
* Fri Sep 14 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-1
7f18ac
- update to 5.4.7
7f18ac
  http://www.php.net/releases/5_4_7.php
7f18ac
- php-fpm: don't daemonize
7f18ac
7f18ac
* Mon Aug 20 2012 Remi Collet <remi@fedoraproject.org> 5.4.6-2
7f18ac
- enable php-fpm on secondary arch (#849490)
7f18ac
7f18ac
* Fri Aug 17 2012 Remi Collet <remi@fedoraproject.org> 5.4.6-1
7f18ac
- update to 5.4.6
7f18ac
- update to v9 of systzdata patch
7f18ac
- backport fix for new libxml
7f18ac
7f18ac
* Fri Jul 20 2012 Remi Collet <remi@fedoraproject.org> 5.4.5-1
7f18ac
- update to 5.4.5
7f18ac
7f18ac
* Mon Jul 02 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-4
7f18ac
- also provide php(language)%%{_isa}
7f18ac
- define %%{php_version}
7f18ac
7f18ac
* Mon Jul 02 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-3
7f18ac
- drop BR for libevent (#835671)
7f18ac
- provide php(language) to allow version check
7f18ac
7f18ac
* Thu Jun 21 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-2
7f18ac
- add missing provides (core, ereg, filter, standard)
7f18ac
7f18ac
* Thu Jun 14 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-1
7f18ac
- update to 5.4.4 (CVE-2012-2143, CVE-2012-2386)
7f18ac
- use /usr/lib/tmpfiles.d instead of /etc/tmpfiles.d
7f18ac
- use /run/php-fpm instead of /var/run/php-fpm
7f18ac
7f18ac
* Wed May 09 2012 Remi Collet <remi@fedoraproject.org> 5.4.3-1
7f18ac
- update to 5.4.3 (CVE-2012-2311, CVE-2012-2329)
7f18ac
7f18ac
* Thu May 03 2012 Remi Collet <remi@fedoraproject.org> 5.4.2-1
7f18ac
- update to 5.4.2 (CVE-2012-1823)
7f18ac
7f18ac
* Fri Apr 27 2012 Remi Collet <remi@fedoraproject.org> 5.4.1-1
7f18ac
- update to 5.4.1
7f18ac
7f18ac
* Wed Apr 25 2012 Joe Orton <jorton@redhat.com> - 5.4.0-6
7f18ac
- rebuild for new icu
7f18ac
- switch (conditionally) to libdb-devel
7f18ac
7f18ac
* Sat Mar 31 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-5
7f18ac
- fix Loadmodule with MPM event (use ZTS if not MPM worker)
7f18ac
- split conf.d/php.conf + conf.modules.d/10-php.conf with httpd 2.4
7f18ac
7f18ac
* Thu Mar 29 2012 Joe Orton <jorton@redhat.com> - 5.4.0-4
7f18ac
- rebuild for missing automatic provides (#807889)
7f18ac
7f18ac
* Mon Mar 26 2012 Joe Orton <jorton@redhat.com> - 5.4.0-3
7f18ac
- really use _httpd_mmn
7f18ac
7f18ac
* Mon Mar 26 2012 Joe Orton <jorton@redhat.com> - 5.4.0-2
7f18ac
- rebuild against httpd 2.4
7f18ac
- use _httpd_mmn, _httpd_apxs macros
7f18ac
7f18ac
* Fri Mar 02 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-1
7f18ac
- update to PHP 5.4.0 finale
7f18ac
7f18ac
* Sat Feb 18 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.4.RC8
7f18ac
- update to PHP 5.4.0RC8
7f18ac
7f18ac
* Sat Feb 04 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.3.RC7
7f18ac
- update to PHP 5.4.0RC7
7f18ac
- provides env file for php-fpm (#784770)
7f18ac
- add patch to use system libzip (thanks to spot)
7f18ac
- don't provide INSTALL file
7f18ac
7f18ac
* Wed Jan 25 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.2.RC6
7f18ac
- all binaries in /usr/bin with zts prefix
7f18ac
7f18ac
* Wed Jan 18 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.1.RC6
7f18ac
- update to PHP 5.4.0RC6
7f18ac
  https://fedoraproject.org/wiki/Features/Php54
7f18ac
7f18ac
* Sun Jan 08 2012 Remi Collet <remi@fedoraproject.org> 5.3.8-4.4
7f18ac
- fix systemd unit
7f18ac
7f18ac
* Mon Dec 12 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-4.3
7f18ac
- switch to systemd
7f18ac
7f18ac
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 5.3.8-4.2
7f18ac
- Rebuild for new libpng
7f18ac
7f18ac
* Wed Oct 26 2011 Marcela Mašláňová <mmaslano@redhat.com> - 5.3.8-3.2
7f18ac
- rebuild with new gmp without compat lib
7f18ac
7f18ac
* Wed Oct 12 2011 Peter Schiffer <pschiffe@redhat.com> - 5.3.8-3.1
7f18ac
- rebuild with new gmp
7f18ac
7f18ac
* Wed Sep 28 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-3
7f18ac
- revert is_a() to php <= 5.3.6 behavior (from upstream)
7f18ac
  with new option (allow_string) for new behavior
7f18ac
7f18ac
* Tue Sep 13 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-2
7f18ac
- add mysqlnd sub-package
7f18ac
- drop patch4, use --libdir to use /usr/lib*/php/build
7f18ac
- add patch to redirect mysql.sock (in mysqlnd)
7f18ac
7f18ac
* Tue Aug 23 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-1
7f18ac
- update to 5.3.8
7f18ac
  http://www.php.net/ChangeLog-5.php#5.3.8
7f18ac
7f18ac
* Thu Aug 18 2011 Remi Collet <remi@fedoraproject.org> 5.3.7-1
7f18ac
- update to 5.3.7
7f18ac
  http://www.php.net/ChangeLog-5.php#5.3.7
7f18ac
- merge php-zts into php (#698084)
7f18ac
7f18ac
* Tue Jul 12 2011 Joe Orton <jorton@redhat.com> - 5.3.6-4
7f18ac
- rebuild for net-snmp SONAME bump
7f18ac
7f18ac
* Mon Apr  4 2011 Remi Collet <Fedora@famillecollet.com> 5.3.6-3
7f18ac
- enable mhash extension (emulated by hash extension)
7f18ac
7f18ac
* Wed Mar 23 2011 Remi Collet <Fedora@famillecollet.com> 5.3.6-2
7f18ac
- rebuild for new MySQL client library
7f18ac
7f18ac
* Thu Mar 17 2011 Remi Collet <Fedora@famillecollet.com> 5.3.6-1
7f18ac
- update to 5.3.6
7f18ac
  http://www.php.net/ChangeLog-5.php#5.3.6
7f18ac
- fix php-pdo arch specific requires
7f18ac
7f18ac
* Tue Mar 15 2011 Joe Orton <jorton@redhat.com> - 5.3.5-6
7f18ac
- disable zip extension per "No Bundled Libraries" policy (#551513)
7f18ac
7f18ac
* Mon Mar 07 2011 Caolán McNamara <caolanm@redhat.com> 5.3.5-5
7f18ac
- rebuild for icu 4.6
7f18ac
7f18ac
* Mon Feb 28 2011 Remi Collet <Fedora@famillecollet.com> 5.3.5-4
7f18ac
- fix systemd-units requires
7f18ac
7f18ac
* Thu Feb 24 2011 Remi Collet <Fedora@famillecollet.com> 5.3.5-3
7f18ac
- add tmpfiles.d configuration for php-fpm
7f18ac
- add Arch specific requires/provides
7f18ac
7f18ac
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.5-2
7f18ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7f18ac
7f18ac
* Fri Jan 07 2011 Remi Collet <Fedora@famillecollet.com> 5.3.5-1
7f18ac
- update to 5.3.5
7f18ac
  http://www.php.net/ChangeLog-5.php#5.3.5
7f18ac
- clean duplicate configure options
7f18ac
7f18ac
* Tue Dec 28 2010 Remi Collet <rpms@famillecollet.com> 5.3.4-2
7f18ac
- rebuild against MySQL 5.5.8
7f18ac
- remove all RPM_SOURCE_DIR
7f18ac
7f18ac
* Sun Dec 12 2010 Remi Collet <rpms@famillecollet.com> 5.3.4-1.1
7f18ac
- security patch from upstream for #660517
7f18ac
7f18ac
* Sat Dec 11 2010 Remi Collet <Fedora@famillecollet.com> 5.3.4-1
7f18ac
- update to 5.3.4
7f18ac
  http://www.php.net/ChangeLog-5.php#5.3.4
7f18ac
- move phpize to php-cli (see #657812)
7f18ac
7f18ac
* Wed Dec  1 2010 Remi Collet <Fedora@famillecollet.com> 5.3.3-5
7f18ac
- ghost /var/run/php-fpm (see #656660)
7f18ac
- add filter_setup to not provides extensions as .so
7f18ac
7f18ac
* Mon Nov  1 2010 Joe Orton <jorton@redhat.com> - 5.3.3-4
7f18ac
- use mysql_config in libdir directly to avoid biarch build failures
7f18ac
7f18ac
* Fri Oct 29 2010 Joe Orton <jorton@redhat.com> - 5.3.3-3
7f18ac
- rebuild for new net-snmp
7f18ac
7f18ac
* Sun Oct 10 2010 Remi Collet <Fedora@famillecollet.com> 5.3.3-2
7f18ac
- add php-fpm sub-package
7f18ac
7f18ac
* Thu Jul 22 2010 Remi Collet <Fedora@famillecollet.com> 5.3.3-1
7f18ac
- PHP 5.3.3 released
7f18ac
7f18ac
* Fri Apr 30 2010 Remi Collet <Fedora@famillecollet.com> 5.3.2-3
7f18ac
- garbage collector upstream  patches (#580236)
7f18ac
7f18ac
* Fri Apr 02 2010 Caolán McNamara <caolanm@redhat.com> 5.3.2-2
7f18ac
- rebuild for icu 4.4
7f18ac
7f18ac
* Sat Mar 06 2010 Remi Collet <Fedora@famillecollet.com> 5.3.2-1
7f18ac
- PHP 5.3.2 Released!
7f18ac
- remove mime_magic option (now provided by fileinfo, by emu)
7f18ac
- add patch for http://bugs.php.net/50578
7f18ac
- remove patch for libedit (upstream)
7f18ac
- add runselftest option to allow build without test suite
7f18ac
7f18ac
* Fri Nov 27 2009 Joe Orton <jorton@redhat.com> - 5.3.1-3
7f18ac
- update to v7 of systzdata patch
7f18ac
7f18ac
* Wed Nov 25 2009 Joe Orton <jorton@redhat.com> - 5.3.1-2
7f18ac
- fix build with autoconf 2.6x
7f18ac
7f18ac
* Fri Nov 20 2009 Remi Collet <Fedora@famillecollet.com> 5.3.1-1
7f18ac
- update to 5.3.1
7f18ac
- remove openssl patch (merged upstream)
7f18ac
- add provides for php-pecl-json
7f18ac
- add prod/devel php.ini in doc
7f18ac
7f18ac
* Tue Nov 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 5.3.0-7
7f18ac
- use libedit instead of readline to resolve licensing issues
7f18ac
7f18ac
* Tue Aug 25 2009 Tomas Mraz <tmraz@redhat.com> - 5.3.0-6
7f18ac
- rebuilt with new openssl
7f18ac
7f18ac
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-5
7f18ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7f18ac
7f18ac
* Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-4
7f18ac
- rediff systzdata patch
7f18ac
7f18ac
* Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-3
7f18ac
- update to v6 of systzdata patch; various fixes
7f18ac
7f18ac
* Tue Jul 14 2009 Joe Orton <jorton@redhat.com> 5.3.0-2
7f18ac
- update to v5 of systzdata patch; parses zone.tab and extracts
7f18ac
  timezone->{country-code,long/lat,comment} mapping table
7f18ac
7f18ac
* Sun Jul 12 2009 Remi Collet <Fedora@famillecollet.com> 5.3.0-1
7f18ac
- update to 5.3.0
7f18ac
- remove ncurses, dbase, mhash extensions
7f18ac
- add enchant, sqlite3, intl, phar, fileinfo extensions
7f18ac
- raise sqlite version to 3.6.0 (for sqlite3, build with --enable-load-extension)
7f18ac
- sync with upstream "production" php.ini
7f18ac
7f18ac
* Sun Jun 21 2009 Remi Collet <Fedora@famillecollet.com> 5.2.10-1
7f18ac
- update to 5.2.10
7f18ac
- add interbase sub-package
7f18ac
7f18ac
* Sat Feb 28 2009 Remi Collet <Fedora@FamilleCollet.com> - 5.2.9-1
7f18ac
- update to 5.2.9
7f18ac
7f18ac
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.8-10
7f18ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7f18ac
7f18ac
* Thu Feb  5 2009 Joe Orton <jorton@redhat.com> 5.2.8-9
7f18ac
- add recode support, -recode subpackage (#106755)
7f18ac
- add -zts subpackage with ZTS-enabled build of httpd SAPI
7f18ac
- adjust php.conf to use -zts SAPI build for worker MPM
7f18ac
7f18ac
* Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8
7f18ac
- fix patch fuzz, renumber patches
7f18ac
7f18ac
* Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-7
7f18ac
- drop obsolete configure args
7f18ac
- drop -odbc patch (#483690)
7f18ac
7f18ac
* Mon Jan 26 2009 Joe Orton <jorton@redhat.com> 5.2.8-5
7f18ac
- split out sysvshm, sysvsem, sysvmsg, posix into php-process
7f18ac
7f18ac
* Sun Jan 25 2009 Joe Orton <jorton@redhat.com> 5.2.8-4
7f18ac
- move wddx to php-xml, build curl shared in -common
7f18ac
- remove BR for expat-devel, bogus configure option
7f18ac
7f18ac
* Fri Jan 23 2009 Joe Orton <jorton@redhat.com> 5.2.8-3
7f18ac
- rebuild for new MySQL
7f18ac
7f18ac
* Sat Dec 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-2
7f18ac
- libtool 2 workaround for phpize (#476004)
7f18ac
- add missing php_embed.h (#457777)
7f18ac
7f18ac
* Tue Dec 09 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-1
7f18ac
- update to 5.2.8
7f18ac
7f18ac
* Sat Dec 06 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1.1
7f18ac
- libtool 2 workaround
7f18ac
7f18ac
* Fri Dec 05 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1
7f18ac
- update to 5.2.7
7f18ac
- enable pdo_dblib driver in php-mssql
7f18ac
7f18ac
* Mon Nov 24 2008 Joe Orton <jorton@redhat.com> 5.2.6-7
7f18ac
- tweak Summary, thanks to Richard Hughes
7f18ac
7f18ac
* Tue Nov  4 2008 Joe Orton <jorton@redhat.com> 5.2.6-6
7f18ac
- move gd_README to php-gd
7f18ac
- update to r4 of systzdata patch; introduces a default timezone
7f18ac
  name of "System/Localtime", which uses /etc/localtime (#469532)
7f18ac
7f18ac
* Sat Sep 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-5
7f18ac
- enable XPM support in php-gd
7f18ac
- Fix BR for php-gd
7f18ac
7f18ac
* Sun Jul 20 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-4
7f18ac
- enable T1lib support in php-gd
7f18ac
7f18ac
* Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 5.2.6-3
7f18ac
- update to 5.2.6
7f18ac
- sync default php.ini with upstream
7f18ac
- drop extension_dir from default php.ini, rely on hard-coded
7f18ac
  default, to make php-common multilib-safe (#455091)
7f18ac
- update to r3 of systzdata patch
7f18ac
7f18ac
* Thu Apr 24 2008 Joe Orton <jorton@redhat.com> 5.2.5-7
7f18ac
- split pspell extension out into php-spell (#443857)
7f18ac
7f18ac
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.2.5-6
7f18ac
- Autorebuild for GCC 4.3
7f18ac
7f18ac
* Fri Jan 11 2008 Joe Orton <jorton@redhat.com> 5.2.5-5
7f18ac
- ext/date: use system timezone database
7f18ac
7f18ac
* Fri Dec 28 2007 Joe Orton <jorton@redhat.com> 5.2.5-4
7f18ac
- rebuild for libc-client bump
7f18ac
7f18ac
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 5.2.5-3
7f18ac
- Rebuild for openssl bump
7f18ac
7f18ac
* Wed Dec  5 2007 Joe Orton <jorton@redhat.com> 5.2.5-2
7f18ac
- update to 5.2.5
7f18ac
7f18ac
* Mon Oct 15 2007 Joe Orton <jorton@redhat.com> 5.2.4-3
7f18ac
- correct pcre BR version (#333021)
7f18ac
- restore metaphone fix (#205714)
7f18ac
- add READMEs to php-cli
7f18ac
7f18ac
* Sun Sep 16 2007 Joe Orton <jorton@redhat.com> 5.2.4-2
7f18ac
- update to 5.2.4
7f18ac
7f18ac
* Sun Sep  2 2007 Joe Orton <jorton@redhat.com> 5.2.3-9
7f18ac
- rebuild for fixed APR
7f18ac
7f18ac
* Tue Aug 28 2007 Joe Orton <jorton@redhat.com> 5.2.3-8
7f18ac
- add ldconfig post/postun for -embedded (Hans de Goede)
7f18ac
7f18ac
* Fri Aug 10 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.2.3-7
7f18ac
- add php-embedded sub-package
7f18ac
7f18ac
* Fri Aug 10 2007 Joe Orton <jorton@redhat.com> 5.2.3-6
7f18ac
- fix build with new glibc
7f18ac
- fix License
7f18ac
7f18ac
* Mon Jul 16 2007 Joe Orton <jorton@redhat.com> 5.2.3-5
7f18ac
- define php_extdir in macros.php
7f18ac
7f18ac
* Mon Jul  2 2007 Joe Orton <jorton@redhat.com> 5.2.3-4
7f18ac
- obsolete php-dbase
7f18ac
7f18ac
* Tue Jun 19 2007 Joe Orton <jorton@redhat.com> 5.2.3-3
7f18ac
- add mcrypt, mhash, tidy, mssql subpackages (Dmitry Butskoy)
7f18ac
- enable dbase extension and package in -common
7f18ac
7f18ac
* Fri Jun  8 2007 Joe Orton <jorton@redhat.com> 5.2.3-2
7f18ac
- update to 5.2.3 (thanks to Jeff Sheltren)
7f18ac
7f18ac
* Wed May  9 2007 Joe Orton <jorton@redhat.com> 5.2.2-4
7f18ac
- fix php-pdo *_arg_force_ref global symbol abuse (#216125)
7f18ac
7f18ac
* Tue May  8 2007 Joe Orton <jorton@redhat.com> 5.2.2-3
7f18ac
- rebuild against uw-imap-devel
7f18ac
7f18ac
* Fri May  4 2007 Joe Orton <jorton@redhat.com> 5.2.2-2
7f18ac
- update to 5.2.2
7f18ac
- synch changes from upstream recommended php.ini
7f18ac
7f18ac
* Thu Mar 29 2007 Joe Orton <jorton@redhat.com> 5.2.1-5
7f18ac
- enable SASL support in LDAP extension (#205772)
7f18ac
7f18ac
* Wed Mar 21 2007 Joe Orton <jorton@redhat.com> 5.2.1-4
7f18ac
- drop mime_magic extension (deprecated by php-pecl-Fileinfo)
7f18ac
7f18ac
* Mon Feb 19 2007 Joe Orton <jorton@redhat.com> 5.2.1-3
7f18ac
- fix regression in str_{i,}replace (from upstream)
7f18ac
7f18ac
* Thu Feb 15 2007 Joe Orton <jorton@redhat.com> 5.2.1-2
7f18ac
- update to 5.2.1
7f18ac
- add Requires(pre) for httpd
7f18ac
- trim %%changelog to versions >= 5.0.0
7f18ac
7f18ac
* Thu Feb  8 2007 Joe Orton <jorton@redhat.com> 5.2.0-10
7f18ac
- bump default memory_limit to 32M (#220821)
7f18ac
- mark config files noreplace again (#174251)
7f18ac
- drop trailing dots from Summary fields
7f18ac
- use standard BuildRoot
7f18ac
- drop libtool15 patch (#226294)
7f18ac
7f18ac
* Tue Jan 30 2007 Joe Orton <jorton@redhat.com> 5.2.0-9
7f18ac
- add php(api), php(zend-abi) provides (#221302)
7f18ac
- package /usr/share/php and append to default include_path (#225434)
7f18ac
7f18ac
* Tue Dec  5 2006 Joe Orton <jorton@redhat.com> 5.2.0-8
7f18ac
- fix filter.h installation path
7f18ac
- fix php-zend-abi version (Remi Collet, #212804)
7f18ac
7f18ac
* Tue Nov 28 2006 Joe Orton <jorton@redhat.com> 5.2.0-7
7f18ac
- rebuild again
7f18ac
7f18ac
* Tue Nov 28 2006 Joe Orton <jorton@redhat.com> 5.2.0-6
7f18ac
- rebuild for net-snmp soname bump
7f18ac
7f18ac
* Mon Nov 27 2006 Joe Orton <jorton@redhat.com> 5.2.0-5
7f18ac
- build json and zip shared, in -common (Remi Collet, #215966)
7f18ac
- obsolete php-json and php-pecl-zip
7f18ac
- build readline extension into /usr/bin/php* (#210585)
7f18ac
- change module subpackages to require php-common not php (#177821)
7f18ac
7f18ac
* Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 5.2.0-4
7f18ac
- provide php-zend-abi (#212804)
7f18ac
- add /etc/rpm/macros.php exporting interface versions
7f18ac
- synch with upstream recommended php.ini
7f18ac
7f18ac
* Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 5.2.0-3
7f18ac
- update to 5.2.0 (#213837)
7f18ac
- php-xml provides php-domxml (#215656)
7f18ac
- fix php-pdo-abi provide (#214281)
7f18ac
7f18ac
* Tue Oct 31 2006 Joseph Orton <jorton@redhat.com> 5.1.6-4
7f18ac
- rebuild for curl soname bump
7f18ac
- add build fix for curl 7.16 API
7f18ac
7f18ac
* Wed Oct  4 2006 Joe Orton <jorton@redhat.com> 5.1.6-3
7f18ac
- from upstream: add safety checks against integer overflow in _ecalloc
7f18ac
7f18ac
* Tue Aug 29 2006 Joe Orton <jorton@redhat.com> 5.1.6-2
7f18ac
- update to 5.1.6 (security fixes)
7f18ac
- bump default memory_limit to 16M (#196802)
7f18ac
7f18ac
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.1.4-8.1
7f18ac
- rebuild
7f18ac
7f18ac
* Fri Jun  9 2006 Joe Orton <jorton@redhat.com> 5.1.4-8
7f18ac
- Provide php-posix (#194583)
7f18ac
- only provide php-pcntl from -cli subpackage
7f18ac
- add missing defattr's (thanks to Matthias Saou)
7f18ac
7f18ac
* Fri Jun  9 2006 Joe Orton <jorton@redhat.com> 5.1.4-7
7f18ac
- move Obsoletes for php-openssl to -common (#194501)
7f18ac
- Provide: php-cgi from -cli subpackage
7f18ac
7f18ac
* Fri Jun  2 2006 Joe Orton <jorton@redhat.com> 5.1.4-6
7f18ac
- split out php-cli, php-common subpackages (#177821)
7f18ac
- add php-pdo-abi version export (#193202)
7f18ac
7f18ac
* Wed May 24 2006 Radek Vokal <rvokal@redhat.com> 5.1.4-5.1
7f18ac
- rebuilt for new libnetsnmp
7f18ac
7f18ac
* Thu May 18 2006 Joe Orton <jorton@redhat.com> 5.1.4-5
7f18ac
- provide mod_php (#187891)
7f18ac
- provide php-cli (#192196)
7f18ac
- use correct LDAP fix (#181518)
7f18ac
- define _GNU_SOURCE in php_config.h and leave it defined
7f18ac
- drop (circular) dependency on php-pear
7f18ac
7f18ac
* Mon May  8 2006 Joe Orton <jorton@redhat.com> 5.1.4-3
7f18ac
- update to 5.1.4
7f18ac
7f18ac
* Wed May  3 2006 Joe Orton <jorton@redhat.com> 5.1.3-3
7f18ac
- update to 5.1.3
7f18ac
7f18ac
* Tue Feb 28 2006 Joe Orton <jorton@redhat.com> 5.1.2-5
7f18ac
- provide php-api (#183227)
7f18ac
- add provides for all builtin modules (Tim Jackson, #173804)
7f18ac
- own %%{_libdir}/php/pear for PEAR packages (per #176733)
7f18ac
- add obsoletes to allow upgrade from FE4 PDO packages (#181863)
7f18ac
7f18ac
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.1.2-4.3
7f18ac
- bump again for double-long bug on ppc(64)
7f18ac
7f18ac
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.1.2-4.1
7f18ac
- rebuilt for new gcc4.1 snapshot and glibc changes
7f18ac
7f18ac
* Tue Jan 31 2006 Joe Orton <jorton@redhat.com> 5.1.2-4
7f18ac
- rebuild for new libc-client soname
7f18ac
7f18ac
* Mon Jan 16 2006 Joe Orton <jorton@redhat.com> 5.1.2-3
7f18ac
- only build xmlreader and xmlwriter shared (#177810)
7f18ac
7f18ac
* Fri Jan 13 2006 Joe Orton <jorton@redhat.com> 5.1.2-2
7f18ac
- update to 5.1.2
7f18ac
7f18ac
* Thu Jan  5 2006 Joe Orton <jorton@redhat.com> 5.1.1-8
7f18ac
- rebuild again
7f18ac
7f18ac
* Mon Jan  2 2006 Joe Orton <jorton@redhat.com> 5.1.1-7
7f18ac
- rebuild for new net-snmp
7f18ac
7f18ac
* Mon Dec 12 2005 Joe Orton <jorton@redhat.com> 5.1.1-6
7f18ac
- enable short_open_tag in default php.ini again (#175381)
7f18ac
7f18ac
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
7f18ac
- rebuilt
7f18ac
7f18ac
* Thu Dec  8 2005 Joe Orton <jorton@redhat.com> 5.1.1-5
7f18ac
- require net-snmp for php-snmp (#174800)
7f18ac
7f18ac
* Sun Dec  4 2005 Joe Orton <jorton@redhat.com> 5.1.1-4
7f18ac
- add /usr/share/pear back to hard-coded include_path (#174885)
7f18ac
7f18ac
* Fri Dec  2 2005 Joe Orton <jorton@redhat.com> 5.1.1-3
7f18ac
- rebuild for httpd 2.2
7f18ac
7f18ac
* Mon Nov 28 2005 Joe Orton <jorton@redhat.com> 5.1.1-2
7f18ac
- update to 5.1.1
7f18ac
- remove pear subpackage
7f18ac
- enable pdo extensions (php-pdo subpackage)
7f18ac
- remove non-standard conditional module builds
7f18ac
- enable xmlreader extension
7f18ac
7f18ac
* Thu Nov 10 2005 Tomas Mraz <tmraz@redhat.com> 5.0.5-6
7f18ac
- rebuilt against new openssl
7f18ac
7f18ac
* Mon Nov  7 2005 Joe Orton <jorton@redhat.com> 5.0.5-5
7f18ac
- pear: update to XML_RPC 1.4.4, XML_Parser 1.2.7, Mail 1.1.9 (#172528)
7f18ac
7f18ac
* Tue Nov  1 2005 Joe Orton <jorton@redhat.com> 5.0.5-4
7f18ac
- rebuild for new libnetsnmp
7f18ac
7f18ac
* Wed Sep 14 2005 Joe Orton <jorton@redhat.com> 5.0.5-3
7f18ac
- update to 5.0.5
7f18ac
- add fix for upstream #34435
7f18ac
- devel: require autoconf, automake (#159283)
7f18ac
- pear: update to HTTP-1.3.6, Mail-1.1.8, Net_SMTP-1.2.7, XML_RPC-1.4.1
7f18ac
- fix imagettftext et al (upstream, #161001)
7f18ac
7f18ac
* Thu Jun 16 2005 Joe Orton <jorton@redhat.com> 5.0.4-11
7f18ac
- ldap: restore ldap_start_tls() function
7f18ac
7f18ac
* Fri May  6 2005 Joe Orton <jorton@redhat.com> 5.0.4-10
7f18ac
- disable RPATHs in shared extensions (#156974)
7f18ac
7f18ac
* Tue May  3 2005 Joe Orton <jorton@redhat.com> 5.0.4-9
7f18ac
- build simplexml_import_dom even with shared dom (#156434)
7f18ac
- prevent truncation of copied files to ~2Mb (#155916)
7f18ac
- install /usr/bin/php from CLI build alongside CGI
7f18ac
- enable sysvmsg extension (#142988)
7f18ac
7f18ac
* Mon Apr 25 2005 Joe Orton <jorton@redhat.com> 5.0.4-8
7f18ac
- prevent build of builtin dba as well as shared extension
7f18ac
7f18ac
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-7
7f18ac
- split out dba and bcmath extensions into subpackages
7f18ac
- BuildRequire gcc-c++ to avoid AC_PROG_CXX{,CPP} failure (#155221)
7f18ac
- pear: update to DB-1.7.6
7f18ac
- enable FastCGI support in /usr/bin/php-cgi (#149596)
7f18ac
7f18ac
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-6
7f18ac
- build /usr/bin/php with the CLI SAPI, and add /usr/bin/php-cgi,
7f18ac
  built with the CGI SAPI (thanks to Edward Rudd, #137704)
7f18ac
- add php(1) man page for CLI
7f18ac
- fix more test cases to use -n when invoking php
7f18ac
7f18ac
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-5
7f18ac
- rebuild for new libpq soname
7f18ac
7f18ac
* Tue Apr 12 2005 Joe Orton <jorton@redhat.com> 5.0.4-4
7f18ac
- bundle from PEAR: HTTP, Mail, XML_Parser, Net_Socket, Net_SMTP
7f18ac
- snmp: disable MSHUTDOWN function to prevent error_log noise (#153988)
7f18ac
- mysqli: add fix for crash on x86_64 (Georg Richter, upstream #32282)
7f18ac
7f18ac
* Mon Apr 11 2005 Joe Orton <jorton@redhat.com> 5.0.4-3
7f18ac
- build shared objects as PIC (#154195)
7f18ac
7f18ac
* Mon Apr  4 2005 Joe Orton <jorton@redhat.com> 5.0.4-2
7f18ac
- fix PEAR installation and bundle PEAR DB-1.7.5 package
7f18ac
7f18ac
* Fri Apr  1 2005 Joe Orton <jorton@redhat.com> 5.0.4-1
7f18ac
- update to 5.0.4 (#153068)
7f18ac
- add .phps AddType to php.conf (#152973)
7f18ac
- better gcc4 fix for libxmlrpc
7f18ac
7f18ac
* Wed Mar 30 2005 Joe Orton <jorton@redhat.com> 5.0.3-5
7f18ac
- BuildRequire mysql-devel >= 4.1
7f18ac
- don't mark php.ini as noreplace to make upgrades work (#152171)
7f18ac
- fix subpackage descriptions (#152628)
7f18ac
- fix memset(,,0) in Zend (thanks to Dave Jones)
7f18ac
- fix various compiler warnings in Zend
7f18ac
7f18ac
* Thu Mar 24 2005 Joe Orton <jorton@redhat.com> 5.0.3-4
7f18ac
- package mysqli extension in php-mysql
7f18ac
- really enable pcntl (#142903)
7f18ac
- don't build with --enable-safe-mode (#148969)
7f18ac
- use "Instant Client" libraries for oci8 module (Kai Bolay, #149873)
7f18ac
7f18ac
* Fri Feb 18 2005 Joe Orton <jorton@redhat.com> 5.0.3-3
7f18ac
- fix build with GCC 4
7f18ac
7f18ac
* Wed Feb  9 2005 Joe Orton <jorton@redhat.com> 5.0.3-2
7f18ac
- install the ext/gd headers (#145891)
7f18ac
- enable pcntl extension in /usr/bin/php (#142903)
7f18ac
- add libmbfl array arithmetic fix (dcb314@hotmail.com, #143795)
7f18ac
- add BuildRequire for recent pcre-devel (#147448)
7f18ac
7f18ac
* Wed Jan 12 2005 Joe Orton <jorton@redhat.com> 5.0.3-1
7f18ac
- update to 5.0.3 (thanks to Robert Scheck et al, #143101)
7f18ac
- enable xsl extension (#142174)
7f18ac
- package both the xsl and dom extensions in php-xml
7f18ac
- enable soap extension, shared (php-soap package) (#142901)
7f18ac
- add patches from upstream 5.0 branch:
7f18ac
 * Zend_strtod.c compile fixes
7f18ac
 * correct php_sprintf return value usage
7f18ac
7f18ac
* Mon Nov 22 2004 Joe Orton <jorton@redhat.com> 5.0.2-8
7f18ac
- update for db4-4.3 (Robert Scheck, #140167)
7f18ac
- build against mysql-devel
7f18ac
- run tests in %%check
7f18ac
7f18ac
* Wed Nov 10 2004 Joe Orton <jorton@redhat.com> 5.0.2-7
7f18ac
- truncate changelog at 4.3.1-1
7f18ac
- merge from 4.3.x package:
7f18ac
 - enable mime_magic extension and Require: file (#130276)
7f18ac
7f18ac
* Mon Nov  8 2004 Joe Orton <jorton@redhat.com> 5.0.2-6
7f18ac
- fix dom/sqlite enable/without confusion
7f18ac
7f18ac
* Mon Nov  8 2004 Joe Orton <jorton@redhat.com> 5.0.2-5
7f18ac
- fix phpize installation for lib64 platforms
7f18ac
- add fix for segfault in variable parsing introduced in 5.0.2
7f18ac
7f18ac
* Mon Nov  8 2004 Joe Orton <jorton@redhat.com> 5.0.2-4
7f18ac
- update to 5.0.2 (#127980)
7f18ac
- build against mysqlclient10-devel
7f18ac
- use new RTLD_DEEPBIND to load extension modules
7f18ac
- drop explicit requirement for elfutils-devel
7f18ac
- use AddHandler in default conf.d/php.conf (#135664)
7f18ac
- "fix" round() fudging for recent gcc on x86
7f18ac
- disable sqlite pending audit of warnings and subpackage split
7f18ac
7f18ac
* Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-4
7f18ac
- don't build dom extension into 2.0 SAPI
7f18ac
7f18ac
* Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-3
7f18ac
- ExclusiveArch: x86 ppc x86_64 for the moment
7f18ac
7f18ac
* Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-2
7f18ac
- fix default extension_dir and conf.d/php.conf
7f18ac
7f18ac
* Thu Sep  9 2004 Joe Orton <jorton@redhat.com> 5.0.1-1
7f18ac
- update to 5.0.1
7f18ac
- only build shared modules once
7f18ac
- put dom extension in php-dom subpackage again
7f18ac
- move extension modules into %%{_libdir}/php/modules
7f18ac
- don't use --with-regex=system, it's ignored for the apache* SAPIs
7f18ac
7f18ac
* Wed Aug 11 2004 Tom Callaway <tcallawa@redhat.com>
7f18ac
- Merge in some spec file changes from Jeff Stern (jastern@uci.edu)
7f18ac
7f18ac
* Mon Aug 09 2004 Tom Callaway <tcallawa@redhat.com>
7f18ac
- bump to 5.0.0
7f18ac
- add patch to prevent clobbering struct re_registers from regex.h
7f18ac
- remove domxml references, replaced with dom now built-in
7f18ac
- fix php.ini to refer to php5 not php4