svn commit: r370603 - head/www/crp

Antoine Brodin antoine at FreeBSD.org
Fri Oct 10 21:20:00 UTC 2014


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 @@
+ at owner %%WWWOWN%%
+ at 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
- at dirrm %%WWWDIR%%/themes/modular-with-arial-fonts
- at dirrm %%WWWDIR%%/themes
- at dirrm %%WWWDIR%%/images
- at dirrm %%WWWDIR%%/_vti_cnf
- at dirrm %%WWWDIR%%/Reviewer/_vti_cnf
- at dirrm %%WWWDIR%%/Reviewer
- at dirrm %%WWWDIR%%/PC/_vti_cnf
- at dirrm %%WWWDIR%%/PC/SkiDeal_files/_vti_cnf
- at dirrm %%WWWDIR%%/PC/SkiDeal_files
- at dirrm %%WWWDIR%%/PC
- at dirrm %%WWWDIR%%/Download
- at dirrm %%WWWDIR%%/Code/PEAR-DB
- at dirrm %%WWWDIR%%/Code
- at dirrm %%WWWDIR%%/Chair
- at dirrm %%WWWDIR%%/Author
- at dirrm %%WWWDIR%%/Assistant/_vti_cnf
- at dirrm %%WWWDIR%%/Assistant
- at dirrm %%WWWDIR%%/All
- at dirrm %%WWWDIR%%
- at dirrmtry /var/spool/conference
+ at dir %%WWWDIR%%/themes/modular-with-arial-fonts
+ at dir %%WWWDIR%%/themes
+ at dir %%WWWDIR%%/images
+ at dir %%WWWDIR%%/_vti_cnf
+ at dir %%WWWDIR%%/Reviewer/_vti_cnf
+ at dir %%WWWDIR%%/Reviewer
+ at dir %%WWWDIR%%/PC/_vti_cnf
+ at dir %%WWWDIR%%/PC/SkiDeal_files/_vti_cnf
+ at dir %%WWWDIR%%/PC/SkiDeal_files
+ at dir %%WWWDIR%%/PC
+ at dir %%WWWDIR%%/Download
+ at dir %%WWWDIR%%/Code/PEAR-DB
+ at dir %%WWWDIR%%/Code
+ at dir %%WWWDIR%%/Chair
+ at dir %%WWWDIR%%/Author
+ at dir %%WWWDIR%%/Assistant/_vti_cnf
+ at dir %%WWWDIR%%/Assistant
+ at dir %%WWWDIR%%/All
+ at dir %%WWWDIR%%
+ at dir /var/spool/conference
+ at owner
+ at group


More information about the svn-ports-head mailing list