Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2014 21:19:59 +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: r370603 - head/www/crp
Message-ID:  <201410102119.s9ALJxIG005021@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Fri Oct 10 21:19:58 2014
New Revision: 370603
URL: https://svnweb.freebsd.org/changeset/ports/370603
QAT: https://qat.redports.org/buildarchive/r370603/

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

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

Modified: head/www/crp/Makefile
==============================================================================
--- head/www/crp/Makefile	Fri Oct 10 21:18:00 2014	(r370602)
+++ head/www/crp/Makefile	Fri Oct 10 21:19:58 2014	(r370603)
@@ -3,6 +3,7 @@
 
 PORTNAME=	crp
 PORTVERSION=	20031012
+PORTREVISION=	1
 CATEGORIES=	www science
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/Oct-12-2003
 DISTNAME=	CRP
@@ -14,6 +15,7 @@ COMMENT=	Automates the process of being 
 USE_PHP=	yes
 WANT_PHP_WEB=	yes
 NO_BUILD=	yes
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 
 SPOOLDIR?=	/var/spool/conference
 
@@ -28,6 +30,5 @@ do-install:
 	@${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
 	@${SED} -e 's#/var/www/html#${WWWDIR}#' \
 	  ${WRKSRC}/Code/confHeader.inc > ${STAGEDIR}${WWWDIR}/Code/confHeader.inc
-	@${CHOWN} -R ${WWWOWN}:${WWWGROUP} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${SPOOLDIR}
 
 .include <bsd.port.mk>

Modified: head/www/crp/pkg-plist
==============================================================================
--- head/www/crp/pkg-plist	Fri Oct 10 21:18:00 2014	(r370602)
+++ head/www/crp/pkg-plist	Fri Oct 10 21:19:58 2014	(r370603)
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
 %%WWWDIR%%/.htaccess
 %%WWWDIR%%/All/ImportantDates.php
 %%WWWDIR%%/All/Logout.php
@@ -218,23 +220,25 @@
 %%WWWDIR%%/themes/modular-with-arial-fonts/modvbtn.gif
 %%WWWDIR%%/themes/modular-with-arial-fonts/modvsel.gif
 %%WWWDIR%%/themes/modular-with-arial-fonts/theme.css
-@dirrm %%WWWDIR%%/themes/modular-with-arial-fonts
-@dirrm %%WWWDIR%%/themes
-@dirrm %%WWWDIR%%/images
-@dirrm %%WWWDIR%%/_vti_cnf
-@dirrm %%WWWDIR%%/Reviewer/_vti_cnf
-@dirrm %%WWWDIR%%/Reviewer
-@dirrm %%WWWDIR%%/PC/_vti_cnf
-@dirrm %%WWWDIR%%/PC/SkiDeal_files/_vti_cnf
-@dirrm %%WWWDIR%%/PC/SkiDeal_files
-@dirrm %%WWWDIR%%/PC
-@dirrm %%WWWDIR%%/Download
-@dirrm %%WWWDIR%%/Code/PEAR-DB
-@dirrm %%WWWDIR%%/Code
-@dirrm %%WWWDIR%%/Chair
-@dirrm %%WWWDIR%%/Author
-@dirrm %%WWWDIR%%/Assistant/_vti_cnf
-@dirrm %%WWWDIR%%/Assistant
-@dirrm %%WWWDIR%%/All
-@dirrm %%WWWDIR%%
-@dirrmtry /var/spool/conference
+@dir %%WWWDIR%%/themes/modular-with-arial-fonts
+@dir %%WWWDIR%%/themes
+@dir %%WWWDIR%%/images
+@dir %%WWWDIR%%/_vti_cnf
+@dir %%WWWDIR%%/Reviewer/_vti_cnf
+@dir %%WWWDIR%%/Reviewer
+@dir %%WWWDIR%%/PC/_vti_cnf
+@dir %%WWWDIR%%/PC/SkiDeal_files/_vti_cnf
+@dir %%WWWDIR%%/PC/SkiDeal_files
+@dir %%WWWDIR%%/PC
+@dir %%WWWDIR%%/Download
+@dir %%WWWDIR%%/Code/PEAR-DB
+@dir %%WWWDIR%%/Code
+@dir %%WWWDIR%%/Chair
+@dir %%WWWDIR%%/Author
+@dir %%WWWDIR%%/Assistant/_vti_cnf
+@dir %%WWWDIR%%/Assistant
+@dir %%WWWDIR%%/All
+@dir %%WWWDIR%%
+@dir /var/spool/conference
+@owner
+@group



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