Blame SPECS/php.spec

37fd76
%if 0%{?scl:1}
37fd76
%scl_package php
37fd76
%else
37fd76
%global pkg_name          %{name}
37fd76
%global _root_sysconfdir  %{_sysconfdir}
37fd76
%global _root_bindir      %{_bindir}
37fd76
%global _root_sbindir     %{_sbindir}
37fd76
%global _root_includedir  %{_includedir}
37fd76
%global _root_libdir      %{_libdir}
37fd76
%global _root_prefix      %{_prefix}
37fd76
%global _root_initddir    %{_initddir}
37fd76
%endif
37fd76
37fd76
# thing to see
37fd76
# MySQL : system or scl one, or only mysqlnd*
37fd76
# Http  : system* 2.2 of scl one (2.4 ??)
37fd76
# readline or libedit (not available for el5)
37fd76
# * for current 
37fd76
37fd76
# API/ABI check
37fd76
%global apiver      20121113
37fd76
%global zendver     20121212
37fd76
%global pdover      20080721
37fd76
# Extension version
8bac60
%global opcachever  7.0.4-dev
37fd76
37fd76
# Adds -z now to the linker flags
37fd76
%global _hardened_build 1
37fd76
37fd76
# version used for php embedded library soname
37fd76
%global embed_version 5.5
37fd76
37fd76
# Ugly hack. Harcoded values to avoid relocation.
8bac60
%global _httpd_mmn         %(cat %{_root_includedir}/httpd/.mmn 2>/dev/null || echo 0)
37fd76
%global _httpd_confdir     %{_root_sysconfdir}/httpd/conf.d
37fd76
%global _httpd_moddir      %{_libdir}/httpd/modules
37fd76
%global _root_httpd_moddir %{_root_libdir}/httpd/modules
37fd76
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
37fd76
# httpd 2.4 values
37fd76
%global _httpd_apxs        %{_root_bindir}/apxs
37fd76
%global _httpd_modconfdir  %{_root_sysconfdir}/httpd/conf.modules.d
37fd76
%global _httpd_contentdir  /usr/share/httpd
37fd76
%else
37fd76
# httpd 2.2 values
37fd76
%global _httpd_apxs        %{_root_sbindir}/apxs
37fd76
%global _httpd_modconfdir  %{_root_sysconfdir}/httpd/conf.d
37fd76
%global _httpd_contentdir  /var/www
37fd76
%endif
37fd76
37fd76
# Which mod_php, only one
37fd76
%if 0%{?rhel} >= 6
37fd76
%global with_httpd24         1
37fd76
%global with_httpd           0
37fd76
%else
37fd76
%global with_httpd24         0
37fd76
%global with_httpd           1
37fd76
%endif
37fd76
37fd76
%global mysql_sock %(mysql_config --socket  2>/dev/null || echo /var/lib/mysql/mysql.sock)
37fd76
37fd76
# Regression tests take a long time, you can skip 'em with this
37fd76
%{!?runselftest: %{expand: %%global runselftest 1}}
37fd76
37fd76
# Use the arch-specific mysql_config binary to avoid mismatch with the
37fd76
# arch detection heuristic used by bindir/mysql_config.
37fd76
%global mysql_config %{_root_libdir}/mysql/mysql_config
37fd76
37fd76
# Build mysql/mysqli/pdo extensions using libmysqlclient or only mysqlnd
37fd76
%global with_libmysql  0
37fd76
37fd76
37fd76
%if 0%{?rhel} < 7
37fd76
# only fedora and rhel < 7 have uw-imap
37fd76
%global with_imap      1
37fd76
%else
37fd76
%global with_imap      0
37fd76
%endif
37fd76
%if 0%{?scl:1}
37fd76
%global with_embed     0
37fd76
%else
37fd76
%global with_embed     1
37fd76
%endif
37fd76
%if 0%{?fedora}
37fd76
%global with_interbase 1
37fd76
%global with_mcrypt    1
37fd76
%global with_mssql     1
37fd76
%else
37fd76
%global with_interbase 0
37fd76
%global with_mcrypt    0
37fd76
%global with_mssql     0
37fd76
%endif
37fd76
%if 0%{?fedora} || 0%{?rhel} == 6
37fd76
%global with_tidy      1
37fd76
%else
37fd76
%global with_tidy      0
37fd76
%endif
37fd76
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
37fd76
%global with_sqlite3   1
37fd76
%else
37fd76
%global with_sqlite3   0
37fd76
%endif
37fd76
%if 0%{?fedora} || 0%{?rhel} >= 6
37fd76
%global with_libedit   1
37fd76
%global with_enchant   1
37fd76
%global with_recode    1
37fd76
%global with_t1lib     1
37fd76
%else
37fd76
%global with_libedit   0
37fd76
%global with_enchant   0
37fd76
%global with_recode    0
37fd76
%global with_t1lib     0
37fd76
%endif
37fd76
%if 0%{?fedora} >= 14 || 0%{?rhel} >= 7
37fd76
%global with_pcre      1
37fd76
%else
37fd76
%global with_pcre      0
37fd76
%endif
37fd76
37fd76
%if 0%{?__isa_bits:1}
37fd76
%global isasuffix -%{__isa_bits}
37fd76
%else
37fd76
%global isasuffix %nil
37fd76
%endif
37fd76
37fd76
%if 0%{?fedora} < 12 && 0%{?rhel} < 6
37fd76
%global with_dtrace 0
37fd76
%else
37fd76
%global with_dtrace 1
37fd76
%endif
37fd76
37fd76
# build with system libgd
37fd76
%if 0%{?fedora} < 20
37fd76
%global  with_libgd 0
37fd76
%else
37fd76
%global  with_libgd 1
37fd76
%endif
37fd76
37fd76
%if 0%{?rhel} < 7
37fd76
%global  with_vpx  0
37fd76
%else
37fd76
%global  with_vpx  1
37fd76
%endif
37fd76
37fd76
%if 0%{?fedora} < 16 && 0%{?rhel} < 7
37fd76
%global with_systemd 0
37fd76
%else
37fd76
%global with_systemd 1
37fd76
%endif
37fd76
37fd76
%if 0%{?rhel} < 7
37fd76
%global with_libzip  0
37fd76
%else
37fd76
%global with_libzip  1
37fd76
%endif
37fd76
%global with_zip     1
37fd76
37fd76
%if 0%{?fedora} < 18 && 0%{?rhel} < 7
37fd76
%global db_devel  db4-devel
37fd76
%else
37fd76
%global db_devel  libdb-devel
37fd76
%endif
37fd76
37fd76
Summary:  PHP scripting language for creating dynamic web sites
37fd76
Name:     %{?scl_prefix}php
8bac60
Version:  5.5.21
6f0ac3
Release:  5%{?dist}
37fd76
# All files licensed under PHP version 3.01, except
37fd76
# Zend is licensed under Zend
37fd76
# TSRM is licensed under BSD
37fd76
License:  PHP and Zend and BSD
37fd76
Group:    Development/Languages
37fd76
URL:      http://www.php.net/
37fd76
37fd76
Source0: php-%{version}%{?rcver}-strip.tar.xz
37fd76
Source1: php.conf
37fd76
Source2: php.ini
37fd76
Source3: macros.php
37fd76
Source4: php-fpm.conf
37fd76
Source5: php-fpm-www.conf
37fd76
Source6: php-fpm.service
37fd76
Source7: php-fpm.logrotate
37fd76
Source8: php-fpm.sysconfig
37fd76
Source9: php.modconf
37fd76
Source11: php-fpm.init
37fd76
Source12: strip.sh
37fd76
# Configuration files for some extensions
37fd76
Source50: opcache.ini
37fd76
Source51: opcache-default.blacklist
37fd76
37fd76
# Build fixes
37fd76
Patch5: php-5.2.0-includedir.patch
37fd76
Patch6: php-5.2.4-embed.patch
37fd76
Patch7: php-5.3.0-recode.patch
37fd76
Patch8: php-5.4.7-libdb.patch
37fd76
37fd76
# Fixes for extension modules
37fd76
# https://bugs.php.net/63171 no odbc call during timeout
37fd76
Patch21: php-5.4.7-odbctimer.patch
37fd76
37fd76
# Functional changes
37fd76
Patch40: php-5.4.0-dlopen.patch
37fd76
Patch42: php-5.3.1-systzdata-v10.patch
37fd76
# See http://bugs.php.net/53436
37fd76
Patch43: php-5.4.0-phpize.patch
37fd76
# Use system libzip instead of bundled one
37fd76
Patch44: php-5.5.2-system-libzip.patch
37fd76
# Use -lldap_r for OpenLDAP
37fd76
Patch45: php-5.4.8-ldap_r.patch
37fd76
# Make php_config.h constant across builds
37fd76
Patch46: php-5.4.9-fixheader.patch
37fd76
# drop "Configure command" from phpinfo output
37fd76
Patch47: php-5.4.9-phpinfo.patch
37fd76
37fd76
# Security fixes
8bac60
Patch135: php-5.5.21-CVE-2015-0273.patch
8bac60
Patch136: php-5.5.21-CVE-2014-9705.patch
8bac60
Patch137: php-5.5.21-CVE-2015-2301.patch
8bac60
Patch138: php-5.5.21-bug69085.patch
8bac60
Patch139: php-5.5.21-CVE-2015-2787.patch
8bac60
Patch140: php-5.5.21-CVE-2015-2348.patch
8bac60
Patch141: php-5.5.21-CVE-2015-1351.patch
8bac60
Patch142: php-5.5.21-CVE-2015-1352.patch
8bac60
Patch143: php-5.5.21-CVE-2015-2305.patch
30ceb2
Patch145: php-5.5.21-CVE-2015-4022.patch
30ceb2
Patch146: php-5.5.21-CVE-2015-4021.patch
30ceb2
Patch147: php-5.5.21-CVE-2015-4024.patch
30ceb2
Patch148: php-5.5.21-CVE-2015-4025.patch
30ceb2
Patch149: php-5.5.21-CVE-2015-3330.patch
30ceb2
Patch150: php-5.5.21-bug69353.patch
30ceb2
Patch151: php-5.5.21-CVE-2015-2783.patch
30ceb2
Patch152: php-5.5.21-CVE-2015-3329.patch
30ceb2
Patch153: php-5.5.21-bug68819.patch
30ceb2
Patch154: php-5.5.21-bug69152.patch
6f0ac3
Patch155: php-5.5.21-CVE-2016-5385.patch
37fd76
37fd76
# Fixes for tests
37fd76
37fd76
37fd76
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
37fd76
37fd76
BuildRequires: bzip2-devel, curl-devel >= 7.9, %{db_devel}
37fd76
BuildRequires: pam-devel
37fd76
BuildRequires: libstdc++-devel, openssl-devel
37fd76
%if %{with_sqlite3}
37fd76
# For SQLite3 extension
37fd76
BuildRequires: sqlite-devel >= 3.6.0
37fd76
%else
37fd76
# Enough for pdo_sqlite
37fd76
BuildRequires: sqlite-devel >= 3.0.0
37fd76
%endif
37fd76
BuildRequires: zlib-devel, smtpdaemon
37fd76
%if %{with_libedit}
37fd76
BuildRequires: libedit-devel
37fd76
%else
37fd76
BuildRequires: readline-devel
37fd76
%endif
37fd76
%if %{with_pcre}
37fd76
BuildRequires: pcre-devel >= 8.10
37fd76
%endif
37fd76
BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++
37fd76
BuildRequires: libtool-ltdl-devel
37fd76
%if %{with_libzip}
37fd76
BuildRequires: libzip-devel >= 0.10
37fd76
BuildRequires: libzip-devel <  0.11
37fd76
%endif
37fd76
%if %{with_dtrace}
37fd76
BuildRequires: systemtap-sdt-devel
37fd76
%endif
37fd76
37fd76
37fd76
37fd76
%if %{with_httpd}
37fd76
BuildRequires: httpd-devel
37fd76
Requires: httpd-mmn = %{_httpd_mmn}
37fd76
Provides: %{?scl_prefix}mod_php = %{version}-%{release}
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
# To ensure correct /var/lib/php/session ownership:
37fd76
Requires(pre): httpd
37fd76
%endif
37fd76
37fd76
%if %{with_httpd24}
37fd76
BuildRequires: httpd24-httpd-devel
37fd76
Requires: httpd24-httpd-mmn = %{_httpd24_mmn}
37fd76
Provides: httpd24-mod_php = %{version}-%{release}
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
# To ensure correct /var/lib/php/session ownership:
37fd76
Requires(pre): httpd24-httpd
37fd76
%endif
37fd76
# For backwards-compatibility, require php-cli for the time being:
37fd76
Requires: %{?scl_prefix}php-cli%{?_isa} = %{version}-%{release}
37fd76
37fd76
37fd76
# Don't provides extensions, which are not shared library, as .so
37fd76
%{?filter_provides_in: %filter_provides_in %{_libdir}/php/modules/.*\.so$}
37fd76
%if %{with_httpd}
37fd76
%{?filter_provides_in: %filter_provides_in %{_httpd_moddir}/.*\.so$}
37fd76
%endif
37fd76
%if %{with_httpd24}
37fd76
%{?filter_provides_in: %filter_provides_in %{_httpd24_moddir}/.*\.so$}
37fd76
%endif
37fd76
%{?filter_setup}
37fd76
37fd76
37fd76
%description
37fd76
PHP is an HTML-embedded scripting language. PHP attempts to make it
37fd76
easy for developers to write dynamically generated web pages. PHP also
37fd76
offers built-in database integration for several commercial and
37fd76
non-commercial database management systems, so writing a
37fd76
database-enabled webpage with PHP is fairly simple. The most common
37fd76
use of PHP coding is probably as a replacement for CGI scripts.
37fd76
37fd76
%if %{with_httpd}
37fd76
This package contains the module (often referred to as mod_php)
37fd76
which adds support for the PHP language to system Apache HTTP Server.
37fd76
%endif
37fd76
%if %{with_httpd24}
37fd76
This package contains the module (often referred to as mod_php)
37fd76
which adds support for the PHP language to Apache HTTP 2.4 Server.
37fd76
%endif
37fd76
37fd76
37fd76
%package cli
37fd76
Group: Development/Languages
37fd76
Summary: Command-line interface for PHP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php-cgi = %{version}-%{release}, %{?scl_prefix}php-cgi%{?_isa} = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php-pcntl, %{?scl_prefix}php-pcntl%{?_isa}
37fd76
Provides: %{?scl_prefix}php-readline, %{?scl_prefix}php-readline%{?_isa}
37fd76
37fd76
%description cli
8bac60
The %{?scl_prefix}php-cli package contains the command-line interface
8bac60
executing PHP scripts, %{_bindir}/php, and the CGI interface.
37fd76
37fd76
37fd76
%package fpm
37fd76
Group: Development/Languages
37fd76
Summary: PHP FastCGI Process Manager
37fd76
# All files licensed under PHP version 3.01, except
37fd76
# Zend is licensed under Zend
37fd76
# TSRM and fpm are licensed under BSD
37fd76
License: PHP and Zend and BSD
37fd76
Requires(pre): %{_root_sbindir}/useradd
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
%if %{with_systemd}
37fd76
BuildRequires: systemd-devel
37fd76
BuildRequires: systemd-units
37fd76
Requires: systemd-units
37fd76
Requires(post): systemd-units
37fd76
Requires(preun): systemd-units
37fd76
Requires(postun): systemd-units
37fd76
# This is actually needed for the %%triggerun script but Requires(triggerun)
37fd76
# is not valid.  We can use %%post because this particular %%triggerun script
37fd76
# should fire just after this package is installed.
37fd76
Requires(post): systemd-sysv
37fd76
%else
37fd76
# This is for /sbin/service
37fd76
Requires(preun): initscripts
37fd76
Requires(postun): initscripts
37fd76
%endif
37fd76
37fd76
%description fpm
37fd76
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI
37fd76
implementation with some additional features useful for sites of
37fd76
any size, especially busier sites.
37fd76
37fd76
%package common
37fd76
Group: Development/Languages
37fd76
Summary: Common files for PHP
37fd76
# All files licensed under PHP version 3.01, except
37fd76
# fileinfo is licensed under PHP version 3.0
37fd76
# regex, libmagic are licensed under BSD
37fd76
# main/snprintf.c, main/spprintf.c and main/rfc1867.c are ASL 1.0
37fd76
License: PHP and BSD and ASL 1.0
37fd76
# ABI/API check - Arch specific
37fd76
Provides: %{?scl_prefix}php(api) = %{apiver}%{isasuffix}
37fd76
Provides: %{?scl_prefix}php(zend-abi) = %{zendver}%{isasuffix}
37fd76
Provides: %{?scl_prefix}php(language) = %{version}
37fd76
Provides: %{?scl_prefix}php(language)%{?_isa} = %{version}
37fd76
# Provides for all builtin/shared modules:
37fd76
Provides: %{?scl_prefix}php-bz2, %{?scl_prefix}php-bz2%{?_isa}
37fd76
Provides: %{?scl_prefix}php-calendar, %{?scl_prefix}php-calendar%{?_isa}
37fd76
Provides: %{?scl_prefix}php-core = %{version}, %{?scl_prefix}php-core%{?_isa} = %{version}
37fd76
Provides: %{?scl_prefix}php-ctype, %{?scl_prefix}php-ctype%{?_isa}
37fd76
Provides: %{?scl_prefix}php-curl, %{?scl_prefix}php-curl%{?_isa}
37fd76
Provides: %{?scl_prefix}php-date, %{?scl_prefix}php-date%{?_isa}
37fd76
Provides: %{?scl_prefix}php-ereg, %{?scl_prefix}php-ereg%{?_isa}
37fd76
Provides: %{?scl_prefix}php-exif, %{?scl_prefix}php-exif%{?_isa}
37fd76
Provides: %{?scl_prefix}php-fileinfo, %{?scl_prefix}php-fileinfo%{?_isa}
37fd76
Provides: %{?scl_prefix}php-filter, %{?scl_prefix}php-filter%{?_isa}
37fd76
Provides: %{?scl_prefix}php-ftp, %{?scl_prefix}php-ftp%{?_isa}
37fd76
Provides: %{?scl_prefix}php-gettext, %{?scl_prefix}php-gettext%{?_isa}
37fd76
Provides: %{?scl_prefix}php-hash, %{?scl_prefix}php-hash%{?_isa}
37fd76
Provides: %{?scl_prefix}php-mhash = %{version}, %{?scl_prefix}php-mhash%{?_isa} = %{version}
37fd76
Provides: %{?scl_prefix}php-iconv, %{?scl_prefix}php-iconv%{?_isa}
37fd76
Provides: %{?scl_prefix}php-libxml, %{?scl_prefix}php-libxml%{?_isa}
37fd76
Provides: %{?scl_prefix}php-openssl, %{?scl_prefix}php-openssl%{?_isa}
37fd76
Provides: %{?scl_prefix}php-phar, %{?scl_prefix}php-phar%{?_isa}
37fd76
Provides: %{?scl_prefix}php-pcre, %{?scl_prefix}php-pcre%{?_isa}
37fd76
Provides: %{?scl_prefix}php-reflection, %{?scl_prefix}php-reflection%{?_isa}
37fd76
Provides: %{?scl_prefix}php-session, %{?scl_prefix}php-session%{?_isa}
37fd76
Provides: %{?scl_prefix}php-sockets, %{?scl_prefix}php-sockets%{?_isa}
37fd76
Provides: %{?scl_prefix}php-spl, %{?scl_prefix}php-spl%{?_isa}
37fd76
Provides: %{?scl_prefix}php-standard = %{version}, %{?scl_prefix}php-standard%{?_isa} = %{version}
37fd76
Provides: %{?scl_prefix}php-tokenizer, %{?scl_prefix}php-tokenizer%{?_isa}
37fd76
# Temporary circular dep (to remove for bootstrap)
37fd76
Requires: %{?scl_prefix}php-pecl-jsonc%{?_isa}
37fd76
%if %{with_zip}
37fd76
Provides: %{?scl_prefix}php-zip, %{?scl_prefix}php-zip%{?_isa}
37fd76
%endif
37fd76
Provides: %{?scl_prefix}php-zlib, %{?scl_prefix}php-zlib%{?_isa}
37fd76
%{?scl:Requires: %{scl}-runtime}
37fd76
37fd76
%description common
8bac60
The %{?scl_prefix}php-common package contains files used by both
8bac60
the %{?scl_prefix}php package and the %{?scl_prefix}php-cli package.
37fd76
37fd76
%package devel
37fd76
Group: Development/Libraries
37fd76
Summary: Files needed for building PHP extensions
37fd76
Requires: %{?scl_prefix}php-cli%{?_isa} = %{version}-%{release}, autoconf, automake
37fd76
%if %{with_pcre}
37fd76
Requires: pcre-devel%{?_isa} >= 8.10
37fd76
%endif
37fd76
# Temporary circular dep (to remove for bootstrap)
37fd76
Requires: %{?scl_prefix}php-pecl-jsonc-devel%{?_isa}
37fd76
37fd76
%description devel
8bac60
The %{?scl_prefix}php-devel package contains the files needed for building PHP
37fd76
extensions. If you need to compile your own PHP extensions, you will
37fd76
need to install this package.
37fd76
37fd76
%package opcache
37fd76
Summary:   The Zend OPcache
37fd76
Group:     Development/Languages
37fd76
License:   PHP
37fd76
Requires:  %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
Provides:  %{?scl_prefix}php-pecl-zendopcache = %{opcachever}
37fd76
Provides:  %{?scl_prefix}php-pecl-zendopcache%{?_isa} = %{opcachever}
37fd76
Provides:  %{?scl_prefix}php-pecl(opcache) = %{opcachever}
37fd76
Provides:  %{?scl_prefix}php-pecl(opcache)%{?_isa} = %{opcachever}
37fd76
37fd76
%description opcache
37fd76
The Zend OPcache provides faster PHP execution through opcode caching and
37fd76
optimization. It improves PHP performance by storing precompiled script
37fd76
bytecode in the shared memory. This eliminates the stages of reading code from
37fd76
the disk and compiling it on future access. In addition, it applies a few
37fd76
bytecode optimization patterns that make code execution faster.
37fd76
37fd76
%if %{with_imap}
37fd76
%package imap
37fd76
Summary: A module for PHP applications that use IMAP
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
BuildRequires: krb5-devel, openssl-devel, libc-client-devel
37fd76
37fd76
%description imap
8bac60
The %{?scl_prefix}php-imap module will add IMAP (Internet Message Access Protocol)
37fd76
support to PHP. IMAP is a protocol for retrieving and uploading e-mail
37fd76
messages on mail servers. PHP is an HTML-embedded scripting language.
37fd76
%endif
37fd76
37fd76
%package ldap
37fd76
Summary: A module for PHP applications that use LDAP
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel
37fd76
37fd76
%description ldap
8bac60
The %{?scl_prefix}php-ldap package adds Lightweight Directory Access Protocol (LDAP)
37fd76
support to PHP. LDAP is a set of protocols for accessing directory
37fd76
services over the Internet. PHP is an HTML-embedded scripting
37fd76
language.
37fd76
37fd76
%package pdo
37fd76
Summary: A database access abstraction module for PHP applications
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
# ABI/API check - Arch specific
37fd76
Provides: %{?scl_prefix}php-pdo-abi = %{pdover}%{isasuffix}
37fd76
Provides: %{?scl_prefix}php(pdo-abi) = %{pdover}%{isasuffix}
37fd76
%if %{with_sqlite3}
37fd76
Provides: %{?scl_prefix}php-sqlite3, %{?scl_prefix}php-sqlite3%{?_isa}
37fd76
%endif
37fd76
Provides: %{?scl_prefix}php-pdo_sqlite, %{?scl_prefix}php-pdo_sqlite%{?_isa}
37fd76
37fd76
%description pdo
8bac60
The %{?scl_prefix}php-pdo package contains a dynamic shared object that will add
37fd76
a database access abstraction layer to PHP.  This module provides
37fd76
a common interface for accessing MySQL, PostgreSQL or other 
37fd76
databases.
37fd76
37fd76
%if %{with_libmysql}
37fd76
%package mysql
37fd76
Summary: A module for PHP applications that use MySQL databases
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-pdo%{?_isa} = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php_database
37fd76
Provides: %{?scl_prefix}php-mysqli = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php-mysqli%{?_isa} = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php-pdo_mysql, %{?scl_prefix}php-pdo_mysql%{?_isa}
37fd76
BuildRequires: mysql-devel >= 4.1.0
37fd76
Conflicts: %{?scl_prefix}php-mysqlnd
37fd76
37fd76
%description mysql
8bac60
The %{?scl_prefix}php-mysql package contains a dynamic shared object that will add
37fd76
MySQL database support to PHP. MySQL is an object-relational database
37fd76
management system. PHP is an HTML-embeddable scripting language. If
37fd76
you need MySQL support for PHP applications, you will need to install
37fd76
this package and the php package.
37fd76
%endif
37fd76
37fd76
%package mysqlnd
37fd76
Summary: A module for PHP applications that use MySQL databases
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-pdo%{?_isa} = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php_database
37fd76
Provides: %{?scl_prefix}php-mysql = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php-mysql%{?_isa} = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php-mysqli = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php-mysqli%{?_isa} = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php-pdo_mysql, %{?scl_prefix}php-pdo_mysql%{?_isa}
37fd76
%if ! %{with_libmysql}
37fd76
Obsoletes: %{?scl_prefix}php-mysql < %{version}
37fd76
%endif
37fd76
37fd76
%description mysqlnd
8bac60
The %{?scl_prefix}php-mysqlnd package contains a dynamic shared object that will add
37fd76
MySQL database support to PHP. MySQL is an object-relational database
37fd76
management system. PHP is an HTML-embeddable scripting language. If
37fd76
you need MySQL support for PHP applications, you will need to install
37fd76
this package and the php package.
37fd76
37fd76
This package use the MySQL Native Driver
37fd76
37fd76
%package pgsql
37fd76
Summary: A PostgreSQL database module for PHP
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-pdo%{?_isa} = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php_database
37fd76
Provides: %{?scl_prefix}php-pdo_pgsql, %{?scl_prefix}php-pdo_pgsql%{?_isa}
37fd76
BuildRequires: krb5-devel, openssl-devel, postgresql-devel
37fd76
37fd76
%description pgsql
8bac60
The %{?scl_prefix}php-pgsql package add PostgreSQL database support to PHP.
37fd76
PostgreSQL is an object-relational database management
37fd76
system that supports almost all SQL constructs. PHP is an
37fd76
HTML-embedded scripting language. If you need back-end support for
37fd76
PostgreSQL, you should install this package in addition to the main
37fd76
php package.
37fd76
37fd76
%package process
37fd76
Summary: Modules for PHP script using system process interfaces
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php-posix, %{?scl_prefix}php-posix%{?_isa}
37fd76
Provides: %{?scl_prefix}php-shmop, %{?scl_prefix}php-shmop%{?_isa}
37fd76
Provides: %{?scl_prefix}php-sysvsem, %{?scl_prefix}php-sysvsem%{?_isa}
37fd76
Provides: %{?scl_prefix}php-sysvshm, %{?scl_prefix}php-sysvshm%{?_isa}
37fd76
Provides: %{?scl_prefix}php-sysvmsg, %{?scl_prefix}php-sysvmsg%{?_isa}
37fd76
37fd76
%description process
8bac60
The %{?scl_prefix}php-process package contains dynamic shared objects which add
37fd76
support to PHP using system interfaces for inter-process
37fd76
communication.
37fd76
37fd76
%package odbc
37fd76
Summary: A module for PHP applications that use ODBC databases
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01, except
37fd76
# pdo_odbc is licensed under PHP version 3.0
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-pdo%{?_isa} = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php_database
37fd76
Provides: %{?scl_prefix}php-pdo_odbc, %{?scl_prefix}php-pdo_odbc%{?_isa}
37fd76
BuildRequires: unixODBC-devel
37fd76
37fd76
%description odbc
8bac60
The %{?scl_prefix}php-odbc package contains a dynamic shared object that will add
37fd76
database support through ODBC to PHP. ODBC is an open specification
37fd76
which provides a consistent API for developers to use for accessing
37fd76
data sources (which are often, but not always, databases). PHP is an
37fd76
HTML-embeddable scripting language. If you need ODBC support for PHP
37fd76
applications, you will need to install this package and the php
37fd76
package.
37fd76
37fd76
%package soap
37fd76
Summary: A module for PHP applications that use the SOAP protocol
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
BuildRequires: libxml2-devel
37fd76
37fd76
%description soap
8bac60
The %{?scl_prefix}php-soap package contains a dynamic shared object that will add
37fd76
support to PHP for using the SOAP web services protocol.
37fd76
37fd76
%if %{with_interbase}
37fd76
%package interbase
37fd76
Summary: A module for PHP applications that use Interbase/Firebird databases
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
BuildRequires:  firebird-devel
37fd76
Requires: %{?scl_prefix}php-pdo%{?_isa} = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php_database
37fd76
Provides: %{?scl_prefix}php-firebird, %{?scl_prefix}php-firebird%{?_isa}
37fd76
Provides: %{?scl_prefix}php-pdo_firebird, %{?scl_prefix}php-pdo_firebird%{?_isa}
37fd76
37fd76
%description interbase
8bac60
The %{?scl_prefix}php-interbase package contains a dynamic shared object that will add
37fd76
database support through Interbase/Firebird to PHP.
37fd76
37fd76
InterBase is the name of the closed-source variant of this RDBMS that was
37fd76
developed by Borland/Inprise. 
37fd76
37fd76
Firebird is a commercially independent project of C and C++ programmers, 
37fd76
technical advisors and supporters developing and enhancing a multi-platform 
37fd76
relational database management system based on the source code released by 
37fd76
Inprise Corp (now known as Borland Software Corp) under the InterBase Public
37fd76
License.
37fd76
%endif
37fd76
37fd76
%package snmp
37fd76
Summary: A module for PHP applications that query SNMP-managed devices
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}, net-snmp
37fd76
BuildRequires: net-snmp-devel
37fd76
37fd76
%description snmp
8bac60
The %{?scl_prefix}php-snmp package contains a dynamic shared object that will add
37fd76
support for querying SNMP devices to PHP.  PHP is an HTML-embeddable
37fd76
scripting language. If you need SNMP support for PHP applications, you
37fd76
will need to install this package and the php package.
37fd76
37fd76
%package xml
37fd76
Summary: A module for PHP applications which use XML
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php-dom, %{?scl_prefix}php-dom%{?_isa}
37fd76
Provides: %{?scl_prefix}php-domxml, %{?scl_prefix}php-domxml%{?_isa}
37fd76
Provides: %{?scl_prefix}php-simplexml, %{?scl_prefix}php-simplexml%{?_isa}
37fd76
Provides: %{?scl_prefix}php-wddx, %{?scl_prefix}php-wddx%{?_isa}
37fd76
Provides: %{?scl_prefix}php-xmlreader, %{?scl_prefix}php-xmlreader%{?_isa}
37fd76
Provides: %{?scl_prefix}php-xmlwriter, %{?scl_prefix}php-xmlwriter%{?_isa}
37fd76
Provides: %{?scl_prefix}php-xsl, %{?scl_prefix}php-xsl%{?_isa}
37fd76
BuildRequires: libxslt-devel >= 1.0.18-1, libxml2-devel >= 2.4.14-1
37fd76
37fd76
%description xml
8bac60
The %{?scl_prefix}php-xml package contains dynamic shared objects which add support
37fd76
to PHP for manipulating XML documents using the DOM tree,
37fd76
and performing XSL transformations on XML documents.
37fd76
37fd76
%package xmlrpc
37fd76
Summary: A module for PHP applications which use the XML-RPC protocol
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01, except
37fd76
# libXMLRPC is licensed under BSD
37fd76
License: PHP and BSD
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
37fd76
%description xmlrpc
8bac60
The %{?scl_prefix}php-xmlrpc package contains a dynamic shared object that will add
37fd76
support for the XML-RPC protocol to PHP.
37fd76
37fd76
%package mbstring
37fd76
Summary: A module for PHP applications which need multi-byte string handling
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01, except
37fd76
# libmbfl is licensed under LGPLv2
37fd76
# onigurama is licensed under BSD
37fd76
# ucgendat is licensed under OpenLDAP
37fd76
License: PHP and LGPLv2 and BSD and OpenLDAP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
37fd76
%description mbstring
8bac60
The %{?scl_prefix}php-mbstring package contains a dynamic shared object that will add
37fd76
support for multi-byte string handling to PHP.
37fd76
37fd76
%package gd
37fd76
Summary: A module for PHP applications for using the gd graphics library
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
%if %{with_libgd}
37fd76
License: PHP
37fd76
%else
37fd76
# bundled libgd is licensed under BSD
37fd76
License: PHP and BSD
37fd76
%endif
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
# Required to build the bundled GD library
37fd76
BuildRequires: libjpeg-devel, libpng-devel, freetype-devel
37fd76
BuildRequires: libXpm-devel
37fd76
%if %{with_t1lib}
37fd76
BuildRequires: t1lib-devel
37fd76
%endif
37fd76
%if %{with_vpx}
37fd76
BuildRequires: libvpx-devel
37fd76
%endif
8bac60
%if %{with_libgd}
8bac60
BuildRequires: gd-devel >= 2.1.0
37fd76
%endif
37fd76
37fd76
%description gd
8bac60
The %{?scl_prefix}php-gd package contains a dynamic shared object that will add
37fd76
support for using the gd graphics library to PHP.
37fd76
37fd76
%package gmp
37fd76
Summary: A module for PHP applications for using the GNU MP library
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
BuildRequires: gmp-devel
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
37fd76
%description gmp
37fd76
These functions allow you to work with arbitrary-length integers
37fd76
using the GNU MP library.
37fd76
37fd76
%package bcmath
37fd76
Summary: A module for PHP applications for using the bcmath library
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01, except
37fd76
# libbcmath is licensed under LGPLv2+
37fd76
License: PHP and LGPLv2+
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
37fd76
%description bcmath
8bac60
The %{?scl_prefix}php-bcmath package contains a dynamic shared object that will add
37fd76
support for using the bcmath library to PHP.
37fd76
37fd76
%package dba
37fd76
Summary: A database abstraction layer module for PHP applications
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
BuildRequires: %{db_devel}, tokyocabinet-devel
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
37fd76
%description dba
8bac60
The %{?scl_prefix}php-dba package contains a dynamic shared object that will add
37fd76
support for using the DBA database abstraction layer to PHP.
37fd76
37fd76
%if %{with_mcrypt}
37fd76
%package mcrypt
37fd76
Summary: Standard PHP module provides mcrypt library support
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
BuildRequires: libmcrypt-devel
37fd76
37fd76
%description mcrypt
8bac60
The %{?scl_prefix}php-mcrypt package contains a dynamic shared object that will add
37fd76
support for using the mcrypt library to PHP.
37fd76
%endif
37fd76
37fd76
%if %{with_tidy}
37fd76
%package tidy
37fd76
Summary: Standard PHP module provides tidy library support
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
BuildRequires: libtidy-devel
37fd76
37fd76
%description tidy
8bac60
The %{?scl_prefix}php-tidy package contains a dynamic shared object that will add
37fd76
support for using the tidy library to PHP.
37fd76
%endif
37fd76
37fd76
%if %{with_mssql}
37fd76
%package mssql
37fd76
Summary: MSSQL database module for PHP
37fd76
Group: Development/Languages
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-pdo%{?_isa} = %{version}-%{release}
37fd76
BuildRequires: freetds-devel
37fd76
Provides: %{?scl_prefix}php-pdo_dblib, %{?scl_prefix}php-pdo_dblib%{?_isa}
37fd76
37fd76
%description mssql
8bac60
The %{?scl_prefix}php-mssql package contains a dynamic shared object that will
37fd76
add MSSQL database support to PHP.  It uses the TDS (Tabular
37fd76
DataStream) protocol through the freetds library, hence any
37fd76
database server which supports TDS can be accessed.
37fd76
%endif
37fd76
37fd76
%if %{with_embed}
37fd76
%package embedded
37fd76
Summary: PHP library for embedding in applications
37fd76
Group: System Environment/Libraries
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
# doing a real -devel package for just the .so symlink is a bit overkill
37fd76
Provides: %{?scl_prefix}php-embedded-devel = %{version}-%{release}
37fd76
Provides: %{?scl_prefix}php-embedded-devel%{?_isa} = %{version}-%{release}
37fd76
37fd76
%description embedded
8bac60
The %{?scl_prefix}php-embedded package contains a library which can be embedded
37fd76
into applications to provide PHP scripting language support.
37fd76
%endif
37fd76
37fd76
%package pspell
37fd76
Summary: A module for PHP applications for using pspell interfaces
37fd76
Group: System Environment/Libraries
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
BuildRequires: aspell-devel >= 0.50.0
37fd76
37fd76
%description pspell
8bac60
The %{?scl_prefix}php-pspell package contains a dynamic shared object that will add
37fd76
support for using the pspell library to PHP.
37fd76
37fd76
%if %{with_recode}
37fd76
%package recode
37fd76
Summary: A module for PHP applications for using the recode library
37fd76
Group: System Environment/Libraries
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
BuildRequires: recode-devel
37fd76
37fd76
%description recode
8bac60
The %{?scl_prefix}php-recode package contains a dynamic shared object that will add
37fd76
support for using the recode library to PHP.
37fd76
%endif
37fd76
37fd76
%package intl
37fd76
Summary: Internationalization extension for PHP applications
37fd76
Group: System Environment/Libraries
37fd76
# All files licensed under PHP version 3.01
37fd76
License: PHP
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
BuildRequires: libicu-devel >= 4.0
37fd76
37fd76
%description intl
8bac60
The %{?scl_prefix}php-intl package contains a dynamic shared object that will add
37fd76
support for using the ICU library to PHP.
37fd76
37fd76
%if %{with_enchant}
37fd76
%package enchant
37fd76
Summary: Enchant spelling extension for PHP applications
37fd76
# All files licensed under PHP version 3.0
37fd76
License: PHP
37fd76
Group: System Environment/Libraries
37fd76
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
37fd76
BuildRequires: enchant-devel >= 1.2.4
37fd76
37fd76
%description enchant
8bac60
The %{?scl_prefix}php-enchant package contains a dynamic shared object that will add
37fd76
support for using the enchant library to PHP.
37fd76
%endif
37fd76
37fd76
37fd76
%prep
37fd76
: Building %{name}-%{version}-%{release} with systemd=%{with_systemd} imap=%{with_imap} interbase=%{with_interbase} mcrypt=%{with_mcrypt} mssql=%{with_mssql} sqlite3=%{with_sqlite3} tidy=%{with_tidy} zip=%{with_zip}
37fd76
37fd76
%setup -q -n php-%{version}%{?rcver}
37fd76
37fd76
%patch5 -p1 -b .includedir
37fd76
%patch6 -p1 -b .embed
37fd76
%patch7 -p1 -b .recode
37fd76
%patch8 -p1 -b .libdb
37fd76
37fd76
%patch21 -p1 -b .odbctimer
37fd76
37fd76
%patch40 -p1 -b .dlopen
37fd76
%patch42 -p1 -b .systzdata
37fd76
%patch43 -p1 -b .headers
37fd76
%if %{with_libzip}
37fd76
%patch44 -p1 -b .systzip
37fd76
%endif
37fd76
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
37fd76
%patch45 -p1 -b .ldap_r
37fd76
%endif
37fd76
%patch46 -p1 -b .fixheader
37fd76
%patch47 -p1 -b .phpinfo
37fd76
8bac60
%patch135 -p1 -b .cve0273
8bac60
%patch136 -p1 -b .cve9705
8bac60
%patch137 -p1 -b .cve2301
8bac60
%patch138 -p1 -b .bug68095
8bac60
%patch139 -p1 -b .cve2787
8bac60
%patch140 -p1 -b .cve2348
8bac60
%patch141 -p1 -b .cve1351
8bac60
%patch142 -p1 -b .cve1352
8bac60
%patch143 -p1 -b .cve2305
30ceb2
%patch145 -p1 -b .cve4022
30ceb2
%patch146 -p1 -b .cve4021
30ceb2
%patch147 -p1 -b .cve4024
30ceb2
%patch148 -p1 -b .cve4025
30ceb2
%patch149 -p1 -b .cve3330
30ceb2
%patch150 -p1 -b .bug69353
30ceb2
%patch151 -p1 -b .cve2783
30ceb2
%patch152 -p1 -b .cve3329
30ceb2
%patch153 -p1 -b .bug68819
30ceb2
%patch154 -p1 -b .bug69152
6f0ac3
%patch155 -p1 -b .cve5385
37fd76
37fd76
# Prevent %%doc confusion over LICENSE files
37fd76
cp Zend/LICENSE Zend/ZEND_LICENSE
37fd76
cp TSRM/LICENSE TSRM_LICENSE
37fd76
cp ext/ereg/regex/COPYRIGHT regex_COPYRIGHT
37fd76
%if ! %{with_libgd}
37fd76
cp ext/gd/libgd/README libgd_README
37fd76
cp ext/gd/libgd/COPYING libgd_COPYING
37fd76
%endif
37fd76
cp sapi/fpm/LICENSE fpm_LICENSE
37fd76
cp ext/mbstring/libmbfl/LICENSE libmbfl_LICENSE
37fd76
cp ext/mbstring/oniguruma/COPYING oniguruma_COPYING
37fd76
cp ext/mbstring/ucgendat/OPENLDAP_LICENSE ucgendat_LICENSE
37fd76
cp ext/fileinfo/libmagic/LICENSE libmagic_LICENSE
37fd76
cp ext/phar/LICENSE phar_LICENSE
37fd76
cp ext/bcmath/libbcmath/COPYING.LIB libbcmath_COPYING
37fd76
37fd76
# Multiple builds for multiple SAPIs
37fd76
mkdir \
37fd76
%if %{with_embed}
37fd76
    build-embedded \
