git: a1228f032984 - main - databases/mariadb104-server: Update to 10.4.27

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

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

commit a1228f03298487a867a1abb253f66bcb1dde25be
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2022-12-17 16:34:09 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2022-12-17 16:40:16 +0000

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

diff --git a/databases/mariadb104-server/Makefile b/databases/mariadb104-server/Makefile
index e20e46b1072d..2c21ddee817b 100644
--- a/databases/mariadb104-server/Makefile
+++ b/databases/mariadb104-server/Makefile
@@ -1,6 +1,6 @@
 PORTNAME?=	mariadb
-PORTVERSION=	10.4.26
-PORTREVISION?=	1
+PORTVERSION=	10.4.27
+PORTREVISION?=	0
 CATEGORIES=	databases
 MASTER_SITES=	https://mirror.nodesdirect.com/${SITESDIR}/ \
 		https://mirror.one.com/${SITESDIR}/ \
diff --git a/databases/mariadb104-server/distinfo b/databases/mariadb104-server/distinfo
index eb6c6bf25d99..bb3f50aab8ba 100644
--- a/databases/mariadb104-server/distinfo
+++ b/databases/mariadb104-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1662364240
-SHA256 (mariadb-10.4.26.tar.gz) = 715ac7e23afc3b8a559c6cc998cdb1973d90f621b2bdd7603e2c6e53860b2ddf
-SIZE (mariadb-10.4.26.tar.gz) = 96095606
+TIMESTAMP = 1669563733
+SHA256 (mariadb-10.4.27.tar.gz) = 48a1f220ca18bb0c46379d77fe98eb750bcc7052e73f10e3276ea2a5c51b8ab2
+SIZE (mariadb-10.4.27.tar.gz) = 94348724
diff --git a/databases/mariadb104-server/files/patch-include_ssl__compat.h b/databases/mariadb104-server/files/patch-include_ssl__compat.h
new file mode 100644
index 000000000000..30d695673280
--- /dev/null
+++ b/databases/mariadb104-server/files/patch-include_ssl__compat.h
@@ -0,0 +1,11 @@
+--- include/ssl_compat.h.orig	2022-11-02 12:18:48 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/mariadb104-server/pkg-plist b/databases/mariadb104-server/pkg-plist
index e47ad09f85c1..982751ff9043 100644
--- a/databases/mariadb104-server/pkg-plist
+++ b/databases/mariadb104-server/pkg-plist
@@ -164,6 +164,7 @@ lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool
 lib/mysql/plugin/auth_pam_v1.so
 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/ha_archive.so
 lib/mysql/plugin/ha_blackhole.so