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