37fd76
%endif
37fd76
    build-fpm \
37fd76
%if %{with_httpd}
37fd76
    build-apache \
37fd76
%endif
37fd76
%if %{with_httpd24}
37fd76
    build-httpd24 \
37fd76
%endif
37fd76
    build-cgi
37fd76
37fd76
# ----- Manage known as failed test -------
37fd76
# php_egg_logo_guid() removed by patch41
37fd76
rm -f tests/basic/php_egg_logo_guid.phpt
37fd76
# affected by systzdata patch
37fd76
rm -f ext/date/tests/timezone_location_get.phpt
37fd76
# fails sometime
37fd76
rm -f ext/sockets/tests/mcast_ipv?_recv.phpt
37fd76
37fd76
# Safety check for API version change.
37fd76
pver=$(sed -n '/#define PHP_VERSION /{s/.* "//;s/".*$//;p}' main/php_version.h)
37fd76
if test "x${pver}" != "x%{version}%{?rcver}"; then
37fd76
   : Error: Upstream PHP version is now ${pver}, expecting %{version}%{?rcver}.
37fd76
   : Update the version/rcver macros and rebuild.
37fd76
   exit 1
37fd76
fi
37fd76
37fd76
vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
37fd76
if test "x${vapi}" != "x%{apiver}"; then
37fd76
   : Error: Upstream API version is now ${vapi}, expecting %{apiver}.
