Blame SPECS/php.spec

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