summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2024-03-03 18:17:43 +0100
committerAlexander Leidinger <netchild@FreeBSD.org>2024-03-03 18:18:20 +0100
commitfabbea96d4da87e7bf26fb7c6b0e9c41d7007173 (patch)
treefc0e85d1ab8fce0d689c178303b45c349717fd73 /net
parentwww/piwigo: Update to 14.3.0. (diff)
net/serviio: Switch to Java 21.
Diffstat (limited to 'net')
-rw-r--r--net/serviio/Makefile4
-rw-r--r--net/serviio/files/serviiod.in2
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 "$@"