From owner-svn-ports-all@freebsd.org Fri Apr 13 15:35:08 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 810C9F919B6; Fri, 13 Apr 2018 15:35:08 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D0D77E01D; Fri, 13 Apr 2018 15:35:08 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 220961B9DB; Fri, 13 Apr 2018 15:35:08 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3DFZ7FK004346; Fri, 13 Apr 2018 15:35:07 GMT (envelope-from netchild@FreeBSD.org) Received: (from netchild@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3DFZ7OE004344; Fri, 13 Apr 2018 15:35:07 GMT (envelope-from netchild@FreeBSD.org) Message-Id: <201804131535.w3DFZ7OE004344@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: netchild set sender to netchild@FreeBSD.org using -f From: Alexander Leidinger Date: Fri, 13 Apr 2018 15:35:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467244 - in head/misc/openhab2: . files X-SVN-Group: ports-head X-SVN-Commit-Author: netchild X-SVN-Commit-Paths: in head/misc/openhab2: . files X-SVN-Commit-Revision: 467244 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2018 15:35:08 -0000 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" +