git: 1513fd134e6c - main - multimedia/emby-server(-devel): fix starting with openssl3

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Thu, 11 Jan 2024 16:39:28 UTC
The branch main has been updated by driesm:

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

commit 1513fd134e6c8947edfa170e3e205ebd9b752fda
Author:     Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2024-01-11 16:35:45 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-01-11 16:39:17 +0000

    multimedia/emby-server(-devel): fix starting with openssl3
---
 multimedia/emby-server-devel/Makefile       | 2 +-
 multimedia/emby-server/Makefile             | 2 +-
 multimedia/emby-server/files/emby-server.in | 4 ++++
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/multimedia/emby-server-devel/Makefile b/multimedia/emby-server-devel/Makefile
index fcebb8257dce..1e8515d62e15 100644
--- a/multimedia/emby-server-devel/Makefile
+++ b/multimedia/emby-server-devel/Makefile
@@ -1,5 +1,5 @@
 DISTVERSION=	4.8.0.66
-PORTREVISION=	0
+PORTREVISION=	1
 PKGNAMESUFFIX=	-devel
 
 DIST_SUBDIR=	${PORTNAME}${PKGNAMESUFFIX}
diff --git a/multimedia/emby-server/Makefile b/multimedia/emby-server/Makefile
index 9f57a433ed9f..2f6dcc4f07e0 100644
--- a/multimedia/emby-server/Makefile
+++ b/multimedia/emby-server/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	emby-server
 DISTVERSION?=	4.7.14.0
-PORTREVISION?=	7
+PORTREVISION?=	8
 CATEGORIES=	multimedia
 MASTER_SITES=	https://github.com/MediaBrowser/Emby.Releases/releases/download/${DISTVERSION}/ \
 		https://mediabrowser.github.io/embytools/
diff --git a/multimedia/emby-server/files/emby-server.in b/multimedia/emby-server/files/emby-server.in
index 13bc85c4fed8..44055e67a997 100644
--- a/multimedia/emby-server/files/emby-server.in
+++ b/multimedia/emby-server/files/emby-server.in
@@ -69,6 +69,10 @@ start_precmd=%%RC_NAME%%_start_precmd
 		export DOTNET_SYSTEM_NET_DISABLEIPV6=1
 	fi
 
+	if [ `uname -K` -ge 1400092 ]; then
+		export CLR_OPENSSL_VERSION_OVERRIDE=30
+	fi
+
 	export LD_LIBRARY_PATH=%%PREFIX%%/lib/emby-server/lib:%%LOCALBASE%%/lib
 }