196963
# API/ABI check
196963
%global apiver      20100412
196963
%global zendver     20100525
196963
%global pdover      20080721
196963
# Extension version
196963
%global fileinfover 1.0.5
196963
%global pharver     2.0.1
196963
%global zipver      1.11.0
196963
%global jsonver     1.2.1
196963
196963
# Adds -z now to the linker flags
196963
%global _hardened_build 1
196963
196963
# version used for php embedded library soname
196963
%global embed_version 5.4
196963
196963
%global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock)
196963
196963
# Regression tests take a long time, you can skip 'em with this
196963
%{!?runselftest: %{expand: %%global runselftest 1}}
196963
196963
# Use the arch-specific mysql_config binary to avoid mismatch with the
196963
# arch detection heuristic used by bindir/mysql_config.
196963
%global mysql_config %{_libdir}/mysql/mysql_config
196963
196963
%global with_fpm 1
196963
196963
# Build mysql/mysqli/pdo extensions using libmysqlclient or only mysqlnd
196963
%global with_libmysql 1
196963
196963
# Build ZTS extension or only NTS
196963
%global with_zts 0
196963
196963
%if 0%{?__isa_bits:1}
196963
%global isasuffix -%{__isa_bits}
196963
%else
196963
%global isasuffix %nil
196963
%endif
196963
196963
# /usr/sbin/apsx with httpd < 2.4 and defined as /usr/bin/apxs with httpd >= 2.4
196963
%{!?_httpd_apxs:       %{expand: %%global _httpd_apxs       %%{_sbindir}/apxs}}
196963
%{!?_httpd_mmn:        %{expand: %%global _httpd_mmn        %%(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo missing-httpd-devel)}}
196963
%{!?_httpd_confdir:    %{expand: %%global _httpd_confdir    %%{_sysconfdir}/httpd/conf.d}}
196963
# /etc/httpd/conf.d with httpd < 2.4 and defined as /etc/httpd/conf.modules.d with httpd >= 2.4
196963
%{!?_httpd_modconfdir: %{expand: %%global _httpd_modconfdir %%{_sysconfdir}/httpd/conf.d}}
196963
%{!?_httpd_moddir:     %{expand: %%global _httpd_moddir     %%{_libdir}/httpd/modules}}
196963
%{!?_httpd_contentdir: %{expand: %%global _httpd_contentdir /var/www}}
196963
196963
%if 0%{?fedora} < 17 && 0%{?rhel} < 7
196963
%global with_zip     0
196963
%global with_libzip  0
196963
%global zipmod       %nil
196963
%else
196963
%global with_zip     1
196963
%global with_libzip  1
196963
%global zipmod       zip
196963
%endif
196963
196963
%if 0%{?fedora} < 18 && 0%{?rhel} < 7
196963
%global db_devel  db4-devel
196963
%else
196963
%global db_devel  libdb-devel
196963
%endif
196963
20017b
%global _performance_build 1
20017b
196963
#global rcver RC2
196963
196963
Summary: PHP scripting language for creating dynamic web sites
196963
Name: php
196963
Version: 5.4.16
ba24df
Release: 43%{?dist}
196963
# All files licensed under PHP version 3.01, except
196963
# Zend is licensed under Zend
196963
# TSRM is licensed under BSD
196963
License: PHP and Zend and BSD
196963
Group: Development/Languages
196963
URL: http://www.php.net/
196963
196963
Source0: http://www.php.net/distributions/php-%{version}%{?rcver}.tar.bz2
196963
Source1: php.conf
196963
Source2: php.ini
196963
Source3: macros.php
196963
Source4: php-fpm.conf
196963
Source5: php-fpm-www.conf
196963
Source6: php-fpm.service
196963
Source7: php-fpm.logrotate
196963
Source8: php-fpm.sysconfig
196963
Source9: php.modconf
196963
Source10: php.ztsmodconf
196963
196963
# Build fixes
196963
Patch5: php-5.2.0-includedir.patch
196963
Patch6: php-5.2.4-embed.patch
196963
Patch7: php-5.3.0-recode.patch
196963
Patch8: php-5.4.7-libdb.patch
196963
196963
# Fixes for extension modules
196963
# https://bugs.php.net/63171 no odbc call during timeout
196963
Patch21: php-5.4.7-odbctimer.patch
196963
# Fixed Bug #64949 (Buffer overflow in _pdo_pgsql_error)
196963
Patch22: php-5.4.16-pdopgsql.patch
196963
# Fixed bug #64960 (Segfault in gc_zval_possible_root)
196963
Patch23: php-5.4.16-gc.patch
196963
# Fixed Bug #64915 (error_log ignored when daemonize=0)
196963
Patch24: php-5.4.16-fpm.patch
196963
# https://bugs.php.net/65143 php-cgi man page
196963
# https://bugs.php.net/65142 phar man page
196963
Patch25: php-5.4.16-man.patch
20017b
# https://bugs.php.net/66987 fileinfo / bigendian
20017b
Patch26: php-5.4.16-bug66987.patch
20017b
# https://bugs.php.net/50444 pdo_odbc / x86_64
20017b
Patch27: php-5.4.16-bug50444.patch
20017b
# https://bugs.php.net/63595 gmp memory allocator
20017b
Patch28: php-5.4.16-bug63595.patch
7c0e4d
# https://bugs.php.net/62129 session rfc1867
7c0e4d
Patch29: php-5.4.16-bug62129.patch
8d87dc
# https://bugs.php.net/66762 mysqli segfault
8d87dc
Patch30: php-5.4.16-bug66762.patch
8d87dc
# https://bugs.php.net/65641 fpm script name
8d87dc
Patch31: php-5.4.6-bug65641.patch
8d87dc
# https://bugs.php.net/71089 duplicate ext
8d87dc
Patch32: php-5.4.16-bug71089.patch
8d87dc
# https://bugs.php.net/66833 default digest algo
8d87dc
Patch33: php-5.4.16-bug66833.patch
8d87dc
# fixed variable corruption
8d87dc
Patch34: php-5.4.16-wddx.patch
f3124d
# bad logic in sapi header callback routine
f3124d
Patch35: php-5.4.16-bug66375.patch
196963
196963
# Functional changes
196963
Patch40: php-5.4.0-dlopen.patch
196963
Patch41: php-5.4.0-easter.patch
196963
Patch42: php-5.3.1-systzdata-v10.patch
196963
# See http://bugs.php.net/53436
196963
Patch43: php-5.4.0-phpize.patch
196963
# Use system libzip instead of bundled one
196963
Patch44: php-5.4.15-system-libzip.patch
196963
# Use -lldap_r for OpenLDAP
196963
Patch45: php-5.4.8-ldap_r.patch
196963
# Make php_config.h constant across builds
196963
Patch46: php-5.4.9-fixheader.patch
196963
# drop "Configure command" from phpinfo output
196963
Patch47: php-5.4.9-phpinfo.patch
20017b
# Fix php_select on aarch64 (http://bugs.php.net/67406)
20017b
Patch48: php-5.4.16-aarch64-select.patch
8d87dc
Patch49: php-5.4.16-curltls.patch
196963
196963
# Fixes for tests
196963
Patch60: php-5.4.16-pdotests.patch
196963
196963
# Security fixes
196963
Patch100: php-5.4.17-CVE-2013-4013.patch
196963
Patch101: php-5.4.16-CVE-2013-4248.patch
e14024
Patch102: php-5.4.16-CVE-2013-6420.patch
e14024
Patch104: php-5.4.16-CVE-2014-1943.patch
e14024
Patch105: php-5.4.16-CVE-2013-6712.patch
b6cbd1
Patch107: php-5.4.16-CVE-2014-2270.patch
b6cbd1
Patch108: php-5.4.16-CVE-2013-7345.patch
b6cbd1
Patch109: php-5.4.16-CVE-2014-0237.patch
b6cbd1
Patch110: php-5.4.16-CVE-2014-0238.patch
b6cbd1
Patch111: php-5.4.16-CVE-2014-3479.patch
b6cbd1
Patch112: php-5.4.16-CVE-2014-3480.patch
b6cbd1
Patch113: php-5.4.16-CVE-2014-4721.patch
b6cbd1
Patch114: php-5.4.16-CVE-2014-4049.patch
b6cbd1
Patch115: php-5.4.16-CVE-2014-3515.patch
b6cbd1
Patch116: php-5.4.16-CVE-2014-0207.patch
b6cbd1
Patch117: php-5.4.16-CVE-2014-3487.patch
b77848
Patch118: php-5.4.16-CVE-2014-2497.patch
b77848
Patch119: php-5.4.16-CVE-2014-3478.patch
b77848
Patch120: php-5.4.16-CVE-2014-3538.patch
b77848
Patch121: php-5.4.16-CVE-2014-3587.patch
b77848
Patch122: php-5.4.16-CVE-2014-5120.patch
b77848
Patch123: php-5.4.16-CVE-2014-4698.patch
b77848
Patch124: php-5.4.16-CVE-2014-4670.patch
b77848
Patch125: php-5.4.16-CVE-2014-3597.patch
4b401f
Patch126: php-5.4.16-CVE-2014-3668.patch
4b401f
Patch127: php-5.4.16-CVE-2014-3669.patch
4b401f
Patch128: php-5.4.16-CVE-2014-3670.patch
4b401f
Patch129: php-5.4.16-CVE-2014-3710.patch
20017b
Patch130: php-5.4.16-CVE-2014-8142.patch
20017b
Patch131: php-5.4.16-CVE-2015-0231.patch
20017b
Patch132: php-5.4.16-CVE-2015-0232.patch
20017b
Patch133: php-5.4.16-CVE-2014-9652.patch
20017b
Patch134: php-5.4.16-CVE-2014-9709.patch
20017b
Patch135: php-5.4.16-CVE-2015-0273.patch
20017b
Patch136: php-5.4.16-CVE-2014-9705.patch
20017b
Patch137: php-5.4.16-CVE-2015-2301.patch
20017b
Patch138: php-5.4.16-bug69085.patch
20017b
Patch139: php-5.4.16-CVE-2015-2787.patch
20017b
Patch140: php-5.4.16-CVE-2015-2348.patch
20017b
Patch145: php-5.4.16-CVE-2015-4022.patch
20017b
Patch146: php-5.4.16-CVE-2015-4021.patch
20017b
Patch147: php-5.4.16-CVE-2015-4024.patch
20017b
Patch148: php-5.4.16-CVE-2015-4025.patch
20017b
Patch149: php-5.4.16-CVE-2015-3330.patch
20017b
Patch150: php-5.4.16-bug69353.patch
20017b
Patch151: php-5.4.16-CVE-2015-2783.patch
20017b
Patch152: php-5.4.16-CVE-2015-3329.patch
20017b
Patch153: php-5.4.16-bug68819.patch
20017b
Patch154: php-5.4.16-bug69152.patch
f3124d
Patch155: php-5.4.16-CVE-2016-5385.patch
8d87dc
Patch156: php-5.4.16-CVE-2016-5766.patch
8d87dc
Patch157: php-5.4.16-CVE-2016-5767.patch
8d87dc
Patch158: php-5.4.16-CVE-2016-5768.patch
8d87dc
Patch159: php-5.4.16-CVE-2016-5399.patch
ba24df
Patch160: php-5.4.16-CVE-2016-10167.patch
ba24df
Patch161: php-5.4.16-CVE-2016-10168.patch
196963
196963
196963
BuildRequires: bzip2-devel, curl-devel >= 7.9, gmp-devel
196963
BuildRequires: httpd-devel >= 2.0.46-1, pam-devel
196963
BuildRequires: libstdc++-devel, openssl-devel
196963
BuildRequires: sqlite-devel >= 3.6.0
196963
BuildRequires: zlib-devel, smtpdaemon, libedit-devel
196963
BuildRequires: pcre-devel >= 6.6
196963
BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++
196963
BuildRequires: libtool-ltdl-devel
196963
%if %{with_libzip}
196963
BuildRequires: libzip-devel >= 0.10
196963
%endif
196963
196963
Obsoletes: php-dbg, php3, phpfi, stronghold-php
196963
%if %{with_zts}
196963
Obsoletes: php-zts < 5.3.7
196963
Provides: php-zts = %{version}-%{release}
196963
Provides: php-zts%{?_isa} = %{version}-%{release}
196963
%endif
196963
196963
Requires: httpd-mmn = %{_httpd_mmn}
196963
Provides: mod_php = %{version}-%{release}
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
# For backwards-compatibility, require php-cli for the time being:
196963
Requires: php-cli%{?_isa} = %{version}-%{release}
196963
# To ensure correct /var/lib/php/session ownership:
196963
Requires(pre): httpd
196963
196963
196963
# Don't provides extensions, which are not shared library, as .so
196963
%{?filter_provides_in: %filter_provides_in %{_libdir}/php/modules/.*\.so$}
196963
%{?filter_provides_in: %filter_provides_in %{_libdir}/php-zts/modules/.*\.so$}
196963
%{?filter_provides_in: %filter_provides_in %{_httpd_moddir}/.*\.so$}
196963
%{?filter_setup}
196963
196963
196963
%description
196963
PHP is an HTML-embedded scripting language. PHP attempts to make it
196963
easy for developers to write dynamically generated web pages. PHP also
196963
offers built-in database integration for several commercial and
196963
non-commercial database management systems, so writing a
196963
database-enabled webpage with PHP is fairly simple. The most common
196963
use of PHP coding is probably as a replacement for CGI scripts. 
196963
196963
The php package contains the module (often referred to as mod_php)
196963
which adds support for the PHP language to Apache HTTP Server.
196963
196963
%package cli
196963
Group: Development/Languages
196963
Summary: Command-line interface for PHP
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
Provides: php-cgi = %{version}-%{release}, php-cgi%{?_isa} = %{version}-%{release}
196963
Provides: php-pcntl, php-pcntl%{?_isa}
196963
Provides: php-readline, php-readline%{?_isa}
196963
196963
%description cli
196963
The php-cli package contains the command-line interface 
196963
executing PHP scripts, /usr/bin/php, and the CGI interface.
196963
196963
196963
%if %{with_fpm}
196963
%package fpm
196963
Group: Development/Languages
196963
Summary: PHP FastCGI Process Manager
196963
# All files licensed under PHP version 3.01, except
196963
# Zend is licensed under Zend
196963
# TSRM and fpm are licensed under BSD
196963
License: PHP and Zend and BSD
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
BuildRequires: systemd-devel
196963
BuildRequires: systemd-units
196963
Requires: systemd-units
196963
Requires(pre): /usr/sbin/useradd
196963
Requires(post): systemd-units
196963
Requires(preun): systemd-units
196963
Requires(postun): systemd-units
196963
# This is actually needed for the %%triggerun script but Requires(triggerun)
196963
# is not valid.  We can use %%post because this particular %%triggerun script
196963
# should fire just after this package is installed.
196963
Requires(post): systemd-sysv
196963
196963
%description fpm
196963
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI
196963
implementation with some additional features useful for sites of
196963
any size, especially busier sites.
196963
%endif
196963
196963
%package common
196963
Group: Development/Languages
196963
Summary: Common files for PHP
196963
# All files licensed under PHP version 3.01, except
196963
# fileinfo is licensed under PHP version 3.0
196963
# regex, libmagic are licensed under BSD
196963
# main/snprintf.c, main/spprintf.c and main/rfc1867.c are ASL 1.0
196963
License: PHP and BSD and ASL 1.0
196963
# ABI/API check - Arch specific
196963
Provides: php-api = %{apiver}%{isasuffix}, php-zend-abi = %{zendver}%{isasuffix}
196963
Provides: php(api) = %{apiver}%{isasuffix}, php(zend-abi) = %{zendver}%{isasuffix}
196963
Provides: php(language) = %{version}, php(language)%{?_isa} = %{version}
196963
# Provides for all builtin/shared modules:
196963
Provides: php-bz2, php-bz2%{?_isa}
196963
Provides: php-calendar, php-calendar%{?_isa}
196963
Provides: php-core = %{version}, php-core%{?_isa} = %{version}
196963
Provides: php-ctype, php-ctype%{?_isa}
196963
Provides: php-curl, php-curl%{?_isa}
196963
Provides: php-date, php-date%{?_isa}
196963
Provides: php-ereg, php-ereg%{?_isa}
196963
Provides: php-exif, php-exif%{?_isa}
196963
Provides: php-fileinfo, php-fileinfo%{?_isa}
196963
Provides: php-pecl-Fileinfo = %{fileinfover}, php-pecl-Fileinfo%{?_isa} = %{fileinfover}
196963
Provides: php-pecl(Fileinfo) = %{fileinfover}, php-pecl(Fileinfo)%{?_isa} = %{fileinfover}
196963
Provides: php-filter, php-filter%{?_isa}
196963
Provides: php-ftp, php-ftp%{?_isa}
196963
Provides: php-gettext, php-gettext%{?_isa}
196963
Provides: php-gmp, php-gmp%{?_isa}
196963
Provides: php-hash, php-hash%{?_isa}
196963
Provides: php-mhash = %{version}, php-mhash%{?_isa} = %{version}
196963
Provides: php-iconv, php-iconv%{?_isa}
196963
Provides: php-json, php-json%{?_isa}
196963
Provides: php-pecl-json = %{jsonver}, php-pecl-json%{?_isa} = %{jsonver}
196963
Provides: php-pecl(json) = %{jsonver}, php-pecl(json)%{?_isa} = %{jsonver}
196963
Provides: php-libxml, php-libxml%{?_isa}
196963
Provides: php-openssl, php-openssl%{?_isa}
196963
Provides: php-pecl-phar = %{pharver}, php-pecl-phar%{?_isa} = %{pharver}
196963
Provides: php-pecl(phar) = %{pharver}, php-pecl(phar)%{?_isa} = %{pharver}
196963
Provides: php-phar, php-phar%{?_isa}
196963
Provides: php-pcre, php-pcre%{?_isa}
196963
Provides: php-reflection, php-reflection%{?_isa}
196963
Provides: php-session, php-session%{?_isa}
196963
Provides: php-shmop, php-shmop%{?_isa}
196963
Provides: php-simplexml, php-simplexml%{?_isa}
196963
Provides: php-sockets, php-sockets%{?_isa}
196963
Provides: php-spl, php-spl%{?_isa}
196963
Provides: php-standard = %{version}, php-standard%{?_isa} = %{version}
196963
Provides: php-tokenizer, php-tokenizer%{?_isa}
196963
%if %{with_zip}
196963
Provides: php-zip, php-zip%{?_isa}
196963
Provides: php-pecl-zip = %{zipver}, php-pecl-zip%{?_isa} = %{zipver}
196963
Provides: php-pecl(zip) = %{zipver}, php-pecl(zip)%{?_isa} = %{zipver}
196963
Obsoletes: php-pecl-zip < 1.11
196963
%endif
196963
Provides: php-zlib, php-zlib%{?_isa}
196963
Obsoletes: php-openssl
196963
Obsoletes: php-pecl-json < 1.2.2
196963
Obsoletes: php-pecl-phar < 1.2.4
196963
Obsoletes: php-pecl-Fileinfo < 1.0.5
196963
Obsoletes: php-mhash < 5.3.0
196963
%description common
196963
The php-common package contains files used by both the php
196963
package and the php-cli package.
196963
196963
%package devel
196963
Group: Development/Libraries
196963
Summary: Files needed for building PHP extensions
196963
Requires: php-cli%{?_isa} = %{version}-%{release}, autoconf, automake
196963
Requires: pcre-devel%{?_isa}
196963
Obsoletes: php-pecl-pdo-devel
196963
%if %{with_zts}
196963
Provides: php-zts-devel = %{version}-%{release}
196963
Provides: php-zts-devel%{?_isa} = %{version}-%{release}
196963
%endif
196963
196963
%description devel
196963
The php-devel package contains the files needed for building PHP
196963
extensions. If you need to compile your own PHP extensions, you will
196963
need to install this package.
196963
196963
%package ldap
196963
Summary: A module for PHP applications that use LDAP
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01
196963
License: PHP
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
Obsoletes: mod_php3-ldap, stronghold-php-ldap
196963
BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel
196963
196963
%description ldap
196963
The php-ldap adds Lightweight Directory Access Protocol (LDAP)
196963
support to PHP. LDAP is a set of protocols for accessing directory
196963
services over the Internet. PHP is an HTML-embedded scripting
196963
language.
196963
196963
%package pdo
196963
Summary: A database access abstraction module for PHP applications
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01
196963
License: PHP
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
Obsoletes: php-pecl-pdo-sqlite, php-pecl-pdo
196963
# ABI/API check - Arch specific
196963
Provides: php-pdo-abi = %{pdover}%{isasuffix}
196963
Provides: php(pdo-abi) = %{pdover}%{isasuffix}
196963
Provides: php-sqlite3, php-sqlite3%{?_isa}
196963
Provides: php-pdo_sqlite, php-pdo_sqlite%{?_isa}
196963
196963
%description pdo
196963
The php-pdo package contains a dynamic shared object that will add
196963
a database access abstraction layer to PHP.  This module provides
196963
a common interface for accessing MySQL, PostgreSQL or other 
196963
databases.
196963
196963
%if %{with_libmysql}
196963
%package mysql
196963
Summary: A module for PHP applications that use MySQL databases
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01
196963
License: PHP
196963
Requires: php-pdo%{?_isa} = %{version}-%{release}
196963
Provides: php_database
196963
Provides: php-mysqli = %{version}-%{release}
196963
Provides: php-mysqli%{?_isa} = %{version}-%{release}
196963
Provides: php-pdo_mysql, php-pdo_mysql%{?_isa}
196963
Obsoletes: mod_php3-mysql, stronghold-php-mysql
196963
BuildRequires: mysql-devel >= 4.1.0
196963
Conflicts: php-mysqlnd
196963
196963
%description mysql
196963
The php-mysql package contains a dynamic shared object that will add
196963
MySQL database support to PHP. MySQL is an object-relational database
196963
management system. PHP is an HTML-embeddable scripting language. If
196963
you need MySQL support for PHP applications, you will need to install
196963
this package and the php package.
196963
%endif
196963
196963
%package mysqlnd
196963
Summary: A module for PHP applications that use MySQL databases
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01
196963
License: PHP
196963
Requires: php-pdo%{?_isa} = %{version}-%{release}
196963
Provides: php_database
196963
Provides: php-mysql = %{version}-%{release}
196963
Provides: php-mysql%{?_isa} = %{version}-%{release}
196963
Provides: php-mysqli = %{version}-%{release}
196963
Provides: php-mysqli%{?_isa} = %{version}-%{release}
196963
Provides: php-pdo_mysql, php-pdo_mysql%{?_isa}
196963
%if ! %{with_libmysql}
196963
Obsoletes: php-mysql < %{version}-%{release}
196963
%endif
196963
196963
%description mysqlnd
196963
The php-mysqlnd package contains a dynamic shared object that will add
196963
MySQL database support to PHP. MySQL is an object-relational database
196963
management system. PHP is an HTML-embeddable scripting language. If
196963
you need MySQL support for PHP applications, you will need to install
196963
this package and the php package.
196963
196963
This package use the MySQL Native Driver
196963
196963
%package pgsql
196963
Summary: A PostgreSQL database module for PHP
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01
196963
License: PHP
196963
Requires: php-pdo%{?_isa} = %{version}-%{release}
196963
Provides: php_database
196963
Provides: php-pdo_pgsql, php-pdo_pgsql%{?_isa}
196963
Obsoletes: mod_php3-pgsql, stronghold-php-pgsql
196963
BuildRequires: krb5-devel, openssl-devel, postgresql-devel
196963
196963
%description pgsql
196963
The php-pgsql add PostgreSQL database support to PHP.
196963
PostgreSQL is an object-relational database management
196963
system that supports almost all SQL constructs. PHP is an
196963
HTML-embedded scripting language. If you need back-end support for
196963
PostgreSQL, you should install this package in addition to the main
196963
php package.
196963
196963
%package process
196963
Summary: Modules for PHP script using system process interfaces
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01
196963
License: PHP
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
Provides: php-posix, php-posix%{?_isa}
196963
Provides: php-sysvsem, php-sysvsem%{?_isa}
196963
Provides: php-sysvshm, php-sysvshm%{?_isa}
196963
Provides: php-sysvmsg, php-sysvmsg%{?_isa}
196963
196963
%description process
196963
The php-process package contains dynamic shared objects which add
196963
support to PHP using system interfaces for inter-process
196963
communication.
196963
196963
%package odbc
196963
Summary: A module for PHP applications that use ODBC databases
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01, except
196963
# pdo_odbc is licensed under PHP version 3.0
196963
License: PHP
196963
Requires: php-pdo%{?_isa} = %{version}-%{release}
196963
Provides: php_database
196963
Provides: php-pdo_odbc, php-pdo_odbc%{?_isa}
196963
Obsoletes: stronghold-php-odbc
196963
BuildRequires: unixODBC-devel
196963
196963
%description odbc
196963
The php-odbc package contains a dynamic shared object that will add
196963
database support through ODBC to PHP. ODBC is an open specification
196963
which provides a consistent API for developers to use for accessing
196963
data sources (which are often, but not always, databases). PHP is an
196963
HTML-embeddable scripting language. If you need ODBC support for PHP
196963
applications, you will need to install this package and the php
196963
package.
196963
196963
%package soap
196963
Summary: A module for PHP applications that use the SOAP protocol
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01
196963
License: PHP
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
BuildRequires: libxml2-devel
196963
196963
%description soap
196963
The php-soap package contains a dynamic shared object that will add
196963
support to PHP for using the SOAP web services protocol.
196963
196963
%package snmp
196963
Summary: A module for PHP applications that query SNMP-managed devices
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01
196963
License: PHP
196963
Requires: php-common%{?_isa} = %{version}-%{release}, net-snmp
196963
BuildRequires: net-snmp-devel
196963
196963
%description snmp
196963
The php-snmp package contains a dynamic shared object that will add
196963
support for querying SNMP devices to PHP.  PHP is an HTML-embeddable
196963
scripting language. If you need SNMP support for PHP applications, you
196963
will need to install this package and the php package.
196963
196963
%package xml
196963
Summary: A module for PHP applications which use XML
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01
196963
License: PHP
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
Obsoletes: php-domxml, php-dom
196963
Provides: php-dom, php-dom%{?_isa}
196963
Provides: php-xsl, php-xsl%{?_isa}
196963
Provides: php-domxml, php-domxml%{?_isa}
196963
Provides: php-wddx, php-wddx%{?_isa}
196963
Provides: php-xmlreader, php-xmlreader%{?_isa}
196963
Provides: php-xmlwriter, php-xmlwriter%{?_isa}
196963
BuildRequires: libxslt-devel >= 1.0.18-1, libxml2-devel >= 2.4.14-1
196963
196963
%description xml
196963
The php-xml package contains dynamic shared objects which add support
196963
to PHP for manipulating XML documents using the DOM tree,
196963
and performing XSL transformations on XML documents.
196963
196963
%package xmlrpc
196963
Summary: A module for PHP applications which use the XML-RPC protocol
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01, except
196963
# libXMLRPC is licensed under BSD
196963
License: PHP and BSD
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
196963
%description xmlrpc
196963
The php-xmlrpc package contains a dynamic shared object that will add
196963
support for the XML-RPC protocol to PHP.
196963
196963
%package mbstring
196963
Summary: A module for PHP applications which need multi-byte string handling
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01, except
196963
# libmbfl is licensed under LGPLv2
196963
# onigurama is licensed under BSD
196963
# ucgendat is licensed under OpenLDAP
196963
License: PHP and LGPLv2 and BSD and OpenLDAP
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
196963
%description mbstring
196963
The php-mbstring package contains a dynamic shared object that will add
196963
support for multi-byte string handling to PHP.
196963
196963
%package gd
196963
Summary: A module for PHP applications for using the gd graphics library
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01, except
196963
# libgd is licensed under BSD
196963
License: PHP and BSD
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
# Required to build the bundled GD library
196963
BuildRequires: libjpeg-devel, libpng-devel, freetype-devel
196963
BuildRequires: libXpm-devel, t1lib-devel
196963
196963
%description gd
196963
The php-gd package contains a dynamic shared object that will add
196963
support for using the gd graphics library to PHP.
196963
196963
%package bcmath
196963
Summary: A module for PHP applications for using the bcmath library
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01, except
196963
# libbcmath is licensed under LGPLv2+
196963
License: PHP and LGPLv2+
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
196963
%description bcmath
196963
The php-bcmath package contains a dynamic shared object that will add
196963
support for using the bcmath library to PHP.
196963
196963
%package dba
196963
Summary: A database abstraction layer module for PHP applications
196963
Group: Development/Languages
196963
# All files licensed under PHP version 3.01
196963
License: PHP
196963
BuildRequires: %{db_devel}, tokyocabinet-devel
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
196963
%description dba
196963
The php-dba package contains a dynamic shared object that will add
196963
support for using the DBA database abstraction layer to PHP.
196963
196963
%package embedded
196963
Summary: PHP library for embedding in applications
196963
Group: System Environment/Libraries
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
# doing a real -devel package for just the .so symlink is a bit overkill
196963
Provides: php-embedded-devel = %{version}-%{release}
196963
Provides: php-embedded-devel%{?_isa} = %{version}-%{release}
196963
196963
%description embedded
196963
The php-embedded package contains a library which can be embedded
196963
into applications to provide PHP scripting language support.
196963
196963
%package pspell
196963
Summary: A module for PHP applications for using pspell interfaces
196963
Group: System Environment/Libraries
196963
# All files licensed under PHP version 3.01
196963
License: PHP
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
BuildRequires: aspell-devel >= 0.50.0
196963
196963
%description pspell
196963
The php-pspell package contains a dynamic shared object that will add
196963
support for using the pspell library to PHP.
196963
196963
%package recode
196963
Summary: A module for PHP applications for using the recode library
196963
Group: System Environment/Libraries
196963
# All files licensed under PHP version 3.01
196963
License: PHP
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
BuildRequires: recode-devel
196963
196963
%description recode
196963
The php-recode package contains a dynamic shared object that will add
196963
support for using the recode library to PHP.
196963
196963
%package intl
196963
Summary: Internationalization extension for PHP applications
196963
Group: System Environment/Libraries
196963
# All files licensed under PHP version 3.01
196963
License: PHP
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
BuildRequires: libicu-devel >= 3.6
196963
196963
%description intl
196963
The php-intl package contains a dynamic shared object that will add
196963
support for using the ICU library to PHP.
196963
196963
%package enchant
196963
Summary: Enchant spelling extension for PHP applications
196963
Group: System Environment/Libraries
196963
# All files licensed under PHP version 3.0
196963
License: PHP
196963
Requires: php-common%{?_isa} = %{version}-%{release}
196963
BuildRequires: enchant-devel >= 1.2.4
196963
196963
%description enchant
196963
The php-enchant package contains a dynamic shared object that will add
196963
support for using the enchant library to PHP.
196963
196963
196963
%prep
196963
%setup -q -n php-%{version}%{?rcver}
196963
196963
%patch5 -p1 -b .includedir
196963
%patch6 -p1 -b .embed
196963
%patch7 -p1 -b .recode
196963
%patch8 -p1 -b .libdb
196963
196963
%patch21 -p1 -b .odbctimer
196963
%patch22 -p1 -b .pdopgsql
196963
%patch23 -p1 -b .gc
196963
%patch24 -p1 -b .fpm
196963
%patch25 -p1 -b .manpages
20017b
%patch26 -p1 -b .bug66987
20017b
%patch27 -p1 -b .bug50444
20017b
%patch28 -p1 -b .bug63595
7c0e4d
%patch29 -p1 -b .bug62129
8d87dc
%patch30 -p1 -b .bug66762
8d87dc
%patch31 -p1 -b .bug65641
8d87dc
%patch32 -p1 -b .bug71089
8d87dc
%patch33 -p1 -b .bug66833
8d87dc
%patch34 -p1 -b .fix
f3124d
%patch35 -p1 -b .bug66375
196963
196963
%patch40 -p1 -b .dlopen
196963
%patch41 -p1 -b .easter
196963
%patch42 -p1 -b .systzdata
196963
%patch43 -p1 -b .headers
196963
%if %{with_libzip}
196963
%patch44 -p1 -b .systzip
196963
%endif
196963
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
196963
%patch45 -p1 -b .ldap_r
196963
%endif
196963
%patch46 -p1 -b .fixheader
196963
%patch47 -p1 -b .phpinfo
20017b
%patch48 -p1 -b .aarch64select
8d87dc
%patch49 -p1 -b .curltls
196963
196963
%patch60 -p1 -b .pdotests
196963
196963
%patch100 -p1 -b .cve4113
196963
%patch101 -p1 -b .cve4248
e14024
%patch102 -p1 -b .cve6420
e14024
%patch104 -p1 -b .cve1943
e14024
%patch105 -p1 -b .cve6712
b6cbd1
%patch107 -p1 -b .cve2270
b6cbd1
%patch108 -p1 -b .cve7345
b6cbd1
%patch109 -p1 -b .cve0237
b6cbd1
%patch110 -p1 -b .cve0238
b6cbd1
%patch111 -p1 -b .cve3479
b6cbd1
%patch112 -p1 -b .cve3480
b6cbd1
%patch113 -p1 -b .cve4721
b6cbd1
%patch114 -p1 -b .cve4049
b6cbd1
%patch115 -p1 -b .cve3515
b6cbd1
%patch116 -p1 -b .cve0207
b6cbd1
%patch117 -p1 -b .cve3487
b77848
%patch118 -p1 -b .cve2497
b77848
%patch119 -p1 -b .cve3478
b77848
%patch120 -p1 -b .cve3538
b77848
%patch121 -p1 -b .cve3587
b77848
%patch122 -p1 -b .cve5120
b77848
%patch123 -p1 -b .cve4698
b77848
%patch124 -p1 -b .cve4670
b77848
%patch125 -p1 -b .cve3597
4b401f
%patch126 -p1 -b .cve3668
4b401f
%patch127 -p1 -b .cve3669
4b401f
%patch128 -p1 -b .cve3670
4b401f
%patch129 -p1 -b .cve3710
20017b
%patch130 -p1 -b .cve8142
20017b
%patch131 -p1 -b .cve0231
20017b
%patch132 -p1 -b .cve0232
20017b
%patch133 -p1 -b .cve9652
20017b
%patch134 -p1 -b .cve9709
20017b
%patch135 -p1 -b .cve0273
20017b
%patch136 -p1 -b .cve9705
20017b
%patch137 -p1 -b .cve2301
20017b
%patch138 -p1 -b .bug68095
20017b
%patch139 -p1 -b .cve2787
20017b
%patch140 -p1 -b .cve2348
20017b
%patch145 -p1 -b .cve4022
20017b
%patch146 -p1 -b .cve4021
20017b
%patch147 -p1 -b .cve4024
20017b
%patch148 -p1 -b .cve4025
20017b
%patch149 -p1 -b .cve3330
20017b
%patch150 -p1 -b .bug69353
20017b
%patch151 -p1 -b .cve2783
20017b
%patch152 -p1 -b .cve3329
20017b
%patch153 -p1 -b .bug68819
20017b
%patch154 -p1 -b .bug69152
f3124d
%patch155 -p1 -b .cve5385
8d87dc
%patch156 -p1 -b .cve5766
8d87dc
%patch157 -p1 -b .cve5767
8d87dc
%patch158 -p1 -b .cve5768
8d87dc
%patch159 -p1 -b .cve5399
ba24df
%patch160 -p1 -b .cve10167
ba24df
%patch161 -p1 -b .cve10168
20017b
196963
196963
# Prevent %%doc confusion over LICENSE files
196963
cp Zend/LICENSE Zend/ZEND_LICENSE
196963
cp TSRM/LICENSE TSRM_LICENSE
196963
cp ext/ereg/regex/COPYRIGHT regex_COPYRIGHT
196963
cp ext/gd/libgd/README libgd_README
196963
cp ext/gd/libgd/COPYING libgd_COPYING
196963
cp sapi/fpm/LICENSE fpm_LICENSE
196963
cp ext/mbstring/libmbfl/LICENSE libmbfl_LICENSE
196963
cp ext/mbstring/oniguruma/COPYING oniguruma_COPYING
196963
cp ext/mbstring/ucgendat/OPENLDAP_LICENSE ucgendat_LICENSE
196963
cp ext/fileinfo/libmagic/LICENSE libmagic_LICENSE
196963
cp ext/phar/LICENSE phar_LICENSE
196963
cp ext/bcmath/libbcmath/COPYING.LIB libbcmath_COPYING
196963
196963
# Multiple builds for multiple SAPIs
196963
mkdir build-cgi build-apache build-embedded \
196963
%if %{with_zts}
196963
    build-zts build-ztscli \
