1ceb81
# RHEL / Fedora spec file for php
1ceb81
#
1ceb81
# License: MIT
1ceb81
# http://opensource.org/licenses/MIT
1ceb81
#
1ceb81
# Please preserve changelog entries
1ceb81
#
1ceb81
1ceb81
# API/ABI check
1ceb81
%global apiver      20200930
1ceb81
%global zendver     20200930
1ceb81
%global pdover      20170320
1ceb81
1ceb81
# we don't want -z defs linker flag
1ceb81
%undefine _strict_symbol_defs_build
1ceb81
1ceb81
# Adds -z now to the linker flags
1ceb81
%global _hardened_build 1
1ceb81
1ceb81
# version used for php embedded library soname
1ceb81
%global embed_version 8.0
1ceb81
1ceb81
%global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock)
1ceb81
1ceb81
# Regression tests take a long time, you can skip 'em with this
1ceb81
#global runselftest 0
1ceb81
%{!?runselftest: %global runselftest 1}
1ceb81
1ceb81
# Use the arch-specific mysql_config binary to avoid mismatch with the
1ceb81
# arch detection heuristic used by bindir/mysql_config.
1ceb81
%global mysql_config %{_libdir}/mysql/mysql_config
1ceb81
1ceb81
# needed at srpm build time, when httpd-devel not yet installed
1ceb81
%{!?_httpd_mmn:        %{expand: %%global _httpd_mmn        %%(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}}
1ceb81
1ceb81
%global with_modphp   1
1ceb81
%if 0%{?fedora}
1ceb81
%global with_zts      1
1ceb81
%global with_firebird 1
1ceb81
%global with_imap     1
1ceb81
%global with_freetds  1
1ceb81
%global with_sodium   1
1ceb81
%global with_pspell   1
1ceb81
%global with_lmdb     1
1ceb81
%global with_tidy     1
1ceb81
%else
1ceb81
%global with_zts      0
1ceb81
%global with_firebird 0
1ceb81
%global with_imap     0
1ceb81
%global with_freetds  0
1ceb81
%global with_sodium   0
1ceb81
%global with_pspell   0
1ceb81
%global with_lmdb     0
1ceb81
%global with_tidy     0
1ceb81
%endif
1ceb81
456590
%global upver        8.0.20
1ceb81
#global rcver        RC1
1ceb81
1ceb81
Summary: PHP scripting language for creating dynamic web sites
1ceb81
Name: php
1ceb81
Version: %{upver}%{?rcver:~%{rcver}}
1ceb81
Release: 2%{?dist}
1ceb81
# All files licensed under PHP version 3.01, except
1ceb81
# Zend is licensed under Zend
1ceb81
# TSRM is licensed under BSD
1ceb81
# main/snprintf.c, main/spprintf.c and main/rfc1867.c are ASL 1.0
1ceb81
# ext/date/lib is MIT
1ceb81
# Zend/zend_sort is NCSA
1ceb81
License: PHP and Zend and BSD and MIT and ASL 1.0 and NCSA
1ceb81
URL: http://www.php.net/
1ceb81
1ceb81
Source0: https://www.php.net/distributions/php-%{upver}%{?rcver}.tar.xz
1ceb81
Source1: php.conf
1ceb81
Source2: php.ini
1ceb81
Source3: macros.php
1ceb81
Source4: php-fpm.conf
1ceb81
Source5: php-fpm-www.conf
1ceb81
Source6: php-fpm.service
1ceb81
Source7: php-fpm.logrotate
1ceb81
Source9: php.modconf
1ceb81
Source12: php-fpm.wants
1ceb81
Source13: nginx-fpm.conf
1ceb81
Source14: nginx-php.conf
1ceb81
# See https://secure.php.net/gpg-keys.php
1ceb81
Source20: https://www.php.net/distributions/php-keyring.gpg
1ceb81
Source21: https://www.php.net/distributions/php-%{upver}%{?rcver}.tar.xz.asc
1ceb81
# Configuration files for some extensions
1ceb81
Source50: 10-opcache.ini
1ceb81
Source51: opcache-default.blacklist
1ceb81
Source53: 20-ffi.ini
1ceb81
1ceb81
# Build fixes
1ceb81
Patch1: php-7.4.0-httpd.patch
1ceb81
Patch5: php-7.2.0-includedir.patch
1ceb81
Patch6: php-8.0.0-embed.patch
1ceb81
Patch8: php-7.4.0-libdb.patch
1ceb81
# get rid of deprecated functions from 8.1
1ceb81
Patch9: php-8.0.6-deprecated.patch
1ceb81
1ceb81
# Functional changes
1ceb81
# use system tzdata
456590
Patch42: php-8.0.10-systzdata-v21.patch
1ceb81
# See http://bugs.php.net/53436
1ceb81
Patch43: php-7.4.0-phpize.patch
1ceb81
# Use -lldap_r for OpenLDAP
1ceb81
Patch45: php-7.4.0-ldap_r.patch
1ceb81
# drop "Configure command" from phpinfo output
1ceb81
# and only use gcc (instead of full version)
1ceb81
Patch47: php-8.0.0-phpinfo.patch
1ceb81
# add sha256 / sha512 security protocol, from 8.1
1ceb81
Patch48: php-8.0.10-snmp-sha.patch
1ceb81
# switch phar to use sha256 signature by default, from 8.1
1ceb81
# implement openssl_256 and openssl_512 for phar signatures, from 8.1
1ceb81
Patch49: php-8.0.10-phar-sha.patch
1ceb81
# use system libxcrypt
1ceb81
Patch51: php-8.0.13-crypt.patch
1ceb81
1ceb81
# Upstream fixes (100+)
1ceb81
1ceb81
# Security fixes (200+)
1ceb81
1ceb81
# Fixes for tests (300+)
1ceb81
# Factory is droped from system tzdata
1ceb81
Patch300: php-7.4.0-datetests.patch
1ceb81
1ceb81
1ceb81
BuildRequires: gnupg2
1ceb81
BuildRequires: bzip2-devel
1ceb81
BuildRequires: pkgconfig(libcurl)  >= 7.29.0
1ceb81
BuildRequires: httpd-devel >= 2.0.46-1
1ceb81
BuildRequires: pam-devel
1ceb81
# to ensure we are using httpd with filesystem feature (see #1081453)
1ceb81
BuildRequires: httpd-filesystem
1ceb81
# to ensure we are using nginx with filesystem feature (see #1142298)
1ceb81
BuildRequires: nginx-filesystem
1ceb81
BuildRequires: libstdc++-devel
1ceb81
# no pkgconfig to avoid compat-openssl10
1ceb81
BuildRequires: openssl-devel >= 1.0.1
1ceb81
BuildRequires: pkgconfig(sqlite3) >= 3.7.4
1ceb81
BuildRequires: pkgconfig(zlib) >= 1.2.0.4
1ceb81
BuildRequires: smtpdaemon
1ceb81
BuildRequires: pkgconfig(libedit)
1ceb81
BuildRequires: pkgconfig(libpcre2-8) >= 10.30
456590
BuildRequires: pkgconfig(libxcrypt)
1ceb81
BuildRequires: bzip2
1ceb81
BuildRequires: perl-interpreter
1ceb81
BuildRequires: autoconf
1ceb81
BuildRequires: automake
1ceb81
BuildRequires: make
1ceb81
BuildRequires: gcc
1ceb81
BuildRequires: gcc-c++
1ceb81
BuildRequires: libtool
1ceb81
BuildRequires: libtool-ltdl-devel
1ceb81
BuildRequires: systemtap-sdt-devel
1ceb81
# used for tests
1ceb81
BuildRequires: %{_bindir}/ps
1ceb81
1ceb81
%if %{with_zts}
1ceb81
Provides: php-zts = %{version}-%{release}
1ceb81
Provides: php-zts%{?_isa} = %{version}-%{release}
1ceb81
%endif
1ceb81
1ceb81
%if %{with_modphp}
1ceb81
Requires: httpd-mmn = %{_httpd_mmn}
1ceb81
Provides: mod_php                = %{version}-%{release}
1ceb81
# To ensure correct /var/lib/php/session ownership:
1ceb81
Requires(pre): httpd-filesystem
1ceb81
# php engine for Apache httpd webserver
1ceb81
Provides: php(httpd)
1ceb81
%endif
1ceb81
Requires: php-common%{?_isa}     = %{version}-%{release}
1ceb81
# For backwards-compatibility, pull the "php" command
1ceb81
Recommends: php-cli%{?_isa}      = %{version}-%{release}
1ceb81
# httpd have threaded MPM by default
1ceb81
Recommends: php-fpm%{?_isa}      = %{version}-%{release}
1ceb81
# as "php" is now mostly a meta-package, commonly used extensions
1ceb81
# reduce diff with "dnf module install php"
1ceb81
Recommends: php-mbstring%{?_isa} = %{version}-%{release}
1ceb81
Recommends: php-opcache%{?_isa}  = %{version}-%{release}
1ceb81
Recommends: php-pdo%{?_isa}      = %{version}-%{release}
1ceb81
%if %{with_sodium}
1ceb81
Recommends: php-sodium%{?_isa}   = %{version}-%{release}
1ceb81
%endif
1ceb81
Recommends: php-xml%{?_isa}      = %{version}-%{release}
1ceb81
1ceb81
1ceb81
%description
1ceb81
PHP is an HTML-embedded scripting language. PHP attempts to make it
1ceb81
easy for developers to write dynamically generated web pages. PHP also
1ceb81
offers built-in database integration for several commercial and
1ceb81
non-commercial database management systems, so writing a
1ceb81
database-enabled webpage with PHP is fairly simple. The most common
1ceb81
use of PHP coding is probably as a replacement for CGI scripts.
1ceb81
%if %{with_modphp}
1ceb81
The php package contains the module (often referred to as mod_php)
1ceb81
which adds support for the PHP language to Apache HTTP Server when
1ceb81
running in prefork mode.
1ceb81
%endif
1ceb81
1ceb81
%package cli
1ceb81
Summary: Command-line interface for PHP
1ceb81
# sapi/cli/ps_title.c is PostgreSQL
1ceb81
License: PHP and Zend and BSD and MIT and ASL 1.0 and NCSA and PostgreSQL
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
Provides: php-cgi = %{version}-%{release}, php-cgi%{?_isa} = %{version}-%{release}
1ceb81
Provides: php-pcntl, php-pcntl%{?_isa}
1ceb81
Provides: php-readline, php-readline%{?_isa}
1ceb81
1ceb81
%description cli
1ceb81
The php-cli package contains the command-line interface
1ceb81
executing PHP scripts, /usr/bin/php, and the CGI interface.
1ceb81
1ceb81
1ceb81
%package dbg
1ceb81
Summary: The interactive PHP debugger
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
1ceb81
%description dbg
1ceb81
The php-dbg package contains the interactive PHP debugger.
1ceb81
1ceb81
1ceb81
%package fpm
1ceb81
Summary: PHP FastCGI Process Manager
1ceb81
BuildRequires: libacl-devel
1ceb81
BuildRequires: pkgconfig(libsystemd) >= 209
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
Requires(pre): /usr/sbin/useradd
1ceb81
%{?systemd_requires}
1ceb81
# To ensure correct /var/lib/php/session ownership:
1ceb81
Requires(pre): httpd-filesystem
1ceb81
# For php.conf in /etc/httpd/conf.d
1ceb81
# and version 2.4.10 for proxy support in SetHandler
1ceb81
Requires: httpd-filesystem >= 2.4.10
1ceb81
# php engine for Apache httpd webserver
1ceb81
Provides: php(httpd)
1ceb81
# for /etc/nginx ownership
1ceb81
Requires: nginx-filesystem
1ceb81
1ceb81
%description fpm
1ceb81
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI
1ceb81
implementation with some additional features useful for sites of
1ceb81
any size, especially busier sites.
1ceb81
1ceb81
%package common
1ceb81
Summary: Common files for PHP
1ceb81
# All files licensed under PHP version 3.01, except
1ceb81
# fileinfo is licensed under PHP version 3.0
1ceb81
# regex, libmagic are licensed under BSD
1ceb81
License: PHP and BSD
1ceb81
# ABI/API check - Arch specific
1ceb81
Provides: php(api) = %{apiver}-%{__isa_bits}
1ceb81
Provides: php(zend-abi) = %{zendver}-%{__isa_bits}
1ceb81
Provides: php(language) = %{version}, php(language)%{?_isa} = %{version}
1ceb81
# Provides for all builtin/shared modules:
1ceb81
Provides: php-bz2, php-bz2%{?_isa}
1ceb81
Provides: php-calendar, php-calendar%{?_isa}
1ceb81
Provides: php-core = %{version}, php-core%{?_isa} = %{version}
1ceb81
Provides: php-ctype, php-ctype%{?_isa}
1ceb81
Provides: php-curl, php-curl%{?_isa}
1ceb81
Provides: php-date, php-date%{?_isa}
1ceb81
Provides: bundled(timelib)
1ceb81
Provides: php-exif, php-exif%{?_isa}
1ceb81
Provides: php-fileinfo, php-fileinfo%{?_isa}
1ceb81
Provides: bundled(libmagic) = 5.29
1ceb81
Provides: php-filter, php-filter%{?_isa}
1ceb81
Provides: php-ftp, php-ftp%{?_isa}
1ceb81
Provides: php-gettext, php-gettext%{?_isa}
1ceb81
Provides: php-hash, php-hash%{?_isa}
1ceb81
Provides: php-mhash = %{version}, php-mhash%{?_isa} = %{version}
1ceb81
Provides: php-iconv, php-iconv%{?_isa}
1ceb81
Obsoletes: php-json < 8
1ceb81
Provides: php-json = %{version}, php-json%{?_isa} = %{version}
1ceb81
Provides: php-libxml, php-libxml%{?_isa}
1ceb81
Provides: php-openssl, php-openssl%{?_isa}
1ceb81
Provides: php-phar, php-phar%{?_isa}
1ceb81
Provides: php-pcre, php-pcre%{?_isa}
1ceb81
Provides: php-reflection, php-reflection%{?_isa}
1ceb81
Provides: php-session, php-session%{?_isa}
1ceb81
Provides: php-sockets, php-sockets%{?_isa}
1ceb81
Provides: php-spl, php-spl%{?_isa}
1ceb81
Provides: php-standard = %{version}, php-standard%{?_isa} = %{version}
1ceb81
Provides: php-tokenizer, php-tokenizer%{?_isa}
1ceb81
Provides: php-zlib, php-zlib%{?_isa}
1ceb81
1ceb81
%description common
1ceb81
The php-common package contains files used by both the php
1ceb81
package and the php-cli package.
1ceb81
1ceb81
%package devel
1ceb81
Summary: Files needed for building PHP extensions
1ceb81
Requires: php-cli%{?_isa} = %{version}-%{release}
1ceb81
# always needed to build extension
1ceb81
Requires: autoconf
1ceb81
Requires: automake
1ceb81
Requires: make
1ceb81
Requires: gcc
1ceb81
Requires: gcc-c++
1ceb81
Requires: libtool
1ceb81
# see "php-config --libs"
1ceb81
Requires: krb5-devel%{?_isa}
1ceb81
Requires: libxml2-devel%{?_isa}
1ceb81
Requires: openssl-devel%{?_isa} >= 1.0.1
1ceb81
Requires: pcre2-devel%{?_isa}
1ceb81
Requires: zlib-devel%{?_isa}
1ceb81
Obsoletes: php-pecl-json-devel  < %{version}
1ceb81
Obsoletes: php-pecl-jsonc-devel < %{version}
1ceb81
%if %{with_zts}
1ceb81
Provides: php-zts-devel = %{version}-%{release}
1ceb81
Provides: php-zts-devel%{?_isa} = %{version}-%{release}
1ceb81
%endif
1ceb81
1ceb81
%description devel
1ceb81
The php-devel package contains the files needed for building PHP
1ceb81
extensions. If you need to compile your own PHP extensions, you will
1ceb81
need to install this package.
1ceb81
1ceb81
%package opcache
1ceb81
Summary:   The Zend OPcache
1ceb81
License:   PHP
1ceb81
Requires:  php-common%{?_isa} = %{version}-%{release}
1ceb81
Provides:  php-pecl-zendopcache = %{version}
1ceb81
Provides:  php-pecl-zendopcache%{?_isa} = %{version}
1ceb81
Provides:  php-pecl(opcache) = %{version}
1ceb81
Provides:  php-pecl(opcache)%{?_isa} = %{version}
1ceb81
1ceb81
%description opcache
1ceb81
The Zend OPcache provides faster PHP execution through opcode caching and
1ceb81
optimization. It improves PHP performance by storing precompiled script
1ceb81
bytecode in the shared memory. This eliminates the stages of reading code from
1ceb81
the disk and compiling it on future access. In addition, it applies a few
1ceb81
bytecode optimization patterns that make code execution faster.
1ceb81
1ceb81
%if %{with_imap}
1ceb81
%package imap
1ceb81
Summary: A module for PHP applications that use IMAP
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
BuildRequires: pkgconfig(krb5)
1ceb81
BuildRequires: pkgconfig(krb5-gssapi)
1ceb81
BuildRequires: openssl-devel >= 1.0.1
1ceb81
BuildRequires: libc-client-devel
1ceb81
1ceb81
%description imap
1ceb81
The php-imap module will add IMAP (Internet Message Access Protocol)
1ceb81
support to PHP. IMAP is a protocol for retrieving and uploading e-mail
1ceb81
messages on mail servers. PHP is an HTML-embedded scripting language.
1ceb81
%endif
1ceb81
1ceb81
%package ldap
1ceb81
Summary: A module for PHP applications that use LDAP
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
BuildRequires: pkgconfig(libsasl2)
1ceb81
BuildRequires: openldap-devel
1ceb81
BuildRequires: openssl-devel >= 1.0.1
1ceb81
1ceb81
%description ldap
1ceb81
The php-ldap adds Lightweight Directory Access Protocol (LDAP)
1ceb81
support to PHP. LDAP is a set of protocols for accessing directory
1ceb81
services over the Internet. PHP is an HTML-embedded scripting
1ceb81
language.
1ceb81
1ceb81
%package pdo
1ceb81
Summary: A database access abstraction module for PHP applications
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
# ABI/API check - Arch specific
1ceb81
Provides: php-pdo-abi  = %{pdover}-%{__isa_bits}
1ceb81
Provides: php(pdo-abi) = %{pdover}-%{__isa_bits}
1ceb81
Provides: php-sqlite3, php-sqlite3%{?_isa}
1ceb81
Provides: php-pdo_sqlite, php-pdo_sqlite%{?_isa}
1ceb81
1ceb81
%description pdo
1ceb81
The php-pdo package contains a dynamic shared object that will add
1ceb81
a database access abstraction layer to PHP.  This module provides
1ceb81
a common interface for accessing MySQL, PostgreSQL or other
1ceb81
databases.
1ceb81
1ceb81
%package mysqlnd
1ceb81
Summary: A module for PHP applications that use MySQL databases
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-pdo%{?_isa} = %{version}-%{release}
1ceb81
Provides: php_database
1ceb81
Provides: php-mysqli = %{version}-%{release}
1ceb81
Provides: php-mysqli%{?_isa} = %{version}-%{release}
1ceb81
Provides: php-pdo_mysql, php-pdo_mysql%{?_isa}
1ceb81
1ceb81
%description mysqlnd
1ceb81
The php-mysqlnd package contains a dynamic shared object that will add
1ceb81
MySQL database support to PHP. MySQL is an object-relational database
1ceb81
management system. PHP is an HTML-embeddable scripting language. If
1ceb81
you need MySQL support for PHP applications, you will need to install
1ceb81
this package and the php package.
1ceb81
1ceb81
This package use the MySQL Native Driver
1ceb81
1ceb81
%package pgsql
1ceb81
Summary: A PostgreSQL database module for PHP
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-pdo%{?_isa} = %{version}-%{release}
1ceb81
Provides: php_database
1ceb81
Provides: php-pdo_pgsql, php-pdo_pgsql%{?_isa}
1ceb81
BuildRequires: krb5-devel
1ceb81
BuildRequires: openssl-devel >= 1.0.1
1ceb81
BuildRequires: libpq-devel
1ceb81
1ceb81
%description pgsql
1ceb81
The php-pgsql package add PostgreSQL database support to PHP.
1ceb81
PostgreSQL is an object-relational database management
1ceb81
system that supports almost all SQL constructs. PHP is an
1ceb81
HTML-embedded scripting language. If you need back-end support for
1ceb81
PostgreSQL, you should install this package in addition to the main
1ceb81
php package.
1ceb81
1ceb81
%package process
1ceb81
Summary: Modules for PHP script using system process interfaces
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
Provides: php-posix, php-posix%{?_isa}
1ceb81
Provides: php-shmop, php-shmop%{?_isa}
1ceb81
Provides: php-sysvsem, php-sysvsem%{?_isa}
1ceb81
Provides: php-sysvshm, php-sysvshm%{?_isa}
1ceb81
Provides: php-sysvmsg, php-sysvmsg%{?_isa}
1ceb81
1ceb81
%description process
1ceb81
The php-process package contains dynamic shared objects which add
1ceb81
support to PHP using system interfaces for inter-process
1ceb81
communication.
1ceb81
1ceb81
%package odbc
1ceb81
Summary: A module for PHP applications that use ODBC databases
1ceb81
# All files licensed under PHP version 3.01, except
1ceb81
# pdo_odbc is licensed under PHP version 3.0
1ceb81
License: PHP
1ceb81
Requires: php-pdo%{?_isa} = %{version}-%{release}
1ceb81
Provides: php_database
1ceb81
Provides: php-pdo_odbc, php-pdo_odbc%{?_isa}
1ceb81
BuildRequires: unixODBC-devel
1ceb81
1ceb81
%description odbc
1ceb81
The php-odbc package contains a dynamic shared object that will add
1ceb81
database support through ODBC to PHP. ODBC is an open specification
1ceb81
which provides a consistent API for developers to use for accessing
1ceb81
data sources (which are often, but not always, databases). PHP is an
1ceb81
HTML-embeddable scripting language. If you need ODBC support for PHP
1ceb81
applications, you will need to install this package and the php
1ceb81
package.
1ceb81
1ceb81
%package soap
1ceb81
Summary: A module for PHP applications that use the SOAP protocol
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
BuildRequires: pkgconfig(libxml-2.0)
1ceb81
1ceb81
%description soap
1ceb81
The php-soap package contains a dynamic shared object that will add
1ceb81
support to PHP for using the SOAP web services protocol.
1ceb81
1ceb81
%if %{with_firebird}
1ceb81
%package pdo-firebird
1ceb81
Summary: PDO driver for Interbase/Firebird databases
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
# for fb_config command
1ceb81
BuildRequires:  firebird-devel
1ceb81
Requires: php-pdo%{?_isa} = %{version}-%{release}
1ceb81
Provides: php_database
1ceb81
Provides: php-pdo_firebird, php-pdo_firebird%{?_isa}
1ceb81
1ceb81
%description pdo-firebird
1ceb81
The php-pdo-firebird package contains the PDO driver for
1ceb81
Interbase/Firebird databases.
1ceb81
%endif
1ceb81
1ceb81
%package snmp
1ceb81
Summary: A module for PHP applications that query SNMP-managed devices
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}, net-snmp
1ceb81
BuildRequires: net-snmp-devel
1ceb81
1ceb81
%description snmp
1ceb81
The php-snmp package contains a dynamic shared object that will add
1ceb81
support for querying SNMP devices to PHP.  PHP is an HTML-embeddable
1ceb81
scripting language. If you need SNMP support for PHP applications, you
1ceb81
will need to install this package and the php package.
1ceb81
1ceb81
%package xml
1ceb81
Summary: A module for PHP applications which use XML
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
Provides: php-dom, php-dom%{?_isa}
1ceb81
Provides: php-domxml, php-domxml%{?_isa}
1ceb81
Provides: php-simplexml, php-simplexml%{?_isa}
1ceb81
Provides: php-xmlreader, php-xmlreader%{?_isa}
1ceb81
Provides: php-xmlwriter, php-xmlwriter%{?_isa}
1ceb81
Provides: php-xsl, php-xsl%{?_isa}
1ceb81
BuildRequires: pkgconfig(libxslt)  >= 1.1
1ceb81
BuildRequires: pkgconfig(libexslt)
1ceb81
BuildRequires: pkgconfig(libxml-2.0)  >= 2.7.6
1ceb81
1ceb81
%description xml
1ceb81
The php-xml package contains dynamic shared objects which add support
1ceb81
to PHP for manipulating XML documents using the DOM tree,
1ceb81
and performing XSL transformations on XML documents.
1ceb81
1ceb81
%package mbstring
1ceb81
Summary: A module for PHP applications which need multi-byte string handling
1ceb81
# All files licensed under PHP version 3.01, except
1ceb81
# libmbfl is licensed under LGPLv2
1ceb81
# ucgendat is licensed under OpenLDAP
1ceb81
License: PHP and LGPLv2 and OpenLDAP
1ceb81
BuildRequires: pkgconfig(oniguruma) >= 6.8
1ceb81
Provides: bundled(libmbfl) = 1.3.2
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
1ceb81
%description mbstring
1ceb81
The php-mbstring package contains a dynamic shared object that will add
1ceb81
support for multi-byte string handling to PHP.
1ceb81
1ceb81
%package gd
1ceb81
Summary: A module for PHP applications for using the gd graphics library
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
BuildRequires: pkgconfig(gdlib) >= 2.1.1
1ceb81
1ceb81
%description gd
1ceb81
The php-gd package contains a dynamic shared object that will add
1ceb81
support for using the gd graphics library to PHP.
1ceb81
1ceb81
%package bcmath
1ceb81
Summary: A module for PHP applications for using the bcmath library
1ceb81
# All files licensed under PHP version 3.01, except
1ceb81
# libbcmath is licensed under LGPLv2+
1ceb81
License: PHP and LGPLv2+
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
1ceb81
%description bcmath
1ceb81
The php-bcmath package contains a dynamic shared object that will add
1ceb81
support for using the bcmath library to PHP.
1ceb81
1ceb81
%package gmp
1ceb81
Summary: A module for PHP applications for using the GNU MP library
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
BuildRequires: gmp-devel
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
1ceb81
%description gmp
1ceb81
These functions allow you to work with arbitrary-length integers
1ceb81
using the GNU MP library.
1ceb81
1ceb81
%package dba
1ceb81
Summary: A database abstraction layer module for PHP applications
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
BuildRequires: libdb-devel
1ceb81
BuildRequires: tokyocabinet-devel
1ceb81
%if %{with_lmdb}
1ceb81
BuildRequires: lmdb-devel
1ceb81
%endif
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
1ceb81
%description dba
1ceb81
The php-dba package contains a dynamic shared object that will add
1ceb81
support for using the DBA database abstraction layer to PHP.
1ceb81
1ceb81
%if %{with_tidy}
1ceb81
%package tidy
1ceb81
Summary: Standard PHP module provides tidy library support
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
BuildRequires: libtidy-devel
1ceb81
1ceb81
%description tidy
1ceb81
The php-tidy package contains a dynamic shared object that will add
1ceb81
support for using the tidy library to PHP.
1ceb81
%endif
1ceb81
1ceb81
%if %{with_freetds}
1ceb81
%package pdo-dblib
1ceb81
Summary: PDO driver for Microsoft SQL Server and Sybase databases
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-pdo%{?_isa} = %{version}-%{release}
1ceb81
BuildRequires: freetds-devel
1ceb81
Provides: php-pdo_dblib, php-pdo_dblib%{?_isa}
1ceb81
1ceb81
%description pdo-dblib
1ceb81
The php-pdo-dblib package contains a dynamic shared object
1ceb81
that implements the PHP Data Objects (PDO) interface to enable access from
1ceb81
PHP to Microsoft SQL Server and Sybase databases through the FreeTDS library.
1ceb81
%endif
1ceb81
1ceb81
%package embedded
1ceb81
Summary: PHP library for embedding in applications
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
# doing a real -devel package for just the .so symlink is a bit overkill
1ceb81
Provides: php-embedded-devel = %{version}-%{release}
1ceb81
Provides: php-embedded-devel%{?_isa} = %{version}-%{release}
1ceb81
1ceb81
%description embedded
1ceb81
The php-embedded package contains a library which can be embedded
1ceb81
into applications to provide PHP scripting language support.
1ceb81
1ceb81
%if %{with_pspell}
1ceb81
%package pspell
1ceb81
Summary: A module for PHP applications for using pspell interfaces
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
BuildRequires: aspell-devel >= 0.50.0
1ceb81
1ceb81
%description pspell
1ceb81
The php-pspell package contains a dynamic shared object that will add
1ceb81
support for using the pspell library to PHP.
1ceb81
%endif
1ceb81
1ceb81
%package intl
1ceb81
Summary: Internationalization extension for PHP applications
1ceb81
# All files licensed under PHP version 3.01
1ceb81
License: PHP
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
BuildRequires: pkgconfig(icu-i18n) >= 50.1
1ceb81
BuildRequires: pkgconfig(icu-io)   >= 50.1
1ceb81
BuildRequires: pkgconfig(icu-uc)   >= 50.1
1ceb81
1ceb81
%description intl
1ceb81
The php-intl package contains a dynamic shared object that will add
1ceb81
support for using the ICU library to PHP.
1ceb81
1ceb81
%package enchant
1ceb81
Summary: Enchant spelling extension for PHP applications
1ceb81
# All files licensed under PHP version 3.0
1ceb81
License: PHP
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
BuildRequires: pkgconfig(enchant-2)
1ceb81
1ceb81
%description enchant
1ceb81
The php-enchant package contains a dynamic shared object that will add
1ceb81
support for using the enchant library to PHP.
1ceb81
1ceb81
%if %{with_sodium}
1ceb81
%package sodium
1ceb81
Summary: Wrapper for the Sodium cryptographic library
1ceb81
# All files licensed under PHP version 3.0.1
1ceb81
License: PHP
1ceb81
BuildRequires:  pkgconfig(libsodium) >= 1.0.9
1ceb81
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
Obsoletes: php-pecl-libsodium2 < 3
1ceb81
Provides:  php-pecl(libsodium)         = %{version}
1ceb81
Provides:  php-pecl(libsodium)%{?_isa} = %{version}
1ceb81
1ceb81
%description sodium
1ceb81
The php-sodium package provides a simple,
1ceb81
low-level PHP extension for the libsodium cryptographic library.
1ceb81
%endif
1ceb81
1ceb81
1ceb81
%package ffi
1ceb81
Summary: Foreign Function Interface
1ceb81
# All files licensed under PHP version 3.0.1
1ceb81
License: PHP
1ceb81
Group: System Environment/Libraries
1ceb81
BuildRequires:  pkgconfig(libffi)
1ceb81
Requires: php-common%{?_isa} = %{version}-%{release}
1ceb81
1ceb81
%description ffi
1ceb81
FFI is one of the features that made Python and LuaJIT very useful for fast
1ceb81
prototyping. It allows calling C functions and using C data types from pure
1ceb81
scripting language and therefore develop “system code” more productively.
1ceb81
1ceb81
For PHP, FFI opens a way to write PHP extensions and bindings to C libraries
1ceb81
in pure PHP.
1ceb81
1ceb81
1ceb81
%prep
1ceb81
%{?gpgverify:%{gpgverify} --keyring='%{SOURCE20}' --signature='%{SOURCE21}' --data='%{SOURCE0}'}
1ceb81
1ceb81
%setup -q -n php-%{upver}%{?rcver}
1ceb81
1ceb81
%patch1 -p1 -b .mpmcheck
1ceb81
%patch5 -p1 -b .includedir
1ceb81
%patch6 -p1 -b .embed
1ceb81
%patch8 -p1 -b .libdb
1ceb81
%patch9 -p1 -b .deprecated
1ceb81
1ceb81
%patch42 -p1 -b .systzdata
1ceb81
%patch43 -p1 -b .headers
1ceb81
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
1ceb81
%patch45 -p1 -b .ldap_r
1ceb81
%endif
1ceb81
%patch47 -p1 -b .phpinfo
1ceb81
%patch48 -p1 -b .sha
1ceb81
%patch49 -p1 -b .pharsha
1ceb81
%patch51 -p1 -b .libxcrypt
1ceb81
1ceb81
# upstream patches
1ceb81
1ceb81
# security patches
1ceb81
1ceb81
# Fixes for tests
1ceb81
%patch300 -p1 -b .datetests
1ceb81
1ceb81
1ceb81
# Prevent %%doc confusion over LICENSE files
456590
cp Zend/LICENSE ZEND_LICENSE
1ceb81
cp TSRM/LICENSE TSRM_LICENSE
1ceb81
cp sapi/fpm/LICENSE fpm_LICENSE
1ceb81
cp ext/mbstring/libmbfl/LICENSE libmbfl_LICENSE
1ceb81
cp ext/fileinfo/libmagic/LICENSE libmagic_LICENSE
1ceb81
cp ext/bcmath/libbcmath/LICENSE libbcmath_LICENSE
1ceb81
cp ext/date/lib/LICENSE.rst timelib_LICENSE
1ceb81
1ceb81
# Multiple builds for multiple SAPIs
1ceb81
mkdir build-cgi build-embedded \
1ceb81
%if %{with_modphp}
1ceb81
    build-apache \
