git: fabbea96d4da - main - net/serviio: Switch to Java 21.

From: Alexander Leidinger <netchild_at_FreeBSD.org>
Date: Sun, 03 Mar 2024 17:18:24 UTC
The branch main has been updated by netchild:

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

commit fabbea96d4da87e7bf26fb7c6b0e9c41d7007173
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-03-03 17:17:43 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2024-03-03 17:18:20 +0000

    net/serviio: Switch to Java 21.
---
 net/serviio/Makefile          | 4 ++--
 net/serviio/files/serviiod.in | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/serviio/Makefile b/net/serviio/Makefile
index 2097483d3040..832212a9595e 100644
--- a/net/serviio/Makefile
+++ b/net/serviio/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	serviio
 PORTVERSION=	2.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net multimedia java www
 MASTER_SITES=	https://download.serviio.org/releases/
 EXTRACT_SUFX=	-linux.tar.gz
@@ -19,7 +19,7 @@ RUN_DEPENDS=	ffmpeg:multimedia/ffmpeg
 
 NO_BUILD=	yes
 USE_JAVA=	yes
-JAVA_VERSION=	8
+JAVA_VERSION=	21
 USES=		dos2unix
 DOS2UNIX_GLOB=	derby.properties
 
diff --git a/net/serviio/files/serviiod.in b/net/serviio/files/serviiod.in
index 44864aac25b5..69c103d0ac02 100644
--- a/net/serviio/files/serviiod.in
+++ b/net/serviio/files/serviiod.in
@@ -20,7 +20,7 @@ SERVIIO_CLASS_PATH="$SERVIIO_CLASS_PATH:%%ETCDIR%%"
 # Setup Serviio specific properties
 JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dorg.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade -Dderby.system.home=/var/db/serviio -Dserviio.home=$HOME -Dffmpeg.location=%%LOCALBASE%%/bin/ffmpeg -Ddcraw.location=%%LOCALBASE%%/bin/dcraw"
 JAVA_OPTS="${JAVA_OPTS} -Djcs.auxiliary.DC.attributes.DiskPath=/var/db/serviio"
-JAVA_VERSION="1.8+"
+JAVA_VERSION="21+"
 
 # A kludge to get the -D... flags to Java, rather than to Serviio itself:
 for o in "$@"