196963
%endif
196963
%if %{with_fpm}
196963
    build-fpm
196963
%endif
196963
196963
# ----- Manage known as failed test -------
196963
# php_egg_logo_guid() removed by patch41
196963
rm -f tests/basic/php_egg_logo_guid.phpt
196963
# affected by systzdata patch
196963
rm -f ext/date/tests/timezone_location_get.phpt
196963
# fails sometime
196963
rm -f ext/sockets/tests/mcast_ipv?_recv.phpt
196963
196963
# Safety check for API version change.
196963
pver=$(sed -n '/#define PHP_VERSION /{s/.* "//;s/".*$//;p}' main/php_version.h)
196963
if test "x${pver}" != "x%{version}%{?rcver}"; then
196963
   : Error: Upstream PHP version is now ${pver}, expecting %{version}%{?rcver}.
196963
   : Update the version/rcver macros and rebuild.
196963
   exit 1
196963
fi
196963
196963
vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
196963
if test "x${vapi}" != "x%{apiver}"; then
196963
   : Error: Upstream API version is now ${vapi}, expecting %{apiver}.
196963
   : Update the apiver macro and rebuild.
196963
   exit 1
196963
fi
196963
196963
vzend=`sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h`
196963
if test "x${vzend}" != "x%{zendver}"; then
196963
   : Error: Upstream Zend ABI version is now ${vzend}, expecting %{zendver}.
