diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-30 19:11:45 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-30 19:11:45 +0000 |
commit | 205dc986835a6a288dcb2de9f709d21e4e1f6ce8 (patch) | |
tree | 60f81dfc1ec592880f4fa84f07be7af04ae8aef9 /net-mgmt/rackmonkey | |
parent | c4dda6a7c166e75e253b59a576cbc20ef2cf1107 (diff) |
- Fix build from non-root, move perm handling to plist
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=398233
Diffstat (limited to 'net-mgmt/rackmonkey')
-rw-r--r-- | net-mgmt/rackmonkey/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/rackmonkey/pkg-plist | 34 |
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 |