Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2014 14:18:41 +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: r368100 - head/www/b2evolution
Message-ID:  <201409131418.s8DEIfkZ042697@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Sep 13 14:18:40 2014
New Revision: 368100
URL: http://svnweb.freebsd.org/changeset/ports/368100
QAT: https://qat.redports.org/buildarchive/r368100/

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

Modified:
  head/www/b2evolution/Makefile

Modified: head/www/b2evolution/Makefile
==============================================================================
--- head/www/b2evolution/Makefile	Sat Sep 13 14:04:19 2014	(r368099)
+++ head/www/b2evolution/Makefile	Sat Sep 13 14:18:40 2014	(r368100)
@@ -3,6 +3,7 @@
 
 PORTNAME=	b2evolution
 PORTVERSION=	4.0.5
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	SF/evocms/${PORTNAME}/b2evo%20${PORTVERSION}-stable
 DISTNAME=	${PORTNAME}-${PORTVERSION}-${B2EVO_DATE}
@@ -39,17 +40,18 @@ pre-everything::
 	@${SH} ${WARNING}
 
 pre-install:
+	@${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST}
 	@cd ${WRKSRC} && ${FIND} -s . -type f | \
-		${SED} -e 's|^./||;s|^|${B2EVO_DIR}/|' > ${PLIST} \
+		${SED} -e 's|^./||;s|^|${B2EVO_DIR}/|' >> ${PLIST} \
 		&& ${FIND} -d * -type d | \
 		${SED} -e 's|^|@dirrm ${B2EVO_DIR}/|' >> ${PLIST} \
 		&& ${ECHO_CMD} @dirrm ${B2EVO_DIR} >> ${PLIST}
+	@${ECHO_CMD} -e '@owner root\n@group wheel' >> ${PLIST}
 
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
 	@${CHMOD} 755 ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
 	@${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
 	@${CHMOD} 665 ${STAGEDIR}${PREFIX}/${B2EVO_DIR}/blogs/conf/_config.php
 
 post-install:



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