Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2014 09:14:38 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357121 - head/net-mgmt/phpip
Message-ID:  <201406090914.s599EcJU096191@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 @@
+@owner ${WWWOWN}
+@group ${WWWGRP}
 %%PHPIP%%/COPYING
 %%PHPIP%%/ChangeLog
 %%PHPIP%%/INSTALL



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406090914.s599EcJU096191>