aboutsummaryrefslogtreecommitdiff
path: root/misc/openhab2
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2018-04-18 19:53:08 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2018-04-18 19:53:08 +0000
commit6d837e514677f90206665c0bd4c0ebf008cf458a (patch)
tree199d47d797a26cc249bcbf908cee1e94d7b79857 /misc/openhab2
parenta62b5922f0ef069dbe3c5af4e4304561a2f1ae3f (diff)
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.
Notes
Notes: svn path=/head/; revision=467732
Diffstat (limited to 'misc/openhab2')
-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