Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2018 19:53:08 +0000 (UTC)
From:      Alexander Leidinger <netchild@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467732 - head/misc/openhab2
Message-ID:  <201804181953.w3IJr8vR072107@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: netchild
Date: Wed Apr 18 19:53:08 2018
New Revision: 467732
URL: https://svnweb.freebsd.org/changeset/ports/467732

Log:
  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.

Modified:
  head/misc/openhab2/Makefile
  head/misc/openhab2/pkg-plist

Modified: head/misc/openhab2/Makefile
==============================================================================
--- head/misc/openhab2/Makefile	Wed Apr 18 19:50:51 2018	(r467731)
+++ head/misc/openhab2/Makefile	Wed Apr 18 19:53:08 2018	(r467732)
@@ -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}

Modified: head/misc/openhab2/pkg-plist
==============================================================================
--- head/misc/openhab2/pkg-plist	Wed Apr 18 19:50:51 2018	(r467731)
+++ head/misc/openhab2/pkg-plist	Wed Apr 18 19:53:08 2018	(r467732)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804181953.w3IJr8vR072107>