|
|
@ -35,35 +35,25 @@ |
|
|
|
# needed at srpm build time, when httpd-devel not yet installed |
|
|
|
# needed at srpm build time, when httpd-devel not yet installed |
|
|
|
%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}} |
|
|
|
%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}} |
|
|
|
|
|
|
|
|
|
|
|
%global with_argon2 1 |
|
|
|
%global with_argon2 0 |
|
|
|
%global with_dtrace 1 |
|
|
|
%global with_dtrace 1 |
|
|
|
%global with_libgd 1 |
|
|
|
%global with_libgd 0 |
|
|
|
%global with_zip 0 |
|
|
|
%global with_zip 1 |
|
|
|
%global with_libzip 0 |
|
|
|
%global with_libzip 0 |
|
|
|
%if 0%{?fedora} |
|
|
|
|
|
|
|
%global with_zts 1 |
|
|
|
%global with_zts 1 |
|
|
|
%global with_firebird 1 |
|
|
|
%global with_firebird 0 |
|
|
|
%global with_imap 1 |
|
|
|
%global with_imap 1 |
|
|
|
%global with_freetds 1 |
|
|
|
%global with_freetds 1 |
|
|
|
%global with_sodium 1 |
|
|
|
|
|
|
|
%global with_pspell 1 |
|
|
|
|
|
|
|
%global with_lmdb 1 |
|
|
|
|
|
|
|
%else |
|
|
|
|
|
|
|
%global with_zts 0 |
|
|
|
|
|
|
|
%global with_firebird 0 |
|
|
|
|
|
|
|
%global with_imap 0 |
|
|
|
|
|
|
|
%global with_freetds 0 |
|
|
|
|
|
|
|
%global with_sodium 0 |
|
|
|
%global with_sodium 0 |
|
|
|
%global with_pspell 0 |
|
|
|
%global with_pspell 1 |
|
|
|
%global with_lmdb 0 |
|
|
|
%global with_lmdb 0 |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global upver 7.2.13 |
|
|
|
%global upver 7.2.13 |
|
|
|
|
|
|
|
|
|
|
|
Summary: PHP scripting language for creating dynamic web sites |
|
|
|
Summary: PHP scripting language for creating dynamic web sites |
|
|
|
Name: php |
|
|
|
Name: php |
|
|
|
Version: %{upver} |
|
|
|
Version: %{upver} |
|
|
|
Release: 2%{?dist} |
|
|
|
Release: 1%{?dist} |
|
|
|
# All files licensed under PHP version 3.01, except |
|
|
|
# All files licensed under PHP version 3.01, except |
|
|
|
# Zend is licensed under Zend |
|
|
|
# Zend is licensed under Zend |
|
|
|
# TSRM is licensed under BSD |
|
|
|
# TSRM is licensed under BSD |
|
|
@ -124,15 +114,15 @@ Patch300: php-5.6.3-datetests.patch |
|
|
|
BuildRequires: bzip2-devel, curl-devel >= 7.9 |
|
|
|
BuildRequires: bzip2-devel, curl-devel >= 7.9 |
|
|
|
BuildRequires: httpd-devel >= 2.0.46-1, pam-devel |
|
|
|
BuildRequires: httpd-devel >= 2.0.46-1, pam-devel |
|
|
|
# to ensure we are using httpd with filesystem feature (see #1081453) |
|
|
|
# to ensure we are using httpd with filesystem feature (see #1081453) |
|
|
|
BuildRequires: httpd-filesystem |
|
|
|
#BuildRequires: httpd-filesystem |
|
|
|
# to ensure we are using nginx with filesystem feature (see #1142298) |
|
|
|
# to ensure we are using nginx with filesystem feature (see #1142298) |
|
|
|
BuildRequires: nginx-filesystem |
|
|
|
#BuildRequires: nginx-filesystem |
|
|
|
BuildRequires: libstdc++-devel, openssl-devel |
|
|
|
BuildRequires: libstdc++-devel, openssl-devel |
|
|
|
BuildRequires: sqlite-devel >= 3.6.0 |
|
|
|
BuildRequires: sqlite-devel >= 3.6.0 |
|
|
|
BuildRequires: zlib-devel, smtpdaemon, libedit-devel |
|
|
|
BuildRequires: zlib-devel, smtpdaemon, libedit-devel |
|
|
|
BuildRequires: pcre-devel >= 6.6 |
|
|
|
BuildRequires: pcre-devel >= 6.6 |
|
|
|
BuildRequires: bzip2 |
|
|
|
BuildRequires: bzip2 |
|
|
|
BuildRequires: perl-interpreter |
|
|
|
#BuildRequires: perl-interpreter |
|
|
|
BuildRequires: autoconf |
|
|
|
BuildRequires: autoconf |
|
|
|
BuildRequires: automake |
|
|
|
BuildRequires: automake |
|
|
|
BuildRequires: gcc |
|
|
|
BuildRequires: gcc |
|
|
@ -159,7 +149,7 @@ Provides: mod_php = %{version}-%{release} |
|
|
|
Requires: php-common%{?_isa} = %{version}-%{release} |
|
|
|
Requires: php-common%{?_isa} = %{version}-%{release} |
|
|
|
# For backwards-compatibility, require php-cli for the time being: |
|
|
|
# For backwards-compatibility, require php-cli for the time being: |
|
|
|
Requires: php-cli%{?_isa} = %{version}-%{release} |
|
|
|
Requires: php-cli%{?_isa} = %{version}-%{release} |
|
|
|
Recommends: php-fpm%{?_isa} = %{version}-%{release} |
|
|
|
Requires: php-fpm%{?_isa} = %{version}-%{release} |
|
|
|
# To ensure correct /var/lib/php/session ownership: |
|
|
|
# To ensure correct /var/lib/php/session ownership: |
|
|
|
Requires(pre): httpd-filesystem |
|
|
|
Requires(pre): httpd-filesystem |
|
|
|
# php engine for Apache httpd webserver |
|
|
|
# php engine for Apache httpd webserver |
|
|
@ -210,11 +200,11 @@ BuildRequires: systemd-devel |
|
|
|
Requires(pre): httpd-filesystem |
|
|
|
Requires(pre): httpd-filesystem |
|
|
|
# For php.conf in /etc/httpd/conf.d |
|
|
|
# For php.conf in /etc/httpd/conf.d |
|
|
|
# and version 2.4.10 for proxy support in SetHandler |
|
|
|
# and version 2.4.10 for proxy support in SetHandler |
|
|
|
Requires: httpd-filesystem >= 2.4.10 |
|
|
|
#Requires: httpd-filesystem >= 2.4.10 |
|
|
|
# php engine for Apache httpd webserver |
|
|
|
# php engine for Apache httpd webserver |
|
|
|
Provides: php(httpd) |
|
|
|
Provides: php(httpd) |
|
|
|
# for /etc/nginx ownership |
|
|
|
# for /etc/nginx ownership |
|
|
|
Requires: nginx-filesystem |
|
|
|
#Requires: nginx-filesystem |
|
|
|
|
|
|
|
|
|
|
|
%description fpm |
|
|
|
%description fpm |
|
|
|
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI |
|
|
|
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI |
|
|
@ -682,7 +672,8 @@ support for JavaScript Object Notation (JSON) to PHP. |
|
|
|
Summary: Wrapper for the Sodium cryptographic library |
|
|
|
Summary: Wrapper for the Sodium cryptographic library |
|
|
|
# All files licensed under PHP version 3.0.1 |
|
|
|
# All files licensed under PHP version 3.0.1 |
|
|
|
License: PHP |
|
|
|
License: PHP |
|
|
|
BuildRequires: pkgconfig(libsodium) >= 1.0.9 |
|
|
|
#BuildRequires: pkgconfig(libsodium) >= 1.0.9 |
|
|
|
|
|
|
|
BuildRequires: pkgconfig(libsodium) |
|
|
|
|
|
|
|
|
|
|
|
Requires: php-common%{?_isa} = %{version}-%{release} |
|
|
|
Requires: php-common%{?_isa} = %{version}-%{release} |
|
|
|
Obsoletes: php-pecl-libsodium2 < 3 |
|
|
|
Obsoletes: php-pecl-libsodium2 < 3 |
|
|
|