Date: Fri, 13 Apr 2018 15:35:07 +0000 (UTC) From: Alexander Leidinger <netchild@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467244 - in head/misc/openhab2: . files Message-ID: <201804131535.w3DFZ7OE004344@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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" +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804131535.w3DFZ7OE004344>