Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2014 17:16:40 +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: r369186 - head/www/phproxy
Message-ID:  <201409241716.s8OHGeGm089812@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Sep 24 17:16:40 2014
New Revision: 369186
URL: http://svnweb.freebsd.org/changeset/ports/369186
QAT: https://qat.redports.org/buildarchive/r369186/

Log:
  - Allow staging as a regular user
  - Bump portrevision as files where not packaged with intended owner

Modified:
  head/www/phproxy/Makefile
  head/www/phproxy/pkg-plist

Modified: head/www/phproxy/Makefile
==============================================================================
--- head/www/phproxy/Makefile	Wed Sep 24 17:05:47 2014	(r369185)
+++ head/www/phproxy/Makefile	Wed Sep 24 17:16:40 2014	(r369186)
@@ -3,7 +3,7 @@
 
 PORTNAME=	phproxy
 PORTVERSION=	0.5b2
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	www
 MASTER_SITES=	SF/poxy/PHProxy/0.5%20beta%202
 DISTNAME=	poxy-${DISTVERSION}
@@ -16,6 +16,7 @@ WANT_PHP_WEB=	YES
 USES=		zip:infozip
 USE_PHP=	ctype pcre
 EXTRACT_AFTER_ARGS+=	-d ${WRKSRC}
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 
 DOCFILES=	ChangeLog.txt LICENSE.txt README.txt TODO.txt
 
@@ -30,6 +31,5 @@ do-install:
 	@${RM} ${WRKSRC}/*.txt
 	${MKDIR} ${STAGEDIR}${WWWDIR}
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/)
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
 
 .include <bsd.port.mk>

Modified: head/www/phproxy/pkg-plist
==============================================================================
--- head/www/phproxy/pkg-plist	Wed Sep 24 17:05:47 2014	(r369185)
+++ head/www/phproxy/pkg-plist	Wed Sep 24 17:16:40 2014	(r369186)
@@ -2,8 +2,7 @@
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
 %%PORTDOCS%%%%DOCSDIR%%/README.txt
 %%PORTDOCS%%%%DOCSDIR%%/TODO.txt
-%%WWWDIR%%/index.inc.php
-%%WWWDIR%%/index.php
-%%WWWDIR%%/style.css
-@dirrm %%WWWDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/index.inc.php
+@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/index.php
+@(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/style.css
+@dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409241716.s8OHGeGm089812>