svn commit: r368100 - head/www/b2evolution
Antoine Brodin
antoine at FreeBSD.org
Sat Sep 13 14:18:41 UTC 2014
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 at 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 at 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:
More information about the svn-ports-head
mailing list