[packages/php] up to 7.1.4 - http://php.net/releases/7_1_4.php
glen
glen at pld-linux.org
Wed Apr 19 21:23:06 CEST 2017
commit ab199153d56d7ac6af509fe1ae2acf423563a95d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Apr 19 21:17:47 2017 +0300
up to 7.1.4 - http://php.net/releases/7_1_4.php
php-pdo-ssl.patch | 69 -------------------------------------------------------
php.spec | 10 ++++----
2 files changed, 4 insertions(+), 75 deletions(-)
---
diff --git a/php.spec b/php.spec
index a791c5f..9754dbb 100644
--- a/php.spec
+++ b/php.spec
@@ -150,16 +150,16 @@ Summary(pt_BR.UTF-8): A linguagem de script PHP
Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирования HTML-файлов, выполняемый на сервере
Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
-Version: 7.1.3
-Release: 3
+Version: 7.1.4
+Release: 1
Epoch: 4
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
License: PHP 3.01 and Zend and BSD
Group: Libraries
-Source0: http://php.net/distributions/%{orgname}-%{version}.tar.xz
-# Source0-md5: d604d688be17f4a05b99dbb7fb9581f4
+Source0: https://php.net/distributions/%{orgname}-%{version}.tar.xz
+# Source0-md5: a74c13f8779349872b365e6732e8c98e
Source2: %{orgname}-mod_php.conf
Source3: %{orgname}-cgi-fcgi.ini
Source4: %{orgname}-apache.ini
@@ -222,7 +222,6 @@ Patch69: fpm-conf-split.patch
Patch70: mysqlnd-ssl.patch
Patch71: libdb-info.patch
Patch72: phar-hash-shared.patch
-Patch73: php-pdo-ssl.patch
URL: http://php.net/
%{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
%{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
@@ -2051,7 +2050,6 @@ exit 1
%patch70 -p1
%patch71 -p1
%patch72 -p1
-%patch73 -p1
%{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
diff --git a/php-pdo-ssl.patch b/php-pdo-ssl.patch
deleted file mode 100644
index b573281..0000000
--- a/php-pdo-ssl.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-commit 247ce052cd0fc7d0d8ea1a0e7ea2075e9601766a
-Author: Thomas Orozco <thomas at orozco.fr>
-Date: Thu Jun 9 10:45:40 2016 +0200
-
- Fixed bug #71003: Add PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT
-
-diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c
-index 021ac89b45..1bf4eb039a 100644
---- a/ext/pdo_mysql/mysql_driver.c
-+++ b/ext/pdo_mysql/mysql_driver.c
-@@ -736,6 +736,18 @@ static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options)
- }
- }
- #endif
-+
-+#ifdef PDO_USE_MYSQLND
-+ {
-+ zend_long ssl_verify_cert = pdo_attr_lval(driver_options,
-+ PDO_MYSQL_ATTR_SSL_VERIFY_SERVER_CERT, -1);
-+ if (ssl_verify_cert != -1) {
-+ connect_opts |= ssl_verify_cert ?
-+ CLIENT_SSL_VERIFY_SERVER_CERT:
-+ CLIENT_SSL_DONT_VERIFY_SERVER_CERT;
-+ }
-+ }
-+#endif
- }
-
- #ifdef PDO_MYSQL_HAS_CHARSET
-diff --git a/ext/pdo_mysql/pdo_mysql.c b/ext/pdo_mysql/pdo_mysql.c
-index 32b85ba547..99fb6d3b77 100644
---- a/ext/pdo_mysql/pdo_mysql.c
-+++ b/ext/pdo_mysql/pdo_mysql.c
-@@ -130,6 +130,9 @@ static PHP_MINIT_FUNCTION(pdo_mysql)
- REGISTER_PDO_CLASS_CONST_LONG("MYSQL_ATTR_SERVER_PUBLIC_KEY", (zend_long)PDO_MYSQL_ATTR_SERVER_PUBLIC_KEY);
- #endif
- REGISTER_PDO_CLASS_CONST_LONG("MYSQL_ATTR_MULTI_STATEMENTS", (zend_long)PDO_MYSQL_ATTR_MULTI_STATEMENTS);
-+#ifdef PDO_USE_MYSQLND
-+ REGISTER_PDO_CLASS_CONST_LONG("MYSQL_ATTR_SSL_VERIFY_SERVER_CERT", (zend_long)PDO_MYSQL_ATTR_SSL_VERIFY_SERVER_CERT);
-+#endif
-
- #ifdef PDO_USE_MYSQLND
- mysqlnd_reverse_api_register_api(&pdo_mysql_reverse_api);
-diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h
-index f300e044ba..89884120ab 100644
---- a/ext/pdo_mysql/php_pdo_mysql_int.h
-+++ b/ext/pdo_mysql/php_pdo_mysql_int.h
-@@ -179,6 +179,9 @@ enum {
- PDO_MYSQL_ATTR_SERVER_PUBLIC_KEY,
- #endif
- PDO_MYSQL_ATTR_MULTI_STATEMENTS,
-+#ifdef PDO_USE_MYSQLND
-+ PDO_MYSQL_ATTR_SSL_VERIFY_SERVER_CERT,
-+#endif
- };
-
- #endif
-diff --git a/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt b/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
-index f3d0fa6313..fba1c2433e 100644
---- a/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
-+++ b/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
-@@ -27,6 +27,7 @@ if (!extension_loaded('mysqli') && !extension_loaded('mysqlnd')) {
- "MYSQL_ATTR_SSL_CIPHER" => true,
- "MYSQL_ATTR_COMPRESS" => true,
- "MYSQL_ATTR_MULTI_STATEMENTS" => true,
-+ "MYSQL_ATTR_SSL_VERIFY_SERVER_CERT" => true,
- );
-
- if (!MySQLPDOTest::isPDOMySQLnd()) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/ab199153d56d7ac6af509fe1ae2acf423563a95d
More information about the pld-cvs-commit
mailing list