196963
   : Update the zendver macro and rebuild.
196963
   exit 1
196963
fi
196963
196963
# Safety check for PDO ABI version change
196963
vpdo=`sed -n '/#define PDO_DRIVER_API/{s/.*[ 	]//;p}' ext/pdo/php_pdo_driver.h`
196963
if test "x${vpdo}" != "x%{pdover}"; then
196963
   : Error: Upstream PDO ABI version is now ${vpdo}, expecting %{pdover}.
196963
   : Update the pdover macro and rebuild.
196963
   exit 1
196963
fi
196963
196963
# Check for some extension version
196963
ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
196963
if test "$ver" != "%{fileinfover}"; then
196963
   : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
196963
   : Update the fileinfover macro and rebuild.
196963
   exit 1
196963
fi
196963
ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
196963
if test "$ver" != "%{pharver}"; then
196963
   : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
196963
   : Update the pharver macro and rebuild.
196963
   exit 1
196963
fi
196963
ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
196963
if test "$ver" != "%{zipver}"; then
196963
   : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
196963
   : Update the zipver macro and rebuild.
196963
   exit 1
196963
fi
196963
ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
196963
if test "$ver" != "%{jsonver}"; then
196963
   : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
196963
   : Update the jsonver macro and rebuild.
196963
   exit 1
