FreeBSD Ports

misc/openhab 4.3.11

Vendor and technology agnostic open source smart-home software

Repository
FreeBSD ports
Maintainer
[email protected]
License
EPL
Categories
misc, java
Package size
103391.5 KiB, 120455.7 KiB installed

Description

openHAB is a software for integrating different home automation systems and technologies into one single solution that allows over-arching automation rules and that offers uniform user interfaces.

Install

As a binary package — by origin, or by package name:

pkg install misc/openhab
pkg install openhab

From the ports tree:

cd /usr/ports/misc/openhab/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	openhab>0:misc/openhab

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.3.114.3.11--4.3.11
FreeBSD:14:quarterly4.3.114.3.11n/a-4.3.11
FreeBSD:15:latest4.3.114.3.11n/a-4.3.7
FreeBSD:15:quarterly4.3.114.3.11n/an/an/a
FreeBSD:16:latest4.3.114.3.11n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 53
All run dependencies 53
Required by 1

Configuration

No options to configure.

USES
cpe java zip
Service scripts
openhab

Message after installing

The openhab user interface writes to /var/db/openhab
(config) and to /usr/local/etc/openhab (when installing add-onds).
The config in /usr/local/etc/openhab is evaluated additionally to
/var/db/openhab.

See /usr/local/etc/rc.d/openhab for environment variables you need
to set by hand (all "export"-ones) if you want to execute some of
the openhab commands from the shell directly.

When the openhab docs talk about "userdata", look into /var/db/openhab.

Serial ports do not work with FreeBSD, see:
	https://github.com/openhab/openhab1-addons/wiki/FreeBSD

By default openhab 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:
	openhab_java_opts="-Djava.net.preferIPv4Stack=true"

OpenHAB contains some files/directories ending in .core, if you have
	daily_clean_disks_enable="YES"
for periodic runs (this is the default setting in /etc/default/periodic.conf), you should
remove "*.core" from the daily_clean_disks_files setting in periodic.conf. Example:
	daily_clean_disks_files="[#,]* .#* a.out *.CKP .emacs_[0-9]*"


If you upgrade from a pevious version, make a backup of
	/var/db/openhab
and read about the breaking changes in the release notes at
	https://github.com/openhab/openhab-distro/releases/

You may have to update the files in
	/var/db/openhab/userdata/etc/
from
	/usr/local/share/openhab/etc/
by hand.

At the end you need to run
	export JAVA_VERSION=17
	export OPENHAB_USERDATA=/var/db/openhab/userdata
	java -jar "/usr/local/libexec/openhab/runtime/bin/upgradetool.jar"

