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