196963
fi
196963
196963
# https://bugs.php.net/63362 - Not needed but installed headers.
196963
# Drop some Windows specific headers to avoid installation,
196963
# before build to ensure they are really not needed.
196963
rm -f TSRM/tsrm_win32.h \
196963
      TSRM/tsrm_config.w32.h \
196963
      Zend/zend_config.w32.h \
196963
      ext/mysqlnd/config-win.h \
196963
      ext/standard/winver.h \
196963
      main/win32_internal_function_disabled.h \
196963
      main/win95nt.h
196963
196963
# Fix some bogus permissions
196963
find . -name \*.[ch] -exec chmod 644 {} \;
196963
chmod 644 README.*
196963
196963
# php-fpm configuration files for tmpfiles.d
196963
echo "d /run/php-fpm 755 root root" >php-fpm.tmpfiles
196963
e14024
# bring in newer Red Hat config.guess and config.sub for aarch64/ppc64p7 support
e14024
cp -f /usr/lib/rpm/redhat/config.{guess,sub} .
196963
196963
196963
%build
196963
# aclocal workaround - to be improved
196963
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >>aclocal.m4
196963
196963
# Force use of system libtool:
196963
libtoolize --force --copy
196963
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >build/libtool.m4
196963
196963
# Regenerate configure scripts (patches change config.m4's)
196963
touch configure.in
196963
./buildconf --force
196963
196963
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"
196963
export CFLAGS
196963
196963
# Install extension modules in %{_libdir}/php/modules.
196963
EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
196963
196963
# Set PEAR_INSTALLDIR to ensure that the hard-coded include_path
196963
# includes the PEAR directory even though pear is packaged
196963
# separately.
196963
PEAR_INSTALLDIR=%{_datadir}/pear; export PEAR_INSTALLDIR
196963
196963
# Shell function to configure and build a PHP tree.
196963
build() {
196963
# Old/recent bison version seems to produce a broken parser;
196963
# upstream uses GNU Bison 2.3. Workaround:
196963
mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend
196963
ln -sf ../configure
196963
%configure \
196963
	--cache-file=../config.cache \
196963
        --with-libdir=%{_lib} \
196963
	--with-config-file-path=%{_sysconfdir} \
196963
	--with-config-file-scan-dir=%{_sysconfdir}/php.d \
196963
	--disable-debug \
196963
	--with-pic \
196963
	--disable-rpath \
196963
	--without-pear \
196963
	--with-bz2 \
196963
	--with-exec-dir=%{_bindir} \
196963
	--with-freetype-dir=%{_prefix} \
196963
	--with-png-dir=%{_prefix} \
196963
	--with-xpm-dir=%{_prefix} \
196963
	--enable-gd-native-ttf \
196963
	--with-t1lib=%{_prefix} \
196963
	--without-gdbm \
196963
	--with-gettext \
196963
	--with-gmp \
196963
	--with-iconv \
196963
	--with-jpeg-dir=%{_prefix} \
196963
	--with-openssl \
196963
        --with-pcre-regex=%{_prefix} \
196963
	--with-zlib \
196963
	--with-layout=GNU \
196963
	--enable-exif \
196963
	--enable-ftp \
196963
	--enable-sockets \
196963
	--with-kerberos \
196963
	--enable-shmop \
196963
	--enable-calendar \
196963
        --with-libxml-dir=%{_prefix} \
196963
	--enable-xml \
196963
        --with-system-tzdata \
196963
	--with-mhash \
196963
	$* 
196963
if test $? != 0; then 
196963
  tail -500 config.log
196963
  : configure failed
196963
  exit 1
196963
fi
196963
196963
make %{?_smp_mflags}
196963
}
196963
196963
# Build /usr/bin/php-cgi with the CGI SAPI, and all the shared extensions
196963
pushd build-cgi
196963
196963
build --libdir=%{_libdir}/php \
196963
      --enable-pcntl \
196963
      --enable-mbstring=shared \
196963
      --enable-mbregex \
196963
      --with-gd=shared \
196963
      --enable-bcmath=shared \
196963
      --enable-dba=shared --with-db4=%{_prefix} \
196963
                          --with-tcadb=%{_prefix} \
196963
      --with-xmlrpc=shared \
196963
      --with-ldap=shared --with-ldap-sasl \
196963
      --enable-mysqlnd=shared \
196963
      --with-mysql=shared,mysqlnd \
196963
      --with-mysqli=shared,mysqlnd \
196963
      --with-mysql-sock=%{mysql_sock} \
196963
      --enable-dom=shared \
196963
      --with-pgsql=shared \
196963
      --enable-wddx=shared \
196963
      --with-snmp=shared,%{_prefix} \
196963
      --enable-soap=shared \
196963
      --with-xsl=shared,%{_prefix} \
196963
      --enable-xmlreader=shared --enable-xmlwriter=shared \
196963
      --with-curl=shared,%{_prefix} \
196963
      --enable-pdo=shared \
196963
      --with-pdo-odbc=shared,unixODBC,%{_prefix} \
196963
      --with-pdo-mysql=shared,mysqlnd \
196963
      --with-pdo-pgsql=shared,%{_prefix} \
196963
      --with-pdo-sqlite=shared,%{_prefix} \
196963
      --with-sqlite3=shared,%{_prefix} \
196963
      --enable-json=shared \
196963
%if %{with_zip}
196963
      --enable-zip=shared \
196963
%endif
196963
%if %{with_libzip}
196963
      --with-libzip \
196963
%endif
196963
      --without-readline \
196963
      --with-libedit \
196963
      --with-pspell=shared \
196963
      --enable-phar=shared \
196963
      --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
196963
      --enable-posix=shared \
196963
      --with-unixODBC=shared,%{_prefix} \
196963
      --enable-fileinfo=shared \
196963
      --enable-intl=shared \
196963
      --with-icu-dir=%{_prefix} \
196963
      --with-enchant=shared,%{_prefix} \
196963
      --with-recode=shared,%{_prefix}
196963
popd
196963
196963
without_shared="--without-gd \
196963
      --disable-dom --disable-dba --without-unixODBC \
196963
      --disable-xmlreader --disable-xmlwriter \
196963
      --without-sqlite3 --disable-phar --disable-fileinfo \
196963
      --disable-json --without-pspell --disable-wddx \
196963
      --without-curl --disable-posix \
196963
      --disable-sysvmsg --disable-sysvshm --disable-sysvsem"
196963
196963
# Build Apache module, and the CLI SAPI, /usr/bin/php
196963
pushd build-apache
196963
build --with-apxs2=%{_httpd_apxs} \
196963
      --libdir=%{_libdir}/php \
196963
%if %{with_libmysql}
196963
      --enable-pdo=shared \
196963
      --with-mysql=shared,%{_prefix} \
196963
      --with-mysqli=shared,%{mysql_config} \
196963
      --with-pdo-mysql=shared,%{mysql_config} \
196963
      --without-pdo-sqlite \
196963
%else
196963
      --without-mysql \
196963
      --disable-pdo \
196963
%endif
196963
      ${without_shared}
196963
popd
196963
196963
%if %{with_fpm}
196963
# Build php-fpm
196963
pushd build-fpm
196963
build --enable-fpm \
196963
      --with-fpm-systemd \
196963
      --libdir=%{_libdir}/php \
