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