1ceb81
%endif
1ceb81
%if %{with_zts}
1ceb81
    build-zts build-ztscli \
1ceb81
%endif
1ceb81
    build-fpm
1ceb81
1ceb81
# ----- Manage known as failed test -------
1ceb81
# affected by systzdata patch
1ceb81
rm ext/date/tests/timezone_location_get.phpt
1ceb81
rm ext/date/tests/timezone_version_get.phpt
1ceb81
rm ext/date/tests/timezone_version_get_basic1.phpt
1ceb81
rm ext/date/tests/bug33415-2.phpt
1ceb81
# expired cert TODO fixed in 8.0.15
1ceb81
rm ext/openssl/tests/openssl_x509_checkpurpose_basic.phpt
1ceb81
# fails sometime
1ceb81
rm ext/sockets/tests/mcast_ipv?_recv.phpt
1ceb81
# cause stack exhausion
1ceb81
rm Zend/tests/bug54268.phpt
1ceb81
rm Zend/tests/bug68412.phpt
1ceb81
# tar issue
1ceb81
rm ext/zlib/tests/004-mb.phpt
1ceb81
1ceb81
# Safety check for API version change.
1ceb81
pver=$(sed -n '/#define PHP_VERSION /{s/.* "//;s/".*$//;p}' main/php_version.h)
1ceb81
if test "x${pver}" != "x%{upver}%{?rcver}"; then
1ceb81
   : Error: Upstream PHP version is now ${pver}, expecting %{upver}%{?rcver}.
1ceb81
   : Update the version/rcver macros and rebuild.
1ceb81
   exit 1
1ceb81
fi
1ceb81
1ceb81
vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
1ceb81
if test "x${vapi}" != "x%{apiver}"; then
1ceb81
   : Error: Upstream API version is now ${vapi}, expecting %{apiver}.
1ceb81
   : Update the apiver macro and rebuild.
1ceb81
   exit 1
1ceb81
fi
1ceb81
1ceb81
vzend=`sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h`
1ceb81
if test "x${vzend}" != "x%{zendver}"; then
1ceb81
   : Error: Upstream Zend ABI version is now ${vzend}, expecting %{zendver}.
1ceb81
   : Update the zendver macro and rebuild.
1ceb81
   exit 1
1ceb81
fi
1ceb81
1ceb81
# Safety check for PDO ABI version change
1ceb81
vpdo=`sed -n '/#define PDO_DRIVER_API/{s/.*[ 	]//;p}' ext/pdo/php_pdo_driver.h`
1ceb81
if test "x${vpdo}" != "x%{pdover}"; then
1ceb81
   : Error: Upstream PDO ABI version is now ${vpdo}, expecting %{pdover}.
1ceb81
   : Update the pdover macro and rebuild.
1ceb81
   exit 1
1ceb81
fi
1ceb81
1ceb81
# https://bugs.php.net/63362 - Not needed but installed headers.
1ceb81
# Drop some Windows specific headers to avoid installation,
1ceb81
# before build to ensure they are really not needed.
1ceb81
rm -f TSRM/tsrm_win32.h \
1ceb81
      TSRM/tsrm_config.w32.h \
1ceb81
      Zend/zend_config.w32.h \
1ceb81
      ext/mysqlnd/config-win.h \
1ceb81
      ext/standard/winver.h \
1ceb81
      main/win32_internal_function_disabled.h \
1ceb81
      main/win95nt.h
1ceb81
1ceb81
# Fix some bogus permissions
1ceb81
find . -name \*.[ch] -exec chmod 644 {} \;
1ceb81
chmod 644 README.*
1ceb81
1ceb81
# Some extensions have their own configuration file
1ceb81
cp %{SOURCE50} %{SOURCE51} %{SOURCE53} .
1ceb81
1ceb81
1ceb81
%build
1ceb81
# Set build date from https://reproducible-builds.org/specs/source-date-epoch/
1ceb81
export SOURCE_DATE_EPOCH=$(date +%s -r NEWS)
1ceb81
export PHP_UNAME=$(uname)
1ceb81
export PHP_BUILD_SYSTEM=$(cat /etc/redhat-release | sed -e 's/ Beta//')
1ceb81
%if 0%{?vendor:1}
1ceb81
export PHP_BUILD_PROVIDER="%{vendor}"
1ceb81
%endif
1ceb81
export PHP_BUILD_COMPILER="$(gcc --version | head -n1)"
1ceb81
export PHP_BUILD_ARCH="%{_arch}"
1ceb81
1ceb81
# Force use of system libtool:
1ceb81
libtoolize --force --copy
1ceb81
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >build/libtool.m4
1ceb81
1ceb81
# Regenerate configure scripts (patches change config.m4's)
1ceb81
touch configure.ac
1ceb81
./buildconf --force
1ceb81
1ceb81
CFLAGS=$(echo $RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign | sed 's/-mstackrealign//')
1ceb81
export CFLAGS
1ceb81
1ceb81
# Install extension modules in %%{_libdir}/php/modules.
1ceb81
EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
1ceb81
1ceb81
# Set PEAR_INSTALLDIR to ensure that the hard-coded include_path
1ceb81
# includes the PEAR directory even though pear is packaged
1ceb81
# separately.
1ceb81
PEAR_INSTALLDIR=%{_datadir}/pear; export PEAR_INSTALLDIR
1ceb81
1ceb81
# Shell function to configure and build a PHP tree.
1ceb81
build() {
1ceb81
# Old/recent bison version seems to produce a broken parser;
1ceb81
# upstream uses GNU Bison 2.3. Workaround:
1ceb81
mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend
1ceb81
1ceb81
# Always static:
1ceb81
# date, ereg, filter, libxml, reflection, spl: not supported
1ceb81
# hash: for PHAR_SIG_SHA256 and PHAR_SIG_SHA512
1ceb81
# session: dep on hash, used by soap
1ceb81
# pcre: used by filter, zip
1ceb81
# pcntl, readline: only used by CLI sapi
1ceb81
# openssl: for PHAR_SIG_OPENSSL
1ceb81
# zlib: used by image
1ceb81
1ceb81
ln -sf ../configure
1ceb81
%configure \
1ceb81
    --enable-rtld-now \
1ceb81
    --cache-file=../config.cache \
1ceb81
    --with-libdir=%{_lib} \
1ceb81
    --with-config-file-path=%{_sysconfdir} \
1ceb81
    --with-config-file-scan-dir=%{_sysconfdir}/php.d \
1ceb81
    --disable-debug \
1ceb81
    --with-pic \
1ceb81
    --disable-rpath \
1ceb81
    --without-pear \
1ceb81
    --with-exec-dir=%{_bindir} \
1ceb81
    --without-gdbm \
1ceb81
    --with-openssl \
1ceb81
    --with-system-ciphers \
1ceb81
    --with-external-pcre \
1ceb81
    --with-external-libcrypt \
1ceb81
%ifarch s390 s390x sparc64 sparcv9 riscv64
1ceb81
    --without-pcre-jit \
1ceb81
%endif
1ceb81
    --with-zlib \
1ceb81
    --with-layout=GNU \
1ceb81
    --with-kerberos \
1ceb81
    --with-libxml \
1ceb81
    --with-system-tzdata \
1ceb81
    --with-mhash \
1ceb81
    --without-password-argon2 \
1ceb81
    --enable-dtrace \
1ceb81
    $*
1ceb81
if test $? != 0; then
1ceb81
  tail -500 config.log
1ceb81
  : configure failed
1ceb81
  exit 1
1ceb81
fi
1ceb81
1ceb81
make %{?_smp_mflags}
1ceb81
}
1ceb81
1ceb81
# Build /usr/bin/php-cgi with the CGI SAPI, and most shared extensions
1ceb81
pushd build-cgi
1ceb81
1ceb81
build --libdir=%{_libdir}/php \
1ceb81
      --enable-pcntl \
