Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 19:08:46 +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: r367961 - head/deskutils/phpicalendar
Message-ID:  <201409111908.s8BJ8kk4097355@svn.freebsd.org>

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

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

Modified:
  head/deskutils/phpicalendar/Makefile
  head/deskutils/phpicalendar/pkg-plist

Modified: head/deskutils/phpicalendar/Makefile
==============================================================================
--- head/deskutils/phpicalendar/Makefile	Thu Sep 11 18:08:37 2014	(r367960)
+++ head/deskutils/phpicalendar/Makefile	Thu Sep 11 19:08:46 2014	(r367961)
@@ -3,7 +3,7 @@
 
 PORTNAME=	phpicalendar
 PORTVERSION=	2.24
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	deskutils www
 MASTER_SITES=	SF/${PORTNAME}/OldFiles
 
@@ -13,6 +13,7 @@ COMMENT=	Webbased calendar with iCal sup
 USES=		tar:tgz
 NO_BUILD=	yes
 USE_PHP=	session pcre
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 SUB_FILES=	pkg-message
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
 
@@ -24,13 +25,10 @@ do-install:
 	${MKDIR} ${STAGEDIR}${WWWDIR}
 .for dir in admin calendars functions images includes languages rss templates
 	@${CP} -Rv ${WRKSRC}/${dir} ${STAGEDIR}${WWWDIR}
-	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/${dir}
 .endfor
 .for f in index.php TIMEZONES error.php day.php preferences.php print.php search.php week.php month.php year.php README COPYING AUTHORS
 	@${CP} -v ${WRKSRC}/${f} ${STAGEDIR}${WWWDIR}
-	${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/${f}
 .endfor
 	@${CP} -v ${WRKSRC}/config.inc-dist.php ${STAGEDIR}${WWWDIR}/config.inc.php.sample
-	${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/config.inc.php.sample
 
 .include <bsd.port.mk>

Modified: head/deskutils/phpicalendar/pkg-plist
==============================================================================
--- head/deskutils/phpicalendar/pkg-plist	Thu Sep 11 18:08:37 2014	(r367960)
+++ head/deskutils/phpicalendar/pkg-plist	Thu Sep 11 19:08:46 2014	(r367961)
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
 %%WWWDIR%%/AUTHORS
 %%WWWDIR%%/COPYING
 %%WWWDIR%%/README
@@ -393,3 +395,5 @@
 @dirrm %%WWWDIR%%/calendars
 @dirrm %%WWWDIR%%/admin
 @dirrmtry %%WWWDIR%%
+@owner root
+@group wheel



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