37fd76
   : Update the apiver macro and rebuild.
37fd76
   exit 1
37fd76
fi
37fd76
37fd76
vzend=`sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h`
37fd76
if test "x${vzend}" != "x%{zendver}"; then
37fd76
   : Error: Upstream Zend ABI version is now ${vzend}, expecting %{zendver}.
37fd76
   : Update the zendver macro and rebuild.
37fd76
   exit 1
37fd76
fi
37fd76
37fd76
# Safety check for PDO ABI version change
37fd76
vpdo=`sed -n '/#define PDO_DRIVER_API/{s/.*[ 	]//;p}' ext/pdo/php_pdo_driver.h`
37fd76
if test "x${vpdo}" != "x%{pdover}"; then
37fd76
   : Error: Upstream PDO ABI version is now ${vpdo}, expecting %{pdover}.
37fd76
   : Update the pdover macro and rebuild.
37fd76
   exit 1
37fd76
fi
37fd76
37fd76
# Check for some extension version
8bac60
ver=$(sed -n '/#define PHP_ZENDOPCACHE_VERSION /{s/.* "//;s/".*$//;p}' ext/opcache/ZendAccelerator.h)
37fd76
if test "$ver" != "%{opcachever}"; then
8bac60
   : Error: Upstream OPCACHE version is now ${ver}, expecting %{opcachever}.
37fd76
   : Update the opcachever macro and rebuild.
37fd76
   exit 1
37fd76
fi
37fd76
37fd76
# https://bugs.php.net/63362 - Not needed but installed headers.
37fd76
# Drop some Windows specific headers to avoid installation,
37fd76
# before build to ensure they are really not needed.
37fd76
rm -f TSRM/tsrm_win32.h \
37fd76
      TSRM/tsrm_config.w32.h \
37fd76
      Zend/zend_config.w32.h \
37fd76
      ext/mysqlnd/config-win.h \
37fd76
      ext/standard/winver.h \
37fd76
      main/win32_internal_function_disabled.h \
37fd76
      main/win95nt.h
37fd76
37fd76
# Fix some bogus permissions
37fd76
find . -name \*.[ch] -exec chmod 644 {} \;
37fd76
chmod 644 README.*
37fd76
37fd76
# Create the macros.php files
37fd76
sed -e "s/@PHP_APIVER@/%{apiver}%{isasuffix}/" \
37fd76
 -e "s/@PHP_ZENDVER@/%{zendver}%{isasuffix}/" \
37fd76
 -e "s/@PHP_PDOVER@/%{pdover}%{isasuffix}/" \
37fd76
 -e "s/@PHP_VERSION@/%{version}/" \
37fd76
 -e "s:@LIBDIR@:%{_libdir}:" \
37fd76
 -e "s:@ETCDIR@:%{_sysconfdir}:" \
37fd76
 -e "s:@INCDIR@:%{_includedir}:" \
37fd76
 -e "s:@BINDIR@:%{_bindir}:" \
37fd76
 %{SOURCE3} | tee macros.php
37fd76
37fd76
# php-fpm configuration files for tmpfiles.d
37fd76
# TODO echo "d /run/php-fpm 755 root root" >php-fpm.tmpfiles
37fd76
37fd76
# Some extensions have their own configuration file
37fd76
cp %{SOURCE50} %{SOURCE51} .
37fd76
sed -e 's:%{_root_sysconfdir}:%{_sysconfdir}:' \
37fd76
    -i opcache.ini
37fd76
37fd76
37fd76
%build
37fd76
# aclocal workaround - to be improved
37fd76
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
37fd76
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >>aclocal.m4
37fd76
%endif
37fd76
37fd76
# Force use of system libtool:
37fd76
libtoolize --force --copy
37fd76
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
37fd76
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >build/libtool.m4
37fd76
%else
37fd76
cat `aclocal --print-ac-dir`/libtool.m4 > build/libtool.m4
37fd76
%endif
37fd76
37fd76
# Regenerate configure scripts (patches change config.m4's)
37fd76
touch configure.in
37fd76
./buildconf --force
37fd76
37fd76
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"
37fd76
export CFLAGS
37fd76
37fd76
# Install extension modules in %{_libdir}/php/modules.
37fd76
EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
37fd76
37fd76
# Set PEAR_INSTALLDIR to ensure that the hard-coded include_path
37fd76
# includes the PEAR directory even though pear is packaged
37fd76
# separately.
37fd76
PEAR_INSTALLDIR=%{_datadir}/pear; export PEAR_INSTALLDIR
37fd76
37fd76
# Shell function to configure and build a PHP tree.
37fd76
build() {
37fd76
# Old/recent bison version seems to produce a broken parser;
37fd76
# upstream uses GNU Bison 2.3. Workaround:
37fd76
mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend
37fd76
37fd76
# Always static:
37fd76
# date, ereg, filter, libxml, reflection, spl: not supported
37fd76
# hash: for PHAR_SIG_SHA256 and PHAR_SIG_SHA512
37fd76
# session: dep on hash, used by soap and wddx
37fd76
# pcre: used by filter, zip
37fd76
# pcntl, readline: only used by CLI sapi
37fd76
# openssl: for PHAR_SIG_OPENSSL
37fd76
# zlib: used by image
37fd76
37fd76
ln -sf ../configure
37fd76
%configure \
37fd76
    --cache-file=../config.cache \
37fd76
    --with-libdir=%{_lib} \
37fd76
    --with-config-file-path=%{_sysconfdir} \
37fd76
    --with-config-file-scan-dir=%{_sysconfdir}/php.d \
37fd76
    --disable-debug \
37fd76
    --with-pic \
37fd76
    --disable-rpath \
37fd76
    --without-pear \
37fd76
    --with-exec-dir=%{_bindir} \
37fd76
    --with-freetype-dir=%{_root_prefix} \
37fd76
    --with-png-dir=%{_root_prefix} \
37fd76
    --with-xpm-dir=%{_root_prefix} \
37fd76
%if %{with_vpx}
37fd76
    --with-vpx-dir=%{_root_prefix} \
37fd76
%endif
37fd76
    --enable-gd-native-ttf \
37fd76
%if %{with_t1lib}
37fd76
    --with-t1lib=%{_root_prefix} \
37fd76
%endif
37fd76
    --without-gdbm \
37fd76
    --with-jpeg-dir=%{_root_prefix} \
37fd76
    --with-openssl \
37fd76
%if %{with_pcre}
37fd76
    --with-pcre-regex=%{_root_prefix} \
37fd76
%endif
37fd76
    --with-zlib \
37fd76
    --with-layout=GNU \
37fd76
    --with-kerberos \
37fd76
    --with-libxml-dir=%{_root_prefix} \
37fd76
    --with-system-tzdata \
37fd76
    --with-mhash \
37fd76
%if %{with_dtrace}
37fd76
    --enable-dtrace \
37fd76
%endif
37fd76
    $*
37fd76
if test $? != 0; then 
37fd76
  tail -500 config.log
37fd76
  : configure failed
37fd76
  exit 1
37fd76
fi
37fd76
37fd76
make %{?_smp_mflags}
37fd76
}
37fd76
37fd76
# Build /usr/bin/php-cgi with the CGI SAPI, and most the shared extensions
37fd76
pushd build-cgi
37fd76
37fd76
build --libdir=%{_libdir}/php \
37fd76
      --enable-pcntl \
37fd76
      --enable-opcache \
37fd76
%if %{with_imap}
37fd76
      --with-imap=shared --with-imap-ssl \
37fd76
%endif
37fd76
      --enable-mbstring=shared \
37fd76
      --enable-mbregex \
37fd76
%if %{with_libgd}
37fd76
      --with-gd=shared,%{_root_prefix} \
37fd76
%else
37fd76
      --with-gd=shared \
37fd76
%endif
37fd76
      --with-gmp=shared \
37fd76
      --enable-calendar=shared \
37fd76
      --enable-bcmath=shared \
37fd76
      --with-bz2=shared \