1ceb81
      --enable-opcache \
1ceb81
      --enable-phpdbg \
1ceb81
%if %{with_imap}
1ceb81
      --with-imap=shared --with-imap-ssl \
1ceb81
%endif
1ceb81
      --enable-mbstring=shared \
1ceb81
      --enable-mbregex \
1ceb81
      --enable-gd=shared \
1ceb81
      --with-external-gd \
1ceb81
      --with-gmp=shared \
1ceb81
      --enable-calendar=shared \
1ceb81
      --enable-bcmath=shared \
1ceb81
      --with-bz2=shared \
1ceb81
      --enable-ctype=shared \
1ceb81
      --enable-dba=shared --with-db4=%{_prefix} \
1ceb81
                          --with-tcadb=%{_prefix} \
1ceb81
%if %{with_lmdb}
1ceb81
                          --with-lmdb=%{_prefix} \
1ceb81
%endif
1ceb81
      --enable-exif=shared \
1ceb81
      --enable-ftp=shared \
1ceb81
      --with-gettext=shared \
1ceb81
      --with-iconv=shared \
1ceb81
      --enable-sockets=shared \
1ceb81
      --enable-tokenizer=shared \
1ceb81
      --with-ldap=shared --with-ldap-sasl \
1ceb81
      --enable-mysqlnd=shared \
1ceb81
      --with-mysqli=shared,mysqlnd \
1ceb81
      --with-mysql-sock=%{mysql_sock} \
1ceb81
%if %{with_firebird}
1ceb81
      --with-pdo-firebird=shared \
1ceb81
%endif
1ceb81
      --enable-dom=shared \
1ceb81
      --with-pgsql=shared \
1ceb81
      --enable-simplexml=shared \
1ceb81
      --enable-xml=shared \
1ceb81
      --with-snmp=shared,%{_prefix} \
1ceb81
      --enable-soap=shared \
1ceb81
      --with-xsl=shared,%{_prefix} \
1ceb81
      --enable-xmlreader=shared --enable-xmlwriter=shared \
1ceb81
      --with-curl=shared \
1ceb81
      --enable-pdo=shared \
1ceb81
      --with-pdo-odbc=shared,unixODBC,%{_prefix} \
1ceb81
      --with-pdo-mysql=shared,mysqlnd \
1ceb81
      --with-pdo-pgsql=shared,%{_prefix} \
1ceb81
      --with-pdo-sqlite=shared \
1ceb81
%if %{with_freetds}
1ceb81
      --with-pdo-dblib=shared,%{_prefix} \
1ceb81
%endif
1ceb81
      --with-sqlite3=shared \
1ceb81
      --without-readline \
1ceb81
      --with-libedit \
1ceb81
%if %{with_pspell}
1ceb81
      --with-pspell=shared \
1ceb81
%endif
1ceb81
      --enable-phar=shared \
1ceb81
%if %{with_tidy}
1ceb81
      --with-tidy=shared,%{_prefix} \
1ceb81
%endif
1ceb81
      --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
1ceb81
      --enable-shmop=shared \
1ceb81
      --enable-posix=shared \
1ceb81
      --with-unixODBC=shared,%{_prefix} \
1ceb81
      --enable-fileinfo=shared \
1ceb81
      --with-ffi=shared \
1ceb81
%if %{with_sodium}
1ceb81
      --with-sodium=shared \
1ceb81
%else
1ceb81
      --without-sodium \
1ceb81
%endif
1ceb81
      --enable-intl=shared \
1ceb81
      --with-enchant=shared
1ceb81
popd
1ceb81
1ceb81
without_shared="--without-gd \
1ceb81
      --disable-dom --disable-dba --without-unixODBC \
1ceb81
      --disable-opcache \
1ceb81
      --disable-phpdbg \
1ceb81
      --without-ffi \
1ceb81
      --disable-xmlreader --disable-xmlwriter \
1ceb81
      --without-sodium \
1ceb81
      --without-sqlite3 --disable-phar --disable-fileinfo \
1ceb81
      --without-pspell \
1ceb81
      --without-curl --disable-posix --disable-xml \
1ceb81
      --disable-simplexml --disable-exif --without-gettext \
1ceb81
      --without-iconv --disable-ftp --without-bz2 --disable-ctype \
1ceb81
      --disable-shmop --disable-sockets --disable-tokenizer \
1ceb81
      --disable-sysvmsg --disable-sysvshm --disable-sysvsem"
1ceb81
1ceb81
%if %{with_modphp}
1ceb81
# Build Apache module, and the CLI SAPI, /usr/bin/php
1ceb81
pushd build-apache
1ceb81
build --with-apxs2=%{_httpd_apxs} \
1ceb81
      --libdir=%{_libdir}/php \
1ceb81
      --without-mysqli \
1ceb81
      --disable-pdo \
1ceb81
      ${without_shared}
1ceb81
popd
1ceb81
%endif
1ceb81
1ceb81
# Build php-fpm
1ceb81
pushd build-fpm
1ceb81
build --enable-fpm \
1ceb81
      --with-fpm-acl \
1ceb81
      --with-fpm-systemd \
1ceb81
      --libdir=%{_libdir}/php \
1ceb81
      --without-mysqli \
1ceb81
      --disable-pdo \
1ceb81
      ${without_shared}
1ceb81
popd
1ceb81
1ceb81
# Build for inclusion as embedded script language into applications,
1ceb81
# /usr/lib[64]/libphp7.so
1ceb81
pushd build-embedded
1ceb81
build --enable-embed \
1ceb81
      --without-mysqli --disable-pdo \
1ceb81
      ${without_shared}
1ceb81
popd
1ceb81
1ceb81
%if %{with_zts}
1ceb81
# Build a special thread-safe (mainly for modules)
1ceb81
pushd build-ztscli
1ceb81
1ceb81
EXTENSION_DIR=%{_libdir}/php-zts/modules
1ceb81
build --includedir=%{_includedir}/php-zts \
1ceb81
      --libdir=%{_libdir}/php-zts \
1ceb81
      --enable-zts \
1ceb81
      --program-prefix=zts- \
1ceb81
      --disable-cgi \
1ceb81
      --with-config-file-scan-dir=%{_sysconfdir}/php-zts.d \
1ceb81
      --enable-pcntl \
1ceb81
      --enable-opcache \
1ceb81
%if %{with_imap}
1ceb81
      --with-imap=shared --with-imap-ssl \
1ceb81
%endif
1ceb81
      --enable-mbstring=shared \
1ceb81
      --enable-mbregex \
1ceb81
      --enable-gd=shared \
1ceb81
      --with-external-gd \
1ceb81
      --with-gmp=shared \
1ceb81
      --enable-calendar=shared \
1ceb81
      --enable-bcmath=shared \
1ceb81
      --with-bz2=shared \
1ceb81
      --enable-ctype=shared \
1ceb81
      --enable-dba=shared --with-db4=%{_prefix} \
1ceb81
                          --with-tcadb=%{_prefix} \
1ceb81
%if %{with_lmdb}
1ceb81
                          --with-lmdb=%{_prefix} \
1ceb81
%endif
1ceb81
      --with-gettext=shared \
1ceb81
      --with-iconv=shared \
1ceb81
      --enable-sockets=shared \
1ceb81
      --enable-tokenizer=shared \
1ceb81
      --enable-exif=shared \
1ceb81
      --enable-ftp=shared \
1ceb81
      --with-ldap=shared --with-ldap-sasl \
1ceb81
      --enable-mysqlnd=shared \
1ceb81
      --with-mysqli=shared,mysqlnd \
1ceb81
      --with-mysql-sock=%{mysql_sock} \
1ceb81
      --enable-mysqlnd-threading \
1ceb81
%if %{with_firebird}
1ceb81
      --with-pdo-firebird=shared \
1ceb81
%endif
1ceb81
      --enable-dom=shared \
1ceb81
      --with-pgsql=shared \
1ceb81
      --enable-simplexml=shared \
1ceb81
      --enable-xml=shared \
1ceb81
      --with-snmp=shared,%{_prefix} \
1ceb81
      --enable-soap=shared \
1ceb81
      --with-xsl=shared,%{_prefix} \
1ceb81
      --enable-xmlreader=shared --enable-xmlwriter=shared \
1ceb81
      --with-curl=shared \
1ceb81
      --enable-pdo=shared \
1ceb81
      --with-pdo-odbc=shared,unixODBC,%{_prefix} \
1ceb81
      --with-pdo-mysql=shared,mysqlnd \
1ceb81
      --with-pdo-pgsql=shared,%{_prefix} \
1ceb81
      --with-pdo-sqlite=shared \
1ceb81
%if %{with_freetds}
1ceb81
      --with-pdo-dblib=shared,%{_prefix} \
1ceb81
%endif
1ceb81
      --with-sqlite3=shared \
1ceb81
      --without-readline \
1ceb81
      --with-libedit \
1ceb81
%if %{with_pspell}
1ceb81
      --with-pspell=shared \
1ceb81
%endif
1ceb81
      --enable-phar=shared \
1ceb81
%if %{with_tidy}
1ceb81
      --with-tidy=shared,%{_prefix} \
1ceb81
%endif
1ceb81
      --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
1ceb81
      --enable-shmop=shared \
1ceb81
      --enable-posix=shared \
1ceb81
      --with-unixODBC=shared,%{_prefix} \
1ceb81
      --enable-fileinfo=shared \
1ceb81
      --with-ffi=shared \
1ceb81
%if %{with_sodium}
1ceb81
      --with-sodium=shared \
1ceb81
%else
1ceb81
      --without-sodium \
1ceb81
%endif
1ceb81
      --enable-intl=shared \
1ceb81
      --with-enchant=shared
1ceb81
popd
1ceb81
1ceb81
### NOTE!!! EXTENSION_DIR was changed for the -zts build, so it must remain
1ceb81
### the last SAPI to be built.
1ceb81
%endif
1ceb81
1ceb81
1ceb81
%check
1ceb81
%if %runselftest
1ceb81
cd build-fpm
1ceb81
1ceb81
# Run tests, using the CLI SAPI
1ceb81
export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
1ceb81
export SKIP_ONLINE_TESTS=1
1ceb81
export SKIP_IO_CAPTURE_TESTS=1
1ceb81
unset TZ LANG LC_ALL
1ceb81
if ! make test TESTS=-j4; then
1ceb81
  set +x
1ceb81
  for f in $(find .. -name \*.diff -type f -print); do
1ceb81
    if ! grep -q XFAIL "${f/.diff/.phpt}"
1ceb81
    then
1ceb81
      echo "TEST FAILURE: $f --"
1ceb81
      cat "$f"
1ceb81
      echo -e "\n-- $f result ends."
1ceb81
    fi
1ceb81
  done
1ceb81
  set -x
1ceb81
  #exit 1
1ceb81
fi
1ceb81
unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
1ceb81
%endif
1ceb81
1ceb81
%install
1ceb81
%if %{with_zts}
1ceb81
# Install the extensions for the ZTS version
1ceb81
make -C build-ztscli install \
1ceb81
     INSTALL_ROOT=$RPM_BUILD_ROOT
1ceb81
%endif
1ceb81
1ceb81
# Install the version for embedded script language in applications + php_embed.h
1ceb81
make -C build-embedded install-sapi install-headers \
1ceb81
     INSTALL_ROOT=$RPM_BUILD_ROOT
1ceb81
1ceb81
# Install the php-fpm binary
1ceb81
make -C build-fpm install-fpm \
1ceb81
     INSTALL_ROOT=$RPM_BUILD_ROOT
1ceb81
1ceb81
# Install everything from the CGI SAPI build
1ceb81
make -C build-cgi install \
1ceb81
     INSTALL_ROOT=$RPM_BUILD_ROOT
1ceb81
1ceb81
# Use php-config from embed SAPI to reduce used libs
1ceb81
install -m 755 build-embedded/scripts/php-config $RPM_BUILD_ROOT%{_bindir}/php-config
1ceb81
1ceb81
# Install the default configuration file
1ceb81
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
1ceb81
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1ceb81
1ceb81
# For third-party packaging:
1ceb81
install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/php/preload
1ceb81
1ceb81
%if %{with_modphp}
1ceb81
# install the DSO
1ceb81
install -m 755 -d $RPM_BUILD_ROOT%{_httpd_moddir}
1ceb81
install -m 755 build-apache/libs/libphp.so $RPM_BUILD_ROOT%{_httpd_moddir}
1ceb81
%endif
1ceb81
1ceb81
# Apache config fragment
1ceb81
# Dual config file with httpd >= 2.4 (fedora >= 18)
1ceb81
%if %{with_modphp}
1ceb81
install -D -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{_httpd_modconfdir}/20-php.conf
1ceb81
%endif
1ceb81
install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_httpd_confdir}/php.conf
1ceb81
1ceb81
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
1ceb81
%if %{with_zts}
1ceb81
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d
1ceb81
%endif
1ceb81
install -m 755 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php
1ceb81
install -m 755 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php/peclxml
1ceb81
install -m 700 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php/session
1ceb81
install -m 700 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php/wsdlcache
1ceb81
install -m 700 -d $RPM_BUILD_ROOT%{_sharedstatedir}/php/opcache
1ceb81
1ceb81
install -m 755 -d $RPM_BUILD_ROOT%{_docdir}/pecl
1ceb81
install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/tests/pecl
1ceb81
1ceb81
# PHP-FPM stuff
1ceb81
# Log
1ceb81
install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/log/php-fpm
1ceb81
install -m 755 -d $RPM_BUILD_ROOT/run/php-fpm
1ceb81
# Config
1ceb81
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d
1ceb81
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.conf
1ceb81
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d/www.conf
1ceb81
mv $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.conf.default .
1ceb81
mv $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d/www.conf.default .
1ceb81
# install systemd unit files and scripts for handling server startup
1ceb81
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/php-fpm.service.d
1ceb81
install -Dm 644 %{SOURCE6}  $RPM_BUILD_ROOT%{_unitdir}/php-fpm.service
1ceb81
install -Dm 644 %{SOURCE12} $RPM_BUILD_ROOT%{_unitdir}/httpd.service.d/php-fpm.conf
1ceb81
install -Dm 644 %{SOURCE12} $RPM_BUILD_ROOT%{_unitdir}/nginx.service.d/php-fpm.conf
1ceb81
# LogRotate
1ceb81
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
1ceb81
install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/php-fpm
1ceb81
# Nginx configuration
1ceb81
install -D -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/conf.d/php-fpm.conf
1ceb81
install -D -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/default.d/php.conf
1ceb81
1ceb81
TESTCMD="$RPM_BUILD_ROOT%{_bindir}/php --no-php-ini"
1ceb81
# Ensure all provided extensions are really there
1ceb81
for mod in core date filter hash libxml openssl pcntl pcre readline reflection session spl standard zlib
1ceb81
do
1ceb81
     $TESTCMD --modules | grep -qi $mod
1ceb81
done
1ceb81
1ceb81
TESTCMD="$TESTCMD --define extension_dir=$RPM_BUILD_ROOT%{_libdir}/php/modules"
1ceb81
1ceb81
# Generate files lists and stub .ini files for each subpackage
1ceb81
for mod in pgsql odbc ldap snmp \
1ceb81
%if %{with_imap}
1ceb81
    imap \
1ceb81
%endif
1ceb81
    mysqlnd mysqli \
1ceb81
    mbstring gd dom xsl soap bcmath dba \
1ceb81
    simplexml bz2 calendar ctype exif ftp gettext gmp iconv \
1ceb81
    sockets tokenizer opcache \
1ceb81
    sqlite3 \
1ceb81
    enchant phar fileinfo intl \
1ceb81
    ffi \
1ceb81
%if %{with_tidy}
1ceb81
    tidy \
1ceb81
%endif
1ceb81
%if %{with_pspell}
1ceb81
    pspell \
1ceb81
%endif
1ceb81
    curl \
1ceb81
%if %{with_sodium}
1ceb81
    sodium \
1ceb81
%endif
1ceb81
    posix shmop sysvshm sysvsem sysvmsg xml \
1ceb81
    pdo pdo_mysql pdo pdo_pgsql pdo_odbc pdo_sqlite \
1ceb81
%if %{with_firebird}
1ceb81
    pdo_firebird \
1ceb81
%endif
1ceb81
%if %{with_freetds}
1ceb81
    pdo_dblib \
1ceb81
%endif
1ceb81
    xmlreader xmlwriter
1ceb81
do
1ceb81
    case $mod in
1ceb81
      opcache)
1ceb81
        # Zend extensions
1ceb81
        TESTCMD="$TESTCMD --define zend_extension=$mod"
1ceb81
        ini=10-${mod}.ini;;
1ceb81
      pdo_*|mysqli|xmlreader)
1ceb81
        # Extensions with dependencies on 20-*
1ceb81
        TESTCMD="$TESTCMD --define extension=$mod"
1ceb81
        ini=30-${mod}.ini;;
1ceb81
      *)
1ceb81
        # Extensions with no dependency
1ceb81
        TESTCMD="$TESTCMD --define extension=$mod"
1ceb81
        ini=20-${mod}.ini;;
1ceb81
    esac
1ceb81
1ceb81
    $TESTCMD --modules | grep -qi $mod
1ceb81
1ceb81
    # some extensions have their own config file
1ceb81
    if [ -f ${ini} ]; then
1ceb81
      cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini}
1ceb81
%if %{with_zts}
1ceb81
      cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/${ini}
1ceb81
%endif
1ceb81
    else
1ceb81
      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini} <
1ceb81
; Enable ${mod} extension module
1ceb81
extension=${mod}
1ceb81
EOF
1ceb81
%if %{with_zts}
1ceb81
      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/${ini} <
1ceb81
; Enable ${mod} extension module
1ceb81
extension=${mod}
1ceb81
EOF
1ceb81
%endif
1ceb81
    fi
1ceb81
    cat > files.${mod} <
1ceb81
%{_libdir}/php/modules/${mod}.so
1ceb81
%config(noreplace) %{_sysconfdir}/php.d/${ini}
1ceb81
%if %{with_zts}
1ceb81
%{_libdir}/php-zts/modules/${mod}.so
1ceb81
%config(noreplace) %{_sysconfdir}/php-zts.d/${ini}
1ceb81
%endif
1ceb81
EOF
1ceb81
done
1ceb81
1ceb81
# The dom, xsl and xml* modules are all packaged in php-xml
1ceb81
cat files.dom files.xsl files.xml{reader,writer} \
1ceb81
    files.simplexml >> files.xml
1ceb81
1ceb81
# mysqlnd
1ceb81
cat files.mysqli \
1ceb81
    files.pdo_mysql \
1ceb81
    >> files.mysqlnd
