pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mysql56-client mysql56-client: Backport comp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88b969603c1d
branches:  trunk
changeset: 375195:88b969603c1d
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Feb 05 16:09:52 2018 +0000

description:
mysql56-client: Backport comparison fix from upstream.

diffstat:

 databases/mysql56-client/distinfo                                           |   3 +-
 databases/mysql56-client/patches/patch-sql-common_client__authentication.cc |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 9db1a0288af7 -r 88b969603c1d databases/mysql56-client/distinfo
--- a/databases/mysql56-client/distinfo Mon Feb 05 15:05:02 2018 +0000
+++ b/databases/mysql56-client/distinfo Mon Feb 05 16:09:52 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.45 2018/01/16 16:27:12 adam Exp $
+$NetBSD: distinfo,v 1.46 2018/02/05 16:09:52 jperkin Exp $
 
 SHA1 (mysql-5.6.39.tar.gz) = 8f69162cfcfb031e0e60f85e46182548a4e34b41
 RMD160 (mysql-5.6.39.tar.gz) = 5b1eb6a5cd696112ec925b5d26dcf67dce7adc08
@@ -30,6 +30,7 @@
 SHA1 (patch-scripts_CMakeLists.txt) = 5b44d2d137e3e64474d663a8faab5b5f289f4cf5
 SHA1 (patch-scripts_mysql__install__db.pl.in) = c2ed1705a530a0f2dfb8325496ceb7e2a9c98185
 SHA1 (patch-scripts_mysqld_safe.sh) = 0784314227657aa0bc3f4a0b4e21c173a86fa94b
+SHA1 (patch-sql-common_client__authentication.cc) = fb14e5bcb64c4d2d0b8cbbe97ff5b24b725e509e
 SHA1 (patch-sql_CMakeLists.txt) = 83c1e50de6b53a0af5ff010f248dd595745b3eb5
 SHA1 (patch-sql_log_event.h) = a413038ffa29103c75e1d243864615ccb3d9621e
 SHA1 (patch-sql_sql_string.h) = 1ce4d4db59310ea45e384f34e33c0d61935059bf
diff -r 9db1a0288af7 -r 88b969603c1d databases/mysql56-client/patches/patch-sql-common_client__authentication.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql56-client/patches/patch-sql-common_client__authentication.cc       Mon Feb 05 16:09:52 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-sql-common_client__authentication.cc,v 1.1 2018/02/05 16:09:52 jperkin Exp $
+
+Backport upstream fix.
+
+--- sql-common/client_authentication.cc.orig   2017-12-09 07:33:37.000000000 +0000
++++ sql-common/client_authentication.cc
+@@ -84,7 +84,7 @@ RSA *rsa_init(MYSQL *mysql)
+ 
+   if (mysql->options.extension != NULL &&
+       mysql->options.extension->server_public_key_path != NULL &&
+-      mysql->options.extension->server_public_key_path != '\0')
++      mysql->options.extension->server_public_key_path[0] != '\0')
+   {
+     pub_key_file= fopen(mysql->options.extension->server_public_key_path,
+                         "r");



Home | Main Index | Thread Index | Old Index