196963
      --without-mysql \
196963
      --disable-pdo \
196963
      ${without_shared}
196963
popd
196963
%endif
196963
196963
# Build for inclusion as embedded script language into applications,
196963
# /usr/lib[64]/libphp5.so
196963
pushd build-embedded
196963
build --enable-embed \
196963
      --without-mysql --disable-pdo \
196963
      ${without_shared}
196963
popd
196963
196963
%if %{with_zts}
196963
# Build a special thread-safe (mainly for modules)
196963
pushd build-ztscli
196963
196963
EXTENSION_DIR=%{_libdir}/php-zts/modules
196963
build --includedir=%{_includedir}/php-zts \
196963
      --libdir=%{_libdir}/php-zts \
196963
      --enable-maintainer-zts \
196963
      --with-config-file-scan-dir=%{_sysconfdir}/php-zts.d \
196963
      --enable-pcntl \
196963
      --enable-mbstring=shared \
196963
      --enable-mbregex \
196963
      --with-gd=shared \
196963
      --enable-bcmath=shared \
196963
      --enable-dba=shared --with-db4=%{_prefix} \
196963
                          --with-tcadb=%{_prefix} \
196963
      --with-xmlrpc=shared \
196963
      --with-ldap=shared --with-ldap-sasl \
196963
      --enable-mysqlnd=shared \
196963
      --with-mysql=shared,mysqlnd \
196963
      --with-mysqli=shared,mysqlnd \
196963
      --with-mysql-sock=%{mysql_sock} \
196963
      --enable-mysqlnd-threading \
196963
      --enable-dom=shared \
196963
      --with-pgsql=shared \
196963
      --enable-wddx=shared \
196963
      --with-snmp=shared,%{_prefix} \
196963
      --enable-soap=shared \
196963
      --with-xsl=shared,%{_prefix} \
196963
      --enable-xmlreader=shared --enable-xmlwriter=shared \
196963
      --with-curl=shared,%{_prefix} \
196963
      --enable-pdo=shared \
196963
      --with-pdo-odbc=shared,unixODBC,%{_prefix} \
196963
      --with-pdo-mysql=shared,mysqlnd \
196963
      --with-pdo-pgsql=shared,%{_prefix} \
196963
      --with-pdo-sqlite=shared,%{_prefix} \
196963
      --with-sqlite3=shared,%{_prefix} \
196963
      --enable-json=shared \
196963
%if %{with_zip}
196963
      --enable-zip=shared \
196963
%endif
196963
%if %{with_libzip}
196963
      --with-libzip \
196963
%endif
196963
      --without-readline \
196963
      --with-libedit \
196963
      --with-pspell=shared \
196963
      --enable-phar=shared \
196963
      --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
196963
      --enable-posix=shared \
196963
      --with-unixODBC=shared,%{_prefix} \
196963
      --enable-fileinfo=shared \
196963
      --enable-intl=shared \
196963
      --with-icu-dir=%{_prefix} \
196963
      --with-enchant=shared,%{_prefix} \
196963
      --with-recode=shared,%{_prefix}
196963
popd
196963
196963
# Build a special thread-safe Apache SAPI
196963
pushd build-zts
196963
build --with-apxs2=%{_httpd_apxs} \
196963
      --includedir=%{_includedir}/php-zts \
196963
      --libdir=%{_libdir}/php-zts \
196963
      --enable-maintainer-zts \
196963
      --with-config-file-scan-dir=%{_sysconfdir}/php-zts.d \
196963
%if %{with_libmysql}
196963
      --enable-pdo=shared \
196963
      --with-mysql=shared,%{_prefix} \
196963
      --with-mysqli=shared,%{mysql_config} \
196963
      --with-pdo-mysql=shared,%{mysql_config} \
196963
      --without-pdo-sqlite \
196963
%else
196963
      --without-mysql \
196963
      --disable-pdo \
196963
%endif
196963
      ${without_shared}
196963
popd
196963
196963
### NOTE!!! EXTENSION_DIR was changed for the -zts build, so it must remain
196963
### the last SAPI to be built.
196963
%endif
196963
196963
196963
%check
196963
%if %runselftest
196963
cd build-apache
196963
# Run tests, using the CLI SAPI
196963
export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
196963
export SKIP_ONLINE_TESTS=1
196963
unset TZ LANG LC_ALL
196963
if ! make test; then
196963
  set +x
196963
  for f in `find .. -name \*.diff -type f -print`; do
196963
    echo "TEST FAILURE: $f --"
196963
    cat "$f"
196963
    echo "-- $f result ends."
196963
  done
196963
  set -x
196963
  #exit 1
196963
fi
196963
unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
196963
%endif
196963
196963
%install
196963
%if %{with_zts}
196963
# Install the extensions for the ZTS version
196963
make -C build-ztscli install \
196963
     INSTALL_ROOT=$RPM_BUILD_ROOT
196963
196963
# rename extensions build with mysqlnd
196963
mv $RPM_BUILD_ROOT%{_libdir}/php-zts/modules/mysql.so \
196963
   $RPM_BUILD_ROOT%{_libdir}/php-zts/modules/mysqlnd_mysql.so
196963
mv $RPM_BUILD_ROOT%{_libdir}/php-zts/modules/mysqli.so \
196963
   $RPM_BUILD_ROOT%{_libdir}/php-zts/modules/mysqlnd_mysqli.so
196963
mv $RPM_BUILD_ROOT%{_libdir}/php-zts/modules/pdo_mysql.so \
196963
   $RPM_BUILD_ROOT%{_libdir}/php-zts/modules/pdo_mysqlnd.so
196963
196963
%if %{with_libmysql}
196963
# Install the extensions for the ZTS version modules for libmysql
196963
make -C build-zts install-modules \
196963
     INSTALL_ROOT=$RPM_BUILD_ROOT
196963
%endif
196963
196963
# rename ZTS binary
196963
mv $RPM_BUILD_ROOT%{_bindir}/php        $RPM_BUILD_ROOT%{_bindir}/zts-php
196963
mv $RPM_BUILD_ROOT%{_bindir}/phpize     $RPM_BUILD_ROOT%{_bindir}/zts-phpize
196963
mv $RPM_BUILD_ROOT%{_bindir}/php-config $RPM_BUILD_ROOT%{_bindir}/zts-php-config
196963
%endif
196963
196963
# Install the version for embedded script language in applications + php_embed.h
196963
make -C build-embedded install-sapi install-headers \
196963
     INSTALL_ROOT=$RPM_BUILD_ROOT
196963
196963
%if %{with_fpm}
196963
# Install the php-fpm binary
196963
make -C build-fpm install-fpm \
196963
     INSTALL_ROOT=$RPM_BUILD_ROOT
196963
%endif
196963
196963
# Install everything from the CGI SAPI build
196963
make -C build-cgi install \
196963
     INSTALL_ROOT=$RPM_BUILD_ROOT
196963
196963
# rename extensions build with mysqlnd
196963
mv $RPM_BUILD_ROOT%{_libdir}/php/modules/mysql.so \
196963
   $RPM_BUILD_ROOT%{_libdir}/php/modules/mysqlnd_mysql.so
196963
mv $RPM_BUILD_ROOT%{_libdir}/php/modules/mysqli.so \
196963
   $RPM_BUILD_ROOT%{_libdir}/php/modules/mysqlnd_mysqli.so
196963
mv $RPM_BUILD_ROOT%{_libdir}/php/modules/pdo_mysql.so \
196963
   $RPM_BUILD_ROOT%{_libdir}/php/modules/pdo_mysqlnd.so
196963
196963
%if %{with_libmysql}
196963
# Install the mysql extension build with libmysql
196963
make -C build-apache install-modules \
196963
     INSTALL_ROOT=$RPM_BUILD_ROOT
196963
%endif
196963
196963
# Install the default configuration file and icons
196963
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
196963
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
196963
install -m 755 -d $RPM_BUILD_ROOT%{_httpd_contentdir}/icons
196963
install -m 644 php.gif $RPM_BUILD_ROOT%{_httpd_contentdir}/icons/php.gif
196963
196963
# For third-party packaging:
196963
install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/php
196963
196963
# install the DSO
196963
install -m 755 -d $RPM_BUILD_ROOT%{_httpd_moddir}
196963
install -m 755 build-apache/libs/libphp5.so $RPM_BUILD_ROOT%{_httpd_moddir}
196963
196963
%if %{with_zts}
196963
# install the ZTS DSO
196963
install -m 755 build-zts/libs/libphp5.so $RPM_BUILD_ROOT%{_httpd_moddir}/libphp5-zts.so
196963
%endif
196963
196963
# Apache config fragment
196963
%if "%{_httpd_modconfdir}" == "%{_httpd_confdir}"
196963
# Single config file with httpd < 2.4 (fedora <= 17)
196963
install -D -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{_httpd_confdir}/php.conf
196963
%if %{with_zts}
196963
cat %{SOURCE10} >>$RPM_BUILD_ROOT%{_httpd_confdir}/php.conf
196963
%endif
196963
cat %{SOURCE1} >>$RPM_BUILD_ROOT%{_httpd_confdir}/php.conf
196963
%else
196963
# Dual config file with httpd >= 2.4 (fedora >= 18)
196963
install -D -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{_httpd_modconfdir}/10-php.conf
196963
%if %{with_zts}
196963
cat %{SOURCE10} >>$RPM_BUILD_ROOT%{_httpd_modconfdir}/10-php.conf
196963
%endif
196963
install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_httpd_confdir}/php.conf
196963
%endif
196963
196963
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
196963
%if %{with_zts}
196963
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d
196963
%endif
196963
install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php
196963
install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
196963
196963
%if %{with_fpm}
196963
# PHP-FPM stuff
196963
# Log
196963
install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/log/php-fpm
196963
install -m 755 -d $RPM_BUILD_ROOT/run/php-fpm
196963
# Config
196963
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d
196963
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.conf
196963
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d/www.conf
196963
mv $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.conf.default .
196963
# tmpfiles.d
196963
install -m 755 -d $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d
196963
install -m 644 php-fpm.tmpfiles $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/php-fpm.conf
196963
# install systemd unit files and scripts for handling server startup
196963
install -m 755 -d $RPM_BUILD_ROOT%{_unitdir}
196963
install -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_unitdir}/
196963
# LogRotate
196963
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
196963
install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/php-fpm
196963
# Environment file
196963
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
196963
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/php-fpm
196963
%endif
196963
# Fix the link
196963
(cd $RPM_BUILD_ROOT%{_bindir}; ln -sfn phar.phar phar)
196963
196963
# Generate files lists and stub .ini files for each subpackage
196963
for mod in pgsql odbc ldap snmp xmlrpc \
196963
    mysqlnd mysqlnd_mysql mysqlnd_mysqli pdo_mysqlnd \
196963
    mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \
196963
    pdo pdo_pgsql pdo_odbc pdo_sqlite json %{zipmod} \
196963
    sqlite3 \
196963
    enchant phar fileinfo intl \
196963
    pspell curl wddx \
196963
    posix sysvshm sysvsem sysvmsg recode \
196963
%if %{with_libmysql}
196963
    mysql mysqli pdo_mysql \
196963
%endif
196963
    ; do
196963
    cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <
196963
; Enable ${mod} extension module
196963
extension=${mod}.so
196963
EOF
196963
%if %{with_zts}
196963
    cat > $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/${mod}.ini <
196963
; Enable ${mod} extension module
196963
extension=${mod}.so
196963
EOF
196963
%endif
196963
    cat > files.${mod} <