1ceb81
1ceb81
# Split out the PDO modules
1ceb81
cat files.pdo_pgsql >> files.pgsql
1ceb81
cat files.pdo_odbc >> files.odbc
1ceb81
1ceb81
# sysv* and posix in packaged in php-process
1ceb81
cat files.shmop files.sysv* files.posix > files.process
1ceb81
1ceb81
# Package sqlite3 and pdo_sqlite with pdo; isolating the sqlite dependency
1ceb81
# isn't useful at this time since rpm itself requires sqlite.
1ceb81
cat files.pdo_sqlite >> files.pdo
1ceb81
cat files.sqlite3 >> files.pdo
1ceb81
1ceb81
# Package curl, phar and fileinfo in -common.
1ceb81
cat files.curl files.phar files.fileinfo \
1ceb81
    files.exif files.gettext files.iconv files.calendar \
1ceb81
    files.ftp files.bz2 files.ctype files.sockets \
1ceb81
    files.tokenizer > files.common
1ceb81
1ceb81
# The default Zend OPcache blacklist file
1ceb81
install -m 644 %{SOURCE51} $RPM_BUILD_ROOT%{_sysconfdir}/php.d/opcache-default.blacklist
1ceb81
%if %{with_zts}
1ceb81
install -m 644 %{SOURCE51} $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/opcache-default.blacklist
1ceb81
sed -e '/blacklist_filename/s/php.d/php-zts.d/' \
1ceb81
    -i $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/10-opcache.ini
1ceb81
%endif
1ceb81
1ceb81
# Install the macros file:
1ceb81
sed -e "s/@PHP_APIVER@/%{apiver}-%{__isa_bits}/" \
1ceb81
    -e "s/@PHP_ZENDVER@/%{zendver}-%{__isa_bits}/" \
1ceb81
    -e "s/@PHP_PDOVER@/%{pdover}-%{__isa_bits}/" \
1ceb81
    -e "s/@PHP_VERSION@/%{upver}/" \
1ceb81
%if ! %{with_zts}
1ceb81
    -e "/zts/d" \
1ceb81
%endif
1ceb81
    < %{SOURCE3} > macros.php
1ceb81
install -m 644 -D macros.php \
1ceb81
           $RPM_BUILD_ROOT%{_rpmmacrodir}/macros.php
