git: 7d8f81177fac - main - databases/mariadb103-server: Update to 10.3.37

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

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

commit 7d8f81177fac278fb362d5a50cd0eac2ba40c2e7
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2022-12-17 16:33:52 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2022-12-17 16:40:15 +0000

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

diff --git a/databases/mariadb103-server/Makefile b/databases/mariadb103-server/Makefile
index d9d85faaaea9..73ba0ef5e88e 100644
--- a/databases/mariadb103-server/Makefile
+++ b/databases/mariadb103-server/Makefile
@@ -1,6 +1,6 @@
 PORTNAME?=	mariadb
-PORTVERSION=	10.3.36
-PORTREVISION?=	1
+PORTVERSION=	10.3.37
+PORTREVISION?=	0
 CATEGORIES=	databases
 MASTER_SITES=	https://mirror.nodesdirect.com/${SITESDIR}/ \
 		https://mirror.one.com/${SITESDIR}/ \
@@ -20,6 +20,9 @@ MAINTAINER=	brnrd@FreeBSD.org
 COMMENT?=	Multithreaded SQL database (server)
 WWW=		https://mariadb.org/
 
+DEPRECATED=		Use databases/mariadb106-server
+EXPIRATION_DATE=	2023-05-25
+
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
diff --git a/databases/mariadb103-server/distinfo b/databases/mariadb103-server/distinfo
index c8a1b054e877..e41beab93942 100644
--- a/databases/mariadb103-server/distinfo
+++ b/databases/mariadb103-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1662725592
-SHA256 (mariadb-10.3.36.tar.gz) = 003c497c387a28184acfb4fd30e4150ea1f0300004845fdcf48e5122e36c5dc6
-SIZE (mariadb-10.3.36.tar.gz) = 73944352
+TIMESTAMP = 1671285674
+SHA256 (mariadb-10.3.37.tar.gz) = a7b25f3534eff9dd847ca19f3adf70a975ee572929c16b1cf7ef8930bf782677
+SIZE (mariadb-10.3.37.tar.gz) = 74314608
diff --git a/databases/mariadb103-server/files/patch-include_ssl__compat.h b/databases/mariadb103-server/files/patch-include_ssl__compat.h
new file mode 100644
index 000000000000..30d695673280
--- /dev/null
+++ b/databases/mariadb103-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/mariadb103-server/pkg-plist b/databases/mariadb103-server/pkg-plist
index 7219ce2d1bb1..d31d2014c949 100644
--- a/databases/mariadb103-server/pkg-plist
+++ b/databases/mariadb103-server/pkg-plist
@@ -172,6 +172,7 @@ lib/mysql/plugin/auth_test_plugin.so
 lib/mysql/plugin/caching_sha2_password.so
 lib/mysql/plugin/debug_key_management.so
 @comment lib/mysql/plugin/dialog.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