git: 3a8101a26b19 - main - databases/mariadb105-server: Update to 10.5.18

From: Bernard Spil <brnrd_at_FreeBSD.org>
Date: Sat, 17 Dec 2022 11:55:40 UTC
The branch main has been updated by brnrd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3a8101a26b19b4249640f53b8501f63ac04de4e3

commit 3a8101a26b19b4249640f53b8501f63ac04de4e3
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2022-12-17 11:55:37 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2022-12-17 11:55:37 +0000

    databases/mariadb105-server: Update to 10.5.18
---
 databases/mariadb105-server/Makefile                          |  4 ++--
 databases/mariadb105-server/distinfo                          |  6 +++---
 databases/mariadb105-server/files/patch-include_ssl__compat.h | 11 +++++++++++
 databases/mariadb105-server/pkg-plist                         |  1 +
 4 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/databases/mariadb105-server/Makefile b/databases/mariadb105-server/Makefile
index c185136b13fa..f6a38e088a1d 100644
--- a/databases/mariadb105-server/Makefile
+++ b/databases/mariadb105-server/Makefile
@@ -1,6 +1,6 @@
 PORTNAME?=	mariadb
-PORTVERSION=	10.5.17
-PORTREVISION?=	1
+PORTVERSION=	10.5.18
+PORTREVISION?=	0
 CATEGORIES=	databases
 MASTER_SITES=	\
 		https://mirror.nodesdirect.com/${SITESDIR}/ \
diff --git a/databases/mariadb105-server/distinfo b/databases/mariadb105-server/distinfo
index ae6c33cf791f..70ecba3444f4 100644
--- a/databases/mariadb105-server/distinfo
+++ b/databases/mariadb105-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1662321331
-SHA256 (mariadb-10.5.17.tar.gz) = 849c840b76f4856503b43ef3a841fc971e8b5188c8df3690913bf5699691b761
-SIZE (mariadb-10.5.17.tar.gz) = 113314849
+TIMESTAMP = 1669559294
+SHA256 (mariadb-10.5.18.tar.gz) = 3593b0dcc0f2e80e98177019f5dcfa5cc8c14172ce161a6fa50f8084f2cef749
+SIZE (mariadb-10.5.18.tar.gz) = 111568643
diff --git a/databases/mariadb105-server/files/patch-include_ssl__compat.h b/databases/mariadb105-server/files/patch-include_ssl__compat.h
new file mode 100644
index 000000000000..c1c686112c18
--- /dev/null
+++ b/databases/mariadb105-server/files/patch-include_ssl__compat.h
@@ -0,0 +1,11 @@
+--- include/ssl_compat.h.orig	2022-11-02 12:37:17 UTC
++++ include/ssl_compat.h
+@@ -19,7 +19,7 @@
+ /* OpenSSL version specific definitions */
+ #if defined(OPENSSL_VERSION_NUMBER)
+ 
+-#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x30500000L)
+ #define HAVE_OPENSSL11 1
+ #define SSL_LIBRARY OpenSSL_version(OPENSSL_VERSION)
+ #define ERR_remove_state(X) ERR_clear_error()
diff --git a/databases/mariadb105-server/pkg-plist b/databases/mariadb105-server/pkg-plist
index 05d4618eb252..802e44db8a50 100644
--- a/databases/mariadb105-server/pkg-plist
+++ b/databases/mariadb105-server/pkg-plist
@@ -181,6 +181,7 @@ lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool
 lib/mysql/plugin/auth_pam_v1.so
 @comment lib/mysql/plugin/caching_sha2_password.so
 lib/mysql/plugin/debug_key_management.so
+lib/mysql/plugin/disks.so
 lib/mysql/plugin/file_key_management.so
 lib/mysql/plugin/func_test.so
 lib/mysql/plugin/ha_archive.so