1ceb81
1ceb81
# Remove unpackaged files
1ceb81
rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
1ceb81
       $RPM_BUILD_ROOT%{_libdir}/php-zts/modules/*.a \
1ceb81
       $RPM_BUILD_ROOT%{_bindir}/{phptar} \
1ceb81
       $RPM_BUILD_ROOT%{_datadir}/pear \
1ceb81
       $RPM_BUILD_ROOT%{_bindir}/zts-phar* \
1ceb81
       $RPM_BUILD_ROOT%{_mandir}/man1/zts-phar* \
1ceb81
       $RPM_BUILD_ROOT%{_libdir}/libphp.a \
1ceb81
       $RPM_BUILD_ROOT%{_libdir}/libphp.la
1ceb81
1ceb81
# Remove irrelevant docs
1ceb81
rm -f README.{Zeus,QNX,CVS-RULES}
1ceb81
1ceb81
1ceb81
%post fpm
1ceb81
%systemd_post php-fpm.service
1ceb81
1ceb81
%preun fpm
1ceb81
%systemd_preun php-fpm.service
1ceb81
1ceb81
# Raised by new pool installation or new extension installation
1ceb81
%transfiletriggerin fpm -- %{_sysconfdir}/php-fpm.d %{_sysconfdir}/php.d
1ceb81
systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
1ceb81
1ceb81
1ceb81
%files
1ceb81
%if %{with_modphp}
1ceb81
%{_httpd_moddir}/libphp.so
1ceb81
%config(noreplace) %{_httpd_modconfdir}/20-php.conf
1ceb81
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/session
1ceb81
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/wsdlcache
1ceb81
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/opcache
1ceb81
%config(noreplace) %{_httpd_confdir}/php.conf
1ceb81
%endif
1ceb81
1ceb81
%files common -f files.common
1ceb81
%doc EXTENSIONS NEWS UPGRADING* README.REDIST.BINS *md docs
456590
%license LICENSE TSRM_LICENSE ZEND_LICENSE
1ceb81
%license libmagic_LICENSE
1ceb81
%license timelib_LICENSE
1ceb81
%doc php.ini-*
1ceb81
%config(noreplace) %{_sysconfdir}/php.ini
1ceb81
%dir %{_sysconfdir}/php.d
1ceb81
%dir %{_libdir}/php
1ceb81
%dir %{_libdir}/php/modules
1ceb81
%if %{with_zts}
1ceb81
%dir %{_sysconfdir}/php-zts.d
1ceb81
%dir %{_libdir}/php-zts
1ceb81
%dir %{_libdir}/php-zts/modules
1ceb81
%endif
1ceb81
%dir %{_sharedstatedir}/php
1ceb81
%dir %{_sharedstatedir}/php/peclxml
1ceb81
%dir %{_datadir}/php
1ceb81
%dir %{_docdir}/pecl
1ceb81
%dir %{_datadir}/tests
1ceb81
%dir %{_datadir}/tests/pecl
1ceb81
1ceb81
%files cli
1ceb81
%{_bindir}/php
1ceb81
%if %{with_zts}
1ceb81
%{_bindir}/zts-php
1ceb81
%{_mandir}/man1/zts-php.1*
1ceb81
%endif
1ceb81
%{_bindir}/php-cgi
1ceb81
%{_bindir}/phar.phar
1ceb81
%{_bindir}/phar
1ceb81
# provides phpize here (not in -devel) for pecl command
1ceb81
%{_bindir}/phpize
1ceb81
%{_mandir}/man1/php.1*
1ceb81
%{_mandir}/man1/php-cgi.1*
1ceb81
%{_mandir}/man1/phar.1*
1ceb81
%{_mandir}/man1/phar.phar.1*
1ceb81
%{_mandir}/man1/phpize.1*
1ceb81
1ceb81
%files dbg
1ceb81
%doc sapi/phpdbg/CREDITS
1ceb81
%{_bindir}/phpdbg
1ceb81
%{_mandir}/man1/phpdbg.1*
1ceb81
%if %{with_zts}
1ceb81
%{_bindir}/zts-phpdbg
1ceb81
%{_mandir}/man1/zts-phpdbg.1*
1ceb81
%endif
1ceb81
1ceb81
%files fpm
1ceb81
%doc php-fpm.conf.default www.conf.default
1ceb81
%license fpm_LICENSE
1ceb81
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/session
1ceb81
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/wsdlcache
1ceb81
%attr(0770,root,apache) %dir %{_sharedstatedir}/php/opcache
1ceb81
%config(noreplace) %{_httpd_confdir}/php.conf
1ceb81
%config(noreplace) %{_sysconfdir}/php-fpm.conf
1ceb81
%config(noreplace) %{_sysconfdir}/php-fpm.d/www.conf
1ceb81
%config(noreplace) %{_sysconfdir}/logrotate.d/php-fpm
1ceb81
%config(noreplace) %{_sysconfdir}/nginx/conf.d/php-fpm.conf
1ceb81
%config(noreplace) %{_sysconfdir}/nginx/default.d/php.conf
1ceb81
%{_unitdir}/php-fpm.service
1ceb81
%{_unitdir}/httpd.service.d/php-fpm.conf
1ceb81
%{_unitdir}/nginx.service.d/php-fpm.conf
1ceb81
%{_sbindir}/php-fpm
1ceb81
%dir %{_sysconfdir}/systemd/system/php-fpm.service.d
1ceb81
%dir %{_sysconfdir}/php-fpm.d
1ceb81
# log owned by apache for log
1ceb81
%attr(770,apache,root) %dir %{_localstatedir}/log/php-fpm
1ceb81
%dir %ghost /run/php-fpm
1ceb81
%{_mandir}/man8/php-fpm.8*
1ceb81
%dir %{_datadir}/fpm
1ceb81
%{_datadir}/fpm/status.html
1ceb81
1ceb81
%files devel
1ceb81
%{_bindir}/php-config
1ceb81
%{_includedir}/php
1ceb81
%{_libdir}/php/build
1ceb81
%if %{with_zts}
1ceb81
%{_bindir}/zts-php-config
1ceb81
%{_bindir}/zts-phpize
1ceb81
%{_includedir}/php-zts
1ceb81
%{_libdir}/php-zts/build
1ceb81
%{_mandir}/man1/zts-php-config.1*
1ceb81
%{_mandir}/man1/zts-phpize.1*
1ceb81
%endif
1ceb81
%{_mandir}/man1/php-config.1*
1ceb81
%{_rpmmacrodir}/macros.php
1ceb81
1ceb81
%files embedded
1ceb81
%{_libdir}/libphp.so
1ceb81
%{_libdir}/libphp-%{embed_version}.so
1ceb81
1ceb81
%files pgsql -f files.pgsql
1ceb81
%files odbc -f files.odbc
1ceb81
%if %{with_imap}
1ceb81
%files imap -f files.imap
1ceb81
%endif
1ceb81
%files ldap -f files.ldap
1ceb81
%files snmp -f files.snmp
1ceb81
%files xml -f files.xml
1ceb81
%files mbstring -f files.mbstring
1ceb81
%license libmbfl_LICENSE
1ceb81
%files gd -f files.gd
1ceb81
%files soap -f files.soap
1ceb81
%files bcmath -f files.bcmath
1ceb81
%license libbcmath_LICENSE
1ceb81
%files gmp -f files.gmp
1ceb81
%files dba -f files.dba
1ceb81
%files pdo -f files.pdo
1ceb81
%if %{with_tidy}
1ceb81
%files tidy -f files.tidy
1ceb81
%endif
1ceb81
%if %{with_freetds}
1ceb81
%files pdo-dblib -f files.pdo_dblib
1ceb81
%endif
1ceb81
%if %{with_pspell}
1ceb81
%files pspell -f files.pspell
1ceb81
%endif
1ceb81
%files intl -f files.intl
1ceb81
%files process -f files.process
1ceb81
%if %{with_firebird}
1ceb81
%files pdo-firebird -f files.pdo_firebird
1ceb81
%endif
1ceb81
%files enchant -f files.enchant
1ceb81
%files mysqlnd -f files.mysqlnd
1ceb81
%files opcache -f files.opcache
1ceb81
%config(noreplace) %{_sysconfdir}/php.d/opcache-default.blacklist
1ceb81
%if %{with_zts}
1ceb81
%config(noreplace) %{_sysconfdir}/php-zts.d/opcache-default.blacklist
1ceb81
%endif
1ceb81
%if %{with_sodium}
1ceb81
%files sodium -f files.sodium
1ceb81
%endif
1ceb81
%files ffi -f files.ffi
1ceb81
%dir %{_datadir}/php/preload
1ceb81
1ceb81
1ceb81
%changelog
456590
* Mon Aug  1 2022 Remi Collet <rcollet@redhat.com> - 8.0.20-2
456590
- snmp3 calls using authPriv or authNoPriv immediately return false #2104630
456590
456590
* Wed Jul 20 2022 Remi Collet <rcollet@redhat.com> - 8.0.20-1
456590
- rebase to 8.0.20 #2100876
456590
- fix wrong mod_php configuration #2094728
456590
456590
* Wed Jun 22 2022 Remi Collet <rcollet@redhat.com> - 8.0.13-3
456590
- fix password of excessive length triggers buffer overflow leading to RCE
456590
  CVE-2022-31626
456590
1ceb81
* Tue Dec 14 2021 Remi Collet <rcollet@redhat.com> - 8.0.13-2
1ceb81
- refresh provided configuration from upstream
1ceb81
1ceb81
* Tue Dec 14 2021 Remi Collet <rcollet@redhat.com> - 8.0.13-1
1ceb81
- rebase to 8.0.13
1ceb81
- drop xmlrpc extension
1ceb81
- drop json sub-package, extension is always present
1ceb81
1ceb81
* Thu May 20 2021 Remi Collet <rcollet@redhat.com> - 7.4.19-1
1ceb81
- rebase to 7.4.19 #1944110
1ceb81
1ceb81
* Mon Jun 15 2020 Remi Collet <rcollet@redhat.com> - 7.4.6-4
1ceb81
- fix regression in 7.4.6 with generators and exception
1ceb81
1ceb81
* Wed May 27 2020 Remi Collet <rcollet@redhat.com> - 7.4.6-3
1ceb81
- build phpdbg only once
1ceb81
- fix regression in 7.4.6 when yielding an array based generator
1ceb81
1ceb81
* Wed May 20 2020 Remi Collet <rcollet@redhat.com> - 7.4.6-2
1ceb81
- use php-config from embed SAPI to reduce used libs
1ceb81
1ceb81
* Fri May 15 2020 Remi Collet <rcollet@redhat.com> - 7.4.6-1
1ceb81
- update to 7.4.6
1ceb81
- add ffi extension
1ceb81
- add /usr/share/php/preload as default ffi.preload configuration
1ceb81
- run FPM tests
1ceb81
- set opcache.enable_cli in provided default configuration
1ceb81
- ensure all shared extensions can be loaded
1ceb81
- drop wddx, recode and extensions
1ceb81
- run test suite using 4 concurrent workers
1ceb81
1ceb81
* Tue Oct 29 2019 Remi Collet <rcollet@redhat.com> - 7.3.5-5
1ceb81
- fix underflow in env_path_info in fpm_main.c CVE-2019-11043
1ceb81
1ceb81
* Mon Jul  1 2019 Remi Collet <rcollet@redhat.com> - 7.3.5-3
1ceb81
- fix AVC denied httpd_execmem when php-opcache is installed #1725104
1ceb81
1ceb81
* Tue May 14 2019 Remi Collet <rcollet@redhat.com> - 7.3.5-2
1ceb81
- cleanup php-devel dependencies
1ceb81
1ceb81
* Tue May 14 2019 Remi Collet <rcollet@redhat.com> - 7.3.5-1
1ceb81
- update to 7.3.5
1ceb81
1ceb81
* Wed Oct 10 2018 Remi Collet <rcollet@redhat.com> - 7.2.11-1
1ceb81
- update to 7.2.11 #1628543
1ceb81
1ceb81
* Fri Aug 24 2018 Remi Collet <rcollet@redhat.com.net> - 7.2.8-4
1ceb81
- drop tidy extension #1619290
1ceb81
1ceb81
* Wed Jul 18 2018 Remi Collet <rcollet@redhat.com> - 7.2.8-3
1ceb81
- update to 7.2.8
1ceb81
1ceb81
* Fri Jul  6 2018 Remi Collet <rcollet@redhat.com> - 7.2.7-3
1ceb81
- FPM: add getallheaders, backported from 7.3 #1582533
1ceb81
1ceb81
* Wed Jun 27 2018 Remi Collet <rcollet@redhat.com> - 7.2.7-2
1ceb81
- drop libargon2 dependency #1595261
1ceb81
1ceb81
* Wed Jun 20 2018 Remi Collet <rcollet@redhat.com> - 7.2.7-1
1ceb81
- Update to 7.2.7 - http://www.php.net/releases/7_2_7.php
1ceb81
- drop -mstackrealign option, workaround to #1593144
1ceb81
1ceb81
* Thu May 31 2018 Remi Collet <rcollet@redhat.com> - 7.2.6-2
1ceb81
- switch back to bundled onigurama
1ceb81
1ceb81
* Wed May 23 2018 Remi Collet <remi@remirepo.net> - 7.2.6-1
1ceb81
- Update to 7.2.6 - http://www.php.net/releases/7_2_6.php
1ceb81
1ceb81
* Tue Apr 24 2018 Remi Collet <remi@remirepo.net> - 7.2.5-1
1ceb81
- Update to 7.2.5 - http://www.php.net/releases/7_2_5.php
1ceb81
1ceb81
* Tue Mar 27 2018 Remi Collet <remi@remirepo.net> - 7.2.4-1
1ceb81
- Update to 7.2.4 - http://www.php.net/releases/7_2_4.php
1ceb81
- FPM: update default pool configuration for process.dumpable
1ceb81
1ceb81
* Wed Mar 21 2018 Remi Collet <rcollet@redhat.com> - 7.2.3-4
1ceb81
- use systemd RuntimeDirectory instead of /etc/tmpfiles.d
1ceb81
1ceb81
* Tue Mar 20 2018 Remi Collet <rcollet@redhat.com> - 7.2.3-3
1ceb81
- enable argon2 password hash
1ceb81
1ceb81
* Fri Mar 16 2018 Remi Collet <rcollet@redhat.com> - 7.2.3-2
1ceb81
- php-json is optional
1ceb81
- add file trigger to restart the php-fpm service
1ceb81
  when new pool or new extension installed
1ceb81
1ceb81
* Wed Feb 28 2018 Remi Collet <remi@remirepo.net> - 7.2.3-1
1ceb81
- Update to 7.2.3 - http://www.php.net/releases/7_2_3.php
1ceb81
1ceb81
- FPM: revert pid file removal
1ceb81
1ceb81
* Wed Feb 21 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-4
1ceb81
- disable ZTS on RHEL
1ceb81
1ceb81
* Fri Feb 16 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-3
1ceb81
- disable pspell extension on RHEL
1ceb81
- improve devel dependencies
1ceb81
1ceb81
* Wed Feb 14 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-2
1ceb81
- rebuild for new tag and drop patch merged upstream
1ceb81
- drop ldconfig scriptlets
1ceb81
1ceb81
* Wed Feb 14 2018 Remi Collet <remi@remirepo.net> - 7.2.3~RC1-1
1ceb81
- update to 7.2.3RC1
1ceb81
- adapt systzdata, fixheader and ldap_r patches
1ceb81
- apply upstream patch for date ext
1ceb81
1ceb81
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.2-2
1ceb81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1ceb81
1ceb81
* Tue Jan 30 2018 Remi Collet <remi@remirepo.net> - 7.2.2-1
1ceb81
- Update to 7.2.2 - http://www.php.net/releases/7_2_2.php
1ceb81
1ceb81
* Mon Jan 29 2018 Remi Collet <rcollet@redhat.com> - 7.2.2~RC1-3
1ceb81
- disable interbase, imap, pdo_dblib and sodium on rhel
1ceb81
1ceb81
* Thu Jan 25 2018 Remi Collet <remi@remirepo.net> - 7.2.2~RC1-3
1ceb81
- undefine _strict_symbol_defs_build
1ceb81
1ceb81
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 7.2.2~RC1-2
1ceb81
- Rebuilt for switch to libxcrypt
1ceb81
1ceb81
* Tue Jan 16 2018 Remi Collet <remi@remirepo.net> - 7.2.2~RC1-1
1ceb81
- update to 7.2.2RC1
1ceb81
- define SOURCE_DATE_EPOCH for reproducible build
1ceb81
1ceb81
* Wed Jan  3 2018 Remi Collet <remi@remirepo.net> - 7.2.1-1
1ceb81
- Update to 7.2.1 - http://www.php.net/releases/7_2_1.php
1ceb81
1ceb81
* Wed Dec 13 2017 Remi Collet <remi@remirepo.net> - 7.2.1~RC1-1
1ceb81
- update to 7.2.1RC1
1ceb81
1ceb81
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 7.2.0-3
1ceb81
- Rebuild for ICU 60.1
1ceb81
1ceb81
* Tue Nov 28 2017 Remi Collet <remi@remirepo.net> - 7.2.0-2
1ceb81
- refresh patch for https://bugs.php.net/75514
1ceb81
1ceb81
* Tue Nov 28 2017 Remi Collet <remi@remirepo.net> - 7.2.0-1
1ceb81
- update to 7.2.0 GA
1ceb81
- add upstream patch for https://bugs.php.net/75514
1ceb81
1ceb81
* Tue Nov  7 2017 Remi Collet <remi@fedoraproject.org> - 7.2.0~RC6-1
1ceb81
- Update to 7.2.0RC6
1ceb81
1ceb81
* Wed Oct 25 2017 Remi Collet <remi@fedoraproject.org> - 7.2.0~RC5-1
1ceb81
- Update to 7.2.0RC5
1ceb81
- make php-fpm a weak dependency
1ceb81
1ceb81
* Wed Oct 18 2017 Remi Collet <remi@remirepo.net> - 7.2.0~RC4-2
1ceb81
- enable argon2 password hash
1ceb81
1ceb81
* Tue Oct 10 2017 Remi Collet <remi@fedoraproject.org> - 7.2.0~RC4-1
1ceb81
- Update to 7.2.0RC4
1ceb81
1ceb81
* Fri Sep 29 2017 Remi Collet <remi@fedoraproject.org> - 7.2.0~RC3-1
1ceb81
- Update to 7.2.0RC3
1ceb81
- drop mcrypt extension
1ceb81
- add sodium extension
1ceb81
- use system oniguruma
1ceb81
- drop .so suffix from ini files
1ceb81
- refresh configuration files from upstream
1ceb81
1ceb81
* Wed Sep 27 2017 Remi Collet <remi@fedoraproject.org> - 7.1.10-1
1ceb81
- Update to 7.1.10 - http://www.php.net/releases/7_1_10.php
1ceb81
1ceb81
* Mon Sep 25 2017 Remi Collet <remi@fedoraproject.org> - 7.1.10~RC1-2
1ceb81
- php now requires php-fpm and start it with httpd / nginx
1ceb81
1ceb81
* Wed Sep 13 2017 Remi Collet <remi@fedoraproject.org> - 7.1.10~RC1-1
1ceb81
- Update to 7.1.10RC1
1ceb81
1ceb81
* Wed Sep  6 2017 Remi Collet <remi@fedoraproject.org> - 7.1.9-2
1ceb81
- Automatically load OpenSSL configuration file, from PHP 7.2
1ceb81
1ceb81
* Wed Aug 30 2017 Remi Collet <remi@fedoraproject.org> - 7.1.9-1
1ceb81
- Update to 7.1.9 - http://www.php.net/releases/7_1_9.php
1ceb81
1ceb81
* Wed Aug 16 2017 Remi Collet <remi@fedoraproject.org> - 7.1.9~RC1-1
1ceb81
- Update to 7.1.9RC1
1ceb81
- php-fpm: drop unneeded "pid" from default configuration
1ceb81
1ceb81
* Wed Aug  2 2017 Remi Collet <remi@fedoraproject.org> - 7.1.8-1
1ceb81
- Update to 7.1.8 - http://www.php.net/releases/7_1_8.php
1ceb81
1ceb81
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.8~RC1-3
1ceb81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1ceb81
1ceb81
* Wed Jul 19 2017 Remi Collet <remi@fedoraproject.org> - 7.1.8~RC1-1
1ceb81
- Update to 7.1.8RC1
1ceb81
1ceb81
* Tue Jul 18 2017 Remi Collet <remi@fedoraproject.org> - 7.1.7-2
1ceb81
- disable httpd MPM check
1ceb81
1ceb81
* Thu Jul  6 2017 Remi Collet <remi@fedoraproject.org> - 7.1.7-1
1ceb81
- Update to 7.1.7 - http://www.php.net/releases/7_1_7.php
1ceb81
1ceb81
* Wed Jun 21 2017 Remi Collet <remi@fedoraproject.org> - 7.1.7~RC1-1
1ceb81
- Update to 7.1.7RC1
1ceb81
1ceb81
* Wed Jun  7 2017 Remi Collet <remi@fedoraproject.org> - 7.1.6-1
1ceb81
- Update to 7.1.6 - http://www.php.net/releases/7_1_6.php
1ceb81
- add upstream security patches for oniguruma
1ceb81
1ceb81
* Wed May 24 2017 Remi Collet <remi@fedoraproject.org> - 7.1.6~RC1-1
1ceb81
- Update to 7.1.6RC1
1ceb81
1ceb81
* Tue May  9 2017 Remi Collet <remi@fedoraproject.org> - 7.1.5-1
1ceb81
- Update to 7.1.5 - http://www.php.net/releases/7_1_5.php
1ceb81
1ceb81
* Sat May  6 2017 Remi Collet <remi@fedoraproject.org> - 7.1.5-0.3.RC1
1ceb81
- enable PHP execution of .phar files, see #1117140
1ceb81
1ceb81
* Thu Apr 27 2017 Remi Collet <remi@fedoraproject.org> - 7.1.5-0.2.RC1
1ceb81
- new sources from new tag
1ceb81
1ceb81
* Tue Apr 25 2017 Remi Collet <remi@fedoraproject.org> - 7.1.5-0.1.RC1
1ceb81
- Update to 7.1.5RC1
1ceb81
1ceb81
* Tue Apr 11 2017 Remi Collet <remi@fedoraproject.org> - 7.1.4-1
1ceb81
- Update to 7.1.4 - http://www.php.net/releases/7_1_4.php
1ceb81
1ceb81
* Wed Mar 29 2017 Remi Collet <remi@fedoraproject.org> - 7.1.4-0.1.RC1
1ceb81
- Update to 7.1.4RC1
1ceb81
1ceb81
* Wed Mar 22 2017 Remi Collet <remi@fedoraproject.org> - 7.1.3-3
1ceb81
- timelib is MIT license
1ceb81
1ceb81
* Wed Mar 15 2017 Remi Collet <remi@fedoraproject.org> - 7.1.3-2
1ceb81
- remove %%attr, see #1432372
1ceb81
1ceb81
* Wed Mar 15 2017 Remi Collet <remi@fedoraproject.org> - 7.1.3-1
1ceb81
- Update to 7.1.3 - http://www.php.net/releases/7_1_3.php
1ceb81
1ceb81
* Tue Feb 28 2017 Remi Collet <remi@fedoraproject.org> 7.1.3-0.1.RC1
1ceb81
- Update to 7.1.3RC1
1ceb81
1ceb81
* Wed Feb 15 2017 Remi Collet <remi@fedoraproject.org> - 7.1.2-1
1ceb81
- Update to 7.1.2 - http://www.php.net/releases/7_1_2.php
1ceb81
1ceb81
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.2-0.2.RC1.1
1ceb81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1ceb81
1ceb81
* Thu Feb  2 2017 Remi Collet <remi@fedoraproject.org> - 7.1.2-0.2.RC1
1ceb81
- Update to 7.1.2RC1 (new sources)
1ceb81
1ceb81
* Wed Feb  1 2017 Remi Collet <remi@fedoraproject.org> 7.1.2-0.1.RC1
1ceb81
- Update to 7.1.2RC1
1ceb81
1ceb81
* Wed Jan 18 2017 Remi Collet <remi@fedoraproject.org> 7.1.1-1
1ceb81
- Update to 7.1.1 - http://www.php.net/releases/7_1_1.php
1ceb81
1ceb81
* Fri Jan  6 2017 Remi Collet <remi@fedoraproject.org> 7.1.1-0.1.RC1
1ceb81
- Update to 7.1.1RC1
1ceb81
1ceb81
* Thu Dec  1 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-1
1ceb81
- Update to 7.1.0 - http://www.php.net/releases/7_1_0.php
1ceb81
1ceb81
* Fri Nov 25 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-0.3.RC6
1ceb81
- disable pcre.jit everywhere as it raise AVC #1398474
1ceb81
- sync provided configuration with upstream production defaults
1ceb81
1ceb81
* Mon Nov 14 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-0.2.RC6
1ceb81
- re-enable interbase sub package
1ceb81
  see http://bugzilla.redhat.com/1394750 sub package inconsistency
1ceb81
- add patch to fix firebird include path (using fb_config)
1ceb81
1ceb81
* Mon Nov 14 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-0.1.RC6
1ceb81
- Update to 7.1.0RC6
1ceb81
- update tzdata patch to v14, improve check for valid tz file
1ceb81
- disable interbase sub package (interbase and pdo_firebird)
1ceb81
1ceb81
* Tue Oct 11 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-0.1.RC3
1ceb81
- Update to 7.1.0RC3
1ceb81
1ceb81
* Wed Sep 28 2016 Remi Collet <remi@fedoraproject.org> 7.0.12-0.1.RC1
1ceb81
- Update to 7.0.12RC1
1ceb81
1ceb81
* Wed Sep 14 2016 Remi Collet <remi@fedoraproject.org> 7.0.11-1
1ceb81
- Update to 7.0.11 - http://www.php.net/releases/7_0_11.php
1ceb81
1ceb81
* Fri Sep  2 2016 Remi Collet <remi@fedoraproject.org> 7.0.11-0.1.RC1
1ceb81
- Update to 7.0.11RC1
1ceb81
1ceb81
* Thu Sep  1 2016 Remi Collet <remi@fedoraproject.org> 7.0.10-1
1ceb81
- Update to 7.0.10 - http://www.php.net/releases/7_0_10.php
1ceb81
1ceb81
* Wed Aug  3 2016 Remi Collet <remi@fedoraproject.org> 7.0.10-0.1.RC1
1ceb81
- Update to 7.0.10RC1
1ceb81
1ceb81
* Wed Jul 20 2016 Remi Collet <remi@fedoraproject.org> 7.0.9-1
1ceb81
- Update to 7.0.9 - http://www.php.net/releases/7_0_9.php
1ceb81
- wddx: add upstream patch for https://bugs.php.net/72564
1ceb81
1ceb81
* Wed Jul  6 2016 Remi Collet <remi@fedoraproject.org> 7.0.9-0.1.RC1
1ceb81
- Update to 7.0.9RC1
1ceb81
1ceb81
* Thu Jun 30 2016 Remi Collet <remi@fedoraproject.org> 7.0.8-2
1ceb81
- own tests/doc directories for pecl packages #1351345
1ceb81
1ceb81
* Wed Jun 22 2016 Remi Collet <remi@fedoraproject.org> 7.0.8-1
1ceb81
- Update to 7.0.8 - http://www.php.net/releases/7_0_8.php
1ceb81
- https://fedoraproject.org/wiki/Changes/php70
1ceb81
- drop ereg, mysql, mssql extensions
1ceb81
- add json extension
1ceb81
1ceb81
* Wed Jun 22 2016 Remi Collet <remi@fedoraproject.org> 5.6.23-1
1ceb81
- Update to 5.6.23 - http://www.php.net/releases/5_6_23.php
1ceb81
1ceb81
* Thu Jun  9 2016 Remi Collet <remi@fedoraproject.org> 5.6.23-0.1.RC1
1ceb81
- update to 5.6.23RC1
1ceb81
1ceb81
* Fri May 27 2016 Remi Collet <remi@fedoraproject.org> 5.6.22-2
1ceb81
- drop unneeded option --with-vpx-dir, fix FTBFS, thanks Koschei
1ceb81
1ceb81
* Thu May 26 2016 Remi Collet <remi@fedoraproject.org> 5.6.22-1
1ceb81
- Update to 5.6.22 - http://www.php.net/releases/5_6_22.php
1ceb81
1ceb81
* Thu May 12 2016 Remi Collet <remi@fedoraproject.org> 5.6.22-0.1.RC1
1ceb81
- update to 5.6.22RC1
1ceb81
1ceb81
* Thu Apr 28 2016 Remi Collet <remi@fedoraproject.org> 5.6.21-1
1ceb81
- Update to 5.6.21
1ceb81
  http://www.php.net/releases/5_6_21.php
1ceb81
1ceb81
* Mon Apr 18 2016 Remi Collet <remi@fedoraproject.org> 5.6.21-0.2.RC1
1ceb81
- rebuild for ICU 57.1
1ceb81
1ceb81
* Mon Apr 18 2016 Remi Collet <remi@fedoraproject.org> 5.6.21-0.1.RC1
1ceb81
- update to 5.6.21RC1
1ceb81
1ceb81
* Fri Apr 15 2016 David Tardon <dtardon@redhat.com> - 5.6.20-1.1
1ceb81
- rebuild for ICU 57.1
1ceb81
1ceb81
* Thu Mar 31 2016 Remi Collet <remi@fedoraproject.org> 5.6.20-1
1ceb81
- Update to 5.6.20
1ceb81
  http://www.php.net/releases/5_6_20.php
1ceb81
1ceb81
* Thu Mar 17 2016 Remi Collet <remi@fedoraproject.org> 5.6.20-0.1.RC1
1ceb81
- update to 5.6.20RC1
1ceb81
1ceb81
* Thu Mar  3 2016 Remi Collet <remi@fedoraproject.org> 5.6.19-1
1ceb81
- Update to 5.6.19
1ceb81
  http://www.php.net/releases/5_6_19.php
1ceb81
1ceb81
* Thu Feb 18 2016 Remi Collet <remi@fedoraproject.org> 5.6.19-0.1.RC1
1ceb81
- update to 5.6.19RC1
1ceb81
1ceb81
* Tue Feb  9 2016 Remi Collet <remi@fedoraproject.org> 5.6.18-2
1ceb81
- define %%pecl_xmldir and own it (/var/lib/php/peclxml)
1ceb81
1ceb81
* Wed Feb  3 2016 Remi Collet <remi@fedoraproject.org> 5.6.18-1
1ceb81
- Update to 5.6.18
1ceb81
  http://www.php.net/releases/5_6_18.php
1ceb81
1ceb81
* Thu Jan 21 2016 Remi Collet <remi@fedoraproject.org> 5.6.18-0.1.RC1
1ceb81
- update to 5.6.18RC1
1ceb81
1ceb81
* Thu Jan  7 2016 Remi Collet <remi@fedoraproject.org> 5.6.17-1
1ceb81
- Update to 5.6.17
1ceb81
  http://www.php.net/releases/5_6_17.php
1ceb81
1ceb81
* Thu Dec 10 2015 Remi Collet <remi@fedoraproject.org> 5.6.17-0.1.RC1
1ceb81
- update to 5.6.17RC1
1ceb81
1ceb81
* Tue Dec  1 2015 Tom Callaway <spot@fedoraproject.org> 5.6.16-2
1ceb81
- rebuild for libvpx 1.5.0
1ceb81
1ceb81
* Thu Nov 26 2015 Remi Collet <remi@fedoraproject.org> 5.6.16-1
1ceb81
- Update to 5.6.16
1ceb81
  http://www.php.net/releases/5_6_16.php
1ceb81
1ceb81
* Wed Nov 18 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.16-0.2.RC2
1ceb81
- rebuild (tidy)
1ceb81
1ceb81
* Thu Nov 12 2015 Remi Collet <remi@fedoraproject.org> 5.6.16-0.1.RC1
1ceb81
- update to 5.6.16RC1
1ceb81
1ceb81
* Thu Oct 29 2015 Remi Collet <remi@fedoraproject.org> 5.6.15-1
1ceb81
- Update to 5.6.15
1ceb81
  http://www.php.net/releases/5_6_15.php
1ceb81
- php-config: reports all built sapis
1ceb81
1ceb81
* Thu Oct 15 2015 Remi Collet <remi@fedoraproject.org> 5.6.15-0.1.RC1
1ceb81
- update to 5.6.15RC1
1ceb81
1ceb81
* Wed Sep 30 2015 Remi Collet <remi@fedoraproject.org> 5.6.14-1
1ceb81
- Update to 5.6.14
1ceb81
  http://www.php.net/releases/5_6_14.php
1ceb81
- php-fpm: enable http authorization headers
1ceb81
1ceb81
* Thu Sep 17 2015 Remi Collet <remi@fedoraproject.org> 5.6.14-0.1.RC1
1ceb81
- update to 5.6.14RC1
1ceb81
1ceb81
* Thu Sep  3 2015 Remi Collet <remi@fedoraproject.org> 5.6.13-1
1ceb81
- Update to 5.6.13
1ceb81
  http://www.php.net/releases/5_6_13.php
1ceb81
1ceb81
* Thu Aug  6 2015 Remi Collet <remi@fedoraproject.org> 5.6.12-1
1ceb81
- Update to 5.6.12
1ceb81
  http://www.php.net/releases/5_6_12.php
1ceb81
1ceb81
* Fri Jul 24 2015 Remi Collet <remi@fedoraproject.org> 5.6.12-0.1.RC1
1ceb81
- update to 5.6.12RC1
1ceb81
1ceb81
* Fri Jul 17 2015 Remi Collet <remi@fedoraproject.org> 5.6.11-2
1ceb81
- fix typo in php.conf #1244104
1ceb81
1ceb81
* Sun Jul 12 2015 Remi Collet <remi@fedoraproject.org> 5.6.11-1
1ceb81
- Update to 5.6.11
1ceb81
  http://www.php.net/releases/5_6_11.php
1ceb81
1ceb81
* Thu Jun 25 2015 Remi Collet <remi@fedoraproject.org> 5.6.11-0.1.RC1
1ceb81
- update to 5.6.11RC1
1ceb81
- the phar link is now correctly created
1ceb81
1ceb81
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.10-1.1
1ceb81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1ceb81
1ceb81
* Thu Jun 11 2015 Remi Collet <remi@fedoraproject.org> 5.6.10-1
1ceb81
- Update to 5.6.10
1ceb81
  http://www.php.net/releases/5_6_10.php
1ceb81
- add explicit spec license (implicit by FPCA)
1ceb81
1ceb81
* Thu May 28 2015 Remi Collet <remi@fedoraproject.org> 5.6.10-0.1.RC1
1ceb81
- update to 5.6.10RC1
1ceb81
- opcache is now 7.0.6-dev
1ceb81
1ceb81
* Fri May 15 2015 Remi Collet <remi@fedoraproject.org> 5.6.9-1
1ceb81
- Update to 5.6.9
1ceb81
  http://www.php.net/releases/5_6_9.php
1ceb81
1ceb81
* Thu Apr 30 2015 Remi Collet <remi@fedoraproject.org> 5.6.9-0.1.RC1
1ceb81
- update to 5.6.9RC1
1ceb81
- adapt systzdata patch for upstream changes for new zic
1ceb81
1ceb81
* Thu Apr 16 2015 Remi Collet <remi@fedoraproject.org> 5.6.8-1
1ceb81
- Update to 5.6.8
1ceb81
  http://www.php.net/releases/5_6_8.php
1ceb81
1ceb81
* Fri Apr 10 2015 Remi Collet <remi@fedoraproject.org> 5.6.8-0.3.RC1
1ceb81
- add upstream patch to drop SSLv3 tests
1ceb81
1ceb81
* Mon Apr  6 2015 Tom Callaway <spot@fedoraproject.org> - 5.6.8-0.2.RC1
1ceb81
- rebuild for libvpx 1.4.0
1ceb81
1ceb81
* Wed Apr  1 2015 Remi Collet <remi@fedoraproject.org> 5.6.8-0.1.RC1
1ceb81
- update to 5.6.8RC1
1ceb81
1ceb81
* Fri Mar 20 2015 Remi Collet <remi@fedoraproject.org> 5.6.7-2
1ceb81
- Update to 5.6.7
1ceb81
  http://www.php.net/releases/5_6_7.php
1ceb81
1ceb81
* Sun Mar  8 2015 Remi Collet <remi@fedoraproject.org> 5.6.7-1
1ceb81
- update to 5.6.7RC1
1ceb81
1ceb81
* Thu Feb 19 2015 Remi Collet <remi@fedoraproject.org> 5.6.6-1
1ceb81
- Update to 5.6.6
1ceb81
  http://www.php.net/releases/5_6_6.php
1ceb81
1ceb81
* Thu Feb  5 2015 Remi Collet <rcollet@redhat.com> 5.6.6-0.1.RC1
1ceb81
- php 5.6.6RC1 for Koschei
1ceb81
1ceb81
* Mon Jan 26 2015 David Tardon <dtardon@redhat.com> - 5.6.5-2
1ceb81
- rebuild for ICU 54.1
1ceb81
1ceb81
* Thu Jan 22 2015 Remi Collet <remi@fedoraproject.org> 5.6.5-1
1ceb81
- Update to 5.6.5
1ceb81
  http://www.php.net/releases/5_6_5.php
1ceb81
- drop deprecated php-fpm EnvironmentFile
1ceb81
1ceb81
* Fri Jan  9 2015 Remi Collet <remi@fedoraproject.org> 5.6.5-0.1.RC1
1ceb81
- update to 5.6.5RC1
1ceb81
- FPM: enable ACL support for Unix Domain Socket
1ceb81
- FPM: switch default configuration to use UDS
1ceb81
1ceb81
* Wed Dec 17 2014 Remi Collet <remi@fedoraproject.org> 5.6.4-2
1ceb81
- Update to 5.6.4 (real)
1ceb81
  http://www.php.net/releases/5_6_4.php
1ceb81
- php-xmlrpc requires php-xml
1ceb81
1ceb81
* Wed Dec 10 2014 Remi Collet <remi@fedoraproject.org> 5.6.4-1
1ceb81
- Update to 5.6.4
1ceb81
  http://www.php.net/releases/5_6_4.php
1ceb81
1ceb81
* Fri Nov 28 2014 Remi Collet <rcollet@redhat.com> 5.6.4-0.1.RC1
1ceb81
- php 5.6.4RC1
1ceb81
1ceb81
* Mon Nov 17 2014 Remi Collet <remi@fedoraproject.org> 5.6.3-4
1ceb81
- FPM: add upstream patch for https://bugs.php.net/68428
1ceb81
  listen.allowed_clients is IPv4 only
1ceb81
1ceb81
* Mon Nov 17 2014 Remi Collet <remi@fedoraproject.org> 5.6.3-3
1ceb81
- sync php-fpm configuration with upstream
1ceb81
- refresh upstream patch for 68421
1ceb81
1ceb81
* Sun Nov 16 2014 Remi Collet <remi@fedoraproject.org> 5.6.3-2
1ceb81
- FPM: add upstream patch for https://bugs.php.net/68421
1ceb81
  access.format=R doesn't log ipv6 address
1ceb81
- FPM: add upstream patch for https://bugs.php.net/68420
1ceb81
  listen=9000 listens to ipv6 localhost instead of all addresses
1ceb81
- FPM: add upstream patch for https://bugs.php.net/68423
1ceb81
  will no longer load all pools
1ceb81
1ceb81
* Thu Nov 13 2014 Remi Collet <remi@fedoraproject.org> 5.6.3-1
1ceb81
- Update to PHP 5.6.3
1ceb81
  http://php.net/releases/5_6_3.php
1ceb81
1ceb81
* Fri Oct 31 2014 Remi Collet <rcollet@redhat.com> 5.6.3-0.2.RC1
1ceb81
- php 5.6.3RC1 (refreshed, phpdbg changes reverted)
1ceb81
- new version of systzdata patch, fix case sensitivity
1ceb81
- ignore Factory in date tests
1ceb81
1ceb81
* Wed Oct 29 2014 Remi Collet <rcollet@redhat.com> 5.6.3-0.1.RC1
1ceb81
- php 5.6.3RC1
1ceb81
- disable opcache.fast_shutdown in default config
1ceb81
- enable phpdbg_webhelper new extension (in php-dbg)
1ceb81
1ceb81
* Thu Oct 16 2014 Remi Collet <remi@fedoraproject.org> 5.6.1-1
1ceb81
- Update to PHP 5.6.2
1ceb81
  http://php.net/releases/5_6_2.php
1ceb81
1ceb81
* Fri Oct  3 2014 Remi Collet <remi@fedoraproject.org> 5.6.1-1
1ceb81
- Update to PHP 5.6.1
1ceb81
  http://php.net/releases/5_6_1.php
1ceb81
- use default system cipher list by Fedora policy
1ceb81
  http://fedoraproject.org/wiki/Changes/CryptoPolicy
1ceb81
1ceb81
* Wed Sep 24 2014 Remi Collet <rcollet@redhat.com> 5.6.1-0.2.RC1
1ceb81
- provides nginx configuration (see #1142298)
1ceb81
1ceb81
* Sat Sep 13 2014 Remi Collet <rcollet@redhat.com> 5.6.1-0.1.RC1
1ceb81
- php 5.6.1RC1
1ceb81
1ceb81
* Thu Aug 28 2014 Remi Collet <remi@fedoraproject.org> 5.6.0-1
1ceb81
- PHP 5.6.0 is GA
1ceb81
  http://php.net/releases/5_6_0.php
1ceb81
- fix ZTS man pages, upstream patch for 67878
1ceb81
- provides php(httpd)
1ceb81
1ceb81
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.0-0.7.RC4
1ceb81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1ceb81
1ceb81
* Thu Aug 14 2014 Remi Collet <rcollet@redhat.com> 5.6.0-0.6.RC4
1ceb81
- php 5.6.0RC4
1ceb81
1ceb81
* Thu Jul 31 2014 Remi Collet <rcollet@redhat.com> 5.6.0-0.5.RC3
1ceb81
- fpm requires httpd >= 2.4.10 for proxy support in SetHandler
1ceb81
1ceb81
* Thu Jul 31 2014 Remi Collet <rcollet@redhat.com> 5.6.0-0.4.RC3
1ceb81
- php 5.6.0RC3
1ceb81
- cleanup with_libmysql
1ceb81
- fix licenses handling
1ceb81
- fix zts-php-config --php-binary output #1124605
1ceb81
- provide php.conf with php-fpm, allow apache + fpm
1ceb81
  to work with default configuration, without mod_php
1ceb81
1ceb81
* Mon Jul  7 2014 Remi Collet <rcollet@redhat.com> 5.6.0-0.3.RC2
1ceb81
- php 5.6.0RC2
1ceb81
1ceb81
* Mon Jun 23 2014 Remi Collet <rcollet@redhat.com> 5.6.0-0.2.RC1
1ceb81
- fix phpdbg with libedit https://bugs.php.net/67499
1ceb81
- add workaround for unserialize/mock issue from 5.4/5.5
1ceb81
1ceb81
* Thu Jun 19 2014 Remi Collet <rcollet@redhat.com> 5.6.0-0.1.RC1
1ceb81
- php 5.6.0RC1
1ceb81
  https://fedoraproject.org/wiki/Changes/Php56
1ceb81
- add php-dbg subpackage
1ceb81
- update php.ini and opcache.ini from upstream production template
1ceb81
- move zts-php to php-cli
1ceb81
1ceb81
* Thu Jun  5 2014 Remi Collet <rcollet@redhat.com> 5.5.13-3
1ceb81
- fix regression introduce in fix for #67118
1ceb81
1ceb81
* Tue Jun  3 2014 Remi Collet <remi@fedoraproject.org> 5.5.13-2
1ceb81
- fileinfo: fix insufficient boundary check
1ceb81
- workaround regression introduce in fix for 67072 in
1ceb81
  serialize/unzerialize functions
1ceb81
1ceb81
* Fri May 30 2014 Remi Collet <rcollet@redhat.com> 5.5.13-1
1ceb81
- Update to 5.5.13
1ceb81
  http://www.php.net/releases/5_5_13.php
1ceb81
- sync php.ini with upstream php.ini-production
1ceb81
1ceb81
* Sat May  3 2014 Remi Collet <rcollet@redhat.com> 5.5.12-1
1ceb81
- Update to 5.5.12
1ceb81
  http://www.php.net/releases/5_5_12.php
1ceb81
- php-fpm: change default unix socket permission CVE-2014-0185
1ceb81
1ceb81
* Wed Apr 23 2014 Remi Collet <rcollet@redhat.com> 5.5.11-2
1ceb81
- add numerical prefix to extension configuration files
1ceb81
- prevent .user.ini files from being viewed by Web clients
1ceb81
- load php directives only when mod_php is active
1ceb81
1ceb81
* Thu Apr  3 2014 Remi Collet <rcollet@redhat.com> 5.5.11-1
1ceb81
- Update to 5.5.11
1ceb81
  http://www.php.net/ChangeLog-5.php#5.5.11
1ceb81
1ceb81
* Thu Mar  6 2014 Remi Collet <rcollet@redhat.com> 5.5.10-1
1ceb81
- Update to 5.5.10
1ceb81
  http://www.php.net/ChangeLog-5.php#5.5.10
1ceb81
- php-fpm should own /var/lib/php/session and wsdlcache
1ceb81
- fix pcre test results with libpcre < 8.34
1ceb81
1ceb81
* Tue Feb 18 2014 Remi Collet <rcollet@redhat.com> 5.5.9-2
1ceb81
- upstream patch for https://bugs.php.net/66731
1ceb81
1ceb81
* Thu Feb 13 2014 Remi Collet <remi@fedoraproject.org> 5.5.9-1.1
1ceb81
- rebuild
1ceb81
1ceb81
* Tue Feb 11 2014 Remi Collet <remi@fedoraproject.org> 5.5.9-1
1ceb81
- Update to 5.5.9
1ceb81
  http://www.php.net/ChangeLog-5.php#5.5.9
1ceb81
- Install macros to /usr/lib/rpm/macros.d
1ceb81
1ceb81
* Thu Jan 23 2014 Joe Orton <jorton@redhat.com> - 5.5.8-2
1ceb81
- fix _httpd_mmn expansion in absence of httpd-devel
1ceb81
1ceb81
* Wed Jan  8 2014 Remi Collet <rcollet@redhat.com> 5.5.8-1
1ceb81
- update to 5.5.8
1ceb81
- drop conflicts with other opcode caches as both can
1ceb81
  be used only for user data cache
1ceb81
1ceb81
* Wed Dec 11 2013 Remi Collet <rcollet@redhat.com> 5.5.7-1
1ceb81
- update to 5.5.7, fix for CVE-2013-6420
1ceb81
- fix zend_register_functions breaks reflection, php bug 66218
1ceb81
- fix Heap buffer over-read in DateInterval, php bug 66060
1ceb81
- fix fix overflow handling bug in non-x86
1ceb81
1ceb81
* Wed Nov 13 2013 Remi Collet <remi@fedoraproject.org> 5.5.6-1
1ceb81
- update to 5.5.6
1ceb81
1ceb81
* Thu Oct 17 2013 Remi Collet <rcollet@redhat.com> - 5.5.5-1
1ceb81
- update to 5.5.5
1ceb81
- sync php.ini with upstream
1ceb81
1ceb81
* Thu Sep 19 2013 Remi Collet <rcollet@redhat.com> - 5.5.4-1
1ceb81
- update to 5.5.4
1ceb81
- improve security, use specific soap.wsdl_cache_dir
1ceb81
  use /var/lib/php/wsdlcache for mod_php and php-fpm
1ceb81
- sync short_tag comments in php.ini with upstream
1ceb81
1ceb81
* Wed Aug 21 2013 Remi Collet <rcollet@redhat.com> - 5.5.3-1
1ceb81
- update to 5.5.3
1ceb81
- fix typo and add missing entries in php.ini
1ceb81
- drop zip extension
1ceb81
1ceb81
* Mon Aug 19 2013 Remi Collet <rcollet@redhat.com> - 5.5.2-1
1ceb81
- update to 5.5.2, fixes for CVE-2011-4718 + CVE-2013-4248
1ceb81
1ceb81
* Thu Aug 08 2013 Remi Collet <rcollet@redhat.com> - 5.5.1-3
1ceb81
- improve system libzip patch
1ceb81
1ceb81
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.1-2
1ceb81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1ceb81
1ceb81
* Mon Jul 22 2013 Remi Collet <rcollet@redhat.com> - 5.5.1-1
1ceb81
- update to 5.5.1
1ceb81
- add Provides: php(pdo-abi), for consistency with php(api)
1ceb81
  and php(zend-abi)
1ceb81
- improved description for mod_php
1ceb81
- fix opcache ZTS configuration (blacklists in /etc/php-zts.d)
1ceb81
- add missing man pages (phar, php-cgi)
1ceb81
1ceb81
* Fri Jul 12 2013 Remi Collet <rcollet@redhat.com> - 5.5.0-2
1ceb81
- add security fix for CVE-2013-4113
1ceb81
- add missing ASL 1.0 license
1ceb81
- 32k stack size seems ok for tests on both 32/64bits build
1ceb81
1ceb81
* Thu Jun 20 2013 Remi Collet <rcollet@redhat.com> 5.5.0-1
1ceb81
- update to 5.5.0 final
1ceb81
1ceb81
* Fri Jun 14 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.11.RC3
1ceb81
- also drop JSON from sources
1ceb81
- clean conditional for JSON (as removed from the sources)
1ceb81
- clean conditional for FPM (always build)
1ceb81
1ceb81
* Thu Jun 13 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.10.RC3
1ceb81
- drop JSON extension
1ceb81
1ceb81
* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.9.RC3
1ceb81
- build with system GD >= 2.1.0
1ceb81
1ceb81
* Thu Jun  6 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.8.RC3
1ceb81
- update to 5.5.0RC3
1ceb81
1ceb81
* Thu May 23 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.7.RC2
1ceb81
- update to 5.5.0RC2
1ceb81
- add missing options in php-fpm.conf
1ceb81
- run php-fpm in systemd notify mode
1ceb81
- /etc/syconfig/php-fpm is deprecated (still used)
1ceb81
- add /systemd/system/php-fpm.service.d
1ceb81
1ceb81
* Wed May  8 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.6.RC1
1ceb81
- update to 5.5.0RC1
1ceb81
- remove reference to apache in some sub-packages description
1ceb81
- add option to disable json extension
1ceb81
- drop most (very old) "Obsoletes", add version to others
1ceb81
1ceb81
* Thu Apr 25 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.5.beta4
1ceb81
- update to 5.5.0beta4
1ceb81
- zend_extension doesn't requires full path
1ceb81
- refresh patch for system libzip
1ceb81
- drop opcache patch merged upstream
1ceb81
- add BuildRequires libvpx-devel for WebP support in php-gd
1ceb81
- php-fpm own /usr/share/fpm
1ceb81
1ceb81
* Thu Apr 11 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.4.beta3
1ceb81
- update to 5.5.0beta3
1ceb81
- allow wildcard in opcache.blacklist_filename and provide
1ceb81
  default /etc/php.d/opcache-default.blacklist
1ceb81
- clean spec, use only spaces (no tab)
1ceb81
1ceb81
* Thu Apr  4 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.3.beta2
1ceb81
- clean old deprecated options
1ceb81
1ceb81
* Thu Mar 28 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.2.beta2
1ceb81
- update to 5.5.0beta2
1ceb81
- Zend Optimizer+ renamed to Zend OPcache
1ceb81
- sync provided configuration with upstream
1ceb81
1ceb81
* Fri Mar 22 2013 Remi Collet <rcollet@redhat.com> 5.5.0-0.1.beta1
1ceb81
- update to 5.5.0beta1
1ceb81
  http://fedoraproject.org/wiki/Features/Php55
1ceb81
- new Zend OPcache extension in php-opccache new sub-package
1ceb81
- don't display XFAIL tests in report
1ceb81
- use xz compressed tarball
1ceb81
- build simplexml and xml extensions shared (moved in php-xml)
1ceb81
- build bz2, calendar, ctype, exif, ftp, gettext, iconv
1ceb81
  sockets and tokenizer extensions shared (in php-common)
1ceb81
- build gmp extension shared (in php-gmp new sub-package)
1ceb81
- build shmop extension shared (moved in php-process)
1ceb81
- drop some old compatibility provides (php-api, php-zend-abi, php-pecl-*)
1ceb81
1ceb81
* Thu Mar 14 2013 Remi Collet <rcollet@redhat.com> 5.4.13-1
1ceb81
- update to 5.4.13
1ceb81
- security fix for CVE-2013-1643
1ceb81
- Hardened build (links with -z now option)
1ceb81
1ceb81
* Mon Mar 11 2013 Ralf Corsépius <corsepiu@fedoraproject.org> -  5.4.13-0.2.RC1
1ceb81
- Remove %%config from %%{_sysconfdir}/rpm/macros.*
1ceb81
  (https://fedorahosted.org/fpc/ticket/259).
1ceb81
1ceb81
* Thu Feb 28 2013 Remi Collet <rcollet@redhat.com> 5.4.13-0.1.RC1
1ceb81
- update to 5.4.13RC1
1ceb81
- drop patches merged upstream
1ceb81
1ceb81
* Sat Feb 23 2013 Karsten Hopp <karsten@redhat.com> 5.4.12-4
1ceb81
- add support for ppc64p7 arch (Power7 optimized)
1ceb81
1ceb81
* Thu Feb 21 2013 Remi Collet <rcollet@redhat.com> 5.4.12-3
1ceb81
- make ZTS build optional (still enabled)
1ceb81
1ceb81
* Wed Feb 20 2013 Remi Collet <rcollet@redhat.com> 5.4.12-2
1ceb81
- make php-mysql package optional and disabled
1ceb81
1ceb81
* Wed Feb 20 2013 Remi Collet <remi@fedoraproject.org> 5.4.12-1
1ceb81
- update to 5.4.12
1ceb81
- security fix for CVE-2013-1635
1ceb81
- drop gdbm because of license incompatibility
1ceb81
1ceb81
* Wed Feb 13 2013 Remi Collet <rcollet@redhat.com> 5.4.12-0.6.RC2
1ceb81
- enable tokyocabinet and gdbm dba handlers
1ceb81
1ceb81
* Wed Feb 13 2013 Remi Collet <rcollet@redhat.com> 5.4.12-0.5.RC2
1ceb81
- update to 5.4.12RC2
1ceb81
1ceb81
* Mon Feb 11 2013 Remi Collet <rcollet@redhat.com> 5.4.12-0.4.RC1
1ceb81
- upstream patch (5.4.13) to fix dval to lval conversion
1ceb81
  https://bugs.php.net/64142
1ceb81
1ceb81
* Mon Feb  4 2013 Remi Collet <rcollet@redhat.com> 5.4.12-0.3.RC1
1ceb81
- upstream patch (5.4.13) for 2 failed tests
1ceb81
1ceb81
* Fri Feb  1 2013 Remi Collet <rcollet@redhat.com> 5.4.12-0.2.RC1
1ceb81
- fix buit-in web server on ppc64 (fdset usage)
1ceb81
  https://bugs.php.net/64128
1ceb81
1ceb81
* Thu Jan 31 2013 Remi Collet <rcollet@redhat.com> 5.4.12-0.1.RC1
1ceb81
- update to 5.4.12RC1
1ceb81
1ceb81
* Mon Jan 28 2013 Remi Collet <rcollet@redhat.com> 5.4.11-3
1ceb81
- rebuild for new libicu
1ceb81
1ceb81
* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 5.4.11-2
1ceb81
- rebuild due to "jpeg8-ABI" feature drop
1ceb81
1ceb81
* Wed Jan 16 2013 Remi Collet <rcollet@redhat.com> 5.4.11-1
1ceb81
- update to 5.4.11
1ceb81
1ceb81
* Thu Jan 10 2013 Remi Collet <rcollet@redhat.com> 5.4.11-0.2.RC1
1ceb81
- fix php.conf to allow MultiViews managed by php scripts
1ceb81
1ceb81
* Thu Jan 10 2013 Remi Collet <rcollet@redhat.com> 5.4.11-0.1.RC1
1ceb81
- update to 5.4.11RC1
1ceb81
1ceb81
* Wed Dec 19 2012 Remi Collet <rcollet@redhat.com> 5.4.10-1
1ceb81
- update to 5.4.10
1ceb81
- remove patches merged upstream
1ceb81
1ceb81
* Tue Dec 11 2012 Remi Collet <rcollet@redhat.com> 5.4.9-3
1ceb81
- drop "Configure Command" from phpinfo output
1ceb81
1ceb81
* Tue Dec 11 2012 Joe Orton <jorton@redhat.com> - 5.4.9-2
1ceb81
- prevent php_config.h changes across (otherwise identical) rebuilds
1ceb81
1ceb81
* Thu Nov 22 2012 Remi Collet <rcollet@redhat.com> 5.4.9-1
1ceb81
- update to 5.4.9
1ceb81
1ceb81
* Thu Nov 15 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.5.RC1
1ceb81
- switch back to upstream generated scanner/parser
1ceb81
1ceb81
* Thu Nov 15 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.4.RC1
1ceb81
- use _httpd_contentdir macro and fix php.gif path
1ceb81
1ceb81
* Wed Nov 14 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.3.RC1
1ceb81
- improve system libzip patch to use pkg-config
1ceb81
1ceb81
* Wed Nov 14 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.2.RC1
1ceb81
- use _httpd_moddir macro
1ceb81
1ceb81
* Wed Nov 14 2012 Remi Collet <rcollet@redhat.com> 5.4.9-0.1.RC1
1ceb81
- update to 5.4.9RC1
1ceb81
- improves php.conf (use FilesMatch + SetHandler)
1ceb81
- improves filter (httpd module)
1ceb81
- apply ldap_r patch on fedora >= 18 only
1ceb81
1ceb81
* Fri Nov  9 2012 Remi Collet <rcollet@redhat.com> 5.4.8-6
1ceb81
- clarify Licenses
1ceb81
- missing provides xmlreader and xmlwriter
1ceb81
- modernize spec
1ceb81
- change php embedded library soname version to 5.4
1ceb81
1ceb81
* Tue Nov  6 2012 Remi Collet <rcollet@redhat.com> 5.4.8-5
1ceb81
- fix _httpd_mmn macro definition
1ceb81
1ceb81
* Mon Nov  5 2012 Remi Collet <rcollet@redhat.com> 5.4.8-4
1ceb81
- fix mysql_sock macro definition
1ceb81
1ceb81
* Thu Oct 25 2012 Remi Collet <rcollet@redhat.com> 5.4.8-3
1ceb81
- fix installed headers
1ceb81
1ceb81
* Tue Oct 23 2012 Joe Orton <jorton@redhat.com> - 5.4.8-2
1ceb81
- use libldap_r for ldap extension
1ceb81
1ceb81
* Thu Oct 18 2012 Remi Collet <remi@fedoraproject.org> 5.4.8-1
1ceb81
- update to 5.4.8
1ceb81
- define both session.save_handler and session.save_path
1ceb81
- fix possible segfault in libxml (#828526)
1ceb81
- php-fpm: create apache user if needed
1ceb81
- use SKIP_ONLINE_TEST during make test
1ceb81
- php-devel requires pcre-devel and php-cli (instead of php)
1ceb81
1ceb81
* Fri Oct  5 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-11
1ceb81
- provides php-phar
1ceb81
- update systzdata patch to v10, timezone are case insensitive
1ceb81
1ceb81
* Mon Oct  1 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-10
1ceb81
- fix typo in systemd macro
1ceb81
1ceb81
* Mon Oct  1 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-9
1ceb81
- php-fpm: enable PrivateTmp
1ceb81
- php-fpm: new systemd macros (#850268)
1ceb81
- php-fpm: add upstream patch for startup issue (#846858)
1ceb81
1ceb81
* Fri Sep 28 2012 Remi Collet <rcollet@redhat.com> 5.4.7-8
1ceb81
- systemd integration, https://bugs.php.net/63085
1ceb81
- no odbc call during timeout, https://bugs.php.net/63171
1ceb81
- check sqlite3_column_table_name, https://bugs.php.net/63149
1ceb81
1ceb81
* Mon Sep 24 2012 Remi Collet <rcollet@redhat.com> 5.4.7-7
1ceb81
- most failed tests explained (i386, x86_64)
1ceb81
1ceb81
* Wed Sep 19 2012 Remi Collet <rcollet@redhat.com> 5.4.7-6
1ceb81
- fix for http://bugs.php.net/63126 (#783967)
1ceb81
1ceb81
* Wed Sep 19 2012 Remi Collet <rcollet@redhat.com> 5.4.7-5
1ceb81
- patch to ensure we use latest libdb (not libdb4)
1ceb81
1ceb81
* Wed Sep 19 2012 Remi Collet <rcollet@redhat.com> 5.4.7-4
1ceb81
- really fix rhel tests (use libzip and libdb)
1ceb81
1ceb81
* Tue Sep 18 2012 Remi Collet <rcollet@redhat.com> 5.4.7-3
1ceb81
- fix test to enable zip extension on RHEL-7
1ceb81
1ceb81
* Mon Sep 17 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-2
1ceb81
- remove session.save_path from php.ini
1ceb81
  move it to apache and php-fpm configuration files
1ceb81
1ceb81
* Fri Sep 14 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-1
1ceb81
- update to 5.4.7
1ceb81
  http://www.php.net/releases/5_4_7.php
1ceb81
- php-fpm: don't daemonize
1ceb81
1ceb81
* Mon Aug 20 2012 Remi Collet <remi@fedoraproject.org> 5.4.6-2
1ceb81
- enable php-fpm on secondary arch (#849490)
1ceb81
1ceb81
* Fri Aug 17 2012 Remi Collet <remi@fedoraproject.org> 5.4.6-1
1ceb81
- update to 5.4.6
1ceb81
- update to v9 of systzdata patch
1ceb81
- backport fix for new libxml
1ceb81
1ceb81
* Fri Jul 20 2012 Remi Collet <remi@fedoraproject.org> 5.4.5-1
1ceb81
- update to 5.4.5
1ceb81
1ceb81
* Mon Jul 02 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-4
1ceb81
- also provide php(language)%%{_isa}
1ceb81
- define %%{php_version}
1ceb81
1ceb81
* Mon Jul 02 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-3
1ceb81
- drop BR for libevent (#835671)
1ceb81
- provide php(language) to allow version check
1ceb81
1ceb81
* Thu Jun 21 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-2
1ceb81
- add missing provides (core, ereg, filter, standard)
1ceb81
1ceb81
* Thu Jun 14 2012 Remi Collet <remi@fedoraproject.org> 5.4.4-1
1ceb81
- update to 5.4.4 (CVE-2012-2143, CVE-2012-2386)
1ceb81
- use /usr/lib/tmpfiles.d instead of /etc/tmpfiles.d
1ceb81
- use /run/php-fpm instead of /var/run/php-fpm
1ceb81
1ceb81
* Wed May 09 2012 Remi Collet <remi@fedoraproject.org> 5.4.3-1
1ceb81
- update to 5.4.3 (CVE-2012-2311, CVE-2012-2329)
1ceb81
1ceb81
* Thu May 03 2012 Remi Collet <remi@fedoraproject.org> 5.4.2-1
1ceb81
- update to 5.4.2 (CVE-2012-1823)
1ceb81
1ceb81
* Fri Apr 27 2012 Remi Collet <remi@fedoraproject.org> 5.4.1-1
1ceb81
- update to 5.4.1
1ceb81
1ceb81
* Wed Apr 25 2012 Joe Orton <jorton@redhat.com> - 5.4.0-6
1ceb81
- rebuild for new icu
1ceb81
- switch (conditionally) to libdb-devel
1ceb81
1ceb81
* Sat Mar 31 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-5
1ceb81
- fix Loadmodule with MPM event (use ZTS if not MPM worker)
1ceb81
- split conf.d/php.conf + conf.modules.d/10-php.conf with httpd 2.4
1ceb81
1ceb81
* Thu Mar 29 2012 Joe Orton <jorton@redhat.com> - 5.4.0-4
1ceb81
- rebuild for missing automatic provides (#807889)
1ceb81
1ceb81
* Mon Mar 26 2012 Joe Orton <jorton@redhat.com> - 5.4.0-3
1ceb81
- really use _httpd_mmn
1ceb81
1ceb81
* Mon Mar 26 2012 Joe Orton <jorton@redhat.com> - 5.4.0-2
1ceb81
- rebuild against httpd 2.4
1ceb81
- use _httpd_mmn, _httpd_apxs macros
1ceb81
1ceb81
* Fri Mar 02 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-1
1ceb81
- update to PHP 5.4.0 finale
1ceb81
1ceb81
* Sat Feb 18 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.4.RC8
1ceb81
- update to PHP 5.4.0RC8
1ceb81
1ceb81
* Sat Feb 04 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.3.RC7
1ceb81
- update to PHP 5.4.0RC7
1ceb81
- provides env file for php-fpm (#784770)
1ceb81
- add patch to use system libzip (thanks to spot)
1ceb81
- don't provide INSTALL file
1ceb81
1ceb81
* Wed Jan 25 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.2.RC6
1ceb81
- all binaries in /usr/bin with zts prefix
1ceb81
1ceb81
* Wed Jan 18 2012 Remi Collet <remi@fedoraproject.org> 5.4.0-0.1.RC6
1ceb81
- update to PHP 5.4.0RC6
1ceb81
  https://fedoraproject.org/wiki/Features/Php54
1ceb81
1ceb81
* Sun Jan 08 2012 Remi Collet <remi@fedoraproject.org> 5.3.8-4.4
1ceb81
- fix systemd unit
1ceb81
1ceb81
* Mon Dec 12 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-4.3
1ceb81
- switch to systemd
1ceb81
1ceb81
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 5.3.8-4.2
1ceb81
- Rebuild for new libpng
1ceb81
1ceb81
* Wed Oct 26 2011 Marcela Mašláňová <mmaslano@redhat.com> - 5.3.8-3.2
1ceb81
- rebuild with new gmp without compat lib
1ceb81
1ceb81
* Wed Oct 12 2011 Peter Schiffer <pschiffe@redhat.com> - 5.3.8-3.1
1ceb81
- rebuild with new gmp
1ceb81
1ceb81
* Wed Sep 28 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-3
1ceb81
- revert is_a() to php <= 5.3.6 behavior (from upstream)
1ceb81
  with new option (allow_string) for new behavior
1ceb81
1ceb81
* Tue Sep 13 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-2
1ceb81
- add mysqlnd sub-package
1ceb81
- drop patch4, use --libdir to use /usr/lib*/php/build
1ceb81
- add patch to redirect mysql.sock (in mysqlnd)
1ceb81
1ceb81
* Tue Aug 23 2011 Remi Collet <remi@fedoraproject.org> 5.3.8-1
1ceb81
- update to 5.3.8
1ceb81
  http://www.php.net/ChangeLog-5.php#5.3.8
