svn commit: r367961 - head/deskutils/phpicalendar

Antoine Brodin antoine at FreeBSD.org
Thu Sep 11 19:08:47 UTC 2014


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 @@
+ at owner %%WWWOWN%%
+ at group %%WWWGRP%%
 %%WWWDIR%%/AUTHORS
 %%WWWDIR%%/COPYING
 %%WWWDIR%%/README
@@ -393,3 +395,5 @@
 @dirrm %%WWWDIR%%/calendars
 @dirrm %%WWWDIR%%/admin
 @dirrmtry %%WWWDIR%%
+ at owner root
+ at group wheel


More information about the svn-ports-head mailing list