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