1ceb81
1ceb81
* Thu Aug 18 2011 Remi Collet <remi@fedoraproject.org> 5.3.7-1
1ceb81
- update to 5.3.7
1ceb81
  http://www.php.net/ChangeLog-5.php#5.3.7
1ceb81
- merge php-zts into php (#698084)
1ceb81
1ceb81
* Tue Jul 12 2011 Joe Orton <jorton@redhat.com> - 5.3.6-4
1ceb81
- rebuild for net-snmp SONAME bump
1ceb81
1ceb81
* Mon Apr  4 2011 Remi Collet <Fedora@famillecollet.com> 5.3.6-3
1ceb81
- enable mhash extension (emulated by hash extension)
1ceb81
1ceb81
* Wed Mar 23 2011 Remi Collet <Fedora@famillecollet.com> 5.3.6-2
1ceb81
- rebuild for new MySQL client library
1ceb81
1ceb81
* Thu Mar 17 2011 Remi Collet <Fedora@famillecollet.com> 5.3.6-1
1ceb81
- update to 5.3.6
1ceb81
  http://www.php.net/ChangeLog-5.php#5.3.6
1ceb81
- fix php-pdo arch specific requires
1ceb81
1ceb81
* Tue Mar 15 2011 Joe Orton <jorton@redhat.com> - 5.3.5-6
1ceb81
- disable zip extension per "No Bundled Libraries" policy (#551513)
1ceb81
1ceb81
* Mon Mar 07 2011 Caolán McNamara <caolanm@redhat.com> 5.3.5-5
1ceb81
- rebuild for icu 4.6
1ceb81
1ceb81
* Mon Feb 28 2011 Remi Collet <Fedora@famillecollet.com> 5.3.5-4
1ceb81
- fix systemd-units requires
1ceb81
1ceb81
* Thu Feb 24 2011 Remi Collet <Fedora@famillecollet.com> 5.3.5-3
1ceb81
- add tmpfiles.d configuration for php-fpm
1ceb81
- add Arch specific requires/provides
1ceb81
1ceb81
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.5-2
1ceb81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1ceb81
1ceb81
* Fri Jan 07 2011 Remi Collet <Fedora@famillecollet.com> 5.3.5-1
1ceb81
- update to 5.3.5
1ceb81
  http://www.php.net/ChangeLog-5.php#5.3.5
1ceb81
- clean duplicate configure options
1ceb81
1ceb81
* Tue Dec 28 2010 Remi Collet <rpms@famillecollet.com> 5.3.4-2
1ceb81
- rebuild against MySQL 5.5.8
1ceb81
- remove all RPM_SOURCE_DIR
1ceb81
1ceb81
* Sun Dec 12 2010 Remi Collet <rpms@famillecollet.com> 5.3.4-1.1
1ceb81
- security patch from upstream for #660517
1ceb81
1ceb81
* Sat Dec 11 2010 Remi Collet <Fedora@famillecollet.com> 5.3.4-1
1ceb81
- update to 5.3.4
1ceb81
  http://www.php.net/ChangeLog-5.php#5.3.4
1ceb81
- move phpize to php-cli (see #657812)
1ceb81
1ceb81
* Wed Dec  1 2010 Remi Collet <Fedora@famillecollet.com> 5.3.3-5
1ceb81
- ghost /var/run/php-fpm (see #656660)
1ceb81
- add filter_setup to not provides extensions as .so
1ceb81
1ceb81
* Mon Nov  1 2010 Joe Orton <jorton@redhat.com> - 5.3.3-4
1ceb81
- use mysql_config in libdir directly to avoid biarch build failures
1ceb81
1ceb81
* Fri Oct 29 2010 Joe Orton <jorton@redhat.com> - 5.3.3-3
1ceb81
- rebuild for new net-snmp
1ceb81
1ceb81
* Sun Oct 10 2010 Remi Collet <Fedora@famillecollet.com> 5.3.3-2
1ceb81
- add php-fpm sub-package
1ceb81
1ceb81
* Thu Jul 22 2010 Remi Collet <Fedora@famillecollet.com> 5.3.3-1
1ceb81
- PHP 5.3.3 released
1ceb81
1ceb81
* Fri Apr 30 2010 Remi Collet <Fedora@famillecollet.com> 5.3.2-3
1ceb81
- garbage collector upstream  patches (#580236)
1ceb81
1ceb81
* Fri Apr 02 2010 Caolán McNamara <caolanm@redhat.com> 5.3.2-2
1ceb81
- rebuild for icu 4.4
1ceb81
1ceb81
* Sat Mar 06 2010 Remi Collet <Fedora@famillecollet.com> 5.3.2-1
1ceb81
- PHP 5.3.2 Released!
1ceb81
- remove mime_magic option (now provided by fileinfo, by emu)
1ceb81
- add patch for http://bugs.php.net/50578
1ceb81
- remove patch for libedit (upstream)
1ceb81
- add runselftest option to allow build without test suite
1ceb81
1ceb81
* Fri Nov 27 2009 Joe Orton <jorton@redhat.com> - 5.3.1-3
1ceb81
- update to v7 of systzdata patch
1ceb81
1ceb81
* Wed Nov 25 2009 Joe Orton <jorton@redhat.com> - 5.3.1-2
1ceb81
- fix build with autoconf 2.6x
1ceb81
1ceb81
* Fri Nov 20 2009 Remi Collet <Fedora@famillecollet.com> 5.3.1-1
1ceb81
- update to 5.3.1
1ceb81
- remove openssl patch (merged upstream)
1ceb81
- add provides for php-pecl-json
1ceb81
- add prod/devel php.ini in doc
1ceb81
1ceb81
* Tue Nov 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 5.3.0-7
1ceb81
- use libedit instead of readline to resolve licensing issues
1ceb81
1ceb81
* Tue Aug 25 2009 Tomas Mraz <tmraz@redhat.com> - 5.3.0-6
1ceb81
- rebuilt with new openssl
1ceb81
1ceb81
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-5
1ceb81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1ceb81
1ceb81
* Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-4
1ceb81
- rediff systzdata patch
1ceb81
1ceb81
* Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-3
1ceb81
- update to v6 of systzdata patch; various fixes
1ceb81
1ceb81
* Tue Jul 14 2009 Joe Orton <jorton@redhat.com> 5.3.0-2
1ceb81
- update to v5 of systzdata patch; parses zone.tab and extracts
1ceb81
  timezone->{country-code,long/lat,comment} mapping table
1ceb81
1ceb81
* Sun Jul 12 2009 Remi Collet <Fedora@famillecollet.com> 5.3.0-1
1ceb81
- update to 5.3.0
1ceb81
- remove ncurses, dbase, mhash extensions
1ceb81
- add enchant, sqlite3, intl, phar, fileinfo extensions
1ceb81
- raise sqlite version to 3.6.0 (for sqlite3, build with --enable-load-extension)
1ceb81
- sync with upstream "production" php.ini
1ceb81
1ceb81
* Sun Jun 21 2009 Remi Collet <Fedora@famillecollet.com> 5.2.10-1
1ceb81
- update to 5.2.10
1ceb81
- add interbase sub-package
1ceb81
1ceb81
* Sat Feb 28 2009 Remi Collet <Fedora@FamilleCollet.com> - 5.2.9-1
1ceb81
- update to 5.2.9
1ceb81
1ceb81
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.8-10
1ceb81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1ceb81
1ceb81
* Thu Feb  5 2009 Joe Orton <jorton@redhat.com> 5.2.8-9
1ceb81
- add recode support, -recode subpackage (#106755)
1ceb81
- add -zts subpackage with ZTS-enabled build of httpd SAPI
1ceb81
- adjust php.conf to use -zts SAPI build for worker MPM
1ceb81
1ceb81
* Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8
1ceb81
- fix patch fuzz, renumber patches
1ceb81
1ceb81
* Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-7
1ceb81
- drop obsolete configure args
1ceb81
- drop -odbc patch (#483690)
1ceb81
1ceb81
* Mon Jan 26 2009 Joe Orton <jorton@redhat.com> 5.2.8-5
1ceb81
- split out sysvshm, sysvsem, sysvmsg, posix into php-process
1ceb81
1ceb81
* Sun Jan 25 2009 Joe Orton <jorton@redhat.com> 5.2.8-4
1ceb81
- move wddx to php-xml, build curl shared in -common
1ceb81
- remove BR for expat-devel, bogus configure option
1ceb81
1ceb81
* Fri Jan 23 2009 Joe Orton <jorton@redhat.com> 5.2.8-3
1ceb81
- rebuild for new MySQL
1ceb81
1ceb81
* Sat Dec 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-2
1ceb81
- libtool 2 workaround for phpize (#476004)
1ceb81
- add missing php_embed.h (#457777)
1ceb81
1ceb81
* Tue Dec 09 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-1
1ceb81
- update to 5.2.8
1ceb81
1ceb81
* Sat Dec 06 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1.1
1ceb81
- libtool 2 workaround
1ceb81
1ceb81
* Fri Dec 05 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1
1ceb81
- update to 5.2.7
1ceb81
- enable pdo_dblib driver in php-mssql
1ceb81
1ceb81
* Mon Nov 24 2008 Joe Orton <jorton@redhat.com> 5.2.6-7
1ceb81
- tweak Summary, thanks to Richard Hughes
1ceb81
1ceb81
* Tue Nov  4 2008 Joe Orton <jorton@redhat.com> 5.2.6-6
1ceb81
- move gd_README to php-gd
1ceb81
- update to r4 of systzdata patch; introduces a default timezone
1ceb81
  name of "System/Localtime", which uses /etc/localtime (#469532)
1ceb81
1ceb81
* Sat Sep 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-5
1ceb81
- enable XPM support in php-gd
1ceb81
- Fix BR for php-gd
1ceb81
1ceb81
* Sun Jul 20 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-4
1ceb81
- enable T1lib support in php-gd
1ceb81
1ceb81
* Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 5.2.6-3
1ceb81
- update to 5.2.6
1ceb81
- sync default php.ini with upstream
1ceb81
- drop extension_dir from default php.ini, rely on hard-coded
1ceb81
  default, to make php-common multilib-safe (#455091)
1ceb81
- update to r3 of systzdata patch
1ceb81
1ceb81
* Thu Apr 24 2008 Joe Orton <jorton@redhat.com> 5.2.5-7
1ceb81
- split pspell extension out into php-spell (#443857)
1ceb81
1ceb81
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.2.5-6
1ceb81
- Autorebuild for GCC 4.3
1ceb81
1ceb81
* Fri Jan 11 2008 Joe Orton <jorton@redhat.com> 5.2.5-5
1ceb81
- ext/date: use system timezone database
1ceb81
1ceb81
* Fri Dec 28 2007 Joe Orton <jorton@redhat.com> 5.2.5-4
1ceb81
- rebuild for libc-client bump
1ceb81
1ceb81
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 5.2.5-3
1ceb81
- Rebuild for openssl bump
1ceb81
1ceb81
* Wed Dec  5 2007 Joe Orton <jorton@redhat.com> 5.2.5-2
1ceb81
- update to 5.2.5
1ceb81
1ceb81
* Mon Oct 15 2007 Joe Orton <jorton@redhat.com> 5.2.4-3
1ceb81
- correct pcre BR version (#333021)
1ceb81
- restore metaphone fix (#205714)
1ceb81
- add READMEs to php-cli
1ceb81
1ceb81
* Sun Sep 16 2007 Joe Orton <jorton@redhat.com> 5.2.4-2
1ceb81
- update to 5.2.4
1ceb81
1ceb81
* Sun Sep  2 2007 Joe Orton <jorton@redhat.com> 5.2.3-9
1ceb81
- rebuild for fixed APR
1ceb81
1ceb81
* Tue Aug 28 2007 Joe Orton <jorton@redhat.com> 5.2.3-8
1ceb81
- add ldconfig post/postun for -embedded (Hans de Goede)
1ceb81
1ceb81
* Fri Aug 10 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.2.3-7
1ceb81
- add php-embedded sub-package
1ceb81
1ceb81
* Fri Aug 10 2007 Joe Orton <jorton@redhat.com> 5.2.3-6
1ceb81
- fix build with new glibc
1ceb81
- fix License
1ceb81
1ceb81
* Mon Jul 16 2007 Joe Orton <jorton@redhat.com> 5.2.3-5
1ceb81
- define php_extdir in macros.php
1ceb81
1ceb81
* Mon Jul  2 2007 Joe Orton <jorton@redhat.com> 5.2.3-4
1ceb81
- obsolete php-dbase
1ceb81
1ceb81
* Tue Jun 19 2007 Joe Orton <jorton@redhat.com> 5.2.3-3
1ceb81
- add mcrypt, mhash, tidy, mssql subpackages (Dmitry Butskoy)
1ceb81
- enable dbase extension and package in -common
1ceb81
1ceb81
* Fri Jun  8 2007 Joe Orton <jorton@redhat.com> 5.2.3-2
1ceb81
- update to 5.2.3 (thanks to Jeff Sheltren)
1ceb81
1ceb81
* Wed May  9 2007 Joe Orton <jorton@redhat.com> 5.2.2-4
1ceb81
- fix php-pdo *_arg_force_ref global symbol abuse (#216125)
1ceb81
1ceb81
* Tue May  8 2007 Joe Orton <jorton@redhat.com> 5.2.2-3
1ceb81
- rebuild against uw-imap-devel
1ceb81
1ceb81
* Fri May  4 2007 Joe Orton <jorton@redhat.com> 5.2.2-2
1ceb81
- update to 5.2.2
1ceb81
- synch changes from upstream recommended php.ini
1ceb81
1ceb81
* Thu Mar 29 2007 Joe Orton <jorton@redhat.com> 5.2.1-5
1ceb81
- enable SASL support in LDAP extension (#205772)
1ceb81
1ceb81
* Wed Mar 21 2007 Joe Orton <jorton@redhat.com> 5.2.1-4
1ceb81
- drop mime_magic extension (deprecated by php-pecl-Fileinfo)
1ceb81
1ceb81
* Mon Feb 19 2007 Joe Orton <jorton@redhat.com> 5.2.1-3
1ceb81
- fix regression in str_{i,}replace (from upstream)
1ceb81
1ceb81
* Thu Feb 15 2007 Joe Orton <jorton@redhat.com> 5.2.1-2
1ceb81
- update to 5.2.1
1ceb81
- add Requires(pre) for httpd
1ceb81
- trim %%changelog to versions >= 5.0.0
1ceb81
1ceb81
* Thu Feb  8 2007 Joe Orton <jorton@redhat.com> 5.2.0-10
1ceb81
- bump default memory_limit to 32M (#220821)
1ceb81
- mark config files noreplace again (#174251)
1ceb81
- drop trailing dots from Summary fields
1ceb81
- use standard BuildRoot
1ceb81
- drop libtool15 patch (#226294)
1ceb81
1ceb81
* Tue Jan 30 2007 Joe Orton <jorton@redhat.com> 5.2.0-9
1ceb81
- add php(api), php(zend-abi) provides (#221302)
1ceb81
- package /usr/share/php and append to default include_path (#225434)
1ceb81
1ceb81
* Tue Dec  5 2006 Joe Orton <jorton@redhat.com> 5.2.0-8
1ceb81
- fix filter.h installation path
1ceb81
- fix php-zend-abi version (Remi Collet, #212804)
1ceb81
1ceb81
* Tue Nov 28 2006 Joe Orton <jorton@redhat.com> 5.2.0-7
1ceb81
- rebuild again
1ceb81
1ceb81
* Tue Nov 28 2006 Joe Orton <jorton@redhat.com> 5.2.0-6
1ceb81
- rebuild for net-snmp soname bump
1ceb81
1ceb81
* Mon Nov 27 2006 Joe Orton <jorton@redhat.com> 5.2.0-5
1ceb81
- build json and zip shared, in -common (Remi Collet, #215966)
1ceb81
- obsolete php-json and php-pecl-zip
1ceb81
- build readline extension into /usr/bin/php* (#210585)
1ceb81
- change module subpackages to require php-common not php (#177821)
1ceb81
1ceb81
* Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 5.2.0-4
1ceb81
- provide php-zend-abi (#212804)
1ceb81
- add /etc/rpm/macros.php exporting interface versions
1ceb81
- synch with upstream recommended php.ini
1ceb81
1ceb81
* Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 5.2.0-3
1ceb81
- update to 5.2.0 (#213837)
1ceb81
- php-xml provides php-domxml (#215656)
1ceb81
- fix php-pdo-abi provide (#214281)
1ceb81
1ceb81
* Tue Oct 31 2006 Joseph Orton <jorton@redhat.com> 5.1.6-4
1ceb81
- rebuild for curl soname bump
1ceb81
- add build fix for curl 7.16 API
1ceb81
1ceb81
* Wed Oct  4 2006 Joe Orton <jorton@redhat.com> 5.1.6-3
1ceb81
- from upstream: add safety checks against integer overflow in _ecalloc
1ceb81
1ceb81
* Tue Aug 29 2006 Joe Orton <jorton@redhat.com> 5.1.6-2
1ceb81
- update to 5.1.6 (security fixes)
1ceb81
- bump default memory_limit to 16M (#196802)
1ceb81
1ceb81
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.1.4-8.1
1ceb81
- rebuild
1ceb81
1ceb81
* Fri Jun  9 2006 Joe Orton <jorton@redhat.com> 5.1.4-8
1ceb81
- Provide php-posix (#194583)
1ceb81
- only provide php-pcntl from -cli subpackage
1ceb81
- add missing defattr's (thanks to Matthias Saou)
1ceb81
1ceb81
* Fri Jun  9 2006 Joe Orton <jorton@redhat.com> 5.1.4-7
1ceb81
- move Obsoletes for php-openssl to -common (#194501)
1ceb81
- Provide: php-cgi from -cli subpackage
1ceb81
1ceb81
* Fri Jun  2 2006 Joe Orton <jorton@redhat.com> 5.1.4-6
1ceb81
- split out php-cli, php-common subpackages (#177821)
1ceb81
- add php-pdo-abi version export (#193202)
1ceb81
1ceb81
* Wed May 24 2006 Radek Vokal <rvokal@redhat.com> 5.1.4-5.1
1ceb81
- rebuilt for new libnetsnmp
1ceb81
1ceb81
* Thu May 18 2006 Joe Orton <jorton@redhat.com> 5.1.4-5
1ceb81
- provide mod_php (#187891)
1ceb81
- provide php-cli (#192196)
1ceb81
- use correct LDAP fix (#181518)
1ceb81
- define _GNU_SOURCE in php_config.h and leave it defined
1ceb81
- drop (circular) dependency on php-pear
1ceb81
1ceb81
* Mon May  8 2006 Joe Orton <jorton@redhat.com> 5.1.4-3
1ceb81
- update to 5.1.4
1ceb81
1ceb81
* Wed May  3 2006 Joe Orton <jorton@redhat.com> 5.1.3-3
1ceb81
- update to 5.1.3
1ceb81
1ceb81
* Tue Feb 28 2006 Joe Orton <jorton@redhat.com> 5.1.2-5
1ceb81
- provide php-api (#183227)
1ceb81
- add provides for all builtin modules (Tim Jackson, #173804)
1ceb81
- own %%{_libdir}/php/pear for PEAR packages (per #176733)
1ceb81
- add obsoletes to allow upgrade from FE4 PDO packages (#181863)
1ceb81
1ceb81
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.1.2-4.3
1ceb81
- bump again for double-long bug on ppc(64)
1ceb81
1ceb81
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.1.2-4.1
1ceb81
- rebuilt for new gcc4.1 snapshot and glibc changes
1ceb81
1ceb81
* Tue Jan 31 2006 Joe Orton <jorton@redhat.com> 5.1.2-4
1ceb81
- rebuild for new libc-client soname
1ceb81
1ceb81
* Mon Jan 16 2006 Joe Orton <jorton@redhat.com> 5.1.2-3
1ceb81
- only build xmlreader and xmlwriter shared (#177810)
1ceb81
1ceb81
* Fri Jan 13 2006 Joe Orton <jorton@redhat.com> 5.1.2-2
1ceb81
- update to 5.1.2
1ceb81
1ceb81
* Thu Jan  5 2006 Joe Orton <jorton@redhat.com> 5.1.1-8
1ceb81
- rebuild again
1ceb81
1ceb81
* Mon Jan  2 2006 Joe Orton <jorton@redhat.com> 5.1.1-7
1ceb81
- rebuild for new net-snmp
1ceb81
1ceb81
* Mon Dec 12 2005 Joe Orton <jorton@redhat.com> 5.1.1-6
1ceb81
- enable short_open_tag in default php.ini again (#175381)
1ceb81
1ceb81
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
1ceb81
- rebuilt
1ceb81
1ceb81
* Thu Dec  8 2005 Joe Orton <jorton@redhat.com> 5.1.1-5
1ceb81
- require net-snmp for php-snmp (#174800)
1ceb81
1ceb81
* Sun Dec  4 2005 Joe Orton <jorton@redhat.com> 5.1.1-4
1ceb81
- add /usr/share/pear back to hard-coded include_path (#174885)
1ceb81
1ceb81
* Fri Dec  2 2005 Joe Orton <jorton@redhat.com> 5.1.1-3
1ceb81
- rebuild for httpd 2.2
1ceb81
1ceb81
* Mon Nov 28 2005 Joe Orton <jorton@redhat.com> 5.1.1-2
1ceb81
- update to 5.1.1
1ceb81
- remove pear subpackage
1ceb81
- enable pdo extensions (php-pdo subpackage)
1ceb81
- remove non-standard conditional module builds
1ceb81
- enable xmlreader extension
1ceb81
1ceb81
* Thu Nov 10 2005 Tomas Mraz <tmraz@redhat.com> 5.0.5-6
1ceb81
- rebuilt against new openssl
1ceb81
1ceb81
* Mon Nov  7 2005 Joe Orton <jorton@redhat.com> 5.0.5-5
1ceb81
- pear: update to XML_RPC 1.4.4, XML_Parser 1.2.7, Mail 1.1.9 (#172528)
1ceb81
1ceb81
* Tue Nov  1 2005 Joe Orton <jorton@redhat.com> 5.0.5-4
1ceb81
- rebuild for new libnetsnmp
1ceb81
1ceb81
* Wed Sep 14 2005 Joe Orton <jorton@redhat.com> 5.0.5-3
1ceb81
- update to 5.0.5
1ceb81
- add fix for upstream #34435
1ceb81
- devel: require autoconf, automake (#159283)
1ceb81
- pear: update to HTTP-1.3.6, Mail-1.1.8, Net_SMTP-1.2.7, XML_RPC-1.4.1
1ceb81
- fix imagettftext et al (upstream, #161001)
1ceb81
1ceb81
* Thu Jun 16 2005 Joe Orton <jorton@redhat.com> 5.0.4-11
1ceb81
- ldap: restore ldap_start_tls() function
1ceb81
1ceb81
* Fri May  6 2005 Joe Orton <jorton@redhat.com> 5.0.4-10
1ceb81
- disable RPATHs in shared extensions (#156974)
1ceb81
1ceb81
* Tue May  3 2005 Joe Orton <jorton@redhat.com> 5.0.4-9
1ceb81
- build simplexml_import_dom even with shared dom (#156434)
1ceb81
- prevent truncation of copied files to ~2Mb (#155916)
1ceb81
- install /usr/bin/php from CLI build alongside CGI
1ceb81
- enable sysvmsg extension (#142988)
1ceb81
1ceb81
* Mon Apr 25 2005 Joe Orton <jorton@redhat.com> 5.0.4-8
1ceb81
- prevent build of builtin dba as well as shared extension
1ceb81
1ceb81
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-7
1ceb81
- split out dba and bcmath extensions into subpackages
1ceb81
- BuildRequire gcc-c++ to avoid AC_PROG_CXX{,CPP} failure (#155221)
1ceb81
- pear: update to DB-1.7.6
1ceb81
- enable FastCGI support in /usr/bin/php-cgi (#149596)
1ceb81
1ceb81
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-6
1ceb81
- build /usr/bin/php with the CLI SAPI, and add /usr/bin/php-cgi,
1ceb81
  built with the CGI SAPI (thanks to Edward Rudd, #137704)
1ceb81
- add php(1) man page for CLI
1ceb81
- fix more test cases to use -n when invoking php
1ceb81
1ceb81
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-5
1ceb81
- rebuild for new libpq soname
1ceb81
1ceb81
* Tue Apr 12 2005 Joe Orton <jorton@redhat.com> 5.0.4-4
1ceb81
- bundle from PEAR: HTTP, Mail, XML_Parser, Net_Socket, Net_SMTP
1ceb81
- snmp: disable MSHUTDOWN function to prevent error_log noise (#153988)
1ceb81
- mysqli: add fix for crash on x86_64 (Georg Richter, upstream #32282)
1ceb81
1ceb81
* Mon Apr 11 2005 Joe Orton <jorton@redhat.com> 5.0.4-3
1ceb81
- build shared objects as PIC (#154195)
1ceb81
1ceb81
* Mon Apr  4 2005 Joe Orton <jorton@redhat.com> 5.0.4-2
1ceb81
- fix PEAR installation and bundle PEAR DB-1.7.5 package
1ceb81
1ceb81
* Fri Apr  1 2005 Joe Orton <jorton@redhat.com> 5.0.4-1
1ceb81
- update to 5.0.4 (#153068)
1ceb81
- add .phps AddType to php.conf (#152973)
1ceb81
- better gcc4 fix for libxmlrpc
1ceb81
1ceb81
* Wed Mar 30 2005 Joe Orton <jorton@redhat.com> 5.0.3-5
1ceb81
- BuildRequire mysql-devel >= 4.1
1ceb81
- don't mark php.ini as noreplace to make upgrades work (#152171)
1ceb81
- fix subpackage descriptions (#152628)
1ceb81
- fix memset(,,0) in Zend (thanks to Dave Jones)
1ceb81
- fix various compiler warnings in Zend
1ceb81
1ceb81
* Thu Mar 24 2005 Joe Orton <jorton@redhat.com> 5.0.3-4
1ceb81
- package mysqli extension in php-mysql
1ceb81
- really enable pcntl (#142903)
1ceb81
- don't build with --enable-safe-mode (#148969)
1ceb81
- use "Instant Client" libraries for oci8 module (Kai Bolay, #149873)
1ceb81
1ceb81
* Fri Feb 18 2005 Joe Orton <jorton@redhat.com> 5.0.3-3
1ceb81
- fix build with GCC 4
1ceb81
1ceb81
* Wed Feb  9 2005 Joe Orton <jorton@redhat.com> 5.0.3-2
1ceb81
- install the ext/gd headers (#145891)
1ceb81
- enable pcntl extension in /usr/bin/php (#142903)
1ceb81
- add libmbfl array arithmetic fix (dcb314@hotmail.com, #143795)
1ceb81
- add BuildRequire for recent pcre-devel (#147448)
1ceb81
1ceb81
* Wed Jan 12 2005 Joe Orton <jorton@redhat.com> 5.0.3-1
1ceb81
- update to 5.0.3 (thanks to Robert Scheck et al, #143101)
1ceb81
- enable xsl extension (#142174)
1ceb81
- package both the xsl and dom extensions in php-xml
1ceb81
- enable soap extension, shared (php-soap package) (#142901)
1ceb81
- add patches from upstream 5.0 branch:
1ceb81
 * Zend_strtod.c compile fixes
1ceb81
 * correct php_sprintf return value usage
1ceb81
1ceb81
* Mon Nov 22 2004 Joe Orton <jorton@redhat.com> 5.0.2-8
1ceb81
- update for db4-4.3 (Robert Scheck, #140167)
1ceb81
- build against mysql-devel
1ceb81
- run tests in %%check
1ceb81
1ceb81
* Wed Nov 10 2004 Joe Orton <jorton@redhat.com> 5.0.2-7
1ceb81
- truncate changelog at 4.3.1-1
1ceb81
- merge from 4.3.x package:
1ceb81
 - enable mime_magic extension and Require: file (#130276)
1ceb81
1ceb81
* Mon Nov  8 2004 Joe Orton <jorton@redhat.com> 5.0.2-6
1ceb81
- fix dom/sqlite enable/without confusion
1ceb81
1ceb81
* Mon Nov  8 2004 Joe Orton <jorton@redhat.com> 5.0.2-5
1ceb81
- fix phpize installation for lib64 platforms
1ceb81
- add fix for segfault in variable parsing introduced in 5.0.2
1ceb81
1ceb81
* Mon Nov  8 2004 Joe Orton <jorton@redhat.com> 5.0.2-4
1ceb81
- update to 5.0.2 (#127980)
1ceb81
- build against mysqlclient10-devel
1ceb81
- use new RTLD_DEEPBIND to load extension modules
1ceb81
- drop explicit requirement for elfutils-devel
1ceb81
- use AddHandler in default conf.d/php.conf (#135664)
1ceb81
- "fix" round() fudging for recent gcc on x86
1ceb81
- disable sqlite pending audit of warnings and subpackage split
1ceb81
1ceb81
* Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-4
1ceb81
- don't build dom extension into 2.0 SAPI
1ceb81
1ceb81
* Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-3
1ceb81
- ExclusiveArch: x86 ppc x86_64 for the moment
1ceb81
1ceb81
* Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-2
1ceb81
- fix default extension_dir and conf.d/php.conf
1ceb81
1ceb81
* Thu Sep  9 2004 Joe Orton <jorton@redhat.com> 5.0.1-1
1ceb81
- update to 5.0.1
1ceb81
- only build shared modules once
1ceb81
- put dom extension in php-dom subpackage again
1ceb81
- move extension modules into %%{_libdir}/php/modules
1ceb81
- don't use --with-regex=system, it's ignored for the apache* SAPIs
1ceb81
1ceb81
* Wed Aug 11 2004 Tom Callaway <tcallawa@redhat.com>
1ceb81
- Merge in some spec file changes from Jeff Stern (jastern@uci.edu)
1ceb81
1ceb81
* Mon Aug 09 2004 Tom Callaway <tcallawa@redhat.com>
1ceb81
- bump to 5.0.0
1ceb81
- add patch to prevent clobbering struct re_registers from regex.h
1ceb81
- remove domxml references, replaced with dom now built-in
1ceb81
- fix php.ini to refer to php5 not php4