Date: Sun, 21 Sep 2014 15:19:45 +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: r368770 - head/devel/gitphp Message-ID: <201409211519.s8LFJjTL041261@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sun Sep 21 15:19:44 2014 New Revision: 368770 URL: http://svnweb.freebsd.org/changeset/ports/368770 QAT: https://qat.redports.org/buildarchive/r368770/ Log: - Allow staging as a regular user - Bump portrevision as files were not packaged with intended owner Modified: head/devel/gitphp/Makefile head/devel/gitphp/pkg-plist Modified: head/devel/gitphp/Makefile ============================================================================== --- head/devel/gitphp/Makefile Sun Sep 21 15:18:07 2014 (r368769) +++ head/devel/gitphp/Makefile Sun Sep 21 15:19:44 2014 (r368770) @@ -2,6 +2,7 @@ PORTNAME= gitphp PORTVERSION= 0.2.8 +PORTREVISION= 1 CATEGORIES= devel www MASTER_SITES= http://www.gitphp.org/attachments/download/47/ @@ -15,6 +16,7 @@ USE_PHP= bz2 fileinfo mbstring memcache WANT_PHP_WEB= yes NO_BUILD= yes +PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdiff.so:${PORTSDIR}/textproc/pecl-xdiff @@ -22,11 +24,7 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} \ - && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR}) - ${CHOWN} -R www:www ${STAGEDIR}${WWWDIR} + && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) ${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 '{}' + -.if !defined(BATCH) - @ ${CAT} ${PKGMESSAGE} -.endif .include <bsd.port.mk> Modified: head/devel/gitphp/pkg-plist ============================================================================== --- head/devel/gitphp/pkg-plist Sun Sep 21 15:18:07 2014 (r368769) +++ head/devel/gitphp/pkg-plist Sun Sep 21 15:19:44 2014 (r368770) @@ -1,3 +1,5 @@ +@owner %%WWWOWN%% +@group %%WWWGRP%% %%WWWDIR%%/config/gitphp.conf.defaults.php %%WWWDIR%%/config/gitphp.conf.php.example %%WWWDIR%%/config/projects.conf.php.example @@ -798,3 +800,5 @@ @dirrm %%WWWDIR%%/config @dirrm %%WWWDIR%%/cache @dirrm %%WWWDIR%% +@owner root +@group wheel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409211519.s8LFJjTL041261>