forked from Lainports/freebsd-ports
net-mgmt/unifi8: Set UTF8 encoding on startup
In order to use non-ASCII characters in WiFi network names, instruct java to use UTF8 encoding, similarly to what is also done in startup script for Linux. PR: 283443
This commit is contained in:
parent
f67cfb3683
commit
98e172c68b
2 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
PORTNAME= unifi8
|
PORTNAME= unifi8
|
||||||
PORTVERSION= 8.6.9
|
PORTVERSION= 8.6.9
|
||||||
|
PORTREVISION?= 1
|
||||||
CATEGORIES= net-mgmt java
|
CATEGORIES= net-mgmt java
|
||||||
MASTER_SITES= http://dl.ubnt.com/unifi/%SUBDIR%/:unifi \
|
MASTER_SITES= http://dl.ubnt.com/unifi/%SUBDIR%/:unifi \
|
||||||
https://repo1.maven.org/maven2/%SUBDIR%/:jax
|
https://repo1.maven.org/maven2/%SUBDIR%/:jax
|
||||||
|
|
|
||||||
|
|
@ -45,8 +45,11 @@ load_rc_config ${name}
|
||||||
: ${unifi_group:=%%GROUPS%%}
|
: ${unifi_group:=%%GROUPS%%}
|
||||||
: ${unifi_chdir=%%JAVASHAREDIR%%/unifi}
|
: ${unifi_chdir=%%JAVASHAREDIR%%/unifi}
|
||||||
: ${unifi_java_home=%%JAVA_HOME%%}
|
: ${unifi_java_home=%%JAVA_HOME%%}
|
||||||
: ${unifi_javaflags="-Djava.awt.headless=true -Xmx1024M \
|
: ${unifi_javaflags="-Djava.awt.headless=true \
|
||||||
-Djava.net.preferIPv4Stack=false \
|
-Djava.net.preferIPv4Stack=false \
|
||||||
|
-Dapple.awt.UIElement=true \
|
||||||
|
-Dfile.encoding=UTF-8 \
|
||||||
|
-Xmx1024M \
|
||||||
--add-opens java.base/java.lang=ALL-UNNAMED \
|
--add-opens java.base/java.lang=ALL-UNNAMED \
|
||||||
--add-opens java.base/java.time=ALL-UNNAMED \
|
--add-opens java.base/java.time=ALL-UNNAMED \
|
||||||
--add-opens java.base/sun.security.util=ALL-UNNAMED \
|
--add-opens java.base/sun.security.util=ALL-UNNAMED \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue