Compare commits

...

25 Commits
rawhide ... f27

Author SHA1 Message Date
Remi Collet 5cba99e52d Update to 7.1.23 - http://www.php.net/releases/7_1_23.php 2018-10-10 11:56:34 +02:00
Remi Collet 5341b0d05f Update to 7.1.22 - http://www.php.net/releases/7_1_22.php 2018-09-12 07:02:17 +02:00
Remi Collet 25512ff1e7 Update to 7.1.21 - http://www.php.net/releases/7_1_21.php 2018-08-16 08:46:07 +02:00
Remi Collet edfb7e04b2 Update to 7.1.20 - http://www.php.net/releases/7_1_20.php 2018-07-19 09:23:14 +02:00
Remi Collet 0ba271b348 Update to 7.1.19 - http://www.php.net/releases/7_1_19.php 2018-06-21 06:59:02 +02:00
Remi Collet fca88d83a5 Update to 7.1.18 - http://www.php.net/releases/7_1_18.php 2018-05-24 07:22:55 +02:00
Remi Collet d77eb00046 Update to 7.1.17 - http://www.php.net/releases/7_1_17.php 2018-04-25 07:53:32 +02:00
Remi Collet e908c03d1b cleanup 2018-03-30 06:37:04 +02:00
Remi Collet 56e29fbee9 Update to 7.1.16 - http://www.php.net/releases/7_1_16.php 2018-03-28 12:55:09 +02:00
Remi Collet d6402271e3 Update to 7.1.16RC1 2018-03-14 13:55:10 +01:00
Remi Collet 477167de07 fix when zts is disabled 2018-03-06 14:07:02 +01:00
Remi Collet 5968eee4ae Update to 7.1.15 - http://www.php.net/releases/7_1_15.php
FPM: revert pid file removal
2018-02-28 12:47:18 +01:00
Remi Collet 7c5a8aebfa re-add pid file used by logrotate
(cherry picked from commit 363c6c25e9)
2018-02-23 14:47:03 +01:00
Remi Collet 48ab12c8e0 disable ZTS on RHEL 2018-02-21 10:44:28 +01:00
Remi Collet d032675b3c disable pspell extension on RHEL
improve devel dependencies

(cherry picked from commit 628ae561c8)
2018-02-16 09:21:05 +01:00
Remi Collet 7354aefff2 Update to 7.1.15RC1
adapt ldap patch
2018-02-14 12:29:14 +01:00
Remi Collet 54e5c1d4e1 Update to 7.1.14 - http://www.php.net/releases/7_1_14.php 2018-01-31 08:03:27 +01:00
Remi Collet b4a14d59cc disable interbase, imap, pdo_dblib and mcrypt on rhel 2018-01-29 14:01:25 +01:00
Remi Collet 4468832b27 Update to 7.1.14RC1
define SOURCE_DATE_EPOCH for reproducible build
2018-01-17 09:33:52 +01:00
Remi Collet 449911882a Update to 7.1.13 - http://www.php.net/releases/7_1_13.php 2018-01-03 09:21:01 +01:00
Remi Collet 19df004cc0 Update to 7.1.13RC1 2017-12-06 08:43:38 +01:00
Remi Collet 9bf68d8f29 Update to 7.1.12 - http://www.php.net/releases/7_1_12.php 2017-11-22 07:05:17 +01:00
Remi Collet 59baf32394 Update to 7.1.12RC1 2017-11-08 07:55:51 +01:00
Remi Collet c9f7170713 Update to 7.1.11 - http://www.php.net/releases/7_1_11.php
make php-fpm a weak dependency #1505644
2017-10-25 09:17:37 +02:00
Remi Collet 7eb4afaec8 Update to 7.1.11RC1 2017-10-11 07:27:56 +02:00
8 changed files with 201 additions and 119 deletions

37
.gitignore vendored
View File

