Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2014 13:56:06 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368756 - head/devel/phpbt
Message-ID:  <201409211356.s8LDu6un001362@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Sep 21 13:56:06 2014
New Revision: 368756
URL: http://svnweb.freebsd.org/changeset/ports/368756
QAT: https://qat.redports.org/buildarchive/r368756/

Log:
  Allow staging as a regular user
  Bump portrevision as files were not packaged with intended owner

Modified:
  head/devel/phpbt/Makefile
  head/devel/phpbt/pkg-plist

Modified: head/devel/phpbt/Makefile
==============================================================================
--- head/devel/phpbt/Makefile	Sun Sep 21 13:48:22 2014	(r368755)
+++ head/devel/phpbt/Makefile	Sun Sep 21 13:56:06 2014	(r368756)
@@ -3,6 +3,7 @@
 
 PORTNAME=	phpbt
 PORTVERSION=	1.0.1
+PORTREVISION=	1
 CATEGORIES?=	devel
 MASTER_SITES=	SF
 
@@ -17,13 +18,12 @@ USE_PHP=	ctype pcre posix session tokeni
 
 NO_BUILD=	YES
 PHPBT=		www/data-dist/phpbt
-PLIST_SUB=	PHPBT=${PHPBT}
+PLIST_SUB=	PHPBT=${PHPBT} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 SUB_FILES=	pkg-message
 SUB_LIST+=	PHPBT=${PHPBT}
 
 do-install:
 	-${MKDIR} ${STAGEDIR}${PREFIX}/${PHPBT}
 	@(cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${PREFIX}/${PHPBT})
-	@${CHOWN} -R www:www ${STAGEDIR}${PREFIX}/${PHPBT}
 
 .include <bsd.port.mk>

Modified: head/devel/phpbt/pkg-plist
==============================================================================
--- head/devel/phpbt/pkg-plist	Sun Sep 21 13:48:22 2014	(r368755)
+++ head/devel/phpbt/pkg-plist	Sun Sep 21 13:56:06 2014	(r368756)
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
 %%PHPBT%%/CHANGELOG
 %%PHPBT%%/COPYING
 %%PHPBT%%/INSTALL
@@ -214,4 +216,6 @@
 @dirrm %%PHPBT%%/templates/default
 @dirrm %%PHPBT%%/templates
 @dirrm %%PHPBT%%
+@owner root
+@group wheel
 @dirrmtry www/data-dist



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