From owner-svn-ports-head@FreeBSD.ORG Sun Oct 5 09:29:41 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B61E3E32; Sun, 5 Oct 2014 09:29:41 +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 8808DBBF; Sun, 5 Oct 2014 09:29:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s959TfSw076995; Sun, 5 Oct 2014 09:29:41 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s959TfYs076992; Sun, 5 Oct 2014 09:29:41 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201410050929.s959TfYs076992@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sun, 5 Oct 2014 09:29:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370046 - head/www/phpmp 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: Sun, 05 Oct 2014 09:29:41 -0000 Author: antoine Date: Sun Oct 5 09:29:40 2014 New Revision: 370046 URL: https://svnweb.freebsd.org/changeset/ports/370046 QAT: https://qat.redports.org/buildarchive/r370046/ Log: - Allow staging as a regular user - Bump portrevision as files were not packaged with intended owner Modified: head/www/phpmp/Makefile head/www/phpmp/pkg-plist Modified: head/www/phpmp/Makefile ============================================================================== --- head/www/phpmp/Makefile Sun Oct 5 09:25:28 2014 (r370045) +++ head/www/phpmp/Makefile Sun Oct 5 09:29:40 2014 (r370046) @@ -3,6 +3,7 @@ PORTNAME= phpmp PORTVERSION= 0.12.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/ @@ -15,15 +16,11 @@ NO_BUILD= yes USE_PHP= pcre sockets PHPMP?= ${WWWDIR_REL} -PLIST_SUB+= PHPMP=${PHPMP} +PLIST_SUB= PHPMP="${PHPMP}" WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${PHPMP} @${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${PHPMP} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PHPMP} @${CHMOD} -R 755 ${STAGEDIR}${PREFIX}/${PHPMP} -post-install: - @${CAT} ${PKGMESSAGE} - .include Modified: head/www/phpmp/pkg-plist ============================================================================== --- head/www/phpmp/pkg-plist Sun Oct 5 09:25:28 2014 (r370045) +++ head/www/phpmp/pkg-plist Sun Oct 5 09:29:40 2014 (r370046) @@ -1,11 +1,11 @@ +@owner %%WWWOWN%% +@group %%WWWGRP%% %%PHPMP%%/COPYING %%PHPMP%%/ChangeLog %%PHPMP%%/INSTALL %%PHPMP%%/README %%PHPMP%%/TODO -@unexec if cmp -s %D/%%PHPMP%%/config.php.sample %D/%%PHPMP%%/config.php; then rm -f %D/%%PHPMP%%/config.php; fi -%%PHPMP%%/config.php.sample -@exec if [ ! -f %D/%%PHPMP%%/config.php ] ; then cp -p %D/%F %B/config.php; fi +@sample %%PHPMP%%/config.php.sample %%PHPMP%%/features.php %%PHPMP%%/index.php %%PHPMP%%/info.php @@ -18,4 +18,6 @@ %%PHPMP%%/transparent.gif %%PHPMP%%/utils.php %%PHPMP%%/xml-parse.php -@dirrmtry %%PHPMP%% +@dir %%PHPMP%% +@owner +@group