From owner-svn-ports-all@FreeBSD.ORG Thu Sep 11 20:30:18 2014 Return-Path: Delivered-To: svn-ports-all@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 C0271530; Thu, 11 Sep 2014 20:30:18 +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 9204F1000; Thu, 11 Sep 2014 20:30:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8BKUINe037250; Thu, 11 Sep 2014 20:30:18 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8BKUIjr037247; Thu, 11 Sep 2014 20:30:18 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201409112030.s8BKUIjr037247@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 20:30:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367977 - head/www/nibbleblog 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, 11 Sep 2014 20:30:18 -0000 Author: antoine Date: Thu Sep 11 20:30:17 2014 New Revision: 367977 URL: http://svnweb.freebsd.org/changeset/ports/367977 QAT: https://qat.redports.org/buildarchive/r367977/ Log: - Allow staging as a regular user - Bump portrevision has files weren't packaged with intended owner Modified: head/www/nibbleblog/Makefile head/www/nibbleblog/pkg-plist Modified: head/www/nibbleblog/Makefile ============================================================================== --- head/www/nibbleblog/Makefile Thu Sep 11 20:19:05 2014 (r367976) +++ head/www/nibbleblog/Makefile Thu Sep 11 20:30:17 2014 (r367977) @@ -3,7 +3,7 @@ PORTNAME= nibbleblog PORTVERSION= 3.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/v${PORTVERSION}/ DISTNAME= nibbleblogv302 @@ -20,6 +20,7 @@ USES= zip NO_BUILD= yes USE_PHP= session filter xml simplexml gd PKGMESSAGE= ${MASTERDIR}/pkg-message +PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message .include @@ -33,10 +34,6 @@ RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/l do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} - @${CP} -r ${WRKDIR}/${PORTNAME}/ ${STAGEDIR}${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} - -post-install: - ${CAT} ${PKGMESSAGE} + ${CP} -r ${WRKDIR}/${PORTNAME}/ ${STAGEDIR}${WWWDIR} .include Modified: head/www/nibbleblog/pkg-plist ============================================================================== --- head/www/nibbleblog/pkg-plist Thu Sep 11 20:19:05 2014 (r367976) +++ head/www/nibbleblog/pkg-plist Thu Sep 11 20:30:17 2014 (r367977) @@ -1,3 +1,5 @@ +@owner %%WWWOWN%% +@group %%WWWGRP%% %%WWWDIR%%/COPYRIGHT.txt %%WWWDIR%%/LICENSE.txt %%WWWDIR%%/.htaccess @@ -177,4 +179,5 @@ @dirrm %%WWWDIR%%/admin/ajax @dirrm %%WWWDIR%%/admin @dirrmtry %%WWWDIR%% -@exec mkdir -p %D/%%WWWDIR%%/content +@owner root +@group wheel