git: 0d0e5a5a2527 - main - misc/openhab: update to 4.0.3.

From: Alexander Leidinger <netchild_at_FreeBSD.org>
Date: Sun, 10 Sep 2023 07:18:35 UTC
The branch main has been updated by netchild:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d0e5a5a252799d2423a73e414ba0886fb045d45

commit 0d0e5a5a252799d2423a73e414ba0886fb045d45
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2023-09-10 07:17:06 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2023-09-10 07:18:30 +0000

    misc/openhab: update to 4.0.3.
    
    Also add a recommendation for some periodic daily runs.
---
 misc/openhab-addons/Makefile      | 2 +-
 misc/openhab-addons/distinfo      | 6 +++---
 misc/openhab/Makefile             | 4 ++--
 misc/openhab/distinfo             | 6 +++---
 misc/openhab/files/pkg-message.in | 6 ++++++
 misc/openhab/pkg-plist            | 2 +-
 6 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/misc/openhab-addons/Makefile b/misc/openhab-addons/Makefile
index 41dc21b3aefc..b151a8f7394e 100644
--- a/misc/openhab-addons/Makefile
+++ b/misc/openhab-addons/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	openhab-addons
-PORTVERSION=	4.0.2
+PORTVERSION=	4.0.3
 CATEGORIES=	misc java
 MASTER_SITES=	https://openhab.jfrog.io/artifactory/libs-release-local/org/openhab/distro/openhab-addons/${PORTVERSION}/
 DISTNAME=	openhab-addons-${PORTVERSION}
diff --git a/misc/openhab-addons/distinfo b/misc/openhab-addons/distinfo
index 81ff74122b23..a56894d0bbf8 100644
--- a/misc/openhab-addons/distinfo
+++ b/misc/openhab-addons/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1693376683
-SHA256 (openhab-addons-4.0.2.kar) = de1fbbb2944176712852161b1311e69f3663f46854d216abab7f3b2c49638cfa
-SIZE (openhab-addons-4.0.2.kar) = 393906978
+TIMESTAMP = 1694329937
+SHA256 (openhab-addons-4.0.3.kar) = af4e40ea4e293e02c661c998bf7bf503ba26dc5ac961dbc2e9f106c845148c8b
+SIZE (openhab-addons-4.0.3.kar) = 393903990
diff --git a/misc/openhab/Makefile b/misc/openhab/Makefile
index c33dd44857e6..bd10df7148d6 100644
--- a/misc/openhab/Makefile
+++ b/misc/openhab/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	openhab
-PORTVERSION=	4.0.2
-PORTREVISION=	1
+PORTVERSION=	4.0.3
+PORTREVISION=	0
 CATEGORIES=	misc java
 MASTER_SITES=	https://openhab.jfrog.io/artifactory/libs-release-local/org/openhab/distro/openhab/${PORTVERSION}/
 DISTNAME=	openhab-${PORTVERSION}
diff --git a/misc/openhab/distinfo b/misc/openhab/distinfo
index 5a0b738b3a28..4757bfd4c395 100644
--- a/misc/openhab/distinfo
+++ b/misc/openhab/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1693376325
-SHA256 (openhab-4.0.2.zip) = f132b501fe997daf83db8fbb7d8d8910c87d5620c1adc3abb6ec1c609bac62ac
-SIZE (openhab-4.0.2.zip) = 104058457
+TIMESTAMP = 1694329760
+SHA256 (openhab-4.0.3.zip) = 652fa9c87c16a958a8c2cc602674a601ad3d26598d80d9402c84ff4ba5cd9494
+SIZE (openhab-4.0.3.zip) = 104054740
diff --git a/misc/openhab/files/pkg-message.in b/misc/openhab/files/pkg-message.in
index ea29b3b14712..4887eaf7c598 100644
--- a/misc/openhab/files/pkg-message.in
+++ b/misc/openhab/files/pkg-message.in
@@ -24,6 +24,12 @@ 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
diff --git a/misc/openhab/pkg-plist b/misc/openhab/pkg-plist
index 1a433fa0fd08..937038a7fef4 100644
--- a/misc/openhab/pkg-plist
+++ b/misc/openhab/pkg-plist
@@ -322,7 +322,7 @@ libexec/openhab/runtime/system/org/openhab/distro/distro/%%PORTVERSION%%/distro-
 libexec/openhab/runtime/system/org/openhab/distro/openhab-addons/%%PORTVERSION%%/openhab-addons-%%PORTVERSION%%-features.xml
 libexec/openhab/runtime/system/org/openhab/osgiify/com.google.dagger/2.27/com.google.dagger-2.27.jar
 libexec/openhab/runtime/system/org/openhab/osgiify/com.igormaznitsa.jbbp/1.4.1/com.igormaznitsa.jbbp-1.4.1.jar
-libexec/openhab/runtime/system/org/openhab/osgiify/io.methvin.directory-watcher/0.17.1/io.methvin.directory-watcher-0.17.1.jar
+libexec/openhab/runtime/system/org/openhab/osgiify/io.methvin.directory-watcher/0.18.0/io.methvin.directory-watcher-0.18.0.jar
 libexec/openhab/runtime/system/org/openhab/osgiify/si.uom.si-units/2.1/si.uom.si-units-2.1.jar
 libexec/openhab/runtime/system/org/openhab/ui/bundles/org.openhab.ui.iconset.classic/%%PORTVERSION%%/org.openhab.ui.iconset.classic-%%PORTVERSION%%.jar
 libexec/openhab/runtime/system/org/openhab/ui/bundles/org.openhab.ui/%%PORTVERSION%%/org.openhab.ui-%%PORTVERSION%%.jar