Compare commits
25 Commits
Author | SHA1 | Date |
---|---|---|
|
5cba99e52d | |
|
5341b0d05f | |
|
25512ff1e7 | |
|
edfb7e04b2 | |
|
0ba271b348 | |
|
fca88d83a5 | |
|
d77eb00046 | |
|
e908c03d1b | |
|
56e29fbee9 | |
|
d6402271e3 | |
|
477167de07 | |
|
5968eee4ae | |
|
7c5a8aebfa | |
|
48ab12c8e0 | |
|
d032675b3c | |
|
7354aefff2 | |
|
54e5c1d4e1 | |
|
b4a14d59cc | |
|
4468832b27 | |
|
449911882a | |
|
19df004cc0 | |
|
9bf68d8f29 | |
|
59baf32394 | |
|
c9f7170713 | |
|
7eb4afaec8 |
|
@ -2,33 +2,10 @@ clog
|
|||
*.md
|
||||
php-5.6.*.xz
|
||||
php-7.0.*.xz
|
||||
/php-7.0.8.tar.xz
|
||||
/php-7.0.9RC1.tar.xz
|
||||
/php-7.0.9.tar.xz
|
||||
/php-7.0.10RC1.tar.xz
|
||||
/php-7.0.10.tar.xz
|
||||
/php-7.0.11RC1.tar.xz
|
||||
/php-7.0.11.tar.xz
|
||||
/php-7.0.12RC1.tar.xz
|
||||
/php-7.1.0RC6.tar.xz
|
||||
/php-7.1.0.tar.xz
|
||||
/php-7.1.1RC1.tar.xz
|
||||
/php-7.1.1.tar.xz
|
||||
/php-7.1.2RC1.tar.xz
|
||||
/php-7.1.2.tar.xz
|
||||
/php-7.1.3RC1.tar.xz
|
||||
/php-7.1.3.tar.xz
|
||||
/php-7.1.4RC1.tar.xz
|
||||
/php-7.1.4.tar.xz
|
||||
/php-7.1.5RC1.tar.xz
|
||||
/php-7.1.5.tar.xz
|
||||
/php-7.1.6RC1.tar.xz
|
||||
/php-7.1.6.tar.xz
|
||||
/php-7.1.7RC1.tar.xz
|
||||
/php-7.1.7.tar.xz
|
||||
/php-7.1.8RC1.tar.xz
|
||||
/php-7.1.8.tar.xz
|
||||
/php-7.1.9RC1.tar.xz
|
||||
/php-7.1.9.tar.xz
|
||||
/php-7.1.10RC1.tar.xz
|
||||
/php-7.1.10.tar.xz
|
||||
php-7.2.*.xz
|
||||
php-7.3.*.xz
|
||||
/php-7.1.19.tar.xz
|
||||
/php-7.1.20.tar.xz
|
||||
/php-7.1.21.tar.xz
|
||||
/php-7.1.22.tar.xz
|
||||
/php-7.1.23.tar.xz
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
|
||||
Use -lldap_r by default.
|
||||
|
||||
--- php-5.4.8/ext/ldap/config.m4.ldap_r
|
||||
+++ php-5.4.8/ext/ldap/config.m4
|
||||
@@ -117,7 +117,10 @@ if test "$PHP_LDAP" != "no"; then
|
||||
LDAP_PTHREAD=
|
||||
fi
|
||||
|
||||
- if test -f $LDAP_LIBDIR/liblber.a || test -f $LDAP_LIBDIR/liblber.$SHLIB_SUFFIX_NAME; then
|
||||
+ if test -f $LDAP_LIBDIR/libldap_r.$SHLIB_SUFFIX_NAME; then
|
||||
+ PHP_ADD_LIBRARY_WITH_PATH(lber, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
|
||||
+ PHP_ADD_LIBRARY_WITH_PATH(ldap_r, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
|
||||
+ elif test -f $LDAP_LIBDIR/liblber.a || test -f $LDAP_LIBDIR/liblber.$SHLIB_SUFFIX_NAME; then
|
||||
PHP_ADD_LIBRARY_WITH_PATH(lber, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
|
||||
PHP_ADD_LIBRARY_WITH_PATH(ldap, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
|
||||
Make generated php_config.h constant across rebuilds.
|
||||
|
||||
--- php-7.0.0/configure.in.fixheader
|
||||
+++ php-7.0.0/configure.in
|
||||
@@ -1278,7 +1278,7 @@ fi
|
||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
|
||||
EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $PHP_LDFLAGS"
|
||||
|
||||
-PHP_BUILD_DATE=`date '+%Y-%m-%d'`
|
||||
+PHP_BUILD_DATE=`date '+%Y-%m-%d' -r $srcdir/NEWS`
|
||||
AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PHP build date])
|
||||
|
||||
case $host_alias in
|
||||
@@ -1289,7 +1289,7 @@ case $host_alias in
|
||||
AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[hardcode for each of the cross compiler host])
|
||||
;;
|
||||
*)
|
||||
- PHP_UNAME=`uname -a | xargs`
|
||||
+ PHP_UNAME=`uname | xargs`
|
||||
AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output])
|
||||
PHP_OS=`uname | xargs`
|
||||
AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
Use -lldap_r by default.
|
||||
|
||||
diff -up php-7.1.15RC1/ext/ldap/config.m4.ldap_r php-7.1.15RC1/ext/ldap/config.m4
|
||||
--- php-7.1.15RC1/ext/ldap/config.m4.ldap_r 2018-02-14 07:28:23.608321317 +0100
|
||||
+++ php-7.1.15RC1/ext/ldap/config.m4 2018-02-14 07:28:58.527492025 +0100
|
||||
@@ -119,7 +119,11 @@ if test "$PHP_LDAP" != "no"; then
|
||||
|
||||
MACHINE_INCLUDES=$($CC -dumpmachine)
|
||||
|
||||
- if test -f $LDAP_LIBDIR/liblber.a || test -f $LDAP_LIBDIR/liblber.$SHLIB_SUFFIX_NAME || test -f $LDAP_LIBDIR/$MACHINE_INCLUDES/liblber.a || test -f $LDAP_LIBDIR/$MACHINE_INCLUDES/liblber.$SHLIB_SUFFIX_NAME; then
|
||||
+ if test -f $LDAP_LIBDIR/libldap_r.$SHLIB_SUFFIX_NAME; then
|
||||
+ PHP_ADD_LIBRARY_WITH_PATH(lber, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
|
||||
+ PHP_ADD_LIBRARY_WITH_PATH(ldap_r, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
|
||||
+
|
||||
+ elif test -f $LDAP_LIBDIR/liblber.a || test -f $LDAP_LIBDIR/liblber.$SHLIB_SUFFIX_NAME || test -f $LDAP_LIBDIR/$MACHINE_INCLUDES/liblber.a || test -f $LDAP_LIBDIR/$MACHINE_INCLUDES/liblber.$SHLIB_SUFFIX_NAME; then
|
||||
PHP_ADD_LIBRARY_WITH_PATH(lber, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
|
||||
PHP_ADD_LIBRARY_WITH_PATH(ldap, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
|
||||
|
|
@ -1,18 +1,18 @@
|
|||
diff -up php-7.1.3RC1/sapi/litespeed/lsapilib.c.dlopen php-7.1.3RC1/sapi/litespeed/lsapilib.c
|
||||
--- php-7.1.3RC1/sapi/litespeed/lsapilib.c.dlopen 2017-02-28 10:12:34.000000000 +0100
|
||||
+++ php-7.1.3RC1/sapi/litespeed/lsapilib.c 2017-02-28 10:23:11.384521740 +0100
|
||||
@@ -616,7 +616,7 @@ static int (*fp_lve_leave)(struct liblve
|
||||
diff -up php-7.1.16RC1/sapi/litespeed/lsapilib.c.dlopen php-7.1.16RC1/sapi/litespeed/lsapilib.c
|
||||
--- php-7.1.16RC1/sapi/litespeed/lsapilib.c.dlopen 2018-03-14 13:19:47.998931942 +0100
|
||||
+++ php-7.1.16RC1/sapi/litespeed/lsapilib.c 2018-03-14 13:20:30.942148432 +0100
|
||||
@@ -755,7 +755,7 @@ static int (*fp_lve_leave)(struct liblve
|
||||
static int (*fp_lve_jail)( struct passwd *, char *) = NULL;
|
||||
static int lsapi_load_lve_lib()
|
||||
static int lsapi_load_lve_lib(void)
|
||||
{
|
||||
- s_liblve = dlopen("liblve.so.0", RTLD_LAZY);
|
||||
+ s_liblve = dlopen("liblve.so.0", RTLD_NOW);
|
||||
if (s_liblve)
|
||||
{
|
||||
fp_lve_is_available = dlsym(s_liblve, "lve_is_available");
|
||||
diff -up php-7.1.3RC1/Zend/zend_portability.h.dlopen php-7.1.3RC1/Zend/zend_portability.h
|
||||
--- php-7.1.3RC1/Zend/zend_portability.h.dlopen 2017-02-28 10:23:11.384521740 +0100
|
||||
+++ php-7.1.3RC1/Zend/zend_portability.h 2017-02-28 10:26:08.960308560 +0100
|
||||
diff -up php-7.1.16RC1/Zend/zend_portability.h.dlopen php-7.1.16RC1/Zend/zend_portability.h
|
||||
--- php-7.1.16RC1/Zend/zend_portability.h.dlopen 2018-03-14 06:00:31.000000000 +0100
|
||||
+++ php-7.1.16RC1/Zend/zend_portability.h 2018-03-14 13:19:47.998931942 +0100
|
||||
@@ -146,11 +146,11 @@
|
||||
# endif
|
||||
|
|
@ -17,7 +17,7 @@ include=/etc/php-fpm.d/*.conf
|
|||
[global]
|
||||
; Pid file
|
||||
; Default Value: none
|
||||
;pid = /run/php-fpm/php-fpm.pid
|
||||
pid = /run/php-fpm/php-fpm.pid
|
||||
|
||||
; Error log file
|
||||
; If it's set to "syslog", log is sent to syslogd instead of being written
|
||||
|
|
203
php.spec
203
php.spec
|
@ -28,9 +28,6 @@
|
|||
# arch detection heuristic used by bindir/mysql_config.
|
||||
%global mysql_config %{_libdir}/mysql/mysql_config
|
||||
|
||||
# Build ZTS extension or only NTS
|
||||
%global with_zts 1
|
||||
|
||||
%if 0%{?__isa_bits:1}
|
||||
%global isasuffix -%{__isa_bits}
|
||||
%else
|
||||
|
@ -40,28 +37,27 @@
|
|||
# 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)}}
|
||||
|
||||
%global with_dtrace 1
|
||||
|
||||
# build with system libgd
|
||||
%if 0%{?fedora} < 20
|
||||
%global with_libgd 0
|
||||
%else
|
||||
%global with_libgd 1
|
||||
%endif
|
||||
|
||||
%global with_zip 0
|
||||
%global with_libzip 0
|
||||
# Not yet compatible with firebird 3
|
||||
# https://bugs.php.net/bug.php?id=73512
|
||||
%global with_dtrace 1
|
||||
%global with_libgd 1
|
||||
%global with_zip 0
|
||||
%global with_libzip 0
|
||||
%if 0%{?fedora}
|
||||
%global with_zts 1
|
||||
%global with_firebird 1
|
||||
|
||||
%if 0%{?fedora} < 18 && 0%{?rhel} < 7
|
||||
%global db_devel db4-devel
|
||||
%global with_imap 1
|
||||
%global with_freetds 1
|
||||
%global with_mcrypt 1
|
||||
%global with_pspell 1
|
||||
%else
|
||||
%global db_devel libdb-devel
|
||||
%global with_zts 0
|
||||
%global with_firebird 0
|
||||
%global with_imap 0
|
||||
%global with_freetds 0
|
||||
%global with_mcrypt 0
|
||||
%global with_pspell 0
|
||||
%endif
|
||||
|
||||
%global upver 7.1.10
|
||||
%global upver 7.1.23
|
||||
#global rcver RC1
|
||||
|
||||
Summary: PHP scripting language for creating dynamic web sites
|
||||
|
@ -102,14 +98,12 @@ Patch7: php-5.3.0-recode.patch
|
|||
Patch8: php-7.0.2-libdb.patch
|
||||
|
||||
# Functional changes
|
||||
Patch40: php-7.1.3-dlopen.patch
|
||||
Patch40: php-7.1.16-dlopen.patch
|
||||
Patch42: php-7.1.0-systzdata-v14.patch
|
||||
# See http://bugs.php.net/53436
|
||||
Patch43: php-5.4.0-phpize.patch
|
||||
# Use -lldap_r for OpenLDAP
|
||||
Patch45: php-5.6.3-ldap_r.patch
|
||||
# Make php_config.h constant across builds
|
||||
Patch46: php-7.0.0-fixheader.patch
|
||||
Patch45: php-7.1.15-ldap_r.patch
|
||||
# drop "Configure command" from phpinfo output
|
||||
Patch47: php-5.6.3-phpinfo.patch
|
||||
# Automatically load OpenSSL configuration file
|
||||
|
@ -134,7 +128,13 @@ BuildRequires: libstdc++-devel, openssl-devel
|
|||
BuildRequires: sqlite-devel >= 3.6.0
|
||||
BuildRequires: zlib-devel, smtpdaemon, libedit-devel
|
||||
BuildRequires: pcre-devel >= 6.6
|
||||
BuildRequires: bzip2, perl-interpreter, libtool >= 1.4.3, gcc-c++
|
||||
BuildRequires: bzip2
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libtool-ltdl-devel
|
||||
%if %{with_libzip}
|
||||
BuildRequires: libzip-devel >= 0.11
|
||||
|
@ -153,7 +153,7 @@ Provides: mod_php = %{version}-%{release}
|
|||
Requires: php-common%{?_isa} = %{version}-%{release}
|
||||
# For backwards-compatibility, require php-cli for the time being:
|
||||
Requires: php-cli%{?_isa} = %{version}-%{release}
|
||||
Requires: php-fpm%{?_isa} = %{version}-%{release}
|
||||
Recommends: php-fpm%{?_isa} = %{version}-%{release}
|
||||
# To ensure correct /var/lib/php/session ownership:
|
||||
Requires(pre): httpd-filesystem
|
||||
# php engine for Apache httpd webserver
|
||||
|
@ -199,12 +199,8 @@ Summary: PHP FastCGI Process Manager
|
|||
BuildRequires: libacl-devel
|
||||
Requires: php-common%{?_isa} = %{version}-%{release}
|
||||
Requires(pre): /usr/sbin/useradd
|
||||
BuildRequires: systemd-units
|
||||
BuildRequires: systemd-devel
|
||||
Requires: systemd-units
|
||||
Requires(post): systemd-units
|
||||
Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
%{?systemd_requires}
|
||||
# To ensure correct /var/lib/php/session ownership:
|
||||
Requires(pre): httpd-filesystem
|
||||
# For php.conf in /etc/httpd/conf.d
|
||||
|
@ -273,7 +269,13 @@ package and the php-cli package.
|
|||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Files needed for building PHP extensions
|
||||
Requires: php-cli%{?_isa} = %{version}-%{release}, autoconf, automake
|
||||
Requires: php-cli%{?_isa} = %{version}-%{release}
|
||||
# always needed to build extension
|
||||
Requires: autoconf
|
||||
Requires: automake
|
||||
Requires: gcc
|
||||
Requires: gcc-c++
|
||||
Requires: libtool
|
||||
Requires: pcre-devel%{?_isa}
|
||||
Obsoletes: php-pecl-json-devel < %{jsonver}
|
||||
Obsoletes: php-pecl-jsonc-devel < %{jsonver}
|
||||
|
@ -304,6 +306,7 @@ bytecode in the shared memory. This eliminates the stages of reading code from
|
|||
the disk and compiling it on future access. In addition, it applies a few
|
||||
bytecode optimization patterns that make code execution faster.
|
||||
|
||||
%if %{with_imap}
|
||||
%package imap
|
||||
Summary: A module for PHP applications that use IMAP
|
||||
Group: Development/Languages
|
||||
|
@ -316,6 +319,7 @@ BuildRequires: krb5-devel, openssl-devel, libc-client-devel
|
|||
The php-imap module will add IMAP (Internet Message Access Protocol)
|
||||
support to PHP. IMAP is a protocol for retrieving and uploading e-mail
|
||||
messages on mail servers. PHP is an HTML-embedded scripting language.
|
||||
%endif
|
||||
|
||||
%package ldap
|
||||
Summary: A module for PHP applications that use LDAP
|
||||
|
@ -581,13 +585,14 @@ Summary: A database abstraction layer module for PHP applications
|
|||
Group: Development/Languages
|
||||
# All files licensed under PHP version 3.01
|
||||
License: PHP
|
||||
BuildRequires: %{db_devel}, tokyocabinet-devel
|
||||
BuildRequires: libdb-devel, tokyocabinet-devel
|
||||
Requires: php-common%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description dba
|
||||
The php-dba package contains a dynamic shared object that will add
|
||||
support for using the DBA database abstraction layer to PHP.
|
||||
|
||||
%if %{with_mcrypt}
|
||||
%package mcrypt
|
||||
Summary: Standard PHP module provides mcrypt library support
|
||||
Group: Development/Languages
|
||||
|
@ -599,6 +604,7 @@ BuildRequires: libmcrypt-devel
|
|||
%description mcrypt
|
||||
The php-mcrypt package contains a dynamic shared object that will add
|
||||
support for using the mcrypt library to PHP.
|
||||
%endif
|
||||
|
||||
%package tidy
|
||||
Summary: Standard PHP module provides tidy library support
|
||||
|
@ -612,6 +618,7 @@ BuildRequires: libtidy-devel
|
|||
The php-tidy package contains a dynamic shared object that will add
|
||||
support for using the tidy library to PHP.
|
||||
|
||||
%if %{with_freetds}
|
||||
%package pdo-dblib
|
||||
Summary: PDO driver Microsoft SQL Server and Sybase databases
|
||||
Group: Development/Languages
|
||||
|
@ -625,6 +632,7 @@ Provides: php-pdo_dblib, php-pdo_dblib%{?_isa}
|
|||
The php-pdo-dblib package contains a dynamic shared object
|
||||
that implements the PHP Data Objects (PDO) interface to enable access from
|
||||
PHP to Microsoft SQL Server and Sybase databases through the FreeTDS libary.
|
||||
%endif
|
||||
|
||||
%package embedded
|
||||
Summary: PHP library for embedding in applications
|
||||
|
@ -638,6 +646,7 @@ Provides: php-embedded-devel%{?_isa} = %{version}-%{release}
|
|||
The php-embedded package contains a library which can be embedded
|
||||
into applications to provide PHP scripting language support.
|
||||
|
||||
%if %{with_pspell}
|
||||
%package pspell
|
||||
Summary: A module for PHP applications for using pspell interfaces
|
||||
Group: System Environment/Libraries
|
||||
|
@ -649,6 +658,7 @@ BuildRequires: aspell-devel >= 0.50.0
|
|||
%description pspell
|
||||
The php-pspell package contains a dynamic shared object that will add
|
||||
support for using the pspell library to PHP.
|
||||
%endif
|
||||
|
||||
%package recode
|
||||
Summary: A module for PHP applications for using the recode library
|
||||
|
@ -720,7 +730,6 @@ support for JavaScript Object Notation (JSON) to PHP.
|
|||
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
||||
%patch45 -p1 -b .ldap_r
|
||||
%endif
|
||||
%patch46 -p1 -b .fixheader
|
||||
%patch47 -p1 -b .phpinfo
|
||||
%patch48 -p1 -b .loadconf
|
||||
|
||||
|
@ -830,6 +839,9 @@ sed -e '/opcache.huge_code_pages/s/0/1/' -i 10-opcache.ini
|
|||
|
||||
|
||||
%build
|
||||
# Set build date from https://reproducible-builds.org/specs/source-date-epoch/
|
||||
export SOURCE_DATE_EPOCH=$(date +%s -r NEWS)
|
||||
|
||||
# aclocal workaround - to be improved
|
||||
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >>aclocal.m4
|
||||
|
||||
|
@ -914,7 +926,9 @@ build --libdir=%{_libdir}/php \
|
|||
--enable-opcache \
|
||||
--enable-opcache-file \
|
||||
--enable-phpdbg \
|
||||
%if %{with_imap}
|
||||
--with-imap=shared --with-imap-ssl \
|
||||
%endif
|
||||
--enable-mbstring=shared \
|
||||
--enable-mbregex \
|
||||
%if %{with_libgd}
|
||||
|
@ -959,7 +973,9 @@ build --libdir=%{_libdir}/php \
|
|||
--with-pdo-mysql=shared,mysqlnd \
|
||||
--with-pdo-pgsql=shared,%{_prefix} \
|
||||
--with-pdo-sqlite=shared,%{_prefix} \
|
||||
%if %{with_freetds}
|
||||
--with-pdo-dblib=shared,%{_prefix} \
|
||||
%endif
|
||||
--with-sqlite3=shared,%{_prefix} \
|
||||
--enable-json=shared \
|
||||
%if %{with_zip}
|
||||
|
@ -970,9 +986,13 @@ build --libdir=%{_libdir}/php \
|
|||
%endif
|
||||
--without-readline \
|
||||
--with-libedit \
|
||||
%if %{with_pspell}
|
||||
--with-pspell=shared \
|
||||
%endif
|
||||
--enable-phar=shared \
|
||||
%if %{with_mcrypt}
|
||||
--with-mcrypt=shared,%{_prefix} \
|
||||
%endif
|
||||
--with-tidy=shared,%{_prefix} \
|
||||
--enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
|
||||
--enable-shmop=shared \
|
||||
|
@ -1040,7 +1060,9 @@ build --includedir=%{_includedir}/php-zts \
|
|||
--enable-pcntl \
|
||||
--enable-opcache \
|
||||
--enable-opcache-file \
|
||||
%if %{with_imap}
|
||||
--with-imap=shared --with-imap-ssl \
|
||||
%endif
|
||||
--enable-mbstring=shared \
|
||||
--enable-mbregex \
|
||||
%if %{with_libgd}
|
||||
|
@ -1086,7 +1108,9 @@ build --includedir=%{_includedir}/php-zts \
|
|||
--with-pdo-mysql=shared,mysqlnd \
|
||||
--with-pdo-pgsql=shared,%{_prefix} \
|
||||
--with-pdo-sqlite=shared,%{_prefix} \
|
||||
%if %{with_freetds}
|
||||
--with-pdo-dblib=shared,%{_prefix} \
|
||||
%endif
|
||||
--with-sqlite3=shared,%{_prefix} \
|
||||
--enable-json=shared \
|
||||
%if %{with_zip}
|
||||
|
@ -1097,9 +1121,13 @@ build --includedir=%{_includedir}/php-zts \
|
|||
%endif
|
||||
--without-readline \
|
||||
--with-libedit \
|
||||
%if %{with_pspell}
|
||||
--with-pspell=shared \
|
||||
%endif
|
||||
--enable-phar=shared \
|
||||
%if %{with_mcrypt}
|
||||
--with-mcrypt=shared,%{_prefix} \
|
||||
%endif
|
||||
--with-tidy=shared,%{_prefix} \
|
||||
--enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
|
||||
--enable-shmop=shared \
|
||||
|
@ -1237,7 +1265,11 @@ install -D -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/conf.d/php-fpm
|
|||
install -D -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/default.d/php.conf
|
||||
|
||||
# Generate files lists and stub .ini files for each subpackage
|
||||
for mod in pgsql odbc ldap snmp xmlrpc imap json \
|
||||
for mod in pgsql odbc ldap snmp xmlrpc \
|
||||
%if %{with_imap}
|
||||
imap \
|
||||
%endif
|
||||
json \
|
||||
mysqlnd mysqli pdo_mysql \
|
||||
mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \
|
||||
simplexml bz2 calendar ctype exif ftp gettext gmp iconv \
|
||||
|
@ -1251,7 +1283,17 @@ for mod in pgsql odbc ldap snmp xmlrpc imap json \
|
|||
%endif
|
||||
sqlite3 \
|
||||
enchant phar fileinfo intl \
|
||||
mcrypt tidy pdo_dblib pspell curl wddx \
|
||||
%if %{with_mcrypt}
|
||||
mcrypt \
|
||||
%endif
|
||||
tidy \
|
||||
%if %{with_freetds}
|
||||
pdo_dblib \
|
||||
%endif
|
||||
%if %{with_pspell}
|
||||
pspell \
|
||||
%endif
|
||||
curl wddx \
|
||||
posix shmop sysvshm sysvsem sysvmsg recode xml \
|
||||
; do
|
||||
case $mod in
|
||||
|
@ -1268,7 +1310,9 @@ for mod in pgsql odbc ldap snmp xmlrpc imap json \
|
|||
# some extensions have their own config file
|
||||
if [ -f ${ini} ]; then
|
||||
cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini}
|
||||
%if %{with_zts}
|
||||
cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/${ini}
|
||||
%endif
|
||||
else
|
||||
cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini} <<EOF
|
||||
; Enable ${mod} extension module
|
||||
|
@ -1326,9 +1370,11 @@ cat files.zip >> files.common
|
|||
|
||||
# The default Zend OPcache blacklist file
|
||||
install -m 644 %{SOURCE51} $RPM_BUILD_ROOT%{_sysconfdir}/php.d/opcache-default.blacklist
|
||||
%if %{with_zts}
|
||||
install -m 644 %{SOURCE51} $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/opcache-default.blacklist
|
||||
sed -e '/blacklist_filename/s/php.d/php-zts.d/' \
|
||||
-i $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/10-opcache.ini
|
||||
%endif
|
||||
|
||||
# Install the macros file:
|
||||
sed -e "s/@PHP_APIVER@/%{apiver}%{isasuffix}/" \
|
||||
|
@ -1404,6 +1450,7 @@ rm -f README.{Zeus,QNX,CVS-RULES}
|
|||
%{_bindir}/php
|
||||
%if %{with_zts}
|
||||
%{_bindir}/zts-php
|
||||
%{_mandir}/man1/zts-php.1*
|
||||
%endif
|
||||
%{_bindir}/php-cgi
|
||||
%{_bindir}/phar.phar
|
||||
|
@ -1411,7 +1458,6 @@ rm -f README.{Zeus,QNX,CVS-RULES}
|
|||
# provides phpize here (not in -devel) for pecl command
|
||||
%{_bindir}/phpize
|
||||
%{_mandir}/man1/php.1*
|
||||
%{_mandir}/man1/zts-php.1*
|
||||
%{_mandir}/man1/php-cgi.1*
|
||||
%{_mandir}/man1/phar.1*
|
||||
%{_mandir}/man1/phar.phar.1*
|
||||
|
@ -1474,7 +1520,9 @@ rm -f README.{Zeus,QNX,CVS-RULES}
|
|||
|
||||
%files pgsql -f files.pgsql
|
||||
%files odbc -f files.odbc
|
||||
%if %{with_imap}
|
||||
%files imap -f files.imap
|
||||
%endif
|
||||
%files ldap -f files.ldap
|
||||
%files snmp -f files.snmp
|
||||
%files xml -f files.xml
|
||||
|
@ -1494,10 +1542,16 @@ rm -f README.{Zeus,QNX,CVS-RULES}
|
|||
%files gmp -f files.gmp
|
||||
%files dba -f files.dba
|
||||
%files pdo -f files.pdo
|
||||
%if %{with_mcrypt}
|
||||
%files mcrypt -f files.mcrypt
|
||||
%endif
|
||||
%files tidy -f files.tidy
|
||||
%if %{with_freetds}
|
||||
%files pdo-dblib -f files.pdo_dblib
|
||||
%endif
|
||||
%if %{with_pspell}
|
||||
%files pspell -f files.pspell
|
||||
%endif
|
||||
%files intl -f files.intl
|
||||
%files process -f files.process
|
||||
%files recode -f files.recode
|
||||
|
@ -1508,11 +1562,84 @@ rm -f README.{Zeus,QNX,CVS-RULES}
|
|||
%files mysqlnd -f files.mysqlnd
|
||||
%files opcache -f files.opcache
|
||||
%config(noreplace) %{_sysconfdir}/php.d/opcache-default.blacklist
|
||||
%if %{with_zts}
|
||||
%config(noreplace) %{_sysconfdir}/php-zts.d/opcache-default.blacklist
|
||||
%endif
|
||||
%files json -f files.json
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 10 2018 Remi Collet <remi@remirepo.net> - 7.1.23-1
|
||||
- Update to 7.1.23 - http://www.php.net/releases/7_1_23.php
|
||||
|
||||
* Wed Sep 12 2018 Remi Collet <remi@remirepo.net> - 7.1.22-1
|
||||
- Update to 7.1.22 - http://www.php.net/releases/7_1_22.php
|
||||
|
||||
* Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 7.1.21-1
|
||||
- Update to 7.1.21 - http://www.php.net/releases/7_1_21.php
|
||||
|
||||
* Thu Jul 19 2018 Remi Collet <remi@remirepo.net> - 7.1.20-1
|
||||
- Update to 7.1.20 - http://www.php.net/releases/7_1_20.php
|
||||
|
||||
* Thu Jun 21 2018 Remi Collet <remi@remirepo.net> - 7.1.19-1
|
||||
- Update to 7.1.19 - http://www.php.net/releases/7_1_19.php
|
||||
|
||||
* Thu May 24 2018 Remi Collet <remi@remirepo.net> - 7.1.18-1
|
||||
- Update to 7.1.18 - http://www.php.net/releases/7_1_18.php
|
||||
|
||||
* Wed Apr 25 2018 Remi Collet <remi@remirepo.net> - 7.1.17-1
|
||||
- Update to 7.1.17 - http://www.php.net/releases/7_1_17.php
|
||||
|
||||
* Wed Mar 28 2018 Remi Collet <remi@remirepo.net> - 7.1.16-1
|
||||
- Update to 7.1.16 - http://www.php.net/releases/7_1_16.php
|
||||
|
||||
* Wed Mar 14 2018 Remi Collet <remi@remirepo.net> - 7.1.16~RC1-1
|
||||
- Update to 7.1.16RC1
|
||||
|
||||
* Wed Feb 28 2018 Remi Collet <remi@remirepo.net> - 7.1.15-1
|
||||
- Update to 7.1.15 - http://www.php.net/releases/7_1_15.php
|
||||
- FPM: revert pid file removal
|
||||
|
||||
* Wed Feb 21 2018 Remi Collet <remi@remirepo.net> - 7.1.15~RC1-3
|
||||
- disable ZTS on RHEL
|
||||
|
||||
* Fri Feb 16 2018 Remi Collet <remi@remirepo.net> - 7.1.15~RC1-2
|
||||
- disable pspell extension on RHEL
|
||||
- improve devel dependencies
|
||||
|
||||
* Wed Feb 14 2018 Remi Collet <remi@remirepo.net> - 7.1.15~RC1-1
|
||||
- Update to 7.1.15RC1
|
||||
- adapt ldap patch
|
||||
|
||||
* Wed Jan 31 2018 Remi Collet <remi@remirepo.net> - 7.1.14-1
|
||||
- Update to 7.1.14 - http://www.php.net/releases/7_1_14.php
|
||||
|
||||
* Mon Jan 29 2018 Remi Collet <rcollet@redhat.com> - 7.1.14~RC1-2
|
||||
- disable interbase, imap, pdo_dblib and mcrypt on rhel
|
||||
|
||||
* Wed Jan 17 2018 Remi Collet <remi@remirepo.net> - 7.1.14~RC1-1
|
||||
- Update to 7.1.14RC1
|
||||
- define SOURCE_DATE_EPOCH for reproducible build
|
||||
|
||||
* Wed Jan 3 2018 Remi Collet <remi@remirepo.net> - 7.1.13-1
|
||||
- Update to 7.1.13 - http://www.php.net/releases/7_1_13.php
|
||||
|
||||
* Wed Dec 6 2017 Remi Collet <remi@fedoraproject.org> - 7.1.13~RC1-1
|
||||
- Update to 7.1.13RC1
|
||||
|
||||
* Wed Nov 22 2017 Remi Collet <remi@fedoraproject.org> - 7.1.12-1
|
||||
- Update to 7.1.12 - http://www.php.net/releases/7_1_12.php
|
||||
|
||||
* Wed Nov 8 2017 Remi Collet <remi@fedoraproject.org> - 7.1.12~RC1-1
|
||||
- Update to 7.1.12RC1
|
||||
|
||||
* Wed Oct 25 2017 Remi Collet <remi@fedoraproject.org> - 7.1.11-1
|
||||
- Update to 7.1.11 - http://www.php.net/releases/7_1_11.php
|
||||
- make php-fpm a weak dependency #1505644
|
||||
|
||||
* Wed Oct 11 2017 Remi Collet <remi@fedoraproject.org> - 7.1.11~RC1-1
|
||||
- Update to 7.1.11RC1
|
||||
|
||||
* Wed Sep 27 2017 Remi Collet <remi@fedoraproject.org> - 7.1.10-1
|
||||
- Update to 7.1.10 - http://www.php.net/releases/7_1_10.php
|
||||
|
||||
|
|
3
sources
3
sources
|
@ -1,2 +1 @@
|
|||
SHA512 (php-7.0.24.tar.xz) = 7ae7795ff89924adc5f989bcf438a372684c7fc041ec10db96369f12faaeb90a23e7a7b5253f2a1022059f7464e6c11ee46a164a7f873b0b44a5317c3a3a49e7
|
||||
SHA512 (php-7.1.10.tar.xz) = 64f03d7a8928283e2f4f0958168610780553765ac20cf558cd6452ba4474461e74366c41b9bfdaf08b25195ca9c0059a94b77f06d8de3512d251cb2a84113d30
|
||||
SHA512 (php-7.1.23.tar.xz) = d5a451f1a48415175e3117ffa84ef3504275a407698b59c13eeb403958aa27342e04dc4ffea9791b923ac0cc5d6fdacf2e8672f0e19755bae858707c7fc3627f
|
||||
|
|
Loading…
Reference in New Issue