From: Marcin Krol Date: Thu, 27 Oct 2016 10:19:01 +0000 (+0000) Subject: - updated to 5.6.27 X-Git-Url: https://git.tld-linux.org/?p=packages%2Fphp.git;a=commitdiff_plain;h=6371a78434a48c96c544e59023539da02a9eeb91 - updated to 5.6.27 --- diff --git a/php-ini.patch b/php-ini.patch index 9c247b9..624f8e2 100644 --- a/php-ini.patch +++ b/php-ini.patch @@ -1,5 +1,5 @@ ---- php-5.6.12.orig/php.ini 2015-08-06 07:55:57.000000000 +0000 -+++ php-5.6.12/php.ini 2015-08-09 14:51:00.224790532 +0000 +--- php-5.6.27/php.ini 2016-10-14 11:03:12.000000000 +0000 ++++ php-5.6.27/php.ini 2016-10-27 08:42:28.983715000 +0000 @@ -82,6 +82,20 @@ ; much more verbose when it comes to errors. We recommend using the ; development version only in development environments, as errors shown to @@ -57,7 +57,7 @@ ;;;;;;;;;;;;;;;;;;; ; Resource Limits ; -@@ -731,7 +745,7 @@ +@@ -729,7 +743,7 @@ ; Directory in which the loadable extensions (modules) reside. ; http://php.net/extension-dir @@ -66,7 +66,7 @@ ; On windows: ; extension_dir = "ext" -@@ -745,53 +759,6 @@ +@@ -743,65 +757,6 @@ ; http://php.net/enable-dl enable_dl = Off @@ -97,6 +97,11 @@ -; http://php.net/cgi.fix-pathinfo -;cgi.fix_pathinfo=1 - +-; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside +-; of the web tree and people will not be able to circumvent .htaccess security. +-; http://php.net/cgi.dicard-path +-;cgi.discard_path=1 +- -; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate -; security tokens of the calling client. This allows IIS to define the -; security context that the request runs under. mod_fastcgi under Apache @@ -116,11 +121,18 @@ -; Default is zero. -; http://php.net/cgi.rfc2616-headers -;cgi.rfc2616_headers = 0 +- +-; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #! +-; (shebang) at the top of the running script. This line might be needed if the +-; script support running both as stand-alone script and via PHP CGI<. PHP in CGI +-; mode skips this line and ignores its content if this directive is turned on. +-; http://php.net/cgi.check-shebang-line +-;cgi.check_shebang_line=1 - ;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;; -@@ -869,48 +836,8 @@ +@@ -879,48 +834,8 @@ ; If you only provide the name of the extension, PHP will look for it in its ; default extension directory. ; @@ -171,7 +183,7 @@ ;;;;;;;;;;;;;;;;;;; ; Module Settings ; -@@ -948,19 +875,19 @@ +@@ -958,19 +873,19 @@ ; Use of this INI entry is deprecated, use global input_encoding instead. ; If empty, default_charset or input_encoding or iconv.input_encoding is used. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding @@ -194,7 +206,7 @@ [intl] ;intl.default_locale = -@@ -1174,6 +1101,9 @@ +@@ -1181,6 +1096,9 @@ ; http://php.net/mysql.connect-timeout mysql.connect_timeout = 60 @@ -204,7 +216,7 @@ ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and ; SQL-Errors will be displayed. ; http://php.net/mysql.trace-mode -@@ -1213,6 +1143,9 @@ +@@ -1220,6 +1138,9 @@ ; http://php.net/mysqli.default-socket mysqli.default_socket = @@ -214,7 +226,7 @@ ; Default host for mysql_connect() (doesn't apply in safe mode). ; http://php.net/mysqli.default-host mysqli.default_host = -@@ -1379,7 +1312,7 @@ +@@ -1386,7 +1307,7 @@ [browscap] ; http://php.net/browscap @@ -223,7 +235,7 @@ [Session] ; Handler used to store/retrieve data. -@@ -1839,7 +1772,7 @@ +@@ -1846,7 +1767,7 @@ ; Sets the directory name where SOAP extension will put cache files. ; http://php.net/soap.wsdl-cache-dir diff --git a/php.spec b/php.spec index 454d271..f96f16f 100644 --- a/php.spec +++ b/php.spec @@ -144,13 +144,13 @@ Summary(pt_BR.UTF-8): A linguagem de script PHP Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері Name: %{orgname}%{php_suffix} -Version: 5.6.24 +Version: 5.6.27 Release: %{rel}%{?with_type_hints:.th} Epoch: 4 License: PHP Group: Libraries Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.xz -# Source0-md5: 3ef6e3573698b9b444be88edd3b23494 +# Source0-md5: 9ce6efc96d5ab81ef808f8ed6b1f242d Source2: %{orgname}-mod_%{orgname}.conf Source3: %{orgname}-cgi-fcgi.ini Source4: %{orgname}-apache.ini