[Libreoffice-commits] core.git: external/mariadb-connector-c

Michael Stahl (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 2 09:41:08 UTC 2020


 external/mariadb-connector-c/StaticLibrary_mariadb-connector-c.mk   |    1 -
 external/mariadb-connector-c/UnpackedTarball_mariadb-connector-c.mk |    2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit b746633b2b251695134e7f8c268a75e45cf97c82
Author:     Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Tue Dec 1 19:58:23 2020 +0100
Commit:     Michael Stahl <michael.stahl at cib.de>
CommitDate: Wed Dec 2 10:40:22 2020 +0100

    tdf#135202 mariadb-connector-c: enable native_password plugin
    
    ... and remove dialog authentication plugin; it quite uselessly defaults
    to asking for a password on stdin, unless a function symbol is defined
    by the library that links the connector static library.
    
    There are more authentication plugins but no idea if those are needed.
    
    Change-Id: I88ee9629e4763fb548c3f294b552cff3d739e6cb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107006
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.stahl at cib.de>

diff --git a/external/mariadb-connector-c/StaticLibrary_mariadb-connector-c.mk b/external/mariadb-connector-c/StaticLibrary_mariadb-connector-c.mk
index 6de1738312a7..c811473e11ce 100644
--- a/external/mariadb-connector-c/StaticLibrary_mariadb-connector-c.mk
+++ b/external/mariadb-connector-c/StaticLibrary_mariadb-connector-c.mk
@@ -66,7 +66,6 @@ $(eval $(call gb_StaticLibrary_add_generated_cobjects,mariadb-connector-c,\
 	UnpackedTarball/mariadb-connector-c/libmariadb/mariadb_stmt \
 	UnpackedTarball/mariadb-connector-c/libmariadb/ma_client_plugin \
 	UnpackedTarball/mariadb-connector-c/plugins/auth/my_auth \
-	UnpackedTarball/mariadb-connector-c/plugins/auth/dialog \
 	UnpackedTarball/mariadb-connector-c/plugins/auth/caching_sha2_pw \
 	UnpackedTarball/mariadb-connector-c/plugins/pvio/pvio_socket \
 	$(if $(filter $(OS),WNT), \
diff --git a/external/mariadb-connector-c/UnpackedTarball_mariadb-connector-c.mk b/external/mariadb-connector-c/UnpackedTarball_mariadb-connector-c.mk
index 2f679294f7c6..b34c3490661c 100644
--- a/external/mariadb-connector-c/UnpackedTarball_mariadb-connector-c.mk
+++ b/external/mariadb-connector-c/UnpackedTarball_mariadb-connector-c.mk
@@ -35,10 +35,12 @@ $(eval $(call gb_UnpackedTarball_set_post_action,mariadb-connector-c, \
 		-e 's/@EXTERNAL_PLUGINS@/ \
 			extern struct st_mysql_client_plugin pvio_socket_client_plugin\; \
 			extern struct st_mysql_client_plugin caching_sha2_password_client_plugin\; \
+			extern struct st_mysql_client_plugin mysql_native_password_client_plugin\; \
 			/' \
 		-e 's/@BUILTIN_PLUGINS@/ \
 			(struct st_mysql_client_plugin *)\&pvio_socket_client_plugin$(COMMA) \
 			(struct st_mysql_client_plugin *)\&caching_sha2_password_client_plugin$(COMMA) \
+			(struct st_mysql_client_plugin *)\&mysql_native_password_client_plugin$(COMMA) \
 			/' \
 		> libmariadb/ma_client_plugin.c \
 ))


More information about the Libreoffice-commits mailing list