From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 19 17:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 DBCFE11D for ; Mon, 19 May 2014 17:50:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 B81B62410 for ; Mon, 19 May 2014 17:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4JHo0ix078897 for ; Mon, 19 May 2014 17:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4JHo0Wf078896; Mon, 19 May 2014 17:50:00 GMT (envelope-from gnats) Resent-Date: Mon, 19 May 2014 17:50:00 GMT Resent-Message-Id: <201405191750.s4JHo0Wf078896@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joseph Benden 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 A4715C8F for ; Mon, 19 May 2014 17:41:35 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7846B2337 for ; Mon, 19 May 2014 17:41:35 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4JHfZIT057376 for ; Mon, 19 May 2014 17:41:35 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4JHfZaO057358; Mon, 19 May 2014 17:41:35 GMT (envelope-from nobody) Message-Id: <201405191741.s4JHfZaO057358@cgiserv.freebsd.org> Date: Mon, 19 May 2014 17:41:35 GMT From: Joseph Benden To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/189963: [patch] Add staging support to www/phpbb3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2014 17:50:01 -0000 >Number: 189963 >Category: ports >Synopsis: [patch] Add staging support to www/phpbb3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 19 17:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Joseph Benden >Release: FreeBSD 11 >Organization: >Environment: FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014 root@lucy:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Adds staging support to www/phpbb3. >How-To-Repeat: >Fix: Patch attached with submission follows: diff --git a/www/phpbb3/Makefile b/www/phpbb3/Makefile index d8ea6e8..560bd9f 100644 --- a/www/phpbb3/Makefile +++ b/www/phpbb3/Makefile @@ -16,7 +16,7 @@ LICENSE= GPLv2 CONFLICTS= phpbb-tw-[0-9]* phpbb-devel-[0-9]* \ phpbb-[0-2]* -USE_BZIP2= yes +USES= tar:bzip2 USE_PHP= yes # The phpBB3 port supports a number of variables that may be tweaked at build @@ -35,7 +35,6 @@ SUB_LIST= PHPBBURL="${PHPBBURL}" \ PLIST_SUB+= PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} -NO_STAGE= yes # Set custom variables: # PHPBBDIR= ${WWWDOCROOT}/${PHPBBURL} @@ -55,17 +54,17 @@ pre-everything:: .endif do-install: - @ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${PHPBBDIR} "! -name config.php" - @ [ -f ${PREFIX}/${PHPBBDIR}/config.php ] || ${TOUCH} ${PREFIX}/${PHPBBDIR}/config.php - @ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR} - @ ${CHMOD} -R 0755 ${PREFIX}/${PHPBBDIR} + @ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PHPBBDIR} "! -name config.php" + @ [ -f ${STAGEDIR}${PREFIX}/${PHPBBDIR}/config.php ] || ${TOUCH} ${STAGEDIR}${PREFIX}/${PHPBBDIR}/config.php + @ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PHPBBDIR} + @ ${CHMOD} -R 0755 ${STAGEDIR}${PREFIX}/${PHPBBDIR} @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \ ${PHPBBDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST} post-install: .if !defined(NOPORTDOCS) - @ ${MKDIR} ${DOCSDIR} - @ cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR} + @ ${MKDIR} ${STAGEDIR}${DOCSDIR} + @ cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .if !defined(BATCH) @ ${CAT} ${PKGMESSAGE} >Release-Note: >Audit-Trail: >Unformatted: