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