aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2018-04-19 03:53:08 +0800
committernetchild <netchild@FreeBSD.org>2018-04-19 03:53:08 +0800
commitbca5a3d19fe26944a56b1becc6b1f08a8b8aad09 (patch)
tree199d47d797a26cc249bcbf908cee1e94d7b79857 /misc
parent4bb2c3d6a47a965853c7e90926f9146a6851e7af (diff)
downloadfreebsd-ports-gnome-bca5a3d19fe26944a56b1becc6b1f08a8b8aad09.tar.gz
freebsd-ports-gnome-bca5a3d19fe26944a56b1becc6b1f08a8b8aad09.tar.zst
freebsd-ports-gnome-bca5a3d19fe26944a56b1becc6b1f08a8b8aad09.zip
Fix plist in terms of owner for ETCDIR (@dir needs to added
explicitely). Owner for ETCDIR is needed as the server wants to write to ETCDIR when installing add-ons.
Diffstat (limited to 'misc')
-rw-r--r--misc/openhab2/Makefile2
-rw-r--r--misc/openhab2/pkg-plist23
2 files changed, 19 insertions, 6 deletions
diff --git a/misc/openhab2/Makefile b/misc/openhab2/Makefile
index 732556664d89..e9e0f7f76874 100644
--- a/misc/openhab2/Makefile
+++ b/misc/openhab2/Makefile
@@ -3,7 +3,7 @@
PORTNAME= openhab2
PORTVERSION= 2.2.0
-PORTREVISION= 1
+PORTREVISION= 2
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/pkg-plist b/misc/openhab2/pkg-plist
index 85abeac4988f..bfbfa8716baa 100644
--- a/misc/openhab2/pkg-plist
+++ b/misc/openhab2/pkg-plist
@@ -403,22 +403,35 @@ libexec/openhab2/start_debug.sh
@sample share/openhab2/etc/users.properties /var/db/openhab2/userdata/etc/users.properties
@sample share/openhab2/etc/version.properties /var/db/openhab2/userdata/etc/version.properties
@sample share/openhab2/tmp/README /var/db/openhab2/userdata/etc/README
-@sample %%ETCDIR%%/html/index.html.sample
+@dir %%ETCDIR%%
+@dir %%ETCDIR%%/html
+@dir %%ETCDIR%%/icons
+@dir %%ETCDIR%%/icons/classic
+@dir %%ETCDIR%%/items
+@dir %%ETCDIR%%/persistence
+@dir %%ETCDIR%%/rules
+@dir %%ETCDIR%%/scripts
+@dir %%ETCDIR%%/services
+@dir %%ETCDIR%%/sitemaps
+@dir %%ETCDIR%%/sounds
+@dir %%ETCDIR%%/things
+@dir %%ETCDIR%%/transform
+@sample(openhab,openhab,640) %%ETCDIR%%/html/index.html.sample
%%ETCDIR%%/html/readme.txt
%%ETCDIR%%/icons/classic/readme.txt
%%ETCDIR%%/items/readme.txt
%%ETCDIR%%/persistence/readme.txt
%%ETCDIR%%/rules/readme.txt
%%ETCDIR%%/scripts/readme.txt
-@sample %%ETCDIR%%/services/addons.cfg.sample
+@sample(openhab,openhab,640) %%ETCDIR%%/services/addons.cfg.sample
%%ETCDIR%%/services/readme.txt
-@sample %%ETCDIR%%/services/runtime.cfg.sample
+@sample(openhab,openhab,640) %%ETCDIR%%/services/runtime.cfg.sample
%%ETCDIR%%/sitemaps/readme.txt
%%ETCDIR%%/sounds/barking.mp3
%%ETCDIR%%/sounds/doorbell.mp3
%%ETCDIR%%/things/readme.txt
-@sample %%ETCDIR%%/transform/de.map.sample
-@sample %%ETCDIR%%/transform/en.map.sample
+@sample(openhab,openhab,640) %%ETCDIR%%/transform/de.map.sample
+@sample(openhab,openhab,640) %%ETCDIR%%/transform/en.map.sample
%%ETCDIR%%/transform/readme.txt
@dir /var/run/openhab2
@dir /var/db/openhab2/home