196963
%attr(755,root,root) %{_libdir}/php/modules/${mod}.so
196963
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/php.d/${mod}.ini
196963
%if %{with_zts}
196963
%attr(755,root,root) %{_libdir}/php-zts/modules/${mod}.so
196963
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/php-zts.d/${mod}.ini
196963
%endif
196963
EOF
196963
done
196963
196963
# The dom, xsl and xml* modules are all packaged in php-xml
196963
cat files.dom files.xsl files.xml{reader,writer} files.wddx > files.xml
196963
196963
# The mysql and mysqli modules are both packaged in php-mysql
196963
%if %{with_libmysql}
196963
cat files.mysqli >> files.mysql
196963
cat files.pdo_mysql >> files.mysql
196963
%endif
196963
196963
# mysqlnd
196963
cat files.mysqlnd_mysql \
196963
    files.mysqlnd_mysqli \
196963
    files.pdo_mysqlnd \
196963
    >> files.mysqlnd
196963
196963
# Split out the PDO modules
196963
cat files.pdo_pgsql >> files.pgsql
196963
cat files.pdo_odbc >> files.odbc
196963
196963
# sysv* and posix in packaged in php-process
196963
cat files.sysv* files.posix > files.process
196963
196963
# Package sqlite3 and pdo_sqlite with pdo; isolating the sqlite dependency
196963
# isn't useful at this time since rpm itself requires sqlite.
196963
cat files.pdo_sqlite >> files.pdo
196963
cat files.sqlite3 >> files.pdo
196963
196963
# Package json, zip, curl, phar and fileinfo in -common.
196963
cat files.json files.curl files.phar files.fileinfo > files.common
196963
%if %{with_zip}
196963
cat files.zip >> files.common
196963
%endif
196963
196963
# Install the macros file:
196963
install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
196963
sed -e "s/@PHP_APIVER@/%{apiver}%{isasuffix}/" \
196963
    -e "s/@PHP_ZENDVER@/%{zendver}%{isasuffix}/" \
196963
    -e "s/@PHP_PDOVER@/%{pdover}%{isasuffix}/" \
196963
    -e "s/@PHP_VERSION@/%{version}/" \
196963
%if ! %{with_zts}
196963
    -e "/zts/d" \
196963
%endif
196963
    < %{SOURCE3} > macros.php
196963
install -m 644 -c macros.php \
196963
           $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.php
