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