37fd76
      --enable-ctype=shared \
37fd76
      --enable-dba=shared --with-db4=%{_root_prefix} \
37fd76
                          --with-tcadb=%{_root_prefix} \
37fd76
      --enable-exif=shared \
37fd76
      --enable-ftp=shared \
37fd76
      --with-gettext=shared \
37fd76
      --with-iconv=shared \
37fd76
      --enable-sockets=shared \
37fd76
      --enable-tokenizer=shared \
37fd76
      --with-xmlrpc=shared \
37fd76
      --with-ldap=shared --with-ldap-sasl \
37fd76
      --enable-mysqlnd=shared \
37fd76
      --with-mysql=shared,mysqlnd \
37fd76
      --with-mysqli=shared,mysqlnd \
37fd76
      --with-mysql-sock=%{mysql_sock} \
37fd76
%if %{with_interbase}
37fd76
      --with-interbase=shared,%{_libdir}/firebird \
37fd76
      --with-pdo-firebird=shared,%{_libdir}/firebird \
37fd76
%endif
37fd76
      --enable-dom=shared \
37fd76
      --with-pgsql=shared \
37fd76
      --enable-simplexml=shared \
37fd76
      --enable-xml=shared \
37fd76
      --enable-wddx=shared \
37fd76
      --with-snmp=shared,%{_root_prefix} \
37fd76
      --enable-soap=shared \
37fd76
      --with-xsl=shared,%{_root_prefix} \
37fd76
      --enable-xmlreader=shared --enable-xmlwriter=shared \
37fd76
      --with-curl=shared,%{_root_prefix} \
37fd76
      --enable-pdo=shared \
37fd76
      --with-pdo-odbc=shared,unixODBC,%{_root_prefix} \
37fd76
      --with-pdo-mysql=shared,mysqlnd \
37fd76
      --with-pdo-pgsql=shared,%{_root_prefix} \
37fd76
      --with-pdo-sqlite=shared,%{_root_prefix} \
37fd76
%if %{with_sqlite3}
37fd76
      --with-sqlite3=shared,%{_root_prefix} \
37fd76
%else
37fd76
      --without-sqlite3 \
37fd76
%endif
37fd76
%if %{with_zip}
37fd76
      --enable-zip=shared \
37fd76
%if %{with_libzip}
37fd76
      --with-libzip \
37fd76
%endif
37fd76
%endif
37fd76
      --without-readline \
37fd76
%if %{with_libedit}
37fd76
      --with-libedit \
37fd76
%else
37fd76
      --with-readline \
37fd76
%endif
37fd76
      --with-pspell=shared \
37fd76
      --enable-phar=shared \
37fd76
%if %{with_mcrypt}
37fd76
      --with-mcrypt=shared,%{_root_prefix} \
37fd76
%endif
37fd76
%if %{with_tidy}
37fd76
      --with-tidy=shared,%{_root_prefix} \
37fd76
%endif
37fd76
%if %{with_mssql}
37fd76
      --with-mssql=shared,%{_root_prefix} \
37fd76
      --with-pdo-dblib=shared,%{_root_prefix} \
37fd76
%endif
37fd76
      --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
37fd76
      --enable-shmop=shared \
37fd76
      --enable-posix=shared \
37fd76
      --with-unixODBC=shared,%{_root_prefix} \
37fd76
      --enable-intl=shared \
37fd76
      --with-icu-dir=%{_root_prefix} \
37fd76
%if %{with_enchant}
37fd76
      --with-enchant=shared,%{_root_prefix} \
37fd76
%endif
37fd76
%if %{with_recode}
37fd76
      --with-recode=shared,%{_root_prefix} \
37fd76
%endif
37fd76
      --enable-fileinfo=shared
37fd76
popd
37fd76
37fd76
without_shared="--without-gd \
37fd76
      --disable-dom --disable-dba --without-unixODBC \
37fd76
      --disable-opcache \
37fd76
      --disable-xmlreader --disable-xmlwriter \
37fd76
      --without-sqlite3 --disable-phar --disable-fileinfo \
37fd76
      --without-pspell --disable-wddx \
37fd76
      --without-curl --disable-posix --disable-xml \
37fd76
      --disable-simplexml --disable-exif --without-gettext \
37fd76
      --without-iconv --disable-ftp --without-bz2 --disable-ctype \
37fd76
      --disable-shmop --disable-sockets --disable-tokenizer \
37fd76
      --disable-sysvmsg --disable-sysvshm --disable-sysvsem"
37fd76
37fd76
%if %{with_httpd}
37fd76
# Build Apache module, and the CLI SAPI, /usr/bin/php
37fd76
pushd build-apache
37fd76
build --with-apxs2=%{_httpd_apxs} \
37fd76
      --libdir=%{_libdir}/php \
37fd76
%if %{with_libmysql}
37fd76
      --enable-pdo=shared \
37fd76
      --with-mysql=shared,%{_root_prefix} \
37fd76
      --with-mysqli=shared,%{mysql_config} \
37fd76
      --with-pdo-mysql=shared,%{mysql_config} \
37fd76
      --without-pdo-sqlite \
37fd76
%else
37fd76
      --without-mysql \
37fd76
      --disable-pdo \
37fd76
%endif
37fd76
      ${without_shared}
37fd76
popd
37fd76
%endif
37fd76
37fd76
# Build php-fpm
37fd76
pushd build-fpm
37fd76
build --enable-fpm \
37fd76
%if %{with_systemd}
37fd76
      --with-fpm-systemd \
37fd76
%endif
37fd76
      --libdir=%{_libdir}/php \
37fd76
      --without-mysql \
37fd76
      --disable-pdo \
37fd76
      ${without_shared}
37fd76
popd
37fd76
37fd76
%if %{with_embed}
37fd76
# Build for inclusion as embedded script language into applications,
37fd76
# /usr/lib[64]/libphp5.so
37fd76
pushd build-embedded
37fd76
build --enable-embed \
37fd76
      --without-mysql --disable-pdo \
37fd76
      ${without_shared}
37fd76
popd
37fd76
%endif
37fd76
37fd76
### LATEST build as we need to enable the collection
37fd76
37fd76
%if %{with_httpd24}
37fd76
. %{_scl_prefix}/httpd24/enable
37fd76
37fd76
# Build Apache module, and the CLI SAPI, /usr/bin/php
37fd76
pushd build-httpd24
37fd76
build --with-apxs2=%{_httpd24_apxs} \
37fd76
      --libdir=%{_libdir}/php \
37fd76
      --without-mysql \
37fd76
      --disable-pdo \
37fd76
      ${without_shared}
37fd76
popd
37fd76
37fd76
### httpd24 collection is enabled, so it must remain
37fd76
### the last SAPI to be built.
37fd76
%endif
37fd76
37fd76
37fd76
%check
37fd76
%if %runselftest
37fd76
37fd76
# Increase stack size (required by bug54268.phpt)
37fd76
ulimit -s 32712
37fd76
37fd76
%if %{with_httpd}
37fd76
cd build-apache
37fd76
%else
37fd76
%if %{with_httpd24}
37fd76
cd build-httpd24
37fd76
%else
37fd76
cd build-cgi
37fd76
%endif
37fd76
%endif
37fd76
37fd76
# Run tests, using the CLI SAPI
37fd76
export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
37fd76
export SKIP_ONLINE_TESTS=1
37fd76
unset TZ LANG LC_ALL
37fd76
if ! make test; then
37fd76
  set +x
37fd76
  for f in $(find .. -name \*.diff -type f -print); do
37fd76
    if ! grep -q XFAIL "${f/.diff/.phpt}"
37fd76
    then
37fd76
      echo "TEST FAILURE: $f --"
37fd76
      cat "$f"
37fd76
      echo -e "\n-- $f result ends."
37fd76
    fi
37fd76
  done
37fd76
  set -x
37fd76
  #exit 1
37fd76
fi
37fd76
unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
37fd76
%endif
37fd76
37fd76
%install
37fd76
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
37fd76
37fd76
%if %{with_embed}
37fd76
# Install the version for embedded script language in applications + php_embed.h
37fd76
make -C build-embedded install-sapi install-headers \
37fd76
     INSTALL_ROOT=$RPM_BUILD_ROOT
37fd76
%endif
37fd76
37fd76
# Install the php-fpm binary
37fd76
make -C build-fpm install-fpm \
37fd76
     INSTALL_ROOT=$RPM_BUILD_ROOT
37fd76
37fd76
# Install everything from the CGI SAPI build
37fd76
make -C build-cgi install \
37fd76
     INSTALL_ROOT=$RPM_BUILD_ROOT
37fd76
37fd76
# rename extensions build with mysqlnd
37fd76
mv $RPM_BUILD_ROOT%{_libdir}/php/modules/mysql.so \
37fd76
   $RPM_BUILD_ROOT%{_libdir}/php/modules/mysqlnd_mysql.so
37fd76
mv $RPM_BUILD_ROOT%{_libdir}/php/modules/mysqli.so \
37fd76
   $RPM_BUILD_ROOT%{_libdir}/php/modules/mysqlnd_mysqli.so
37fd76
mv $RPM_BUILD_ROOT%{_libdir}/php/modules/pdo_mysql.so \
37fd76
   $RPM_BUILD_ROOT%{_libdir}/php/modules/pdo_mysqlnd.so
37fd76
37fd76
%if %{with_libmysql}
37fd76
# Install the mysql extension build with libmysql
37fd76
make -C build-apache install-modules \
37fd76
     INSTALL_ROOT=$RPM_BUILD_ROOT
37fd76
%endif
37fd76
37fd76
# Install the default configuration file and icons
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
37fd76
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
37fd76
37fd76
# For third-party packaging:
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/php
37fd76
37fd76
sed -e 's/libphp5/lib%{name}5/' %{SOURCE9} >modconf
37fd76
37fd76
%if %{with_httpd}
37fd76
# install the DSO
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_httpd_moddir}
37fd76
install -m 755 build-apache/libs/libphp5.so $RPM_BUILD_ROOT%{_httpd_moddir}
37fd76
37fd76
# Apache config fragment
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_httpd_contentdir}/icons
37fd76
install -m 644 php.gif $RPM_BUILD_ROOT%{_httpd_contentdir}/icons/%{name}.gif
37fd76
%if %{?scl:1}0
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_root_httpd_moddir}
37fd76
ln -s %{_httpd_moddir}/libphp5.so      $RPM_BUILD_ROOT%{_root_httpd_moddir}/lib%{name}5.so
37fd76
%endif
37fd76
37fd76
%if "%{_httpd_modconfdir}" == "%{_httpd_confdir}"
37fd76
# Single config file with httpd < 2.4 (RHEL <= 6)
37fd76
install -D -m 644 modconf $RPM_BUILD_ROOT%{_httpd_confdir}/%{name}.conf
37fd76
cat %{SOURCE1} >>$RPM_BUILD_ROOT%{_httpd_confdir}/%{name}.conf
37fd76
%else
37fd76
# Dual config file with httpd >= 2.4 (RHEL >= 7)
37fd76
install -D -m 644 modconf    $RPM_BUILD_ROOT%{_httpd_modconfdir}/10-%{name}.conf
37fd76
install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_httpd_confdir}/%{name}.conf
37fd76
%endif
37fd76
37fd76
sed -e 's:/var/lib:%{_localstatedir}/lib:' \
37fd76
    -i $RPM_BUILD_ROOT%{_httpd_confdir}/%{name}.conf
37fd76
%endif
37fd76
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php
37fd76
install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
37fd76
install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/wsdlcache
37fd76
37fd76
%if %{with_httpd24}
37fd76
install -D -m 644 php.gif $RPM_BUILD_ROOT%{_httpd24_contentdir}/icons/%{name}.gif
37fd76
install -D -m 755 build-httpd24/libs/libphp5.so $RPM_BUILD_ROOT%{_httpd24_moddir}/lib%{name}5.so
37fd76
install -D -m 644 modconf    $RPM_BUILD_ROOT%{_httpd24_modconfdir}/10-%{name}.conf
37fd76
install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_httpd24_confdir}/%{name}.conf
37fd76
sed -e 's:/var/lib:%{_localstatedir}/lib:' \
37fd76
    -i $RPM_BUILD_ROOT%{_httpd24_confdir}/%{name}.conf
37fd76
%endif
37fd76
37fd76
37fd76
# PHP-FPM stuff
37fd76
# Log
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/log/php-fpm
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/run/php-fpm
37fd76
# Config
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d
37fd76
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.conf
37fd76
sed -e 's:/run:%{_localstatedir}/run:' \
37fd76
    -e 's:/var/log:%{_localstatedir}/log:' \
37fd76
    -e 's:/etc:%{_sysconfdir}:' \
37fd76
    -i $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.conf
37fd76
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d/www.conf
37fd76
sed -e 's:/var/lib:%{_localstatedir}/lib:' \
37fd76
    -e 's:/var/log:%{_localstatedir}/log:' \
37fd76
    -i $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d/www.conf
37fd76
mv $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.conf.default .
37fd76
# tmpfiles.d
37fd76
# install -m 755 -d $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d
37fd76
# install -m 644 php-fpm.tmpfiles $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/php-fpm.conf
37fd76
# install systemd unit files and scripts for handling server startup
37fd76
%if %{with_systemd}
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_unitdir}
37fd76
install -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_unitdir}/%{?scl_prefix}php-fpm.service
37fd76
sed -e 's:/run:%{_localstatedir}/run:' \
37fd76
    -e 's:/etc:%{_sysconfdir}:' \
37fd76
    -e 's:/usr/sbin:%{_sbindir}:' \
37fd76
    -i $RPM_BUILD_ROOT%{_unitdir}/%{?scl_prefix}php-fpm.service
37fd76
%else
37fd76
# Service
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_root_initddir}
37fd76
install -m 755 %{SOURCE11} $RPM_BUILD_ROOT%{_root_initddir}/%{?scl_prefix}php-fpm
37fd76
# Needed relocation for SCL
37fd76
sed -e '/php-fpm.pid/s:/var:%{_localstatedir}:' \
37fd76
    -e '/subsys/s/php-fpm/%{?scl_prefix}php-fpm/' \
37fd76
    -e 's:/etc/sysconfig/php-fpm:%{_sysconfdir}/sysconfig/php-fpm:' \
37fd76
    -e 's:/etc/php-fpm.conf:%{_sysconfdir}/php-fpm.conf:' \
37fd76
    -e 's:/usr/sbin:%{_sbindir}:' \
37fd76
    -i $RPM_BUILD_ROOT%{_root_initddir}/%{?scl_prefix}php-fpm
37fd76
%endif
37fd76
37fd76
# LogRotate
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_root_sysconfdir}/logrotate.d
37fd76
install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_root_sysconfdir}/logrotate.d/%{?scl_prefix}php-fpm
37fd76
sed -e 's:/run:%{_localstatedir}/run:' \
37fd76
    -e 's:/var/log:%{_localstatedir}/log:' \
37fd76
    -i $RPM_BUILD_ROOT%{_root_sysconfdir}/logrotate.d/%{?scl_prefix}php-fpm
37fd76
# Environment file
37fd76
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
37fd76
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/php-fpm
37fd76
37fd76
# Fix the link
37fd76
(cd $RPM_BUILD_ROOT%{_bindir}; ln -sfn phar.phar phar)
37fd76
37fd76
# make the cli commands available in standard root for SCL build
37fd76
%if 0%{?scl:1}
37fd76
#install -m 755 -d $RPM_BUILD_ROOT%{_root_bindir}
37fd76
#ln -s %{_bindir}/php       $RPM_BUILD_ROOT%{_root_bindir}/%{?scl_prefix}php
37fd76
#ln -s %{_bindir}/phar.phar $RPM_BUILD_ROOT%{_root_bindir}/%{?scl_prefix}phar
37fd76
%endif
37fd76
37fd76
# Generate files lists and stub .ini files for each subpackage
37fd76
for mod in pgsql odbc ldap snmp xmlrpc \
37fd76
%if %{with_imap}
37fd76
    imap \
37fd76
%endif
37fd76
    mysqlnd mysqlnd_mysql mysqlnd_mysqli pdo_mysqlnd \
37fd76
    mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \
37fd76
    simplexml bz2 calendar ctype exif ftp gettext gmp iconv \
37fd76
    sockets tokenizer opcache \
37fd76
    pdo pdo_pgsql pdo_odbc pdo_sqlite \
37fd76
%if %{with_sqlite3}
37fd76
    sqlite3 \
37fd76
%endif
37fd76
%if %{with_interbase}
37fd76
    interbase pdo_firebird \
37fd76
%endif
37fd76
%if %{with_enchant}
37fd76
    enchant \
37fd76
%endif
37fd76
    phar fileinfo intl \
37fd76
%if %{with_mcrypt}
37fd76
    mcrypt \
37fd76
%endif
37fd76
%if %{with_tidy}
37fd76
    tidy \
37fd76
%endif
37fd76
%if %{with_mssql}
37fd76
    pdo_dblib mssql \
37fd76
%endif
37fd76
%if %{with_recode}
37fd76
    recode \
37fd76
%endif
37fd76
%if %{with_libmysql}
37fd76
    mysql mysqli pdo_mysql \