196963
196963
# Remove unpackaged files
196963
rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
196963
       $RPM_BUILD_ROOT%{_libdir}/php-zts/modules/*.a \
196963
       $RPM_BUILD_ROOT%{_bindir}/{phptar} \
196963
       $RPM_BUILD_ROOT%{_datadir}/pear \
196963
       $RPM_BUILD_ROOT%{_libdir}/libphp5.la
196963
196963
# Remove irrelevant docs
196963
rm -f README.{Zeus,QNX,CVS-RULES}
196963
196963
196963
%if %{with_fpm}
196963
%pre fpm
196963
# Add the "apache" user as we don't require httpd
196963
getent group  apache >/dev/null || \
196963
  groupadd -g 48 -r apache
196963
getent passwd apache >/dev/null || \
196963
  useradd -r -u 48 -g apache -s /sbin/nologin \
196963
    -d %{_httpd_contentdir} -c "Apache" apache
196963
exit 0
196963
196963
%post fpm
196963
%if 0%{?systemd_post:1}
196963
%systemd_post php-fpm.service
196963
%else
196963
if [ $1 = 1 ]; then
196963
    # Initial installation
196963
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
196963
fi
196963
%endif
196963
196963
%preun fpm
196963
%if 0%{?systemd_preun:1}
196963
%systemd_preun php-fpm.service
196963
%else
196963
if [ $1 = 0 ]; then
196963
    # Package removal, not upgrade
196963
    /bin/systemctl --no-reload disable php-fpm.service >/dev/null 2>&1 || :
196963
    /bin/systemctl stop php-fpm.service >/dev/null 2>&1 || :
196963
fi
196963
%endif
196963
196963
%postun fpm
196963
%if 0%{?systemd_postun_with_restart:1}
196963
%systemd_postun_with_restart php-fpm.service
196963
%else
196963
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
196963
if [ $1 -ge 1 ]; then
196963
    # Package upgrade, not uninstall
196963
    /bin/systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
196963
fi
196963
%endif
196963
196963
# Handle upgrading from SysV initscript to native systemd unit.
196963
# We can tell if a SysV version of php-fpm was previously installed by
196963
# checking to see if the initscript is present.
196963
%triggerun fpm -- php-fpm
196963
if [ -f /etc/rc.d/init.d/php-fpm ]; then
196963
    # Save the current service runlevel info
196963
    # User must manually run systemd-sysv-convert --apply php-fpm
196963
    # to migrate them to systemd targets
196963
    /usr/bin/systemd-sysv-convert --save php-fpm >/dev/null 2>&1 || :
196963
196963
    # Run these because the SysV package being removed won't do them
196963
    /sbin/chkconfig --del php-fpm >/dev/null 2>&1 || :
196963
    /bin/systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
196963
fi
196963
%endif
196963
196963
%post embedded -p /sbin/ldconfig
196963
%postun embedded -p /sbin/ldconfig
196963
196963
%files
196963
%{_httpd_moddir}/libphp5.so
196963
%if %{with_zts}
196963
%{_httpd_moddir}/libphp5-zts.so
196963
%endif
196963
%attr(0770,root,apache) %dir %{_localstatedir}/lib/php/session
196963
%config(noreplace) %{_httpd_confdir}/php.conf
196963
%if "%{_httpd_modconfdir}" != "%{_httpd_confdir}"
196963
%config(noreplace) %{_httpd_modconfdir}/10-php.conf
196963
%endif
196963
%{_httpd_contentdir}/icons/php.gif
196963
196963
%files common -f files.common
196963
%doc CODING_STANDARDS CREDITS EXTENSIONS LICENSE NEWS README*
196963
%doc Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT
196963
%doc libmagic_LICENSE
196963
%doc phar_LICENSE
196963
%doc php.ini-*
196963
%config(noreplace) %{_sysconfdir}/php.ini
196963
%dir %{_sysconfdir}/php.d
196963
%dir %{_libdir}/php
196963
%dir %{_libdir}/php/modules
196963
%if %{with_zts}
196963
%dir %{_sysconfdir}/php-zts.d
196963
%dir %{_libdir}/php-zts
196963
%dir %{_libdir}/php-zts/modules
196963
%endif
196963
%dir %{_localstatedir}/lib/php
196963
%dir %{_datadir}/php
196963
196963
%files cli
196963
%{_bindir}/php
196963
%{_bindir}/php-cgi
196963
%{_bindir}/phar.phar
196963
%{_bindir}/phar
196963
# provides phpize here (not in -devel) for pecl command
196963
%{_bindir}/phpize
196963
%{_mandir}/man1/php.1*
196963
%{_mandir}/man1/php-cgi.1*
196963
%{_mandir}/man1/phar.1*
196963
%{_mandir}/man1/phar.phar.1*
196963
%{_mandir}/man1/phpize.1*
196963
%doc sapi/cgi/README* sapi/cli/README
196963
196963
%if %{with_fpm}
196963
%files fpm
196963
%doc php-fpm.conf.default
196963
%doc fpm_LICENSE
196963
%config(noreplace) %{_sysconfdir}/php-fpm.conf
196963
%config(noreplace) %{_sysconfdir}/php-fpm.d/www.conf
196963
%config(noreplace) %{_sysconfdir}/logrotate.d/php-fpm
196963
%config(noreplace) %{_sysconfdir}/sysconfig/php-fpm
196963
%{_prefix}/lib/tmpfiles.d/php-fpm.conf
196963
%{_unitdir}/php-fpm.service
196963
%{_sbindir}/php-fpm
196963
%dir %{_sysconfdir}/php-fpm.d
196963
# log owned by apache for log
196963
%attr(770,apache,root) %dir %{_localstatedir}/log/php-fpm
196963
%dir /run/php-fpm
196963
%{_mandir}/man8/php-fpm.8*
196963
%dir %{_datadir}/fpm
196963
%{_datadir}/fpm/status.html
196963
%endif
196963
196963
%files devel
196963
%{_bindir}/php-config
196963
%{_includedir}/php
196963
%{_libdir}/php/build
196963
%if %{with_zts}
196963
%{_bindir}/zts-php-config
196963
%{_includedir}/php-zts
196963
%{_bindir}/zts-phpize
196963
# usefull only to test other module during build
196963
%{_bindir}/zts-php
196963
%{_libdir}/php-zts/build
196963
%endif
196963
%{_mandir}/man1/php-config.1*
196963
%{_sysconfdir}/rpm/macros.php
196963
196963
%files embedded
196963
%{_libdir}/libphp5.so
196963
%{_libdir}/libphp5-%{embed_version}.so
196963
196963
%files pgsql -f files.pgsql
196963
%if %{with_libmysql}
196963
%files mysql -f files.mysql
196963
%endif
196963
%files odbc -f files.odbc
196963
%files ldap -f files.ldap
196963
%files snmp -f files.snmp
196963
%files xml -f files.xml
196963
%files xmlrpc -f files.xmlrpc
196963
%files mbstring -f files.mbstring
196963
%doc libmbfl_LICENSE
196963
%doc oniguruma_COPYING
196963
%doc ucgendat_LICENSE
196963
%files gd -f files.gd
196963
%doc libgd_README
196963
%doc libgd_COPYING
196963
%files soap -f files.soap
196963
%files bcmath -f files.bcmath
196963
%doc libbcmath_COPYING
196963
%files dba -f files.dba
196963
%files pdo -f files.pdo
196963
%files pspell -f files.pspell
196963
%files intl -f files.intl
196963
%files process -f files.process
196963
%files recode -f files.recode
196963
%files enchant -f files.enchant
196963
%files mysqlnd -f files.mysqlnd
196963
196963
196963
%changelog
ba24df
* Wed Oct  4 2017 Remi Collet <rcollet@redhat.com> - 5.4.16-43
ba24df
- gd: fix DoS vulnerability in gdImageCreateFromGd2Ctx() CVE-2016-10167
ba24df
- gd: Signed Integer Overflow gd_io.c CVE-2016-10168
ba24df
8d87dc
* Fri Aug  5 2016 Remi Collet <rcollet@redhat.com> - 5.4.16-42
8d87dc
- bz2: fix improper error handling in bzread() CVE-2016-5399
8d87dc
8d87dc
* Mon Aug  1 2016 Remi Collet <rcollet@redhat.com> - 5.4.16-41
8d87dc
- gd: fix integer overflow in _gd2GetHeader() resulting in
8d87dc
  heap overflow CVE-2016-5766
8d87dc
- gd: fix integer overflow in gdImagePaletteToTrueColor()
8d87dc
  resulting in heap overflow CVE-2016-5767
8d87dc
- mbstring: fix double free in _php_mb_regex_ereg_replace_exec
8d87dc
  CVE-2016-5768
8d87dc
8d87dc
* Fri Jul 22 2016 Remi Collet <rcollet@redhat.com> - 5.4.16-40
f3124d
- don't set environmental variable based on user supplied Proxy
f3124d
  request header CVE-2016-5385
f3124d
8d87dc
* Wed Jun 15 2016 Remi Collet <rcollet@redhat.com> - 5.4.16-39
8d87dc
- fix segmentation fault in header_register_callback #1344578
8d87dc
8d87dc
* Mon May 30 2016 Remi Collet <rcollet@redhat.com> - 5.4.16-38
8d87dc
- curl: add options to enable TLS #1291667
8d87dc
- mysqli: fix segfault in mysqli_stmt::bind_result() when
8d87dc
  link is closed #1096800
8d87dc
- fpm: fix incorrectly defined SCRIPT_NAME variable when
8d87dc
  using Apache #1138563
8d87dc
- core: fix segfault when a zend_extension is loaded twice #1289457
8d87dc
- openssl: change default_md algo from MD5 to SHA1 #1073388
8d87dc
- wddx: fix segfault in php_wddx_serialize_var #1131979
8d87dc
8d87dc
* Mon Apr  4 2016 Remi Collet <rcollet@redhat.com> - 5.4.16-37
8d87dc
- session: fix segfault in session with rfc1867 #1297179
7c0e4d
20017b
* Wed Jun 10 2015 Remi Collet <rcollet@redhat.com> - 5.4.16-36
20017b
- fix more functions accept paths with NUL character #1213407
20017b
20017b
* Fri Jun  5 2015 Remi Collet <rcollet@redhat.com> - 5.4.16-35
20017b
- core: fix multipart/form-data request can use excessive
20017b
  amount of CPU usage CVE-2015-4024
20017b
- fix various functions accept paths with NUL character
20017b
  CVE-2015-4025, CVE-2015-4026, #1213407
20017b
- fileinfo: fix denial of service when processing a crafted
20017b
  file #1213442
20017b
- ftp: fix integer overflow leading to heap overflow when
20017b
  reading FTP file listing CVE-2015-4022
20017b
- phar: fix buffer over-read in metadata parsing CVE-2015-2783
20017b
- phar: invalid pointer free() in phar_tar_process_metadata()
20017b
  CVE-2015-3307
20017b
- phar: fix buffer overflow in phar_set_inode() CVE-2015-3329
20017b
- phar: fix memory corruption in phar_parse_tarfile caused by
20017b
  empty entry file name CVE-2015-4021
20017b
- soap: fix type confusion through unserialize #1222538
20017b
- apache2handler: fix pipelined request executed in deinitialized
20017b
  interpreter under httpd 2.4 CVE-2015-3330
20017b
20017b
* Thu Apr 16 2015 Remi Collet <rcollet@redhat.com> - 5.4.16-34
20017b
- fix memory corruption in fileinfo module on big endian
20017b
  machines #1082624
20017b
- fix segfault in pdo_odbc on x86_64 #1159892
20017b
- fix segfault in gmp allocator #1154760
20017b
20017b
* Fri Apr 10 2015 Remi Collet <rcollet@redhat.com> - 5.4.16-33
20017b
- core: use after free vulnerability in unserialize()
20017b
  CVE-2014-8142 and CVE-2015-0231
20017b
- core: fix use-after-free in unserialize CVE-2015-2787
20017b
- core: fix NUL byte injection in file name argument of
20017b
  move_uploaded_file() CVE-2015-2348
20017b
- date: use after free vulnerability in unserialize CVE-2015-0273
20017b
- enchant: fix heap buffer overflow in enchant_broker_request_dict
20017b
  CVE-2014-9705
20017b
- exif: free called on unitialized pointer CVE-2015-0232
20017b
- fileinfo: fix out of bounds read in mconvert CVE-2014-9652
20017b
- gd: fix buffer read overflow in gd_gif_in.c CVE-2014-9709
20017b
- phar: use after free in phar_object.c CVE-2015-2301
20017b
- soap: fix type confusion through unserialize
20017b
20017b
* Thu Oct 23 2014 Jan Kaluza <jkaluza@redhat.com> - 5.4.16-31
4b401f
- fileinfo: fix out-of-bounds read in elf note headers. CVE-2014-3710
4b401f
20017b
* Tue Oct 21 2014 Remi Collet <rcollet@redhat.com> - 5.4.16-29
4b401f
- xmlrpc: fix out-of-bounds read flaw in mkgmtime() CVE-2014-3668
4b401f
- core: fix integer overflow in unserialize() CVE-2014-3669
4b401f
- exif: fix heap corruption issue in exif_thumbnail() CVE-2014-3670
4b401f
20017b
* Fri Sep 12 2014 Remi Collet <rcollet@redhat.com> - 5.4.16-27
b77848
- gd: fix NULL pointer dereference in gdImageCreateFromXpm().
b77848
  CVE-2014-2497
b77848
- gd: fix NUL byte injection in file names. CVE-2014-5120
b77848
- fileinfo: fix extensive backtracking in regular expression
b77848
  (incomplete fix for CVE-2013-7345). CVE-2014-3538
b77848
- fileinfo: fix mconvert incorrect handling of truncated
b77848
  pascal string size. CVE-2014-3478
b77848
- fileinfo: fix cdf_read_property_info
b77848
  (incomplete fix for CVE-2012-1571). CVE-2014-3587
b77848
- spl: fix use-after-free in ArrayIterator due to object
b77848
  change during sorting. CVE-2014-4698
b77848
- spl: fix use-after-free in SPL Iterators. CVE-2014-4670
b77848
- network: fix segfault in dns_get_record
b77848
  (incomplete fix for CVE-2014-4049). CVE-2014-3597
b77848
20017b
20017b
* Thu Aug 21 2014 Jan Kaluza <jkaluza@redhat.com> - 5.4.16-25
20017b
- fix segfault after startup on aarch64 (#1107567)
20017b
- compile php with -O3 on ppc64le (#1123499)
20017b
b6cbd1
* Fri Jun 13 2014 Remi Collet <rcollet@redhat.com> - 5.4.16-23
b6cbd1
- fileinfo: cdf_unpack_summary_info() excessive looping
b6cbd1
  DoS. CVE-2014-0237
b6cbd1
- fileinfo: CDF property info parsing nelements infinite
b6cbd1
  loop. CVE-2014-0238
b6cbd1
- fileinfo: cdf_check_stream_offset insufficient boundary
b6cbd1
  check. CVE-2014-3479
b6cbd1
- fileinfo: cdf_count_chain insufficient boundary check
b6cbd1
  CVE-2014-3480
b6cbd1
- fileinfo: cdf_read_short_sector insufficient boundary
b6cbd1
  check. CVE-2014-0207
b6cbd1
- fileinfo: cdf_read_property_info insufficient boundary
b6cbd1
  check. CVE-2014-3487
b6cbd1
- fileinfo: fix extensive backtracking CVE-2013-7345
b6cbd1
- core: type confusion issue in phpinfo(). CVE-2014-4721
b6cbd1
- core: fix heap-based buffer overflow in DNS TXT record
b6cbd1
  parsing. CVE-2014-4049
b6cbd1
- core: unserialize() SPL ArrayObject / SPLObjectStorage
b6cbd1
  type confusion flaw. CVE-2014-3515
b6cbd1
b6cbd1
* Fri Mar  7 2014 Remi Collet <rcollet@redhat.com> - 5.4.16-21
e14024
- fix out-of-bounds memory access in fileinfo CVE-2014-2270
e14024
b6cbd1
* Fri Feb 21 2014 Remi Collet <rcollet@redhat.com> - 5.4.16-19
e14024
- fix memory leak introduce in patch for CVE-2014-1943
e14024
- fix heap-based buffer over-read in DateInterval CVE-2013-6712
e14024
b6cbd1
* Wed Feb 19 2014 Remi Collet <rcollet@redhat.com> - 5.4.16-17
e14024
- fix infinite recursion in fileinfo CVE-2014-1943
e14024
e14024
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 5.4.16-15
e14024
- Mass rebuild 2014-01-24
e14024
e14024
* Wed Jan 15 2014 Honza Horak <hhorak@redhat.com> - 5.4.16-14
e14024
- Rebuild for mariadb-libs
e14024
  Related: #1045013
e14024
e14024
* Fri Jan 10 2014 Remi Collet <rcollet@redhat.com> - 5.4.16-13
e14024
- build with -O3 on ppc64 #1051073
e14024
e14024
* Thu Jan  9 2014 Remi Collet <rcollet@redhat.com> - 5.4.16-11
e14024
- use correct config.{guess,sub} for ppc64p7 #1048892
e14024
e14024
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 5.4.16-10
e14024
- Mass rebuild 2013-12-27
e14024
e14024
* Fri Dec  6 2013 Remi Collet <rcollet@redhat.com> - 5.4.16-9
e14024
- add security fix for CVE-2013-6420
e14024
196963
* Mon Nov  4 2013 Remi Collet <rcollet@redhat.com> - 5.4.16-7
196963
- fix for non x86 build #1023796
196963
196963
* Mon Aug 19 2013 Remi Collet <rcollet@redhat.com> - 5.4.16-5
196963
- fix enchant package summary and description
196963
- add security fix for CVE-2013-4248
196963
196963
* Thu Jul 18 2013 Remi Collet <rcollet@redhat.com> - 5.4.16-4
196963
- improve mod_php, pgsql and ldap description
196963
- add provides php(pdo-abi) for consistency with php(api) and php(zend-abi)
196963
- use %%__isa_bits instead of %%__isa in ABI suffix
196963
196963
* Fri Jul 12 2013 Remi Collet <rcollet@redhat.com> - 5.4.16-3
196963
- add security fix for CVE-2013-4113
196963
- add missing ASL 1.0 license
196963
- rebuild for net-snmp
196963
196963
* Tue Jul  2 2013 Remi Collet <rcollet@redhat.com> 5.4.16-2
196963
- add missing man pages (phar, php-cgi) #948873
196963
196963
* Thu Jun  6 2013 Remi Collet <rcollet@redhat.com> 5.4.16-1
196963
- update to 5.4.16
196963
- switch systemd unit to Type=notify
196963
- patch for upstream Bug #64915 error_log ignored when daemonize=0
196963
- patch for upstream Bug #64949 Buffer overflow in _pdo_pgsql_error
196963
- patch for upstream bug #64960 Segfault in gc_zval_possible_root
196963
- add version to "Obsoletes"
196963
- own /usr/share/fpm
196963
196963
* Tue Apr 30 2013 Daniel Mach <dmach@redhat.com> - 5.4.14-1.2
196963
- Rebuild for cyrus-sasl
196963
196963
* Thu Apr 11 2013 Remi Collet <rcollet@redhat.com> 5.4.14-1
196963
- update to 5.4.14
196963
- clean old deprecated options
196963
196963
* Mon Apr 08 2013 Daniel Mach <dmach@redhat.com> - 5.4.13-1.1
196963
- Rebuild for icu
196963
196963
* Thu Mar 14 2013 Remi Collet <rcollet@redhat.com> 5.4.13-1
196963
- update to 5.4.13
196963
- security fix for CVE-2013-1643
196963
- Hardened build (links with -z now option)
196963
- Remove %%config from /etc/rpm/macros.php
196963
196963
* Thu Feb 21 2013 Remi Collet <rcollet@redhat.com> 5.4.12-2
196963
- make php-mysql package optional (still enabled)
196963
- make ZTS build optional (and disabled)
196963
196963
* Wed Feb 20 2013 Remi Collet <remi@fedoraproject.org> 5.4.12-1
196963
- update to 5.4.12
196963
- security fix for CVE-2013-1635
196963
- enable tokyocabinet dba handler
196963
- upstream patch (5.4.13) to fix dval to lval conversion
196963
  https://bugs.php.net/64142
196963
- upstream patch (5.4.13) for 2 failed tests
196963
- fix buit-in web server on ppc64 (fdset usage)
196963
  https://bugs.php.net/64128
196963
196963
* Wed Jan 16 2013 Remi Collet <rcollet@redhat.com> 5.4.11-1
196963
- update to 5.4.11
196963
- fix php.conf to allow MultiViews managed by php scripts
196963
196963
* Wed Dec 19 2012 Remi Collet <rcollet@redhat.com> 5.4.10-1
196963
- update to 5.4.10
196963
- remove patches merged upstream
196963
196963
* Tue Dec 11 2012 Remi Collet <rcollet@redhat.com> 5.4.9-3
196963
- drop "Configure Command" from phpinfo output
196963
196963
* Tue Dec 11 2012 Joe Orton <jorton@redhat.com> - 5.4.9-2
196963
- prevent php_config.h changes across (otherwise identical) rebuilds
196963
196963
* Thu Nov 22 2012 Remi Collet <rcollet@redhat.com> 5.4.9-1
196963
- update to 5.4.9
196963
196963
* Thu Nov 15 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.5.RC1
196963
- switch back to upstream generated scanner/parser
196963
196963
* Thu Nov 15 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.4.RC1
196963
- use _httpd_contentdir macro and fix php.gif path
196963
196963
* Wed Nov 14 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.3.RC1
196963
- improve system libzip patch to use pkg-config
196963
196963
* Wed Nov 14 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.2.RC1
196963
- use _httpd_moddir macro
196963
196963
* Wed Nov 14 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.1.RC1
196963
- update to 5.4.9RC1
196963
- improves php.conf (use FilesMatch + SetHandler)
196963
- improves filter (httpd module)
196963
- apply ldap_r patch on fedora >= 18 only
196963
196963
* Fri Nov  9 2012 Remi Collet <rcollet@redhat.com> 5.4.8-6
196963
- clarify Licenses
196963
- missing provides xmlreader and xmlwriter
196963
- modernize spec
196963
- change php embedded library soname version to 5.4
196963
196963
* Tue Nov  6 2012 Remi Collet <rcollet@redhat.com> 5.4.8-5
196963
- fix _httpd_mmn macro definition
196963
196963
* Mon Nov  5 2012 Remi Collet <rcollet@redhat.com> 5.4.8-4
196963
- fix mysql_sock macro definition
196963
196963
* Thu Oct 25 2012 Remi Collet <rcollet@redhat.com> 5.4.8-3
196963
- fix installed headers
196963
196963
* Tue Oct 23 2012 Joe Orton <jorton@redhat.com> - 5.4.8-2
196963
- use libldap_r for ldap extension
196963
196963
* Thu Oct 18 2012 Remi Collet <remi@fedoraproject.org> 5.4.8-1
196963
- update to 5.4.8
196963
- define both session.save_handler and session.save_path
196963
- fix possible segfault in libxml (#828526)
196963
- php-fpm: create apache user if needed
196963
- use SKIP_ONLINE_TEST during make test
196963
- php-devel requires pcre-devel and php-cli (instead of php)
196963
196963
* Fri Oct  5 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-11
196963
- provides php-phar
196963
- update systzdata patch to v10, timezone are case insensitive
196963
196963
* Mon Oct  1 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-10
196963
- fix typo in systemd macro
196963
196963
* Mon Oct  1 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-9
196963
- php-fpm: enable PrivateTmp
196963
- php-fpm: new systemd macros (#850268)
196963
- php-fpm: add upstream patch for startup issue (#846858)
196963
196963
* Fri Sep 28 2012 Remi Collet <rcollet@redhat.com> 5.4.7-8
196963
- systemd integration, https://bugs.php.net/63085
196963
- no odbc call during timeout, https://bugs.php.net/63171
196963
- check sqlite3_column_table_name, https://bugs.php.net/63149
196963
196963
* Mon Sep 24 2012 Remi Collet <rcollet@redhat.com> 5.4.7-7
196963
- most failed tests explained (i386, x86_64)
196963
196963
* Wed Sep 19 2012 Remi Collet <rcollet@redhat.com> 5.4.7-6
196963
- fix for http://bugs.php.net/63126 (#783967)
196963
196963
* Wed Sep 19 2012 Remi Collet <rcollet@redhat.com> 5.4.7-5
196963
- patch to ensure we use latest libdb (not libdb4)
196963
196963
* Wed Sep 19 2012 Remi Collet <rcollet@redhat.com> 5.4.7-4
196963
- really fix rhel tests (use libzip and libdb)
196963
196963
* Tue Sep 18 2012 Remi Collet <rcollet@redhat.com> 5.4.7-3
196963
- fix test to enable zip extension on RHEL-7
196963
196963
* Mon Sep 17 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-2
196963
- remove session.save_path from php.ini
196963
  move it to apache and php-fpm configuration files
196963
196963
* Fri Sep 14 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-1
196963
- update to 5.4.7
196963
  http://www.php.net/releases/5_4_7.php
196963
- php-fpm: don't daemonize
196963
196963
* Fri Aug 31 2012 Joe Orton <jorton@redhat.com> - 5.4.6-2.1
196963
- drop mcrypt, tidy, mssql, dblib, imap, interbase support
196963
196963
* Mon Aug 20 2012 Remi Collet <remi@fedoraproject.org> 5.4.6-2
196963
- enable php-fpm on secondary arch (#849490)
196963
196963
* Fri Aug 17 2012 Remi Collet <remi@fedoraproject.org> 5.4.6-1
196963
- update to 5.4.6
196963
- update to v9 of systzdata patch
196963
- backport fix for new libxml
196963
196963
* Fri Jul 20 2012 Remi Collet <remi@fedoraproject.org> 5.4.5-1
196963
- update to 5.4.5
196963
196963
* Mon Jul 02 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-4
196963
- also provide php(language)%%{_isa}
196963
- define %%{php_version}
196963
196963
* Mon Jul 02 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-3
196963
- drop BR for libevent (#835671)
196963
- provide php(language) to allow version check
196963
196963
* Thu Jun 21 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-2
196963
- add missing provides (core, ereg, filter, standard)
196963
196963
* Thu Jun 14 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-1
196963
- update to 5.4.4 (CVE-2012-2143, CVE-2012-2386)
196963
- use /usr/lib/tmpfiles.d instead of /etc/tmpfiles.d
196963
- use /run/php-fpm instead of /var/run/php-fpm
196963
196963
* Wed May 09 2012 Remi Collet <remi@fedoraproject.org> 5.4.3-1
196963
- update to 5.4.3 (CVE-2012-2311, CVE-2012-2329)
196963
196963
* Thu May 03 2012 Remi Collet <remi@fedoraproject.org> 5.4.2-1
196963
- update to 5.4.2 (CVE-2012-1823)
196963
196963
* Fri Apr 27 2012 Remi Collet <remi@fedoraproject.org> 5.4.1-1
196963
- update to 5.4.1
196963
196963
* Wed Apr 25 2012 Joe Orton <jorton@redhat.com> - 5.4.0-6
196963
- rebuild for new icu
196963
- switch (conditionally) to libdb-devel
196963
196963
* Sat Mar 31 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-5
196963
- fix Loadmodule with MPM event (use ZTS if not MPM worker)
196963
- split conf.d/php.conf + conf.modules.d/10-php.conf with httpd 2.4
196963
196963
* Thu Mar 29 2012 Joe Orton <jorton@redhat.com> - 5.4.0-4
196963
- rebuild for missing automatic provides (#807889)
196963
196963
* Mon Mar 26 2012 Joe Orton <jorton@redhat.com> - 5.4.0-3
196963
- really use _httpd_mmn
196963
196963
* Mon Mar 26 2012 Joe Orton <jorton@redhat.com> - 5.4.0-2
196963
- rebuild against httpd 2.4
196963
- use _httpd_mmn, _httpd_apxs macros
196963
196963
* Fri Mar 02 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-1
196963
- update to PHP 5.4.0 finale
196963
196963
* Sat Feb 18 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.4.RC8
196963
- update to PHP 5.4.0RC8
196963
196963
* Sat Feb 04 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.3.RC7
196963
- update to PHP 5.4.0RC7
196963
- provides env file for php-fpm (#784770)
196963
- add patch to use system libzip (thanks to spot)
196963
- don't provide INSTALL file
196963
196963
* Wed Jan 25 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.2.RC6
196963
- all binaries in /usr/bin with zts prefix
196963
196963
* Wed Jan 18 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.1.RC6
196963
- update to PHP 5.4.0RC6
196963
  https://fedoraproject.org/wiki/Features/Php54
196963
196963
* Sun Jan 08 2012 Remi Collet <remi@fedoraproject.org> 5.3.8-4.4
196963
- fix systemd unit
196963
196963
* Mon Dec 12 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-4.3
196963
- switch to systemd
196963
196963
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 5.3.8-4.2
196963
- Rebuild for new libpng
196963
196963
* Wed Oct 26 2011 Marcela Mašláňová <mmaslano@redhat.com> - 5.3.8-3.2
196963
- rebuild with new gmp without compat lib
196963
196963
* Wed Oct 12 2011 Peter Schiffer <pschiffe@redhat.com> - 5.3.8-3.1
196963
- rebuild with new gmp
196963
196963
* Wed Sep 28 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-3
196963
- revert is_a() to php <= 5.3.6 behavior (from upstream)
196963
  with new option (allow_string) for new behavior
196963
196963
* Tue Sep 13 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-2
196963
- add mysqlnd sub-package
196963
- drop patch4, use --libdir to use /usr/lib*/php/build
196963
- add patch to redirect mysql.sock (in mysqlnd)
196963
196963
* Tue Aug 23 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-1
196963
- update to 5.3.8
196963
  http://www.php.net/ChangeLog-5.php#5.3.8
