svn commit: r467244 - in head/misc/openhab2: . files
Alexander Leidinger
netchild at FreeBSD.org
Fri Apr 13 15:35:08 UTC 2018
Author: netchild
Date: Fri Apr 13 15:35:07 2018
New Revision: 467244
URL: https://svnweb.freebsd.org/changeset/ports/467244
Log:
Add info about not working serial ports, and a workaround
for the multicat error message.
Submitted by: lme
Modified:
head/misc/openhab2/Makefile
head/misc/openhab2/files/pkg-message.in
Modified: head/misc/openhab2/Makefile
==============================================================================
--- head/misc/openhab2/Makefile Fri Apr 13 14:41:21 2018 (r467243)
+++ head/misc/openhab2/Makefile Fri Apr 13 15:35:07 2018 (r467244)
@@ -3,6 +3,7 @@
PORTNAME= openhab2
PORTVERSION= 2.2.0
+PORTREVISION= 1
CATEGORIES= misc java
MASTER_SITES= https://bintray.com/openhab/mvn/download_file?file_path=org%2Fopenhab%2Fdistro%2Fopenhab%2F${PORTVERSION}/
DISTNAME= openhab-${PORTVERSION}
Modified: head/misc/openhab2/files/pkg-message.in
==============================================================================
--- head/misc/openhab2/files/pkg-message.in Fri Apr 13 14:41:21 2018 (r467243)
+++ head/misc/openhab2/files/pkg-message.in Fri Apr 13 15:35:07 2018 (r467244)
@@ -8,3 +8,16 @@ to set by hand (all "export"-ones) if you want to exec
the openHAB2 commands from the shell directly.
When the openHAB2 docs talk about "userdata", look into /var/db/openhab2.
+
+Serial ports do not work with FreeBSD, see:
+ https://github.com/openhab/openhab1-addons/wiki/FreeBSD
+
+By default openHAB2 tries to use IPv6. As FreeBSD does not support
+mapping IPV4 multicast addresses inside IPv6 addresses you will get
+the following error message:
+ [ERROR] [org.jupnp.transport.Router] - Unable to initialize network router: org.jupnp.transport.spi.InitializationException: Could not initialize MulticastReceiverImpl: java.net.SocketException: Invalid argument
+
+A workaround is to use the following rc.conf setting which will
+prefer IPv4 over IPv6:
+ openhab2_java_opts="-Djava.net.preferIPv4Stack=true"
+
More information about the svn-ports-head
mailing list