37fd76
%endif
37fd76
%if %{with_zip}
37fd76
    zip \
37fd76
%endif
37fd76
    pspell curl wddx xml \
37fd76
    posix shmop sysvshm sysvsem sysvmsg
37fd76
do
37fd76
    # for extension load order
37fd76
    if [ "$mod" = "wddx" ]
37fd76
    then   ini=xml_${mod}.ini
37fd76
    else   ini=${mod}.ini
37fd76
    fi
37fd76
    # some extensions have their own config file
37fd76
    if [ -f ${ini} ]; then
37fd76
      cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini}
37fd76
    else
37fd76
      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini} <
37fd76
; Enable ${mod} extension module
37fd76
extension=${mod}.so
37fd76
EOF
37fd76
    fi
37fd76
    cat > files.${mod} <
37fd76
%attr(755,root,root) %{_libdir}/php/modules/${mod}.so
37fd76
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/php.d/${ini}
37fd76
EOF
37fd76
done
37fd76
37fd76
# The dom, xsl and xml* modules are all packaged in php-xml
37fd76
cat files.dom files.xsl files.xml{reader,writer} files.wddx \
37fd76
    files.simplexml >> files.xml
37fd76
37fd76
# The mysql and mysqli modules are both packaged in php-mysql
37fd76
%if %{with_libmysql}
37fd76
cat files.mysqli >> files.mysql
37fd76
cat files.pdo_mysql >> files.mysql
37fd76
%endif
37fd76
# mysqlnd
37fd76
cat files.mysqlnd_mysql \
37fd76
    files.mysqlnd_mysqli \
37fd76
    files.pdo_mysqlnd \
37fd76
    >> files.mysqlnd
37fd76
37fd76
# Split out the PDO modules
37fd76
%if %{with_mssql}
37fd76
cat files.pdo_dblib >> files.mssql
37fd76
%endif
37fd76
cat files.pdo_pgsql >> files.pgsql
37fd76
cat files.pdo_odbc >> files.odbc
37fd76
%if %{with_interbase}
37fd76
cat files.pdo_firebird >> files.interbase
37fd76
%endif
37fd76
37fd76
# sysv* and posix in packaged in php-process
37fd76
cat files.shmop files.sysv* files.posix > files.process
37fd76
37fd76
# Package sqlite3 and pdo_sqlite with pdo; isolating the sqlite dependency
37fd76
# isn't useful at this time since rpm itself requires sqlite.
37fd76
cat files.pdo_sqlite >> files.pdo
37fd76
%if %{with_sqlite3}
37fd76
cat files.sqlite3 >> files.pdo
37fd76
%endif
37fd76
37fd76
# Package zip, curl, phar and fileinfo in -common.
37fd76
cat files.curl files.phar files.fileinfo \
37fd76
    files.exif files.gettext files.iconv files.calendar \
37fd76
    files.ftp files.bz2 files.ctype files.sockets \
37fd76
    files.tokenizer > files.common
37fd76
%if %{with_zip}
37fd76
cat files.zip >> files.common
37fd76
%endif
37fd76
37fd76
# The default Zend OPcache blacklist file
37fd76
install -m 644 opcache-default.blacklist $RPM_BUILD_ROOT%{_sysconfdir}/php.d/opcache-default.blacklist
37fd76
37fd76
# Install the macros file:
37fd76
install -d $RPM_BUILD_ROOT%{_root_sysconfdir}/rpm
37fd76
install -m 644 -c macros.php \
37fd76
           $RPM_BUILD_ROOT%{_root_sysconfdir}/rpm/macros.%{name}
37fd76
37fd76
# Remove unpackaged files
37fd76
rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
37fd76
       $RPM_BUILD_ROOT%{_bindir}/{phptar} \
37fd76
       $RPM_BUILD_ROOT%{_datadir}/pear \
37fd76
       $RPM_BUILD_ROOT%{_libdir}/libphp5.la
37fd76
37fd76
# Remove irrelevant docs
37fd76
rm -f README.{Zeus,QNX,CVS-RULES}
37fd76
37fd76
%clean
37fd76
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
37fd76
rm files.* macros.*
37fd76
37fd76
%pre fpm
37fd76
# Add the "apache" user (to avoid pulling httpd in our dep)
37fd76
getent group  apache >/dev/null || \
37fd76
  groupadd -g 48 -r apache
37fd76
getent passwd apache >/dev/null || \
37fd76
  useradd -r -u 48 -g apache -s /sbin/nologin \
37fd76
    -d %{_httpd_contentdir} -c "Apache" apache
37fd76
exit 0
37fd76
37fd76
%post fpm
37fd76
%if 0%{?systemd_post:1}
8bac60
%systemd_post %{?scl:%{scl}-}php-fpm.service
37fd76
%else
37fd76
if [ $1 = 1 ]; then
37fd76
    # Initial installation
37fd76
%if %{with_systemd}
37fd76
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
37fd76
%else
37fd76
    /sbin/chkconfig --add %{?scl_prefix}php-fpm
37fd76
%endif
37fd76
fi
37fd76
%endif
37fd76
37fd76
%preun fpm
37fd76
%if 0%{?systemd_preun:1}
8bac60
%systemd_preun %{?scl:%{scl}-}php-fpm.service
37fd76
%else
37fd76
if [ $1 = 0 ]; then
37fd76
    # Package removal, not upgrade
37fd76
%if %{with_systemd}
37fd76
    /bin/systemctl --no-reload disable %{?scl_prefix}php-fpm.service >/dev/null 2>&1 || :
37fd76
    /bin/systemctl stop %{?scl_prefix}php-fpm.service >/dev/null 2>&1 || :
37fd76
%else
37fd76
    /sbin/service %{?scl_prefix}php-fpm stop >/dev/null 2>&1
37fd76
    /sbin/chkconfig --del %{?scl_prefix}php-fpm
37fd76
%endif
37fd76
fi
37fd76
%endif
37fd76
37fd76
%postun fpm
37fd76
%if 0%{?systemd_postun_with_restart:1}
8bac60
%systemd_postun_with_restart %{?scl:%{scl}-}php-fpm.service
37fd76
%else
37fd76
%if %{with_systemd}
37fd76
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
37fd76
if [ $1 -ge 1 ]; then
37fd76
    # Package upgrade, not uninstall
37fd76
    /bin/systemctl try-restart %{?scl_prefix}php-fpm.service >/dev/null 2>&1 || :
37fd76
fi
37fd76
%else
37fd76
if [ $1 -ge 1 ]; then
37fd76
    /sbin/service %{?scl_prefix}php-fpm condrestart >/dev/null 2>&1 || :
37fd76
fi
37fd76
%endif
37fd76
%endif
37fd76
37fd76
# Handle upgrading from SysV initscript to native systemd unit.
37fd76
# We can tell if a SysV version of php-fpm was previously installed by
37fd76
# checking to see if the initscript is present.
37fd76
%triggerun fpm -- %{?scl_prefix}php-fpm
37fd76
%if %{with_systemd}
37fd76
if [ -f /etc/rc.d/init.d/%{?scl_prefix}php-fpm ]; then
37fd76
    # Save the current service runlevel info
37fd76
    # User must manually run systemd-sysv-convert --apply php-fpm
37fd76
    # to migrate them to systemd targets
37fd76
    /usr/bin/systemd-sysv-convert --save %{?scl_prefix}php-fpm >/dev/null 2>&1 || :
37fd76
37fd76
    # Run these because the SysV package being removed won't do them
37fd76
    /sbin/chkconfig --del %{?scl_prefix}php-fpm >/dev/null 2>&1 || :
37fd76
    /bin/systemctl try-restart %{?scl_prefix}php-fpm.service >/dev/null 2>&1 || :
37fd76
fi
37fd76
%endif
37fd76
37fd76
%if %{with_embed}
37fd76
%post embedded -p /sbin/ldconfig
37fd76
%postun embedded -p /sbin/ldconfig
37fd76
%endif
37fd76
37fd76
%files
37fd76
%defattr(-,root,root)
37fd76
37fd76
%if %{with_httpd}
37fd76
%{_httpd_moddir}/libphp5.so
37fd76
%if 0%{?scl:1}
37fd76
%dir %{_libdir}/httpd
37fd76
%dir %{_libdir}/httpd/modules
37fd76
%{_root_httpd_moddir}/lib%{name}5.so
37fd76
%endif
37fd76
%attr(0770,root,apache) %dir %{_localstatedir}/lib/php/session
37fd76
%attr(0770,root,apache) %dir %{_localstatedir}/lib/php/wsdlcache
37fd76
%config(noreplace) %{_httpd_confdir}/%{name}.conf
37fd76
%if "%{_httpd_modconfdir}" != "%{_httpd_confdir}"
37fd76
%config(noreplace) %{_httpd_modconfdir}/10-%{name}.conf
37fd76
%endif
37fd76
%{_httpd_contentdir}/icons/%{name}.gif
37fd76
%endif
37fd76
37fd76
%if %{with_httpd24}
37fd76
%{_httpd24_moddir}/lib%{name}5.so
37fd76
%attr(0770,root,apache) %dir %{_localstatedir}/lib/php/session
37fd76
%attr(0770,root,apache) %dir %{_localstatedir}/lib/php/wsdlcache
37fd76
%config(noreplace) %{_httpd24_confdir}/%{name}.conf
37fd76
%config(noreplace) %{_httpd24_modconfdir}/10-%{name}.conf
37fd76
%{_httpd24_contentdir}/icons/%{name}.gif
37fd76
%endif
37fd76
37fd76
%files common -f files.common
37fd76
%defattr(-,root,root)
37fd76
%doc CODING_STANDARDS CREDITS EXTENSIONS LICENSE NEWS README*
37fd76
%doc Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT
37fd76
%doc libmagic_LICENSE
37fd76
%doc phar_LICENSE
37fd76
%doc php.ini-*
37fd76
%config(noreplace) %{_sysconfdir}/php.ini
37fd76
%dir %{_sysconfdir}/php.d
37fd76
%dir %{_libdir}/php
37fd76
%dir %{_libdir}/php/modules
37fd76
%dir %{_localstatedir}/lib/php
37fd76
%dir %{_datadir}/php
37fd76
37fd76
%files cli
37fd76
%defattr(-,root,root)
37fd76
%{_bindir}/php
37fd76
%{_bindir}/php-cgi
37fd76
%{_bindir}/phar.phar
37fd76
%{_bindir}/phar
37fd76
# provides phpize here (not in -devel) for pecl command
37fd76
%{_bindir}/phpize
37fd76
%{_mandir}/man1/php.1*
37fd76
%{_mandir}/man1/php-cgi.1*
37fd76
%{_mandir}/man1/phar.1*
37fd76
%{_mandir}/man1/phar.phar.1*
37fd76
%{_mandir}/man1/phpize.1*
37fd76
%doc sapi/cgi/README* sapi/cli/README
37fd76
#{?scl: %{_root_bindir}/%{?scl_prefix}php}
37fd76
#{?scl: %{_root_bindir}/%{?scl_prefix}phar}
37fd76
37fd76
%files fpm
37fd76
%defattr(-,root,root)
37fd76
%doc php-fpm.conf.default
37fd76
%doc fpm_LICENSE
8bac60
%attr(0770,root,apache) %dir %{_localstatedir}/lib/php/session
8bac60
%attr(0770,root,apache) %dir %{_localstatedir}/lib/php/wsdlcache
37fd76
%config(noreplace) %{_sysconfdir}/php-fpm.conf
37fd76
%config(noreplace) %{_sysconfdir}/php-fpm.d/www.conf
37fd76
%config(noreplace) %{_root_sysconfdir}/logrotate.d/%{?scl_prefix}php-fpm
37fd76
%config(noreplace) %{_sysconfdir}/sysconfig/php-fpm
37fd76
# %{_prefix}/lib/tmpfiles.d/php-fpm.conf
37fd76
%if %{with_systemd}
37fd76
%{_unitdir}/%{?scl_prefix}php-fpm.service
37fd76
%else
37fd76
%{_root_initddir}/%{?scl_prefix}php-fpm
37fd76
%endif
37fd76
%{_sbindir}/php-fpm
37fd76
%dir %{_sysconfdir}/php-fpm.d
37fd76
# log owned by apache for log
37fd76
%attr(770,apache,root) %dir %{_localstatedir}/log/php-fpm
37fd76
%dir %{_localstatedir}/run/php-fpm
37fd76
%{_mandir}/man8/php-fpm.8*
37fd76
%dir %{_datadir}/fpm
37fd76
%{_datadir}/fpm/status.html
37fd76
37fd76
%files devel
37fd76
%defattr(-,root,root)
37fd76
%{_bindir}/php-config
37fd76
%{_includedir}/php
37fd76
%{_libdir}/php/build
37fd76
%{_mandir}/man1/php-config.1*
37fd76
%{_root_sysconfdir}/rpm/macros.%{name}
37fd76
37fd76
%if %{with_embed}
37fd76
%files embedded
37fd76
%defattr(-,root,root,-)
37fd76
%{_libdir}/libphp5.so
37fd76
%{_libdir}/libphp5-%{version}%{?rcver}.so
37fd76
%endif
37fd76
37fd76
%files pgsql -f files.pgsql
37fd76
%if %{with_libmysql}
37fd76
%files mysql -f files.mysql
37fd76
%endif
37fd76
%files odbc -f files.odbc
37fd76
%if %{with_imap}
37fd76
%files imap -f files.imap
37fd76
%endif
37fd76
%files ldap -f files.ldap
37fd76
%files snmp -f files.snmp
37fd76
%files xml -f files.xml
37fd76
%files xmlrpc -f files.xmlrpc
37fd76
%files mbstring -f files.mbstring
37fd76
%defattr(-,root,root,-)
37fd76
%doc libmbfl_LICENSE
37fd76
%doc oniguruma_COPYING
37fd76
%doc ucgendat_LICENSE
37fd76
%files gd -f files.gd
37fd76
%defattr(-,root,root,-)
37fd76
%if ! %{with_libgd}
37fd76
%doc libgd_README
37fd76
%doc libgd_COPYING
37fd76
%endif
37fd76
%files soap -f files.soap
37fd76
%files bcmath -f files.bcmath
37fd76
%defattr(-,root,root,-)
37fd76
%doc libbcmath_COPYING
37fd76
%files gmp -f files.gmp
37fd76
%files dba -f files.dba
37fd76
%files pdo -f files.pdo
37fd76
%if %{with_mcrypt}
37fd76
%files mcrypt -f files.mcrypt
37fd76
%endif
37fd76
%if %{with_tidy}
37fd76
%files tidy -f files.tidy
37fd76
%endif
37fd76
%if %{with_mssql}
37fd76
%files mssql -f files.mssql
37fd76
%endif
37fd76
%files pspell -f files.pspell
37fd76
%files intl -f files.intl
37fd76
%files process -f files.process
37fd76
%if %{with_recode}
37fd76
%files recode -f files.recode
37fd76
%endif
37fd76
%if %{with_interbase}
37fd76
%files interbase -f files.interbase
37fd76
%endif
37fd76
%if %{with_enchant}
37fd76
%files enchant -f files.enchant
37fd76
%endif
37fd76
%files mysqlnd -f files.mysqlnd
37fd76
%files opcache -f files.opcache
37fd76
%config(noreplace) %{_sysconfdir}/php.d/opcache-default.blacklist
37fd76
37fd76
37fd76
%changelog
6f0ac3
* Fri Jul 22 2016 Remi Collet <rcollet@redhat.com> - 5.5.21-5
6f0ac3
- don't set environmental variable based on user supplied Proxy
6f0ac3
  request header CVE-2016-5385
6f0ac3
30ceb2
* Wed Jun 10 2015 Remi Collet <rcollet@redhat.com> - 5.5.21-4
30ceb2
- fix more functions accept paths with NUL character #1213407
30ceb2
30ceb2
* Tue Jun  9 2015 Remi Collet <rcollet@redhat.com> - 5.5.21-3
30ceb2
- core: fix multipart/form-data request can use excessive
30ceb2
  amount of CPU usage CVE-2015-4024
30ceb2
- fix various functions accept paths with NUL character
30ceb2
  CVE-2015-4025, CVE-2015-4026, #1213407
30ceb2
- fileinfo: fix denial of service when processing a crafted
30ceb2
  file #1213442
30ceb2
- ftp: fix integer overflow leading to heap overflow when
30ceb2
  reading FTP file listing CVE-2015-4022
30ceb2
- phar: fix buffer over-read in metadata parsing CVE-2015-2783
30ceb2
- phar: invalid pointer free() in phar_tar_process_metadata()
30ceb2
  CVE-2015-3307
30ceb2
- phar: fix buffer overflow in phar_set_inode() CVE-2015-3329
30ceb2
- phar: fix memory corruption in phar_parse_tarfile caused by
30ceb2
  empty entry file name CVE-2015-4021
30ceb2
- pgsql: fix NULL pointer dereference CVE-2015-1352
30ceb2
- soap: fix type confusion through unserialize #1222538
30ceb2
- apache2handler: fix pipelined request executed in deinitialized
30ceb2
  interpreter under httpd 2.4 CVE-2015-3330
