[packages/php] - mysqlnd requires hash now

baggins baggins at pld-linux.org
Tue Aug 21 08:00:16 CEST 2018


commit cc302397388202321c5b852375a6811ef412aa7a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Aug 21 05:59:53 2018 +0000

    - mysqlnd requires hash now

 dep-tests.sh | 7 ++++---
 php.spec     | 4 +++-
 2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/php.spec b/php.spec
index a555435..d2c3c4a 100644
--- a/php.spec
+++ b/php.spec
@@ -2484,6 +2484,8 @@ generate_inifiles() {
 		[ "$mod" = "spl" ] && conf="SPL.ini"
 		# session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
 		[ "$mod" = "session" ] && conf="Session.ini"
+		# hash needs to be loaded before mysqlnd
+		[ "$mod" = "hash" ] && conf="Hash.ini"
 		# mysqlnd needs to be loaded before mysqli,pdo_mysqli
 		[ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
 		echo "+ $conf"
@@ -3131,7 +3133,7 @@ fi
 %files hash
 %defattr(644,root,root,755)
 %doc ext/hash/{CREDITS,README}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Hash.ini
 %attr(755,root,root) %{php_extensiondir}/hash.so
 %endif
 
diff --git a/dep-tests.sh b/dep-tests.sh
index 18ea66c..3d1a398 100755
--- a/dep-tests.sh
+++ b/dep-tests.sh
@@ -7,8 +7,9 @@ dep_spl="pcre simplexml"
 dep_session="spl $dep_spl"
 dep_filter='pcre'
 dep_eaccelerator='session'
-dep_mysql="$with_mysqlnd"
-dep_mysqli="$dep_spl spl $with_mysqlnd"
+dep_mysqlnd='hash'
+dep_mysql="$dep_mysqlnd $with_mysqlnd"
+dep_mysqli="$dep_spl spl $dep_mysqlnd $with_mysqlnd"
 dep_pdo="$dep_spl spl"
 dep_pdo_sqlite="$dep_pdo pdo"
 dep_pdo_pgsql="$dep_pdo pdo"
@@ -16,7 +17,7 @@ dep_pdo_oci="$dep_pdo pdo"
 dep_pdo_odbc="$dep_pdo pdo"
 dep_pdo_firebird="$dep_pdo pdo"
 dep_pdo_dblib="$dep_pdo pdo"
-dep_pdo_mysql="$dep_pdo pdo $with_mysqlnd"
+dep_pdo_mysql="$dep_pdo pdo $dep_mysqlnd $with_mysqlnd"
 dep_simplexml="$dep_spl spl"
 dep_imap="pcre"
 dep_phar="$dep_spl spl hash"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/cc302397388202321c5b852375a6811ef412aa7a



More information about the pld-cvs-commit mailing list