--- Makefile (revision 379854) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= serviio PORTVERSION= 1.5 -#PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net multimedia java www MASTER_SITES= http://download.serviio.org/releases/ EXTRACT_SUFX= -linux.tar.gz --- files/serviiod.in (revision 379854) +++ files/serviiod.in (working copy) @@ -19,6 +19,7 @@ # 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+" # A kludge to get the -D... flags to Java, rather than to Serviio itself: for o in "$@" @@ -31,5 +32,5 @@ done # Execute the JVM in the foreground -export HOME PATH +export HOME PATH JAVA_VERSION exec java -Xmx512M -Xms20M -XX:+UseG1GC -XX:GCTimeRatio=1 -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 $JAVA_OPTS -classpath "$SERVIIO_CLASS_PATH" org.serviio.MediaServer "$@" 2>&1 >/dev/null