From owner-svn-ports-head@FreeBSD.ORG Thu Sep 11 19:58:44 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 63E044FF; Thu, 11 Sep 2014 19:58:44 +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 35963C5B; Thu, 11 Sep 2014 19:58:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8BJwi3b021508; Thu, 11 Sep 2014 19:58:44 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8BJwhoi021503; Thu, 11 Sep 2014 19:58:43 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201409111958.s8BJwhoi021503@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Thu, 11 Sep 2014 19:58:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367970 - head/www/elgg X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2014 19:58:44 -0000 Author: antoine Date: Thu Sep 11 19:58:43 2014 New Revision: 367970 URL: http://svnweb.freebsd.org/changeset/ports/367970 QAT: https://qat.redports.org/buildarchive/r367970/ Log: - Allow staging as a regular user - Bump portrevision as @exec/@unexec were not setting owner on the right files Modified: head/www/elgg/Makefile head/www/elgg/pkg-plist Modified: head/www/elgg/Makefile ============================================================================== --- head/www/elgg/Makefile Thu Sep 11 19:52:47 2014 (r367969) +++ head/www/elgg/Makefile Thu Sep 11 19:58:43 2014 (r367970) @@ -3,6 +3,7 @@ PORTNAME= elgg PORTVERSION= 1.8.0.1 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://elgg.org/download/ @@ -15,25 +16,15 @@ USE_PHP= mysql gd json soap dom xml USES= gettext zip NO_BUILD= yes +PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message ELGGDATADIR= ${WWWDIR}data -.include do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR} - -post-install: - @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' \ - >> ${TMPPLIST} - @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' \ - >> ${TMPPLIST} - @${INSTALL} -d ${STAGEDIR}${ELGGDATADIR} @${CHMOD} 777 ${STAGEDIR}${ELGGDATADIR} - @${ECHO_CMD} '@exec ${CHMOD} 777 ${STAGEDIR}${ELGGDATADIR}' \ - >> ${TMPPLIST} -.include +.include Modified: head/www/elgg/pkg-plist ============================================================================== --- head/www/elgg/pkg-plist Thu Sep 11 19:52:47 2014 (r367969) +++ head/www/elgg/pkg-plist Thu Sep 11 19:58:43 2014 (r367970) @@ -1,3 +1,5 @@ +@owner %%WWWOWN%% +@group %%WWWGRP%% %%WWWDIR%%/CHANGES.txt %%WWWDIR%%/CODING.txt %%WWWDIR%%/CONTRIBUTORS.txt @@ -2593,3 +2595,5 @@ @dirrm %%WWWDIR%%/views @dirrm %%WWWDIR%%data @dirrm %%WWWDIR%% +@owner root +@group wheel