30ceb2
8bac60
* Tue Apr 14 2015 Remi Collet <rcollet@redhat.com> - 5.5.21-2
8bac60
- core: fix use-after-free vulnerability in the
8bac60
  process_nested_data function (unserialize) CVE-2015-2787
8bac60
- core: fix NUL byte injection in file name argument of
8bac60
  move_uploaded_file() CVE-2015-2348
8bac60
- date: fix use after free vulnerability in unserialize()
8bac60
  with DateTimeZone CVE-2015-0273
8bac60
- enchant: fix  heap buffer overflow in
8bac60
  enchant_broker_request_dict() CVE-2014-9705
8bac60
- ereg: fix heap overflow in regcomp() CVE-2015-2305
8bac60
- opcache: fix use after free CVE-2015-1351
8bac60
- phar: fix use after free in phar_object.c CVE-2015-2301
8bac60
- pgsql: fix NULL pointer dereference CVE-2015-1352
8bac60
- soap: fix type confusion through unserialize #1204868
8bac60
8bac60
* Thu Jan 22 2015 Remi Collet <rcollet@redhat.com> - 5.5.21-1
8bac60
- rebase to PHP 5.5.21
8bac60
8bac60
* Tue Dec 23 2014 Remi Collet <rcollet@redhat.com> - 5.5.20-1
8bac60
- rebase to PHP 5.5.20 #1057089
8bac60
- fix package name in description
8bac60
- php-fpm own session and wsdlcache dir
8bac60
- php-common doesn't provide php-gmp
8bac60
e9ca13
* Thu Oct 23 2014 Jan Kaluza <jkaluza@redhat.com> - 5.5.6-13
e9ca13
- fileinfo: fix out-of-bounds read in elf note headers. CVE-2014-3710
e9ca13
e9ca13
* Mon Oct 20 2014 Remi Collet <rcollet@redhat.com> - 5.5.6-12
e9ca13
- xmlrpc: fix out-of-bounds read flaw in mkgmtime() CVE-2014-3668
e9ca13
- core: fix integer overflow in unserialize() CVE-2014-3669
e9ca13
- exif: fix heap corruption issue in exif_thumbnail() CVE-2014-3670
e9ca13
e9ca13
* Wed Oct  8 2014 Remi Collet <rcollet@redhat.com> - 5.5.6-11
e9ca13
- gd: fix NULL pointer dereference in gdImageCreateFromXpm().
e9ca13
  CVE-2014-2497
e9ca13
- gd: fix NUL byte injection in file names. CVE-2014-5120
e9ca13
- core: fix heap-based buffer overflow in DNS TXT record
e9ca13
  parsing. CVE-2014-4049
e9ca13
- network: fix segfault in dns_get_record
e9ca13
  (incomplete fix for CVE-2014-4049). CVE-2014-3597
e9ca13
- core: unserialize() SPL ArrayObject / SPLObjectStorage
e9ca13
  type confusion flaw. CVE-2014-3515
e9ca13
- core: type confusion issue in phpinfo(). CVE-2014-4721
e9ca13
- spl: fix use-after-free in ArrayIterator due to object
e9ca13
  change during sorting. CVE-2014-4698
e9ca13
- spl: fix use-after-free in SPL Iterators. CVE-2014-4670
e9ca13
- fileinfo: cdf_unpack_summary_info() excessive looping
e9ca13
  DoS. CVE-2014-0237
e9ca13
- fileinfo: CDF property info parsing nelements infinite
e9ca13
  loop. CVE-2014-0238
e9ca13
- fileinfo: cdf_read_short_sector insufficient boundary
e9ca13
  check. CVE-2014-0207
e9ca13
- fileinfo: fix extensive backtracking in regular expression
e9ca13
  (incomplete fix for CVE-2013-7345). CVE-2014-3538
e9ca13
- fileinfo: cdf_check_stream_offset insufficient boundary
e9ca13
  check. CVE-2014-3479
e9ca13
- fileinfo: cdf_count_chain insufficient boundary check
e9ca13
  CVE-2014-3480
e9ca13
- fileinfo: fix mconvert incorrect handling of truncated
e9ca13
  pascal string size. CVE-2014-3478
e9ca13
- fileinfo: cdf_read_property_info insufficient boundary
e9ca13
  check. CVE-2014-3487
e9ca13
- fileinfo: fix cdf_read_property_info
e9ca13
  (incomplete fix for CVE-2012-1571). CVE-2014-3587
e9ca13
37fd76
* Tue May 13 2014 Remi Collet <rcollet@redhat.com> - 5.5.6-10
37fd76
- fileinfo: fix out-of-bounds memory access CVE-2014-2270
37fd76
- fileinfo: fix extensive backtracking CVE-2013-7345
37fd76
37fd76
* Fri Mar 21 2014 Remi Collet <rcollet@redhat.com> - 5.5.6-9
37fd76
- gd: fix NULL deref in imagecrop CVE-2013-7327
37fd76
- gd: drop vpx support, fix huge memory consumption #1075201
37fd76
37fd76
* Fri Feb 21 2014 Remi Collet <rcollet@redhat.com> - 5.5.6-8
37fd76
- fix patch name
37fd76
- fix memory leak introduce in patch for CVE-2014-1943
37fd76
- fix heap-based buffer over-read in DateInterval CVE-2013-6712
37fd76
37fd76
* Wed Feb 19 2014 Remi Collet <rcollet@redhat.com> - 5.5.6-7
37fd76
- fix infinite recursion in fileinfo CVE-2014-1943
37fd76
37fd76
* Fri Feb 14 2014 Remi Collet <rcollet@redhat.com> - 5.5.6-6
37fd76
- fix heap overflow vulnerability in imagecrop CVE-2013-7226
37fd76
37fd76
* Tue Feb  4 2014 Remi Collet <rcollet@redhat.com> - 5.5.6-5
37fd76
- allow multiple paths in ini_scan_dir #1058161
37fd76
37fd76
* Fri Dec  6 2013 Remi Collet <rcollet@redhat.com> - 5.5.6-4
37fd76
- add security fix for CVE-2013-6420
37fd76
8bac60
* Wed Nov 27 2013 Remi Collet <rcollet@redhat.com> 5.5.6-3
8bac60
- rebuild
8bac60
37fd76
* Tue Nov 19 2013 Remi Collet <rcollet@redhat.com> 5.5.6-2
37fd76
- rebuild with test enabled
37fd76
- add dependency on php-pecl-jsonc
37fd76
37fd76
* Tue Nov 19 2013 Remi Collet <rcollet@redhat.com> 5.5.6-0
37fd76
- update to PHP 5.5.6
37fd76
- buildstrap build
37fd76
37fd76
* Thu Oct 17 2013 Remi Collet <rcollet@redhat.com> 5.5.5-1
37fd76
- update to PHP 5.5.5
37fd76
- mod_php only for httpd24
37fd76
37fd76
* Thu Sep 19 2013 Remi Collet <rcollet@redhat.com> 5.5.4-1
37fd76
- update to PHP 5.5.4
37fd76
- improve security, use specific soap.wsdl_cache_dir
37fd76
  use /var/lib/php/wsdlcache for mod_php and php-fpm
