svn commit: r398233 - head/net-mgmt/rackmonkey

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Sep 30 19:11:46 UTC 2015


Author: amdmi3
Date: Wed Sep 30 19:11:45 2015
New Revision: 398233
URL: https://svnweb.freebsd.org/changeset/ports/398233

Log:
  - Fix build from non-root, move perm handling to plist
  
  Approved by:	portmgr blanket

Modified:
  head/net-mgmt/rackmonkey/Makefile
  head/net-mgmt/rackmonkey/pkg-plist

Modified: head/net-mgmt/rackmonkey/Makefile
==============================================================================
--- head/net-mgmt/rackmonkey/Makefile	Wed Sep 30 18:58:23 2015	(r398232)
+++ head/net-mgmt/rackmonkey/Makefile	Wed Sep 30 19:11:45 2015	(r398233)
@@ -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>

Modified: head/net-mgmt/rackmonkey/pkg-plist
==============================================================================
--- head/net-mgmt/rackmonkey/pkg-plist	Wed Sep 30 18:58:23 2015	(r398232)
+++ head/net-mgmt/rackmonkey/pkg-plist	Wed Sep 30 19:11:45 2015	(r398233)
@@ -1,3 +1,5 @@
+ at owner www
+ at 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
- at dirrmtry %%WWWDIR%%/graphics/help
- at dirrmtry %%WWWDIR%%/graphics/icons
- at dirrmtry %%WWWDIR%%/graphics
- at dirrmtry %%WWWDIR%%/javascript
- at dirrmtry %%WWWDIR%%/styles
- at dirrmtry %%WWWDIR%%/tmpl
- at dirrmtry %%WWWDIR%%/RackMonkey
- at dirrmtry %%WWWDIR%%/sql/data
- at dirrmtry %%WWWDIR%%/sql/migration/3
- at dirrmtry %%WWWDIR%%/sql/migration/4
- at dirrmtry %%WWWDIR%%/sql/migration
- at dirrmtry %%WWWDIR%%/sql/schema
- at dirrmtry %%WWWDIR%%/sql
- at dirrmtry %%WWWDIR%%/doc
- at dirrmtry %%WWWDIR%%/
+ at dir %%WWWDIR%%/graphics/help
+ at dir %%WWWDIR%%/graphics/icons
+ at dir %%WWWDIR%%/graphics
+ at dir %%WWWDIR%%/javascript
+ at dir %%WWWDIR%%/styles
+ at dir %%WWWDIR%%/tmpl
+ at dir %%WWWDIR%%/RackMonkey
+ at dir %%WWWDIR%%/sql/data
+ at dir %%WWWDIR%%/sql/migration/3
+ at dir %%WWWDIR%%/sql/migration/4
+ at dir %%WWWDIR%%/sql/migration
+ at dir %%WWWDIR%%/sql/schema
+ at dir %%WWWDIR%%/sql
+ at dir %%WWWDIR%%/doc
+ at dir %%WWWDIR%%/
+ at owner
+ at group


More information about the svn-ports-all mailing list