From 40b0a9d38e7093f0f280b6a9cdcc762e4b672c20 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Mon, 9 Jun 2014 09:14:37 +0000 Subject: [PATCH] use @owner & @group to fix build package with non root user. Submitted by: ohauer@ --- net-mgmt/phpip/Makefile | 3 +-- net-mgmt/phpip/pkg-plist | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/net-mgmt/phpip/Makefile b/net-mgmt/phpip/Makefile index 58280a2410d6..410820d78950 100644 --- a/net-mgmt/phpip/Makefile +++ b/net-mgmt/phpip/Makefile @@ -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 diff --git a/net-mgmt/phpip/pkg-plist b/net-mgmt/phpip/pkg-plist index a592b0cf39a7..c799e4678a35 100644 --- a/net-mgmt/phpip/pkg-plist +++ b/net-mgmt/phpip/pkg-plist @@ -1,3 +1,5 @@ +@owner ${WWWOWN} +@group ${WWWGRP} %%PHPIP%%/COPYING %%PHPIP%%/ChangeLog %%PHPIP%%/INSTALL