From owner-svn-ports-all@FreeBSD.ORG Thu Sep 18 19:39:54 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A820DB4; Thu, 18 Sep 2014 19:39:54 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B8A29BD; Thu, 18 Sep 2014 19:39:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8IJdsPr019125; Thu, 18 Sep 2014 19:39:54 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8IJdrna019123; Thu, 18 Sep 2014 19:39:53 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201409181939.s8IJdrna019123@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Thu, 18 Sep 2014 19:39:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368511 - head/www/php-plurk-api X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2014 19:39:54 -0000 Author: antoine Date: Thu Sep 18 19:39:53 2014 New Revision: 368511 URL: http://svnweb.freebsd.org/changeset/ports/368511 QAT: https://qat.redports.org/buildarchive/r368511/ Log: Allow staging as a regular user Modified: head/www/php-plurk-api/Makefile head/www/php-plurk-api/pkg-plist Modified: head/www/php-plurk-api/Makefile ============================================================================== --- head/www/php-plurk-api/Makefile Thu Sep 18 19:33:53 2014 (r368510) +++ head/www/php-plurk-api/Makefile Thu Sep 18 19:39:53 2014 (r368511) @@ -16,23 +16,14 @@ USE_PHP= json curl USES= zip WRKSRC= ${WRKDIR}/${PORTVERSION} +PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_LIST= PKGNAME=${PKGNAME} SUB_FILES= pkg-message do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} - @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST} @${FIND} ${STAGEDIR}${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644 - @${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type f -print0 | \ - ${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST} @${FIND} ${STAGEDIR}${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755 - @${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type d -print0 | \ - ${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST} @${CHMOD} 755 ${STAGEDIR}${WWWDIR}/example.php - @${ECHO_CMD} '@exec ${CHMOD} 755 ${WWWDIR}/example.php' >> ${TMPPLIST} - -post-install: - @${CAT} ${PKGMESSAGE} .include Modified: head/www/php-plurk-api/pkg-plist ============================================================================== --- head/www/php-plurk-api/pkg-plist Thu Sep 18 19:33:53 2014 (r368510) +++ head/www/php-plurk-api/pkg-plist Thu Sep 18 19:39:53 2014 (r368511) @@ -1,3 +1,5 @@ +@owner %%WWWOWN%% +@group %%WWWGRP%% %%WWWDIR%%/ChangeLog %%WWWDIR%%/README %%WWWDIR%%/config.php @@ -29,3 +31,5 @@ @dirrm %%WWWDIR%%/documents/default @dirrm %%WWWDIR%%/documents @dirrm %%WWWDIR%% +@owner root +@group wheel