Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 19:29:18 +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: r367965 - head/devel/truc
Message-ID:  <201409111929.s8BJTI2a007231@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Sep 11 19:29:18 2014
New Revision: 367965
URL: http://svnweb.freebsd.org/changeset/ports/367965
QAT: https://qat.redports.org/buildarchive/r367965/

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

Modified:
  head/devel/truc/Makefile
  head/devel/truc/pkg-plist

Modified: head/devel/truc/Makefile
==============================================================================
--- head/devel/truc/Makefile	Thu Sep 11 19:22:47 2014	(r367964)
+++ head/devel/truc/Makefile	Thu Sep 11 19:29:18 2014	(r367965)
@@ -3,6 +3,7 @@
 
 PORTNAME=	truc
 PORTVERSION=	0.12.0
+PORTREVISION=	1
 CATEGORIES=	devel www
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/TRUC%20Testing%20${PORTVERSION}
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -13,16 +14,15 @@ COMMENT=	Web-based tool for requirement 
 NO_BUILD=	yes
 USE_PHP=	mysql gd
 
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 SUB_LIST=	"PKGNAME=${PKGNAME}"
 SUB_FILES=	pkg-message
 
 WANT_PHP_WEB=	yes
 
 do-install:
-	@${ECHO} "Installing in ${PREFIX}/www/truc"
 	${MKDIR} ${STAGEDIR}${PREFIX}/www/truc
 #	${MV} ${WRKSRC}/config_inc.php ${WRKSRC}/config_inc.php-dist
 	${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/www/truc
-	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/www/truc
 
 .include <bsd.port.mk>

Modified: head/devel/truc/pkg-plist
==============================================================================
--- head/devel/truc/pkg-plist	Thu Sep 11 19:22:47 2014	(r367964)
+++ head/devel/truc/pkg-plist	Thu Sep 11 19:29:18 2014	(r367965)
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
 www/truc/FCKeditor/_docs/contents/001.html
 www/truc/FCKeditor/_docs/contents/002.html
 www/truc/FCKeditor/_docs/contents/002/filebrowserconnector.gif
@@ -1844,3 +1846,5 @@ www/truc/user_manage_page.php
 @dirrmtry www/truc/FCKeditor/_docs
 @dirrmtry www/truc/FCKeditor
 @dirrmtry www/truc
+@owner root
+@owner wheel



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