diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2018-04-13 15:35:07 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2018-04-13 15:35:07 +0000 |
commit | f240748fd4adf415962b09893319539847a700f5 (patch) | |
tree | 7f15489f1768abe8a408e652335fddc684bf6e13 /misc | |
parent | 666d46efbb20b534e39c4325901eee902c7c972f (diff) | |
download | ports-f240748fd4adf415962b09893319539847a700f5.tar.gz ports-f240748fd4adf415962b09893319539847a700f5.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/openhab2/Makefile | 1 | ||||
-rw-r--r-- | misc/openhab2/files/pkg-message.in | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/misc/openhab2/Makefile b/misc/openhab2/Makefile index f511ba67abc8..732556664d89 100644 --- a/misc/openhab2/Makefile +++ b/misc/openhab2/Makefile @@ -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} diff --git a/misc/openhab2/files/pkg-message.in b/misc/openhab2/files/pkg-message.in index 994d2b3037b0..dd850634ca3f 100644 --- a/misc/openhab2/files/pkg-message.in +++ b/misc/openhab2/files/pkg-message.in @@ -8,3 +8,16 @@ to set by hand (all "export"-ones) if you want to execute some of 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" + |