From 205dc986835a6a288dcb2de9f709d21e4e1f6ce8 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 30 Sep 2015 19:11:45 +0000 Subject: - Fix build from non-root, move perm handling to plist Approved by: portmgr blanket --- net-mgmt/rackmonkey/Makefile | 1 - net-mgmt/rackmonkey/pkg-plist | 34 +++++++++++++++++++--------------- 2 files changed, 19 insertions(+), 16 deletions(-) (limited to 'net-mgmt/rackmonkey') 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 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 -- cgit v1.2.3