37fd76
- sync short_tag comments in php.ini with upstream
37fd76
- relocate RPM macro
37fd76
37fd76
* Wed Aug 21 2013 Remi Collet <rcollet@redhat.com> 5.5.3-1
37fd76
- update to PHP 5.5.3
37fd76
- improve system libzip patch
37fd76
- fix typo and add missing entries in php.ini
37fd76
37fd76
* Fri Aug  2 2013 Remi Collet <rcollet@redhat.com> 5.5.1-1
37fd76
- update to PHP 5.5.1 for php55 SCL
37fd76
37fd76
* Mon Jul 29 2013 Remi Collet <rcollet@redhat.com> 5.4.16-6
37fd76
- rebuild for new httpd-mmn value
37fd76
37fd76
* Mon Jul 29 2013 Remi Collet <rcollet@redhat.com> 5.4.16-5
37fd76
- remove ZTS conditional stuf for ligibility
37fd76
- add mod_php for apache 2.4 (from httpd24 collection)
37fd76
37fd76
* Thu Jul 18 2013 Remi Collet <rcollet@redhat.com> 5.4.16-4
37fd76
- improve mod_php, pgsql and ldap description
37fd76
- add missing man pages (phar, php-cgi)
37fd76
- add provides php(pdo-abi) for consistency with php(api) and php(zend-abi)
37fd76
- use %%__isa_bits instead of %%__isa in ABI suffix #985350
37fd76
37fd76
* Fri Jul 12 2013 Remi Collet <rcollet@redhat.com> - 5.4.16-3
37fd76
- add security fix for CVE-2013-4113
37fd76
- add missing ASL 1.0 license
37fd76
37fd76
* Fri Jun  7 2013 Remi Collet <rcollet@redhat.com> 5.4.16-2
37fd76
- run tests during build
37fd76
37fd76
* Fri Jun  7 2013 Remi Collet <rcollet@redhat.com> 5.4.16-1
37fd76
- rebase to 5.4.16
37fd76
- fix hang in FindTishriMolad(), #965144
37fd76
- patch for upstream Bug #64915 error_log ignored when daemonize=0
37fd76
- patch for upstream Bug #64949 Buffer overflow in _pdo_pgsql_error, #969103
37fd76
- patch for upstream bug #64960 Segfault in gc_zval_possible_root
37fd76
37fd76
* Thu May 23 2013 Remi Collet <rcollet@redhat.com> 5.4.14-3
37fd76
- remove wrappers in /usr/bin (#966407)
37fd76
37fd76
* Thu Apr 25 2013 Remi Collet <rcollet@redhat.com> 5.4.14-2
37fd76
- rebuild for libjpeg (instead of libjpeg_turbo)
37fd76
- fix unowned dir %%{_datadir}/fpm and %%{_libdir}/httpd (#956221)
37fd76
37fd76
* Thu Apr 11 2013 Remi Collet <rcollet@redhat.com> 5.4.14-1
37fd76
- update to 5.4.14
37fd76
- clean old deprecated options
37fd76
37fd76
* Wed Mar 13 2013 Remi Collet <rcollet@redhat.com> 5.4.13-1
37fd76
- update to 5.4.13
37fd76
- security fixes for CVE-2013-1635 and CVE-2013-1643
37fd76
- make php-mysql package optional (and disabled)
37fd76
- make ZTS build optional (and disabled)
37fd76
- always try to load mod_php (apache warning is usefull)
37fd76
- Hardened build (links with -z now option)
37fd76
- Remove %%config from /etc/rpm/macros.php
37fd76
37fd76
* Wed Jan 16 2013 Remi Collet <rcollet@redhat.com> 5.4.11-1
37fd76
- update to 5.4.11
37fd76
- fix php.conf to allow MultiViews managed by php scripts
37fd76
37fd76
* Wed Dec 19 2012 Remi Collet <rcollet@redhat.com> 5.4.10-1
37fd76
- update to 5.4.10
37fd76
- remove patches merged upstream
37fd76
- drop "Configure Command" from phpinfo output
37fd76
- prevent php_config.h changes across (otherwise identical)
37fd76
  rebuilds
37fd76
37fd76
37fd76
* Thu Nov 22 2012 Remi Collet <rcollet@redhat.com> 5.4.9-1
37fd76
- update to 5.4.9
37fd76
37fd76
* Mon Nov 19 2012 Remi Collet <rcollet@redhat.com> 5.4.8-7
37fd76
- fix php.conf
37fd76
37fd76
* Mon Nov 19 2012 Remi Collet <rcollet@redhat.com> 5.4.8-6
37fd76
- filter private shared in _httpd_modir
37fd76
- improve system libzip patch to use pkg-config
37fd76
- use _httpd_contentdir macro and fix php.gif path
37fd76
- switch back to upstream generated scanner/parser
37fd76
- use system pcre only when recent enough
37fd76
37fd76
* Fri Nov 16 2012 Remi Collet <rcollet@redhat.com> 5.4.8-5
37fd76
- improves php.conf, no need to be relocated
37fd76
37fd76
* Fri Nov  9 2012 Remi Collet <rcollet@redhat.com> 5.4.8-6
37fd76
- clarify Licenses
37fd76
- missing provides xmlreader and xmlwriter
37fd76
- change php embedded library soname version to 5.4
37fd76
37fd76
* Mon Nov  5 2012 Remi Collet <rcollet@redhat.com> 5.4.8-4
37fd76
- fix mysql_sock macro definition
37fd76
37fd76
* Thu Oct 25 2012 Remi Collet <rcollet@redhat.com> 5.4.8-4
37fd76
- fix standard build (non scl)
37fd76
37fd76
* Thu Oct 25 2012 Remi Collet <rcollet@redhat.com> 5.4.8-3
37fd76
- fix installed headers
37fd76
37fd76
* Tue Oct 23 2012 Joe Orton <jorton@redhat.com> - 5.4.8-2
37fd76
- use libldap_r for ldap extension
37fd76
37fd76
* Tue Oct 23 2012 Remi Collet <rcollet@redhat.com> 5.4.8-3
37fd76
- add missing scl_prefix in some provides/requires
37fd76
37fd76
* Tue Oct 23 2012 Remi Collet <rcollet@redhat.com> 5.4.8-2.1
37fd76
- make php-enchant optionnal, not available on RHEL-5
37fd76
- make php-recode optionnal, not available on RHEL-5
37fd76
- disable t1lib on RHEL-5
37fd76
37fd76
* Tue Oct 23 2012 Remi Collet <rcollet@redhat.com> 5.4.8-2
37fd76
- enable tidy on RHEL-6 only
37fd76
- re-enable unit tests
37fd76
37fd76
* Tue Oct 23 2012 Remi Collet <rcollet@redhat.com> 5.4.8-1.2
37fd76
- minor macro fixes for RHEL-5 build
37fd76
- update autotools workaround for RHEL-5
37fd76
- use readline when libedit not available (RHEL-5)
37fd76
37fd76
* Mon Oct 22 2012 Remi Collet <rcollet@redhat.com> 5.4.8-1
37fd76
- update to 5.4.8
37fd76
- define both session.save_handler and session.save_path
37fd76
- fix possible segfault in libxml (#828526)
37fd76
- use SKIP_ONLINE_TEST during make test
37fd76
- php-devel requires pcre-devel and php-cli (instead of php)
37fd76
- provides php-phar
37fd76
- update systzdata patch to v10, timezone are case insensitive
37fd76
37fd76
* Mon Oct 15 2012 Remi Collet <rcollet@redhat.com> 5.4.7-4
37fd76
- php-fpm: create apache user if needed
37fd76
- php-cli: provides cli command in standard root (scl)
37fd76
37fd76
* Fri Oct 12 2012 Remi Collet <rcollet@redhat.com> 5.4.7-3
37fd76
- add configtest option to init script
37fd76
- test configuration before service reload
37fd76
- fix php-fpm service relocation
37fd76
- fix php-fpm config relocation
37fd76
- drop embdded subpackage for scl
37fd76
37fd76
* Wed Oct  3 2012 Remi Collet <rcollet@redhat.com> 5.4.7-2
37fd76
- missing requires on scl-runtime
37fd76
- relocate /var/lib/session
37fd76
- fix php-devel requires
37fd76
- rename, but don't relocate macros.php
37fd76
37fd76
* Tue Oct  2 2012 Remi Collet <rcollet@redhat.com> 5.4.7-1
37fd76
- initial spec rewrite for scl build
37fd76
37fd76
* Mon Oct  1 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-10
37fd76
- fix typo in systemd macro
37fd76
37fd76
* Mon Oct  1 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-9
37fd76
- php-fpm: enable PrivateTmp
37fd76
- php-fpm: new systemd macros (#850268)
37fd76
- php-fpm: add upstream patch for startup issue (#846858)
37fd76
37fd76
* Fri Sep 28 2012 Remi Collet <rcollet@redhat.com> 5.4.7-8
37fd76
- systemd integration, https://bugs.php.net/63085
37fd76
- no odbc call during timeout, https://bugs.php.net/63171
37fd76
- check sqlite3_column_table_name, https://bugs.php.net/63149
37fd76
37fd76
* Mon Sep 24 2012 Remi Collet <rcollet@redhat.com> 5.4.7-7
37fd76
- most failed tests explained (i386, x86_64)
37fd76
37fd76
* Wed Sep 19 2012 Remi Collet <rcollet@redhat.com> 5.4.7-6
37fd76
- fix for http://bugs.php.net/63126 (#783967)
37fd76
37fd76
* Wed Sep 19 2012 Remi Collet <rcollet@redhat.com> 5.4.7-5
37fd76
- patch to ensure we use latest libdb (not libdb4)
37fd76
37fd76
* Wed Sep 19 2012 Remi Collet <rcollet@redhat.com> 5.4.7-4
37fd76
- really fix rhel tests (use libzip and libdb)
37fd76
37fd76
* Tue Sep 18 2012 Remi Collet <rcollet@redhat.com> 5.4.7-3
37fd76
- fix test to enable zip extension on RHEL-7
37fd76
37fd76
* Mon Sep 17 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-2
37fd76
- remove session.save_path from php.ini
37fd76
  move it to apache and php-fpm configuration files
37fd76
37fd76
* Fri Sep 14 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-1
37fd76
- update to 5.4.7
37fd76
  http://www.php.net/releases/5_4_7.php
37fd76
- php-fpm: don't daemonize
37fd76
37fd76
* Mon Aug 20 2012 Remi Collet <remi@fedoraproject.org> 5.4.6-2
37fd76
- enable php-fpm on secondary arch (#849490)
37fd76
37fd76
* Fri Aug 17 2012 Remi Collet <remi@fedoraproject.org> 5.4.6-1
37fd76
- update to 5.4.6
37fd76
- update to v9 of systzdata patch
37fd76
- backport fix for new libxml
37fd76
37fd76
* Fri Jul 20 2012 Remi Collet <remi@fedoraproject.org> 5.4.5-1
37fd76
- update to 5.4.5
37fd76
37fd76
* Mon Jul 02 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-4
37fd76
- also provide php(language)%%{_isa}
37fd76
- define %%{php_version}
37fd76
37fd76
* Mon Jul 02 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-3
37fd76
- drop BR for libevent (#835671)
37fd76
- provide php(language) to allow version check
37fd76
37fd76
* Thu Jun 21 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-2
37fd76
- add missing provides (core, ereg, filter, standard)
37fd76
37fd76
* Thu Jun 14 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-1
37fd76
- update to 5.4.4 (CVE-2012-2143, CVE-2012-2386)
37fd76
- use /usr/lib/tmpfiles.d instead of /etc/tmpfiles.d
37fd76
- use /run/php-fpm instead of /var/run/php-fpm
37fd76
37fd76
* Wed May 09 2012 Remi Collet <remi@fedoraproject.org> 5.4.3-1
37fd76
- update to 5.4.3 (CVE-2012-2311, CVE-2012-2329)
37fd76
37fd76
* Thu May 03 2012 Remi Collet <remi@fedoraproject.org> 5.4.2-1
37fd76
- update to 5.4.2 (CVE-2012-1823)
37fd76
37fd76
* Fri Apr 27 2012 Remi Collet <remi@fedoraproject.org> 5.4.1-1
37fd76
- update to 5.4.1
37fd76
37fd76
* Wed Apr 25 2012 Joe Orton <jorton@redhat.com> - 5.4.0-6
37fd76
- rebuild for new icu
37fd76
- switch (conditionally) to libdb-devel
37fd76
37fd76
* Sat Mar 31 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-5
37fd76
- fix Loadmodule with MPM event (use ZTS if not MPM worker)
37fd76
- split conf.d/php.conf + conf.modules.d/10-php.conf with httpd 2.4
37fd76
37fd76
* Thu Mar 29 2012 Joe Orton <jorton@redhat.com> - 5.4.0-4
37fd76
- rebuild for missing automatic provides (#807889)
37fd76
37fd76
* Mon Mar 26 2012 Joe Orton <jorton@redhat.com> - 5.4.0-3
37fd76
- really use _httpd_mmn
37fd76
37fd76
* Mon Mar 26 2012 Joe Orton <jorton@redhat.com> - 5.4.0-2
37fd76
- rebuild against httpd 2.4
37fd76
- use _httpd_mmn, _httpd_apxs macros
37fd76
37fd76
* Fri Mar 02 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-1
37fd76
- update to PHP 5.4.0 finale
37fd76
37fd76
* Sat Feb 18 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.4.RC8
37fd76
- update to PHP 5.4.0RC8
37fd76
37fd76
* Sat Feb 04 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.3.RC7
37fd76
- update to PHP 5.4.0RC7
37fd76
- provides env file for php-fpm (#784770)
37fd76
- add patch to use system libzip (thanks to spot)
37fd76
- don't provide INSTALL file
37fd76
37fd76
* Wed Jan 25 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.2.RC6
37fd76
- all binaries in /usr/bin with zts prefix
37fd76
37fd76
* Wed Jan 18 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.1.RC6
37fd76
- update to PHP 5.4.0RC6
37fd76
  https://fedoraproject.org/wiki/Features/Php54
37fd76
37fd76
* Sun Jan 08 2012 Remi Collet <remi@fedoraproject.org> 5.3.8-4.4
37fd76
- fix systemd unit
37fd76
37fd76
* Mon Dec 12 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-4.3
37fd76
- switch to systemd
37fd76
37fd76
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 5.3.8-4.2
37fd76
- Rebuild for new libpng
37fd76
37fd76
* Wed Oct 26 2011 Marcela Mašláňová <mmaslano@redhat.com> - 5.3.8-3.2
37fd76
- rebuild with new gmp without compat lib
37fd76
37fd76
* Wed Oct 12 2011 Peter Schiffer <pschiffe@redhat.com> - 5.3.8-3.1
37fd76
- rebuild with new gmp
37fd76
37fd76
* Wed Sep 28 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-3
37fd76
- revert is_a() to php <= 5.3.6 behavior (from upstream)
37fd76
  with new option (allow_string) for new behavior
37fd76
37fd76
* Tue Sep 13 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-2
37fd76
- add mysqlnd sub-package
37fd76
- drop patch4, use --libdir to use /usr/lib*/php/build
37fd76
- add patch to redirect mysql.sock (in mysqlnd)
37fd76
37fd76
* Tue Aug 23 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-1
37fd76
- update to 5.3.8
37fd76
  http://www.php.net/ChangeLog-5.php#5.3.8
37fd76
37fd76
* Thu Aug 18 2011 Remi Collet <remi@fedoraproject.org> 5.3.7-1
37fd76
- update to 5.3.7
37fd76
  http://www.php.net/ChangeLog-5.php#5.3.7
37fd76
- merge php-zts into php (#698084)
37fd76
37fd76
* Tue Jul 12 2011 Joe Orton <jorton@redhat.com> - 5.3.6-4
37fd76
- rebuild for net-snmp SONAME bump
37fd76
37fd76
* Mon Apr  4 2011 Remi Collet <Fedora@famillecollet.com> 5.3.6-3
37fd76
- enable mhash extension (emulated by hash extension)
37fd76
37fd76
* Wed Mar 23 2011 Remi Collet <Fedora@famillecollet.com> 5.3.6-2
37fd76
- rebuild for new MySQL client library
37fd76
37fd76
* Thu Mar 17 2011 Remi Collet <Fedora@famillecollet.com> 5.3.6-1
37fd76
- update to 5.3.6
37fd76
  http://www.php.net/ChangeLog-5.php#5.3.6
37fd76
- fix php-pdo arch specific requires
37fd76
37fd76
* Tue Mar 15 2011 Joe Orton <jorton@redhat.com> - 5.3.5-6
37fd76
- disable zip extension per "No Bundled Libraries" policy (#551513)
37fd76
37fd76
* Mon Mar 07 2011 Caolán McNamara <caolanm@redhat.com> 5.3.5-5
37fd76
- rebuild for icu 4.6
37fd76
37fd76
* Mon Feb 28 2011 Remi Collet <Fedora@famillecollet.com> 5.3.5-4
37fd76
- fix systemd-units requires
37fd76
37fd76
* Thu Feb 24 2011 Remi Collet <Fedora@famillecollet.com> 5.3.5-3
37fd76
- add tmpfiles.d configuration for php-fpm
37fd76
- add Arch specific requires/provides
37fd76
37fd76
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.5-2
37fd76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
37fd76
37fd76
* Fri Jan 07 2011 Remi Collet <Fedora@famillecollet.com> 5.3.5-1
37fd76
- update to 5.3.5
37fd76
  http://www.php.net/ChangeLog-5.php#5.3.5
37fd76
- clean duplicate configure options
37fd76
37fd76
* Tue Dec 28 2010 Remi Collet <rpms@famillecollet.com> 5.3.4-2
37fd76
- rebuild against MySQL 5.5.8
37fd76
- remove all RPM_SOURCE_DIR
37fd76
37fd76
* Sun Dec 12 2010 Remi Collet <rpms@famillecollet.com> 5.3.4-1.1
37fd76
- security patch from upstream for #660517
37fd76
37fd76
* Sat Dec 11 2010 Remi Collet <Fedora@famillecollet.com> 5.3.4-1
37fd76
- update to 5.3.4
37fd76
  http://www.php.net/ChangeLog-5.php#5.3.4
37fd76
- move phpize to php-cli (see #657812)
37fd76
37fd76
* Wed Dec  1 2010 Remi Collet <Fedora@famillecollet.com> 5.3.3-5
37fd76
- ghost /var/run/php-fpm (see #656660)
37fd76
- add filter_setup to not provides extensions as .so
37fd76
37fd76
* Mon Nov  1 2010 Joe Orton <jorton@redhat.com> - 5.3.3-4
37fd76
- use mysql_config in libdir directly to avoid biarch build failures
37fd76
37fd76
* Fri Oct 29 2010 Joe Orton <jorton@redhat.com> - 5.3.3-3
37fd76
- rebuild for new net-snmp
37fd76
37fd76
* Sun Oct 10 2010 Remi Collet <Fedora@famillecollet.com> 5.3.3-2
37fd76
- add php-fpm sub-package
37fd76
37fd76
* Thu Jul 22 2010 Remi Collet <Fedora@famillecollet.com> 5.3.3-1
37fd76
- PHP 5.3.3 released
37fd76
37fd76
* Fri Apr 30 2010 Remi Collet <Fedora@famillecollet.com> 5.3.2-3
37fd76
- garbage collector upstream  patches (#580236)
37fd76
37fd76
* Fri Apr 02 2010 Caolán McNamara <caolanm@redhat.com> 5.3.2-2
37fd76
- rebuild for icu 4.4
37fd76
37fd76
* Sat Mar 06 2010 Remi Collet <Fedora@famillecollet.com> 5.3.2-1
37fd76
- PHP 5.3.2 Released!
37fd76
- remove mime_magic option (now provided by fileinfo, by emu)
37fd76
- add patch for http://bugs.php.net/50578
37fd76
- remove patch for libedit (upstream)
37fd76
- add runselftest option to allow build without test suite
37fd76
37fd76
* Fri Nov 27 2009 Joe Orton <jorton@redhat.com> - 5.3.1-3
37fd76
- update to v7 of systzdata patch
37fd76
37fd76
* Wed Nov 25 2009 Joe Orton <jorton@redhat.com> - 5.3.1-2
37fd76
- fix build with autoconf 2.6x
37fd76
37fd76
* Fri Nov 20 2009 Remi Collet <Fedora@famillecollet.com> 5.3.1-1
37fd76
- update to 5.3.1
37fd76
- remove openssl patch (merged upstream)
37fd76
- add provides for php-pecl-json
37fd76
- add prod/devel php.ini in doc
37fd76
37fd76
* Tue Nov 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 5.3.0-7
37fd76
- use libedit instead of readline to resolve licensing issues
37fd76
37fd76
* Tue Aug 25 2009 Tomas Mraz <tmraz@redhat.com> - 5.3.0-6
37fd76
- rebuilt with new openssl
37fd76
37fd76
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-5
37fd76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
37fd76
37fd76
* Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-4
37fd76
- rediff systzdata patch
37fd76
37fd76
* Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-3
37fd76
- update to v6 of systzdata patch; various fixes
37fd76
37fd76
* Tue Jul 14 2009 Joe Orton <jorton@redhat.com> 5.3.0-2
37fd76
- update to v5 of systzdata patch; parses zone.tab and extracts
37fd76
  timezone->{country-code,long/lat,comment} mapping table
37fd76
37fd76
* Sun Jul 12 2009 Remi Collet <Fedora@famillecollet.com> 5.3.0-1
37fd76
- update to 5.3.0
37fd76
- remove ncurses, dbase, mhash extensions
37fd76
- add enchant, sqlite3, intl, phar, fileinfo extensions
37fd76
- raise sqlite version to 3.6.0 (for sqlite3, build with --enable-load-extension)
37fd76
- sync with upstream "production" php.ini
37fd76
37fd76
* Sun Jun 21 2009 Remi Collet <Fedora@famillecollet.com> 5.2.10-1
37fd76
- update to 5.2.10
37fd76
- add interbase sub-package
37fd76
37fd76
* Sat Feb 28 2009 Remi Collet <Fedora@FamilleCollet.com> - 5.2.9-1
37fd76
- update to 5.2.9
37fd76
37fd76
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.8-10
37fd76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
37fd76
37fd76
* Thu Feb  5 2009 Joe Orton <jorton@redhat.com> 5.2.8-9
37fd76
- add recode support, -recode subpackage (#106755)
37fd76
- add -zts subpackage with ZTS-enabled build of httpd SAPI
37fd76
- adjust php.conf to use -zts SAPI build for worker MPM
37fd76
37fd76
* Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8
37fd76
- fix patch fuzz, renumber patches
37fd76
37fd76
* Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-7
37fd76
- drop obsolete configure args
37fd76
- drop -odbc patch (#483690)
37fd76
37fd76
* Mon Jan 26 2009 Joe Orton <jorton@redhat.com> 5.2.8-5
37fd76
- split out sysvshm, sysvsem, sysvmsg, posix into php-process
37fd76
37fd76
* Sun Jan 25 2009 Joe Orton <jorton@redhat.com> 5.2.8-4
37fd76
- move wddx to php-xml, build curl shared in -common
37fd76
- remove BR for expat-devel, bogus configure option
37fd76
37fd76
* Fri Jan 23 2009 Joe Orton <jorton@redhat.com> 5.2.8-3
37fd76
- rebuild for new MySQL
37fd76
37fd76
* Sat Dec 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-2
37fd76
- libtool 2 workaround for phpize (#476004)
37fd76
- add missing php_embed.h (#457777)
37fd76
37fd76
* Tue Dec 09 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-1
37fd76
- update to 5.2.8
37fd76
37fd76
* Sat Dec 06 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1.1
37fd76
- libtool 2 workaround
37fd76
37fd76
* Fri Dec 05 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1
37fd76
- update to 5.2.7
37fd76
- enable pdo_dblib driver in php-mssql
37fd76
37fd76
* Mon Nov 24 2008 Joe Orton <jorton@redhat.com> 5.2.6-7
37fd76
- tweak Summary, thanks to Richard Hughes
37fd76
37fd76
* Tue Nov  4 2008 Joe Orton <jorton@redhat.com> 5.2.6-6
37fd76
- move gd_README to php-gd
37fd76
- update to r4 of systzdata patch; introduces a default timezone
37fd76
  name of "System/Localtime", which uses /etc/localtime (#469532)
37fd76
37fd76
* Sat Sep 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-5
37fd76
- enable XPM support in php-gd
37fd76
- Fix BR for php-gd
37fd76
37fd76
* Sun Jul 20 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-4
37fd76
- enable T1lib support in php-gd
37fd76
37fd76
* Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 5.2.6-3
37fd76
- update to 5.2.6
37fd76
- sync default php.ini with upstream
37fd76
- drop extension_dir from default php.ini, rely on hard-coded
37fd76
  default, to make php-common multilib-safe (#455091)
37fd76
- update to r3 of systzdata patch
37fd76
37fd76
* Thu Apr 24 2008 Joe Orton <jorton@redhat.com> 5.2.5-7
37fd76
- split pspell extension out into php-spell (#443857)
37fd76
37fd76
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.2.5-6
37fd76
- Autorebuild for GCC 4.3
37fd76
37fd76
* Fri Jan 11 2008 Joe Orton <jorton@redhat.com> 5.2.5-5
37fd76
- ext/date: use system timezone database
37fd76
37fd76
* Fri Dec 28 2007 Joe Orton <jorton@redhat.com> 5.2.5-4
37fd76
- rebuild for libc-client bump
37fd76
37fd76
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 5.2.5-3
37fd76
- Rebuild for openssl bump
37fd76
37fd76
* Wed Dec  5 2007 Joe Orton <jorton@redhat.com> 5.2.5-2
37fd76
- update to 5.2.5
37fd76
37fd76
* Mon Oct 15 2007 Joe Orton <jorton@redhat.com> 5.2.4-3
37fd76
- correct pcre BR version (#333021)
37fd76
- restore metaphone fix (#205714)
37fd76
- add READMEs to php-cli
37fd76
37fd76
* Sun Sep 16 2007 Joe Orton <jorton@redhat.com> 5.2.4-2
37fd76
- update to 5.2.4
37fd76
37fd76
* Sun Sep  2 2007 Joe Orton <jorton@redhat.com> 5.2.3-9
37fd76
- rebuild for fixed APR
37fd76
37fd76
* Tue Aug 28 2007 Joe Orton <jorton@redhat.com> 5.2.3-8
37fd76
- add ldconfig post/postun for -embedded (Hans de Goede)
37fd76
37fd76
* Fri Aug 10 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.2.3-7
37fd76
- add php-embedded sub-package
37fd76
37fd76
* Fri Aug 10 2007 Joe Orton <jorton@redhat.com> 5.2.3-6
37fd76
- fix build with new glibc
37fd76
- fix License
37fd76
37fd76
* Mon Jul 16 2007 Joe Orton <jorton@redhat.com> 5.2.3-5
37fd76
- define php_extdir in macros.php
37fd76
37fd76
* Mon Jul  2 2007 Joe Orton <jorton@redhat.com> 5.2.3-4
37fd76
- obsolete php-dbase
37fd76
37fd76
* Tue Jun 19 2007 Joe Orton <jorton@redhat.com> 5.2.3-3
37fd76
- add mcrypt, mhash, tidy, mssql subpackages (Dmitry Butskoy)
37fd76
- enable dbase extension and package in -common
37fd76
37fd76
* Fri Jun  8 2007 Joe Orton <jorton@redhat.com> 5.2.3-2
37fd76
- update to 5.2.3 (thanks to Jeff Sheltren)
37fd76
37fd76
* Wed May  9 2007 Joe Orton <jorton@redhat.com> 5.2.2-4
37fd76
- fix php-pdo *_arg_force_ref global symbol abuse (#216125)
37fd76
37fd76
* Tue May  8 2007 Joe Orton <jorton@redhat.com> 5.2.2-3
37fd76
- rebuild against uw-imap-devel
37fd76
37fd76
* Fri May  4 2007 Joe Orton <jorton@redhat.com> 5.2.2-2
37fd76
- update to 5.2.2
37fd76
- synch changes from upstream recommended php.ini
37fd76
37fd76
* Thu Mar 29 2007 Joe Orton <jorton@redhat.com> 5.2.1-5
37fd76
- enable SASL support in LDAP extension (#205772)
37fd76
37fd76
* Wed Mar 21 2007 Joe Orton <jorton@redhat.com> 5.2.1-4
37fd76
- drop mime_magic extension (deprecated by php-pecl-Fileinfo)
37fd76
37fd76
* Mon Feb 19 2007 Joe Orton <jorton@redhat.com> 5.2.1-3
37fd76
- fix regression in str_{i,}replace (from upstream)
37fd76
37fd76
* Thu Feb 15 2007 Joe Orton <jorton@redhat.com> 5.2.1-2
37fd76
- update to 5.2.1
37fd76
- add Requires(pre) for httpd
37fd76
- trim %%changelog to versions >= 5.0.0
37fd76
37fd76
* Thu Feb  8 2007 Joe Orton <jorton@redhat.com> 5.2.0-10
37fd76
- bump default memory_limit to 32M (#220821)
37fd76
- mark config files noreplace again (#174251)
37fd76
- drop trailing dots from Summary fields
37fd76
- use standard BuildRoot
37fd76
- drop libtool15 patch (#226294)
37fd76
37fd76
* Tue Jan 30 2007 Joe Orton <jorton@redhat.com> 5.2.0-9
37fd76
- add php(api), php(zend-abi) provides (#221302)
37fd76
- package /usr/share/php and append to default include_path (#225434)
37fd76
37fd76
* Tue Dec  5 2006 Joe Orton <jorton@redhat.com> 5.2.0-8
37fd76
- fix filter.h installation path
37fd76
- fix php-zend-abi version (Remi Collet, #212804)
37fd76
37fd76
* Tue Nov 28 2006 Joe Orton <jorton@redhat.com> 5.2.0-7
37fd76
- rebuild again
37fd76
37fd76
* Tue Nov 28 2006 Joe Orton <jorton@redhat.com> 5.2.0-6
37fd76
- rebuild for net-snmp soname bump
37fd76
37fd76
* Mon Nov 27 2006 Joe Orton <jorton@redhat.com> 5.2.0-5
37fd76
- build json and zip shared, in -common (Remi Collet, #215966)
37fd76
- obsolete php-json and php-pecl-zip
37fd76
- build readline extension into /usr/bin/php* (#210585)
37fd76
- change module subpackages to require php-common not php (#177821)
37fd76
37fd76
* Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 5.2.0-4
37fd76
- provide php-zend-abi (#212804)
37fd76
- add /etc/rpm/macros.php exporting interface versions
37fd76
- synch with upstream recommended php.ini
37fd76
37fd76
* Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 5.2.0-3
37fd76
- update to 5.2.0 (#213837)
37fd76
- php-xml provides php-domxml (#215656)
37fd76
- fix php-pdo-abi provide (#214281)
37fd76
37fd76
* Tue Oct 31 2006 Joseph Orton <jorton@redhat.com> 5.1.6-4
37fd76
- rebuild for curl soname bump
37fd76
- add build fix for curl 7.16 API
37fd76
37fd76
* Wed Oct  4 2006 Joe Orton <jorton@redhat.com> 5.1.6-3
37fd76
- from upstream: add safety checks against integer overflow in _ecalloc
37fd76
37fd76
* Tue Aug 29 2006 Joe Orton <jorton@redhat.com> 5.1.6-2
37fd76
- update to 5.1.6 (security fixes)
37fd76
- bump default memory_limit to 16M (#196802)
37fd76
37fd76
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.1.4-8.1
37fd76
- rebuild
37fd76
37fd76
* Fri Jun  9 2006 Joe Orton <jorton@redhat.com> 5.1.4-8
37fd76
- Provide php-posix (#194583)
37fd76
- only provide php-pcntl from -cli subpackage
37fd76
- add missing defattr's (thanks to Matthias Saou)
37fd76
37fd76
* Fri Jun  9 2006 Joe Orton <jorton@redhat.com> 5.1.4-7
37fd76
- move Obsoletes for php-openssl to -common (#194501)
37fd76
- Provide: php-cgi from -cli subpackage
37fd76
37fd76
* Fri Jun  2 2006 Joe Orton <jorton@redhat.com> 5.1.4-6
37fd76
- split out php-cli, php-common subpackages (#177821)
37fd76
- add php-pdo-abi version export (#193202)
37fd76
37fd76
* Wed May 24 2006 Radek Vokal <rvokal@redhat.com> 5.1.4-5.1
37fd76
- rebuilt for new libnetsnmp
37fd76
37fd76
* Thu May 18 2006 Joe Orton <jorton@redhat.com> 5.1.4-5
37fd76
- provide mod_php (#187891)
37fd76
- provide php-cli (#192196)
37fd76
- use correct LDAP fix (#181518)
37fd76
- define _GNU_SOURCE in php_config.h and leave it defined
37fd76
- drop (circular) dependency on php-pear
37fd76
37fd76
* Mon May  8 2006 Joe Orton <jorton@redhat.com> 5.1.4-3
37fd76
- update to 5.1.4
37fd76
37fd76
* Wed May  3 2006 Joe Orton <jorton@redhat.com> 5.1.3-3
37fd76
- update to 5.1.3
37fd76
37fd76
* Tue Feb 28 2006 Joe Orton <jorton@redhat.com> 5.1.2-5
37fd76
- provide php-api (#183227)
37fd76
- add provides for all builtin modules (Tim Jackson, #173804)
37fd76
- own %%{_libdir}/php/pear for PEAR packages (per #176733)
37fd76
- add obsoletes to allow upgrade from FE4 PDO packages (#181863)
37fd76
37fd76
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.1.2-4.3
37fd76
- bump again for double-long bug on ppc(64)
37fd76
37fd76
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.1.2-4.1
37fd76
- rebuilt for new gcc4.1 snapshot and glibc changes
37fd76
37fd76
* Tue Jan 31 2006 Joe Orton <jorton@redhat.com> 5.1.2-4
37fd76
- rebuild for new libc-client soname
37fd76
37fd76
* Mon Jan 16 2006 Joe Orton <jorton@redhat.com> 5.1.2-3
37fd76
- only build xmlreader and xmlwriter shared (#177810)
37fd76
37fd76
* Fri Jan 13 2006 Joe Orton <jorton@redhat.com> 5.1.2-2
37fd76
- update to 5.1.2
37fd76
37fd76
* Thu Jan  5 2006 Joe Orton <jorton@redhat.com> 5.1.1-8
37fd76
- rebuild again
37fd76
37fd76
* Mon Jan  2 2006 Joe Orton <jorton@redhat.com> 5.1.1-7
37fd76
- rebuild for new net-snmp
37fd76
37fd76
* Mon Dec 12 2005 Joe Orton <jorton@redhat.com> 5.1.1-6
37fd76
- enable short_open_tag in default php.ini again (#175381)
37fd76
37fd76
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
37fd76
- rebuilt
37fd76
37fd76
* Thu Dec  8 2005 Joe Orton <jorton@redhat.com> 5.1.1-5
37fd76
- require net-snmp for php-snmp (#174800)
37fd76
37fd76
* Sun Dec  4 2005 Joe Orton <jorton@redhat.com> 5.1.1-4
37fd76
- add /usr/share/pear back to hard-coded include_path (#174885)
37fd76
37fd76
* Fri Dec  2 2005 Joe Orton <jorton@redhat.com> 5.1.1-3
37fd76
- rebuild for httpd 2.2
37fd76
37fd76
* Mon Nov 28 2005 Joe Orton <jorton@redhat.com> 5.1.1-2
37fd76
- update to 5.1.1
37fd76
- remove pear subpackage
37fd76
- enable pdo extensions (php-pdo subpackage)
37fd76
- remove non-standard conditional module builds
37fd76
- enable xmlreader extension
37fd76
37fd76
* Thu Nov 10 2005 Tomas Mraz <tmraz@redhat.com> 5.0.5-6
37fd76
- rebuilt against new openssl
37fd76
37fd76
* Mon Nov  7 2005 Joe Orton <jorton@redhat.com> 5.0.5-5
37fd76
- pear: update to XML_RPC 1.4.4, XML_Parser 1.2.7, Mail 1.1.9 (#172528)
37fd76
37fd76
* Tue Nov  1 2005 Joe Orton <jorton@redhat.com> 5.0.5-4
37fd76
- rebuild for new libnetsnmp
37fd76
37fd76
* Wed Sep 14 2005 Joe Orton <jorton@redhat.com> 5.0.5-3
37fd76
- update to 5.0.5
37fd76
- add fix for upstream #34435
37fd76
- devel: require autoconf, automake (#159283)
37fd76
- pear: update to HTTP-1.3.6, Mail-1.1.8, Net_SMTP-1.2.7, XML_RPC-1.4.1
37fd76
- fix imagettftext et al (upstream, #161001)
37fd76
37fd76
* Thu Jun 16 2005 Joe Orton <jorton@redhat.com> 5.0.4-11
37fd76
- ldap: restore ldap_start_tls() function
37fd76
37fd76
* Fri May  6 2005 Joe Orton <jorton@redhat.com> 5.0.4-10
37fd76
- disable RPATHs in shared extensions (#156974)
37fd76
37fd76
* Tue May  3 2005 Joe Orton <jorton@redhat.com> 5.0.4-9
37fd76
- build simplexml_import_dom even with shared dom (#156434)
37fd76
- prevent truncation of copied files to ~2Mb (#155916)
37fd76
- install /usr/bin/php from CLI build alongside CGI
37fd76
- enable sysvmsg extension (#142988)
37fd76
37fd76
* Mon Apr 25 2005 Joe Orton <jorton@redhat.com> 5.0.4-8
37fd76
- prevent build of builtin dba as well as shared extension
37fd76
37fd76
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-7
37fd76
- split out dba and bcmath extensions into subpackages
37fd76
- BuildRequire gcc-c++ to avoid AC_PROG_CXX{,CPP} failure (#155221)
37fd76
- pear: update to DB-1.7.6
37fd76
- enable FastCGI support in /usr/bin/php-cgi (#149596)
37fd76
37fd76
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-6
37fd76
- build /usr/bin/php with the CLI SAPI, and add /usr/bin/php-cgi,
37fd76
  built with the CGI SAPI (thanks to Edward Rudd, #137704)
37fd76
- add php(1) man page for CLI
37fd76
- fix more test cases to use -n when invoking php
37fd76
37fd76
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-5
37fd76
- rebuild for new libpq soname
37fd76
37fd76
* Tue Apr 12 2005 Joe Orton <jorton@redhat.com> 5.0.4-4
37fd76
- bundle from PEAR: HTTP, Mail, XML_Parser, Net_Socket, Net_SMTP
37fd76
- snmp: disable MSHUTDOWN function to prevent error_log noise (#153988)
37fd76
- mysqli: add fix for crash on x86_64 (Georg Richter, upstream #32282)
37fd76
37fd76
* Mon Apr 11 2005 Joe Orton <jorton@redhat.com> 5.0.4-3
37fd76
- build shared objects as PIC (#154195)
37fd76
37fd76
* Mon Apr  4 2005 Joe Orton <jorton@redhat.com> 5.0.4-2
37fd76
- fix PEAR installation and bundle PEAR DB-1.7.5 package
37fd76
37fd76
* Fri Apr  1 2005 Joe Orton <jorton@redhat.com> 5.0.4-1
37fd76
- update to 5.0.4 (#153068)
37fd76
- add .phps AddType to php.conf (#152973)
37fd76
- better gcc4 fix for libxmlrpc
37fd76
37fd76
* Wed Mar 30 2005 Joe Orton <jorton@redhat.com> 5.0.3-5
37fd76
- BuildRequire mysql-devel >= 4.1
37fd76
- don't mark php.ini as noreplace to make upgrades work (#152171)
37fd76
- fix subpackage descriptions (#152628)
37fd76
- fix memset(,,0) in Zend (thanks to Dave Jones)
37fd76
- fix various compiler warnings in Zend
37fd76
37fd76
* Thu Mar 24 2005 Joe Orton <jorton@redhat.com> 5.0.3-4
37fd76
- package mysqli extension in php-mysql
37fd76
- really enable pcntl (#142903)
37fd76
- don't build with --enable-safe-mode (#148969)
37fd76
- use "Instant Client" libraries for oci8 module (Kai Bolay, #149873)
37fd76
37fd76
* Fri Feb 18 2005 Joe Orton <jorton@redhat.com> 5.0.3-3
37fd76
- fix build with GCC 4
37fd76
37fd76
* Wed Feb  9 2005 Joe Orton <jorton@redhat.com> 5.0.3-2
37fd76
- install the ext/gd headers (#145891)
37fd76
- enable pcntl extension in /usr/bin/php (#142903)
37fd76
- add libmbfl array arithmetic fix (dcb314@hotmail.com, #143795)
37fd76
- add BuildRequire for recent pcre-devel (#147448)
37fd76
37fd76
* Wed Jan 12 2005 Joe Orton <jorton@redhat.com> 5.0.3-1
37fd76
- update to 5.0.3 (thanks to Robert Scheck et al, #143101)
37fd76
- enable xsl extension (#142174)
37fd76
- package both the xsl and dom extensions in php-xml
37fd76
- enable soap extension, shared (php-soap package) (#142901)
37fd76
- add patches from upstream 5.0 branch:
37fd76
 * Zend_strtod.c compile fixes
37fd76
 * correct php_sprintf return value usage
37fd76
37fd76
* Mon Nov 22 2004 Joe Orton <jorton@redhat.com> 5.0.2-8
37fd76
- update for db4-4.3 (Robert Scheck, #140167)
37fd76
- build against mysql-devel
37fd76
- run tests in %%check
37fd76
37fd76
* Wed Nov 10 2004 Joe Orton <jorton@redhat.com> 5.0.2-7
37fd76
- truncate changelog at 4.3.1-1
37fd76
- merge from 4.3.x package:
37fd76
 - enable mime_magic extension and Require: file (#130276)
37fd76
37fd76
* Mon Nov  8 2004 Joe Orton <jorton@redhat.com> 5.0.2-6
37fd76
- fix dom/sqlite enable/without confusion
37fd76
37fd76
* Mon Nov  8 2004 Joe Orton <jorton@redhat.com> 5.0.2-5
37fd76
- fix phpize installation for lib64 platforms
37fd76
- add fix for segfault in variable parsing introduced in 5.0.2
37fd76
37fd76
* Mon Nov  8 2004 Joe Orton <jorton@redhat.com> 5.0.2-4
37fd76
- update to 5.0.2 (#127980)
37fd76
- build against mysqlclient10-devel
37fd76
- use new RTLD_DEEPBIND to load extension modules
37fd76
- drop explicit requirement for elfutils-devel
37fd76
- use AddHandler in default conf.d/php.conf (#135664)
37fd76
- "fix" round() fudging for recent gcc on x86
37fd76
- disable sqlite pending audit of warnings and subpackage split
37fd76
37fd76
* Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-4
37fd76
- don't build dom extension into 2.0 SAPI
37fd76
37fd76
* Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-3
37fd76
- ExclusiveArch: x86 ppc x86_64 for the moment
37fd76
37fd76
* Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-2
37fd76
- fix default extension_dir and conf.d/php.conf
37fd76
37fd76
* Thu Sep  9 2004 Joe Orton <jorton@redhat.com> 5.0.1-1
37fd76
- update to 5.0.1
37fd76
- only build shared modules once
37fd76
- put dom extension in php-dom subpackage again
37fd76
- move extension modules into %%{_libdir}/php/modules
37fd76
- don't use --with-regex=system, it's ignored for the apache* SAPIs
37fd76
37fd76
* Wed Aug 11 2004 Tom Callaway <tcallawa@redhat.com>
37fd76
- Merge in some spec file changes from Jeff Stern (jastern@uci.edu)
37fd76
37fd76
* Mon Aug 09 2004 Tom Callaway <tcallawa@redhat.com>
37fd76
- bump to 5.0.0
37fd76
- add patch to prevent clobbering struct re_registers from regex.h
37fd76
- remove domxml references, replaced with dom now built-in
37fd76
- fix php.ini to refer to php5 not php4