Summary of changes: - Bump version to 4.1.3 - misc/openhab-addons: add SUBST_V - misc/openhab: update README to reflect solution to accessing serial port devices using 100% Java implementations
-- Chaz diff --git a/misc/openhab-addons/Makefile b/misc/openhab-addons/Makefile index db3019f6038..e62e4c68706 100644 --- a/misc/openhab-addons/Makefile +++ b/misc/openhab-addons/Makefile @@ -1,6 +1,6 @@ COMMENT= addons for openHAB -V= 4.1.2 +V= 4.1.3 DISTNAME= openhab-addons-${V} CATEGORIES= misc @@ -19,6 +19,8 @@ EXTRACT_ONLY= NO_BUILD= Yes NO_TEST= Yes +SUBST_VARS= V + do-install: ${INSTALL_DATA_DIR} ${PREFIX}/libexec/openhab/addons/ cp ${FULLDISTDIR}/${ALL_DISTFILES} ${PREFIX}/libexec/openhab/addons/ diff --git a/misc/openhab-addons/distinfo b/misc/openhab-addons/distinfo index 3d645d8755b..665eb6e2e7f 100644 --- a/misc/openhab-addons/distinfo +++ b/misc/openhab-addons/distinfo @@ -1,2 +1,2 @@ -SHA256 (openhab-addons-4.1.2.kar) = rzmuWROApyAEn5V2r/Cg5q5PBUSX2olIoS53xVJ3Po0= -SIZE (openhab-addons-4.1.2.kar) = 395718160 +SHA256 (openhab-addons-4.1.3.kar) = M15OZBwJ/LqTTZSSiWjtb9kCApFi4E1qQndJG8RUttA= +SIZE (openhab-addons-4.1.3.kar) = 395719604 diff --git a/misc/openhab-addons/pkg/PLIST b/misc/openhab-addons/pkg/PLIST index 0d367adad46..2619a0596c8 100644 --- a/misc/openhab-addons/pkg/PLIST +++ b/misc/openhab-addons/pkg/PLIST @@ -1,4 +1,4 @@ libexec/openhab/ libexec/openhab/addons/ -libexec/openhab/addons/openhab-addons-4.1.2.kar +libexec/openhab/addons/openhab-addons-${V}.kar share/doc/pkg-readmes/${PKGSTEM} diff --git a/misc/openhab/Makefile b/misc/openhab/Makefile index b349af11802..2b392ca9f91 100644 --- a/misc/openhab/Makefile +++ b/misc/openhab/Makefile @@ -1,6 +1,6 @@ COMMENT= integration platform for home automation -V= 4.1.2 +V= 4.1.3 DISTNAME= openhab-${V} CATEGORIES= misc diff --git a/misc/openhab/distinfo b/misc/openhab/distinfo index 37648021771..605a3c08369 100644 --- a/misc/openhab/distinfo +++ b/misc/openhab/distinfo @@ -1,2 +1,2 @@ -SHA256 (openhab-4.1.2.tar.gz) = ZTbvoUpf+MzcChKfRvKt2JEwVOoN8xlYIMymWKo/sqo= -SIZE (openhab-4.1.2.tar.gz) = 110558399 +SHA256 (openhab-4.1.3.tar.gz) = CGzmEYSutFNG5jYX8RptJZNkXEnHGlk1fOXZzc6cNIQ= +SIZE (openhab-4.1.3.tar.gz) = 110559505 diff --git a/misc/openhab/pkg/README b/misc/openhab/pkg/README index a5f6d716d91..df7e4ac0539 100644 --- a/misc/openhab/pkg/README +++ b/misc/openhab/pkg/README @@ -6,7 +6,7 @@ Listen on localhost only ======================== openHAB is configured by sourcing environment variables from /etc/openhab.conf. -By default openHAB listens on 0.0.0.0 port 8080 (http) and 8443 (https). +By default, openHAB listens on 0.0.0.0 port 8080 (http) and 8443 (https). We've opted to default to 127.0.0.1 for obvious security reasons. To restore the original behavior make the following change in /etc/openhab.conf: @@ -21,11 +21,11 @@ Access to serial devices openHAB runs as user _openhab. By default, this user will not be able to access serial devices. If, for example, you plan to access a locally connected USB dongle for Zigbee or Z-Wave, you will need to add the _openhab user to the -'dialer' group. Further, you will also need to edit /etc/openhab.conf and -adjust EXTRA_JAVA_OPTS accordingly. +'dialer' group. -Please note, you will have to find a Java wrapper library for native serial port -access. The example of passing "-Dgnu.io.rxtx.SerialPorts" uses the rxtx library -which is currently unsupported on OpenBSD. This may change in the future. +Please note, you will need a library to access serial ports from Java. The +example of passing "-Dgnu.io.rxtx.SerialPorts" uses the rxtx library, which is +currently unsupported on OpenBSD. However, 100% Java implementations such as +PureJavaComm and jSerialComm are known to work. Refer to https://www.openhab.org/docs/ for more details.