FreeBSD Bugzilla – Attachment 153490 Details for
Bug 198021
[patch] net/serviio: Export a JAVA_VERSION to handle when multiple Java versions are installed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to export JAVA_VERSION in serviiod script and bump PORTREVISION
serviio-1.5_1.diff (text/plain), 1.34 KB, created by
Jason Unovitch
on 2015-02-24 23:47:46 UTC
(
hide
)
Description:
Patch to export JAVA_VERSION in serviiod script and bump PORTREVISION
Filename:
MIME Type:
Creator:
Jason Unovitch
Created:
2015-02-24 23:47:46 UTC
Size:
1.34 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- 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 >Index: files/serviiod.in >=================================================================== >--- 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 198021
: 153490 |
153491