You should also remove the cache and tmp and restart:
	rm -r /var/db/openhab/userdata/cache/org.eclipse.osgi /var/db/openhab/userdata/tmp/*

If you upgrade from a pevious version, make a backup of
	/var/db/openhab
and read about the breaking changes in the release notes at
	https://github.com/openhab/openhab-distro/releases/

You may have to update the files in
	/var/db/openhab/userdata/etc/
from
	/usr/local/share/openhab/etc/
by hand.

At the end you need to run
	export JAVA_VERSION=17
	export OPENHAB_USERDATA=/var/db/openhab/userdata
	java -jar "/usr/local/libexec/openhab/runtime/bin/upgradetool.jar"

You should also remove the cache and tmp and restart:
        rm -r /var/db/openhab/userdata/cache/org.eclipse.osgi /var/db/openhab/userdata/tmp/*

Files

pkg-plist 478
  • libexec/openhab/addons/README
  • libexec/openhab/runtime/bin/backup
  • libexec/openhab/runtime/bin/client
  • libexec/openhab/runtime/bin/inc
  • libexec/openhab/runtime/bin/instance
  • libexec/openhab/runtime/bin/karaf
  • libexec/openhab/runtime/bin/oh_dir_layout
  • libexec/openhab/runtime/bin/restore
  • libexec/openhab/runtime/bin/setenv
  • libexec/openhab/runtime/bin/shell
  • libexec/openhab/runtime/bin/start
  • libexec/openhab/runtime/bin/status
  • libexec/openhab/runtime/bin/stop
  • libexec/openhab/runtime/bin/update
  • libexec/openhab/runtime/bin/update.lst
  • libexec/openhab/runtime/bin/upgradetool.jar
  • libexec/openhab/runtime/bin/userdata_sysfiles.lst
  • libexec/openhab/runtime/etc/addons.xml
  • libexec/openhab/runtime/etc/jetty.xml
  • libexec/openhab/runtime/lib/README
  • libexec/openhab/runtime/lib/boot/README
  • libexec/openhab/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.4.6.jar
  • libexec/openhab/runtime/lib/boot/org.apache.karaf.jaas.boot-4.4.6.jar
  • libexec/openhab/runtime/lib/boot/org.apache.karaf.main-4.4.6.jar
  • libexec/openhab/runtime/lib/boot/org.apache.karaf.specs.activator-4.4.6.jar
  • libexec/openhab/runtime/lib/boot/osgi.core-8.0.0.jar
  • libexec/openhab/runtime/lib/endorsed/README
  • libexec/openhab/runtime/lib/endorsed/org.apache.karaf.specs.java.xml-4.4.6.jar
  • libexec/openhab/runtime/lib/endorsed/org.apache.karaf.specs.java.xml.ws-4.4.6.jar
  • libexec/openhab/runtime/lib/endorsed/org.apache.karaf.specs.locator-4.4.6.jar
  • libexec/openhab/runtime/lib/ext/README
  • libexec/openhab/runtime/lib/jdk9plus/istack-commons-runtime-3.0.12.jar
  • libexec/openhab/runtime/lib/jdk9plus/jakarta.xml.bind-api-2.3.3.jar
  • libexec/openhab/runtime/lib/jdk9plus/javax.annotation-api-1.3.2.jar
  • libexec/openhab/runtime/lib/jdk9plus/jaxb-runtime-2.3.8.jar
  • libexec/openhab/runtime/lib/jdk9plus/org.apache.servicemix.specs.activation-api-1.2.1-1.2.1_3.jar
  • libexec/openhab/runtime/lib/jdk9plus/txw2-2.3.8.jar
  • libexec/openhab/runtime/services.cfg
  • libexec/openhab/runtime/system/README
  • libexec/openhab/runtime/system/com/fasterxml/jackson/core/jackson-annotations/2.17.1/jackson-annotations-2.17.1.jar
  • libexec/openhab/runtime/system/com/fasterxml/jackson/core/jackson-core/2.17.1/jackson-core-2.17.1.jar
  • libexec/openhab/runtime/system/com/fasterxml/jackson/core/jackson-databind/2.17.1/jackson-databind-2.17.1.jar
  • libexec/openhab/runtime/system/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.17.1/jackson-dataformat-cbor-2.17.1.jar
  • libexec/openhab/runtime/system/com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.17.1/jackson-dataformat-xml-2.17.1.jar
  • libexec/openhab/runtime/system/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.17.1/jackson-dataformat-yaml-2.17.1.jar
  • libexec/openhab/runtime/system/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.17.1/jackson-datatype-jsr310-2.17.1.jar
  • libexec/openhab/runtime/system/com/fasterxml/jackson/jaxrs/jackson-jaxrs-base/2.17.1/jackson-jaxrs-base-2.17.1.jar
  • libexec/openhab/runtime/system/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.17.1/jackson-jaxrs-json-provider-2.17.1.jar
  • libexec/openhab/runtime/system/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.17.1/jackson-module-jaxb-annotations-2.17.1.jar
  • libexec/openhab/runtime/system/com/fasterxml/woodstox/woodstox-core/6.5.1/woodstox-core-6.5.1.jar
  • libexec/openhab/runtime/system/com/google/guava/failureaccess/1.0.2/failureaccess-1.0.2.jar
  • libexec/openhab/runtime/system/com/google/guava/guava/33.3.0-jre/guava-33.3.0-jre.jar
  • libexec/openhab/runtime/system/com/google/inject/guice/7.0.0/guice-7.0.0.jar
  • libexec/openhab/runtime/system/com/hivemq/hivemq-mqtt-client/1.3.3/hivemq-mqtt-client-1.3.3.jar
  • libexec/openhab/runtime/system/com/neuronrobotics/nrjavaserial/5.2.1.OH1/nrjavaserial-5.2.1.OH1.jar
  • libexec/openhab/runtime/system/com/sun/xml/bind/jaxb-osgi/2.3.8/jaxb-osgi-2.3.8.jar
  • libexec/openhab/runtime/system/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar
  • libexec/openhab/runtime/system/commons-net/commons-net/3.9.0/commons-net-3.9.0.jar
  • libexec/openhab/runtime/system/de/focus-shift/jollyday-core/0.35.1/jollyday-core-0.35.1.jar
  • libexec/openhab/runtime/system/de/focus-shift/jollyday-jackson/0.35.1/jollyday-jackson-0.35.1.jar
  • libexec/openhab/runtime/system/io/github/classgraph/classgraph/4.8.174/classgraph-4.8.174.jar
  • libexec/openhab/runtime/system/io/netty/netty-buffer/4.1.104.Final/netty-buffer-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-codec-http/4.1.104.Final/netty-codec-http-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-codec-http2/4.1.104.Final/netty-codec-http2-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-codec-mqtt/4.1.104.Final/netty-codec-mqtt-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-codec-socks/4.1.104.Final/netty-codec-socks-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-codec/4.1.104.Final/netty-codec-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-common/4.1.104.Final/netty-common-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-handler-proxy/4.1.104.Final/netty-handler-proxy-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-handler/4.1.104.Final/netty-handler-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-resolver/4.1.104.Final/netty-resolver-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-tcnative-classes/2.0.62.Final/netty-tcnative-classes-2.0.62.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-transport-classes-epoll/4.1.104.Final/netty-transport-classes-epoll-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-transport-native-epoll/4.1.104.Final/netty-transport-native-epoll-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-transport-native-kqueue/4.1.104.Final/netty-transport-native-kqueue-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-transport-native-unix-common/4.1.104.Final/netty-transport-native-unix-common-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/netty/netty-transport/4.1.104.Final/netty-transport-4.1.104.Final.jar
  • libexec/openhab/runtime/system/io/reactivex/rxjava2/rxjava/2.2.21/rxjava-2.2.21.jar
  • libexec/openhab/runtime/system/io/swagger/core/v3/swagger-annotations/2.2.15/swagger-annotations-2.2.15.jar
  • libexec/openhab/runtime/system/io/swagger/core/v3/swagger-core/2.2.15/swagger-core-2.2.15.jar
  • libexec/openhab/runtime/system/io/swagger/core/v3/swagger-integration/2.2.15/swagger-integration-2.2.15.jar
  • libexec/openhab/runtime/system/io/swagger/core/v3/swagger-jaxrs2/2.2.15/swagger-jaxrs2-2.2.15.jar
  • libexec/openhab/runtime/system/io/swagger/core/v3/swagger-models/2.2.15/swagger-models-2.2.15.jar
  • libexec/openhab/runtime/system/jakarta/annotation/jakarta.annotation-api/2.0.0/jakarta.annotation-api-2.0.0.jar
  • libexec/openhab/runtime/system/jakarta/inject/jakarta.inject-api/1.0.5/jakarta.inject-api-1.0.5.jar
  • libexec/openhab/runtime/system/jakarta/inject/jakarta.inject-api/2.0.1/jakarta.inject-api-2.0.1.jar
  • libexec/openhab/runtime/system/jakarta/jws/jakarta.jws-api/2.1.0/jakarta.jws-api-2.1.0.jar
  • libexec/openhab/runtime/system/jakarta/servlet/jakarta.servlet-api/4.0.4/jakarta.servlet-api-4.0.4.jar
  • libexec/openhab/runtime/system/jakarta/validation/jakarta.validation-api/2.0.2/jakarta.validation-api-2.0.2.jar
  • libexec/openhab/runtime/system/jakarta/websocket/jakarta.websocket-api/1.1.2/jakarta.websocket-api-1.1.2.jar
  • libexec/openhab/runtime/system/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar
  • libexec/openhab/runtime/system/jakarta/xml/ws/jakarta.xml.ws-api/2.3.3/jakarta.xml.ws-api-2.3.3.jar
  • libexec/openhab/runtime/system/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar
  • libexec/openhab/runtime/system/javax/measure/unit-api/2.2/unit-api-2.2.jar
  • libexec/openhab/runtime/system/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar
  • libexec/openhab/runtime/system/net/java/dev/jna/jna-platform/5.14.0/jna-platform-5.14.0.jar
  • libexec/openhab/runtime/system/net/java/dev/jna/jna/5.14.0/jna-5.14.0.jar
  • libexec/openhab/runtime/system/org/apache/aries/component-dsl/org.apache.aries.component-dsl.component-dsl/1.2.2/org.apache.aries.component-dsl.component-dsl-1.2.2.jar
  • libexec/openhab/runtime/system/org/apache/aries/jax/rs/org.apache.aries.jax.rs.whiteboard/2.0.2/org.apache.aries.jax.rs.whiteboard-2.0.2.jar
  • libexec/openhab/runtime/system/org/apache/aries/spec/org.apache.aries.javax.jax.rs-api/1.0.4/org.apache.aries.javax.jax.rs-api-1.0.4.jar

The first 100 are listed.

distinfo 1
FileSizeSHA256
openhab-4.3.11.zip1.11540978e+086b6938b9126fe44c92243076bb8c33bca0196a801110fc70672fc30a6cd11899
Master sites 1
  • https://openhab.jfrog.io/artifactory/libs-release-local/org/openhab/distro/openhab/4.3.11/

Commit history 0

No commits in the history this site was built from.