@ -2,33 +2,10 @@ clog
*.md *.md
php-5.6.*.xz php-5.6.*.xz
php-7.0.*.xz php-7.0.*.xz
/php-7.0.8.tar.xz php-7.2.*.xz
/php-7.0.9RC1.tar.xz php-7.3.*.xz
/php-7.0.9.tar.xz /php-7.1.19.tar.xz
/php-7.0.10RC1.tar.xz /php-7.1.20.tar.xz
/php-7.0.10.tar.xz /php-7.1.21.tar.xz
/php-7.0.11RC1.tar.xz /php-7.1.22.tar.xz
/php-7.0.11.tar.xz /php-7.1.23.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

View File

@ -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)

View File

@ -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])

19
php-7.1.15-ldap_r.patch Normal file
View File

@ -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)

View File

@ -1,18 +1,18 @@
diff -up php-7.1.3RC1/sapi/litespeed/lsapilib.c.dlopen php-7.1.3RC1/sapi/litespeed/lsapilib.c diff -up php-7.1.16RC1/sapi/litespeed/lsapilib.c.dlopen php-7.1.16RC1/sapi/litespeed/lsapilib.c
--- php-7.1.3RC1/sapi/litespeed/lsapilib.c.dlopen 2017-02-28 10:12:34.000000000 +0100 --- php-7.1.16RC1/sapi/litespeed/lsapilib.c.dlopen 2018-03-14 13:19:47.998931942 +0100
+++ php-7.1.3RC1/sapi/litespeed/lsapilib.c 2017-02-28 10:23:11.384521740 +0100 +++ php-7.1.16RC1/sapi/litespeed/lsapilib.c 2018-03-14 13:20:30.942148432 +0100
@@ -616,7 +616,7 @@ static int (*fp_lve_leave)(struct liblve @@ -755,7 +755,7 @@ static int (*fp_lve_leave)(struct liblve
static int (*fp_lve_jail)( struct passwd *, char *) = NULL; 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_LAZY);
+ s_liblve = dlopen("liblve.so.0", RTLD_NOW); + s_liblve = dlopen("liblve.so.0", RTLD_NOW);
if (s_liblve) if (s_liblve)
{ {
fp_lve_is_available = dlsym(s_liblve, "lve_is_available"); 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 diff -up php-7.1.16RC1/Zend/zend_portability.h.dlopen php-7.1.16RC1/Zend/zend_portability.h
--- php-7.1.3RC1/Zend/zend_portability.h.dlopen 2017-02-28 10:23:11.384521740 +0100 --- php-7.1.16RC1/Zend/zend_portability.h.dlopen 2018-03-14 06:00:31.000000000 +0100
+++ php-7.1.3RC1/Zend/zend_portability.h 2017-02-28 10:26:08.960308560 +0100 +++ php-7.1.16RC1/Zend/zend_portability.h 2018-03-14 13:19:47.998931942 +0100
@@ -146,11 +146,11 @@ @@ -146,11 +146,11 @@
# endif # endif

View File

@ -17,7 +17,7 @@ include=/etc/php-fpm.d/*.conf
[global] [global]
; Pid file ; Pid file
; Default Value: none ; Default Value: none
;pid = /run/php-fpm/php-fpm.pid pid = /run/php-fpm/php-fpm.pid
; Error log file ; Error log file
; If it's set to "syslog", log is sent to syslogd instead of being written ; If it's set to "syslog", log is sent to syslogd instead of being written

203
php.spec
View File

@ -28,9 +28,6 @@
# arch detection heuristic used by bindir/mysql_config. # arch detection heuristic used by bindir/mysql_config.
%global mysql_config %{_libdir}/mysql/mysql_config %global mysql_config %{_libdir}/mysql/mysql_config
# Build ZTS extension or only NTS
%global with_zts 1
%if 0%{?__isa_bits:1} %if 0%{?__isa_bits:1}
%global isasuffix -%{__isa_bits} %global isasuffix -%{__isa_bits}
%else %else
@ -40,28 +37,27 @@
# 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_dtrace 1 %global with_dtrace 1
%global with_libgd 1
# build with system libgd %global with_zip 0
%if 0%{?fedora} < 20 %global with_libzip 0
%global with_libgd 0 %if 0%{?fedora}
%else %global with_zts 1
%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_firebird 1 %global with_firebird 1
%global with_imap 1
%if 0%{?fedora} < 18 && 0%{?rhel} < 7 %global with_freetds 1
%global db_devel db4-devel %global with_mcrypt 1
%global with_pspell 1
%else %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 %endif
%global upver 7.1.10 %global upver 7.1.23
#global rcver RC1 #global rcver RC1
Summary: PHP scripting language for creating dynamic web sites 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 Patch8: php-7.0.2-libdb.patch
# Functional changes # Functional changes
Patch40: php-7.1.3-dlopen.patch Patch40: php-7.1.16-dlopen.patch
Patch42: php-7.1.0-systzdata-v14.patch Patch42: php-7.1.0-systzdata-v14.patch
# See http://bugs.php.net/53436 # See http://bugs.php.net/53436
Patch43: php-5.4.0-phpize.patch Patch43: php-5.4.0-phpize.patch
# Use -lldap_r for OpenLDAP # Use -lldap_r for OpenLDAP
Patch45: php-5.6.3-ldap_r.patch Patch45: php-7.1.15-ldap_r.patch
# Make php_config.h constant across builds
Patch46: php-7.0.0-fixheader.patch
# drop "Configure command" from phpinfo output # drop "Configure command" from phpinfo output
Patch47: php-5.6.3-phpinfo.patch Patch47: php-5.6.3-phpinfo.patch
# Automatically load OpenSSL configuration file # Automatically load OpenSSL configuration file
@ -134,7 +128,13 @@ 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, 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 BuildRequires: libtool-ltdl-devel
%if %{with_libzip} %if %{with_libzip}
BuildRequires: libzip-devel >= 0.11 BuildRequires: libzip-devel >= 0.11
@ -153,7 +153,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}
Requires: php-fpm%{?_isa} = %{version}-%{release} Recommends: 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
@ -199,12 +199,8 @@ Summary: PHP FastCGI Process Manager
BuildRequires: libacl-devel BuildRequires: libacl-devel
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
Requires(pre): /usr/sbin/useradd Requires(pre): /usr/sbin/useradd
BuildRequires: systemd-units
BuildRequires: systemd-devel BuildRequires: systemd-devel
Requires: systemd-units %{?systemd_requires}
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
# To ensure correct /var/lib/php/session ownership: # To ensure correct /var/lib/php/session ownership:
Requires(pre): httpd-filesystem Requires(pre): httpd-filesystem
# For php.conf in /etc/httpd/conf.d # For php.conf in /etc/httpd/conf.d
@ -273,7 +269,13 @@ package and the php-cli package.
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Files needed for building PHP extensions 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} Requires: pcre-devel%{?_isa}
Obsoletes: php-pecl-json-devel < %{jsonver} Obsoletes: php-pecl-json-devel < %{jsonver}
Obsoletes: php-pecl-jsonc-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 the disk and compiling it on future access. In addition, it applies a few
bytecode optimization patterns that make code execution faster. bytecode optimization patterns that make code execution faster.
%if %{with_imap}
%package imap %package imap
Summary: A module for PHP applications that use IMAP Summary: A module for PHP applications that use IMAP
Group: Development/Languages 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) The php-imap module will add IMAP (Internet Message Access Protocol)
support to PHP. IMAP is a protocol for retrieving and uploading e-mail support to PHP. IMAP is a protocol for retrieving and uploading e-mail
messages on mail servers. PHP is an HTML-embedded scripting language. messages on mail servers. PHP is an HTML-embedded scripting language.
%endif
%package ldap %package ldap
Summary: A module for PHP applications that use 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 Group: Development/Languages
# All files licensed under PHP version 3.01 # All files licensed under PHP version 3.01
License: PHP License: PHP
BuildRequires: %{db_devel}, tokyocabinet-devel BuildRequires: libdb-devel, tokyocabinet-devel
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
%description dba %description dba
The php-dba package contains a dynamic shared object that will add The php-dba package contains a dynamic shared object that will add
support for using the DBA database abstraction layer to PHP. support for using the DBA database abstraction layer to PHP.
%if %{with_mcrypt}
%package mcrypt %package mcrypt
Summary: Standard PHP module provides mcrypt library support Summary: Standard PHP module provides mcrypt library support
Group: Development/Languages Group: Development/Languages
@ -599,6 +604,7 @@ BuildRequires: libmcrypt-devel
%description mcrypt %description mcrypt
The php-mcrypt package contains a dynamic shared object that will add The php-mcrypt package contains a dynamic shared object that will add
support for using the mcrypt library to PHP. support for using the mcrypt library to PHP.
%endif
%package tidy %package tidy
Summary: Standard PHP module provides tidy library support 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 The php-tidy package contains a dynamic shared object that will add
support for using the tidy library to PHP. support for using the tidy library to PHP.
%if %{with_freetds}
%package pdo-dblib %package pdo-dblib
Summary: PDO driver Microsoft SQL Server and Sybase databases Summary: PDO driver Microsoft SQL Server and Sybase databases
Group: Development/Languages 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 The php-pdo-dblib package contains a dynamic shared object
that implements the PHP Data Objects (PDO) interface to enable access from that implements the PHP Data Objects (PDO) interface to enable access from
PHP to Microsoft SQL Server and Sybase databases through the FreeTDS libary. PHP to Microsoft SQL Server and Sybase databases through the FreeTDS libary.
%endif
%package embedded %package embedded
Summary: PHP library for embedding in applications 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 The php-embedded package contains a library which can be embedded
into applications to provide PHP scripting language support. into applications to provide PHP scripting language support.
%if %{with_pspell}
%package pspell %package pspell
Summary: A module for PHP applications for using pspell interfaces Summary: A module for PHP applications for using pspell interfaces
Group: System Environment/Libraries Group: System Environment/Libraries
@ -649,6 +658,7 @@ BuildRequires: aspell-devel >= 0.50.0
%description pspell %description pspell
The php-pspell package contains a dynamic shared object that will add The php-pspell package contains a dynamic shared object that will add
support for using the pspell library to PHP. support for using the pspell library to PHP.
%endif
%package recode %package recode
Summary: A module for PHP applications for using the recode library 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 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
%patch45 -p1 -b .ldap_r %patch45 -p1 -b .ldap_r
%endif %endif
%patch46 -p1 -b .fixheader
%patch47 -p1 -b .phpinfo %patch47 -p1 -b .phpinfo
%patch48 -p1 -b .loadconf %patch48 -p1 -b .loadconf
@ -830,6 +839,9 @@ sed -e '/opcache.huge_code_pages/s/0/1/' -i 10-opcache.ini
%build %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 # aclocal workaround - to be improved
cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >>aclocal.m4 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 \
--enable-opcache-file \ --enable-opcache-file \
--enable-phpdbg \ --enable-phpdbg \
%if %{with_imap}
--with-imap=shared --with-imap-ssl \ --with-imap=shared --with-imap-ssl \
%endif
--enable-mbstring=shared \ --enable-mbstring=shared \
--enable-mbregex \ --enable-mbregex \
%if %{with_libgd} %if %{with_libgd}
@ -959,7 +973,9 @@ build --libdir=%{_libdir}/php \
--with-pdo-mysql=shared,mysqlnd \ --with-pdo-mysql=shared,mysqlnd \
--with-pdo-pgsql=shared,%{_prefix} \ --with-pdo-pgsql=shared,%{_prefix} \
--with-pdo-sqlite=shared,%{_prefix} \ --with-pdo-sqlite=shared,%{_prefix} \
%if %{with_freetds}
--with-pdo-dblib=shared,%{_prefix} \ --with-pdo-dblib=shared,%{_prefix} \
%endif
--with-sqlite3=shared,%{_prefix} \ --with-sqlite3=shared,%{_prefix} \
--enable-json=shared \ --enable-json=shared \
%if %{with_zip} %if %{with_zip}
@ -970,9 +986,13 @@ build --libdir=%{_libdir}/php \
%endif %endif
--without-readline \ --without-readline \
--with-libedit \ --with-libedit \
%if %{with_pspell}
--with-pspell=shared \ --with-pspell=shared \
%endif
--enable-phar=shared \ --enable-phar=shared \
%if %{with_mcrypt}
--with-mcrypt=shared,%{_prefix} \ --with-mcrypt=shared,%{_prefix} \
%endif
--with-tidy=shared,%{_prefix} \ --with-tidy=shared,%{_prefix} \
--enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \ --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
--enable-shmop=shared \ --enable-shmop=shared \
@ -1040,7 +1060,9 @@ build --includedir=%{_includedir}/php-zts \
--enable-pcntl \ --enable-pcntl \
--enable-opcache \ --enable-opcache \
--enable-opcache-file \ --enable-opcache-file \
%if %{with_imap}
--with-imap=shared --with-imap-ssl \ --with-imap=shared --with-imap-ssl \
%endif
--enable-mbstring=shared \ --enable-mbstring=shared \
--enable-mbregex \ --enable-mbregex \
%if %{with_libgd} %if %{with_libgd}
@ -1086,7 +1108,9 @@ build --includedir=%{_includedir}/php-zts \
--with-pdo-mysql=shared,mysqlnd \ --with-pdo-mysql=shared,mysqlnd \
--with-pdo-pgsql=shared,%{_prefix} \ --with-pdo-pgsql=shared,%{_prefix} \
--with-pdo-sqlite=shared,%{_prefix} \ --with-pdo-sqlite=shared,%{_prefix} \
%if %{with_freetds}
--with-pdo-dblib=shared,%{_prefix} \ --with-pdo-dblib=shared,%{_prefix} \
%endif
--with-sqlite3=shared,%{_prefix} \ --with-sqlite3=shared,%{_prefix} \
--enable-json=shared \ --enable-json=shared \
%if %{with_zip} %if %{with_zip}
@ -1097,9 +1121,13 @@ build --includedir=%{_includedir}/php-zts \
%endif %endif
--without-readline \ --without-readline \
--with-libedit \ --with-libedit \
%if %{with_pspell}
--with-pspell=shared \ --with-pspell=shared \
%endif
--enable-phar=shared \ --enable-phar=shared \
%if %{with_mcrypt}
--with-mcrypt=shared,%{_prefix} \ --with-mcrypt=shared,%{_prefix} \
%endif
--with-tidy=shared,%{_prefix} \ --with-tidy=shared,%{_prefix} \
--enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \ --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
--enable-shmop=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 install -D -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/default.d/php.conf
# Generate files lists and stub .ini files for each subpackage # 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 \ mysqlnd mysqli pdo_mysql \
mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \ mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \
simplexml bz2 calendar ctype exif ftp gettext gmp iconv \ simplexml bz2 calendar ctype exif ftp gettext gmp iconv \
@ -1251,7 +1283,17 @@ for mod in pgsql odbc ldap snmp xmlrpc imap json \
%endif %endif
sqlite3 \ sqlite3 \
enchant phar fileinfo intl \ 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 \ posix shmop sysvshm sysvsem sysvmsg recode xml \
; do ; do
case $mod in case $mod in
@ -1268,7 +1310,9 @@ for mod in pgsql odbc ldap snmp xmlrpc imap json \
# some extensions have their own config file # some extensions have their own config file
if [ -f ${ini} ]; then if [ -f ${ini} ]; then
cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini} cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini}
%if %{with_zts}
cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/${ini} cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/${ini}
%endif
else else
cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini} <<EOF cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini} <<EOF
; Enable ${mod} extension module ; Enable ${mod} extension module
@ -1326,9 +1370,11 @@ cat files.zip >> files.common
# The default Zend OPcache blacklist file # The default Zend OPcache blacklist file
install -m 644 %{SOURCE51} $RPM_BUILD_ROOT%{_sysconfdir}/php.d/opcache-default.blacklist 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 install -m 644 %{SOURCE51} $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/opcache-default.blacklist
sed -e '/blacklist_filename/s/php.d/php-zts.d/' \ sed -e '/blacklist_filename/s/php.d/php-zts.d/' \
-i $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/10-opcache.ini -i $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/10-opcache.ini
%endif
# Install the macros file: # Install the macros file:
sed -e "s/@PHP_APIVER@/%{apiver}%{isasuffix}/" \ sed -e "s/@PHP_APIVER@/%{apiver}%{isasuffix}/" \
@ -1404,6 +1450,7 @@ rm -f README.{Zeus,QNX,CVS-RULES}
%{_bindir}/php %{_bindir}/php
%if %{with_zts} %if %{with_zts}
%{_bindir}/zts-php %{_bindir}/zts-php
%{_mandir}/man1/zts-php.1*
%endif %endif
%{_bindir}/php-cgi %{_bindir}/php-cgi
%{_bindir}/phar.phar %{_bindir}/phar.phar
@ -1411,7 +1458,6 @@ rm -f README.{Zeus,QNX,CVS-RULES}
# provides phpize here (not in -devel) for pecl command # provides phpize here (not in -devel) for pecl command
%{_bindir}/phpize %{_bindir}/phpize
%{_mandir}/man1/php.1* %{_mandir}/man1/php.1*
%{_mandir}/man1/zts-php.1*
%{_mandir}/man1/php-cgi.1* %{_mandir}/man1/php-cgi.1*
%{_mandir}/man1/phar.1* %{_mandir}/man1/phar.1*
%{_mandir}/man1/phar.phar.1* %{_mandir}/man1/phar.phar.1*
@ -1474,7 +1520,9 @@ rm -f README.{Zeus,QNX,CVS-RULES}
%files pgsql -f files.pgsql %files pgsql -f files.pgsql
%files odbc -f files.odbc %files odbc -f files.odbc
%if %{with_imap}
%files imap -f files.imap %files imap -f files.imap
%endif
%files ldap -f files.ldap %files ldap -f files.ldap
%files snmp -f files.snmp %files snmp -f files.snmp
%files xml -f files.xml %files xml -f files.xml
@ -1494,10 +1542,16 @@ rm -f README.{Zeus,QNX,CVS-RULES}
%files gmp -f files.gmp %files gmp -f files.gmp
%files dba -f files.dba %files dba -f files.dba
%files pdo -f files.pdo %files pdo -f files.pdo
%if %{with_mcrypt}
%files mcrypt -f files.mcrypt %files mcrypt -f files.mcrypt
%endif
%files tidy -f files.tidy %files tidy -f files.tidy
%if %{with_freetds}
%files pdo-dblib -f files.pdo_dblib %files pdo-dblib -f files.pdo_dblib
%endif
%if %{with_pspell}
%files pspell -f files.pspell %files pspell -f files.pspell
%endif
%files intl -f files.intl %files intl -f files.intl
%files process -f files.process %files process -f files.process
%files recode -f files.recode %files recode -f files.recode
@ -1508,11 +1562,84 @@ rm -f README.{Zeus,QNX,CVS-RULES}
%files mysqlnd -f files.mysqlnd %files mysqlnd -f files.mysqlnd
%files opcache -f files.opcache %files opcache -f files.opcache
%config(noreplace) %{_sysconfdir}/php.d/opcache-default.blacklist %config(noreplace) %{_sysconfdir}/php.d/opcache-default.blacklist
%if %{with_zts}
%config(noreplace) %{_sysconfdir}/php-zts.d/opcache-default.blacklist %config(noreplace) %{_sysconfdir}/php-zts.d/opcache-default.blacklist
%endif
%files json -f files.json %files json -f files.json
%changelog %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 * 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 - Update to 7.1.10 - http://www.php.net/releases/7_1_10.php

View File

@ -1,2 +1 @@
SHA512 (php-7.0.24.tar.xz) = 7ae7795ff89924adc5f989bcf438a372684c7fc041ec10db96369f12faaeb90a23e7a7b5253f2a1022059f7464e6c11ee46a164a7f873b0b44a5317c3a3a49e7 SHA512 (php-7.1.23.tar.xz) = d5a451f1a48415175e3117ffa84ef3504275a407698b59c13eeb403958aa27342e04dc4ffea9791b923ac0cc5d6fdacf2e8672f0e19755bae858707c7fc3627f
SHA512 (php-7.1.10.tar.xz) = 64f03d7a8928283e2f4f0958168610780553765ac20cf558cd6452ba4474461e74366c41b9bfdaf08b25195ca9c0059a94b77f06d8de3512d251cb2a84113d30