196963
196963
* Thu Aug 18 2011 Remi Collet <remi@fedoraproject.org> 5.3.7-1
196963
- update to 5.3.7
196963
  http://www.php.net/ChangeLog-5.php#5.3.7
196963
- merge php-zts into php (#698084)
196963
196963
* Tue Jul 12 2011 Joe Orton <jorton@redhat.com> - 5.3.6-4
196963
- rebuild for net-snmp SONAME bump
196963
196963
* Mon Apr  4 2011 Remi Collet <Fedora@famillecollet.com> 5.3.6-3
196963
- enable mhash extension (emulated by hash extension)
196963
196963
* Wed Mar 23 2011 Remi Collet <Fedora@famillecollet.com> 5.3.6-2
196963
- rebuild for new MySQL client library
196963
196963
* Thu Mar 17 2011 Remi Collet <Fedora@famillecollet.com> 5.3.6-1
196963
- update to 5.3.6
196963
  http://www.php.net/ChangeLog-5.php#5.3.6
196963
- fix php-pdo arch specific requires
196963
196963
* Tue Mar 15 2011 Joe Orton <jorton@redhat.com> - 5.3.5-6
196963
- disable zip extension per "No Bundled Libraries" policy (#551513)
196963
196963
* Mon Mar 07 2011 Caolán McNamara <caolanm@redhat.com> 5.3.5-5
196963
- rebuild for icu 4.6
196963
196963
* Mon Feb 28 2011 Remi Collet <Fedora@famillecollet.com> 5.3.5-4
196963
- fix systemd-units requires
196963
196963
* Thu Feb 24 2011 Remi Collet <Fedora@famillecollet.com> 5.3.5-3
196963
- add tmpfiles.d configuration for php-fpm
196963
- add Arch specific requires/provides
196963
196963
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.5-2
196963
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
196963
196963
* Fri Jan 07 2011 Remi Collet <Fedora@famillecollet.com> 5.3.5-1
196963
- update to 5.3.5
196963
  http://www.php.net/ChangeLog-5.php#5.3.5
196963
- clean duplicate configure options
196963
196963
* Tue Dec 28 2010 Remi Collet <rpms@famillecollet.com> 5.3.4-2
196963
- rebuild against MySQL 5.5.8
196963
- remove all RPM_SOURCE_DIR
196963
196963
* Sun Dec 12 2010 Remi Collet <rpms@famillecollet.com> 5.3.4-1.1
196963
- security patch from upstream for #660517
196963
196963
* Sat Dec 11 2010 Remi Collet <Fedora@famillecollet.com> 5.3.4-1
196963
- update to 5.3.4
196963
  http://www.php.net/ChangeLog-5.php#5.3.4
196963
- move phpize to php-cli (see #657812)
196963
196963
* Wed Dec  1 2010 Remi Collet <Fedora@famillecollet.com> 5.3.3-5
196963
- ghost /var/run/php-fpm (see #656660)
196963
- add filter_setup to not provides extensions as .so
196963