svn commit: r357121 - head/net-mgmt/phpip

Vanilla I. Shu vanilla at FreeBSD.org
Mon Jun 9 09:14:38 UTC 2014


Author: vanilla
Date: Mon Jun  9 09:14:37 2014
New Revision: 357121
URL: http://svnweb.freebsd.org/changeset/ports/357121
QAT: https://qat.redports.org/buildarchive/r357121/

Log:
  use @owner & @group to fix build package with non root user.
  
  Submitted by:	ohauer@

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

Modified: head/net-mgmt/phpip/Makefile
==============================================================================
--- head/net-mgmt/phpip/Makefile	Mon Jun  9 09:05:25 2014	(r357120)
+++ head/net-mgmt/phpip/Makefile	Mon Jun  9 09:14:37 2014	(r357121)
@@ -18,12 +18,11 @@ USES=		dos2unix
 WANT_PHP_WEB=	yes
 
 PHPIP?=		www/phpip
-PLIST_SUB+=	PHPIP=${PHPIP}
+PLIST_SUB+=	PHPIP=${PHPIP} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/${PHPIP}
 	@${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${PHPIP}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PHPIP}
 	@${CHMOD} -R 755 ${STAGEDIR}${PREFIX}/${PHPIP}
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/phpip/pkg-plist
==============================================================================
--- head/net-mgmt/phpip/pkg-plist	Mon Jun  9 09:05:25 2014	(r357120)
+++ head/net-mgmt/phpip/pkg-plist	Mon Jun  9 09:14:37 2014	(r357121)
@@ -1,3 +1,5 @@
+ at owner ${WWWOWN}
+ at group ${WWWGRP}
 %%PHPIP%%/COPYING
 %%PHPIP%%/ChangeLog
 %%PHPIP%%/INSTALL


More information about the svn-ports-head mailing list