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