From owner-svn-ports-head@FreeBSD.ORG Sat Sep 13 14:18:41 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 639E0A85; Sat, 13 Sep 2014 14:18:41 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4EAE2D49; Sat, 13 Sep 2014 14:18:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8DEIfoB042698; Sat, 13 Sep 2014 14:18:41 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8DEIfkZ042697; Sat, 13 Sep 2014 14:18:41 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201409131418.s8DEIfkZ042697@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sat, 13 Sep 2014 14:18:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368100 - head/www/b2evolution X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2014 14:18:41 -0000 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: