aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-10-01 03:11:45 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-10-01 03:11:45 +0800
commitf430bab2cf47f4b992dd0de7ed4bfd11af57692c (patch)
tree60f81dfc1ec592880f4fa84f07be7af04ae8aef9 /net-mgmt
parent31bbff107868819420752958d2ab18505c47e2f4 (diff)
downloadfreebsd-ports-gnome-f430bab2cf47f4b992dd0de7ed4bfd11af57692c.tar.gz
freebsd-ports-gnome-f430bab2cf47f4b992dd0de7ed4bfd11af57692c.tar.zst
freebsd-ports-gnome-f430bab2cf47f4b992dd0de7ed4bfd11af57692c.zip
- Fix build from non-root, move perm handling to plist
Approved by: portmgr blanket
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/rackmonkey/Makefile1
-rw-r--r--net-mgmt/rackmonkey/pkg-plist34
2 files changed, 19 insertions, 16 deletions
diff --git a/net-mgmt/rackmonkey/Makefile b/net-mgmt/rackmonkey/Makefile
index 423499b53c71..637bbac05db2 100644
--- a/net-mgmt/rackmonkey/Makefile
+++ b/net-mgmt/rackmonkey/Makefile
@@ -93,6 +93,5 @@ do-install:
${WRKDIR}/build_conf/rackmonkey.conf
cd ${WRKSRC} && ${COPYTREE_SHARE} sql ${STAGEDIR}${WWWDIR}/
cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${WWWDIR}/
- ${CHOWN} -R 80:80 ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>
diff --git a/net-mgmt/rackmonkey/pkg-plist b/net-mgmt/rackmonkey/pkg-plist
index 65d823c8551c..8d3952784e71 100644
--- a/net-mgmt/rackmonkey/pkg-plist
+++ b/net-mgmt/rackmonkey/pkg-plist
@@ -1,3 +1,5 @@
+@owner www
+@group www
%%WWWDIR%%/rackmonkey.pl
%%INIT_DB%%%%WWWDIR%%/rackmonkey.db
%%WWWDIR%%/rack2xls.pl
@@ -128,18 +130,20 @@
%%WWWDIR%%/doc/upgrade.txt
@unexec if cmp -s %D/%%WWWDIR%%/rackmonkey.conf-default %D/%%WWWDIR%%/rackmonkey.conf; then rm -f %D/%%WWWDIR%%/rackmonkey.conf; fi
@exec if [ ! -f %D/%%WWWDIR%%/rackmonkey.conf ] ; then cp -p %D/%F %B/%%WWWDIR%%/rackmonkey.conf; fi
-@dirrmtry %%WWWDIR%%/graphics/help
-@dirrmtry %%WWWDIR%%/graphics/icons
-@dirrmtry %%WWWDIR%%/graphics
-@dirrmtry %%WWWDIR%%/javascript
-@dirrmtry %%WWWDIR%%/styles
-@dirrmtry %%WWWDIR%%/tmpl
-@dirrmtry %%WWWDIR%%/RackMonkey
-@dirrmtry %%WWWDIR%%/sql/data
-@dirrmtry %%WWWDIR%%/sql/migration/3
-@dirrmtry %%WWWDIR%%/sql/migration/4
-@dirrmtry %%WWWDIR%%/sql/migration
-@dirrmtry %%WWWDIR%%/sql/schema
-@dirrmtry %%WWWDIR%%/sql
-@dirrmtry %%WWWDIR%%/doc
-@dirrmtry %%WWWDIR%%/
+@dir %%WWWDIR%%/graphics/help
+@dir %%WWWDIR%%/graphics/icons
+@dir %%WWWDIR%%/graphics
+@dir %%WWWDIR%%/javascript
+@dir %%WWWDIR%%/styles
+@dir %%WWWDIR%%/tmpl
+@dir %%WWWDIR%%/RackMonkey
+@dir %%WWWDIR%%/sql/data
+@dir %%WWWDIR%%/sql/migration/3
+@dir %%WWWDIR%%/sql/migration/4
+@dir %%WWWDIR%%/sql/migration
+@dir %%WWWDIR%%/sql/schema
+@dir %%WWWDIR%%/sql
+@dir %%WWWDIR%%/doc
+@dir %%WWWDIR%%/
+@owner
+@group