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