From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 30 11:10:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A596C830 for ; Fri, 30 May 2014 11:10: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 824A429B0 for ; Fri, 30 May 2014 11:10: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 s4UBA0UK094711 for ; Fri, 30 May 2014 11:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4UBA0Pv094710; Fri, 30 May 2014 11:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 30 May 2014 11:10:00 GMT Resent-Message-Id: <201405301110.s4UBA0Pv094710@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, Kozlov Sergey 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 CEF256B4 for ; Fri, 30 May 2014 11:08:34 +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 BC98F299C for ; Fri, 30 May 2014 11:08:34 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4UB8Ysh062088 for ; Fri, 30 May 2014 11:08:34 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4UB8YNc062087; Fri, 30 May 2014 11:08:34 GMT (envelope-from nobody) Message-Id: <201405301108.s4UB8YNc062087@cgiserv.freebsd.org> Date: Fri, 30 May 2014 11:08:34 GMT From: Kozlov Sergey To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/190405: [patch] www/redmine support plugin staging 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: Fri, 30 May 2014 11:10:00 -0000 >Number: 190405 >Category: ports >Synopsis: [patch] www/redmine support plugin staging >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: Fri May 30 11:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Kozlov Sergey >Release: 10.0-RELEASE-p3 >Organization: ARC >Environment: FreeBSD nowhere 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Redmine's bsd.redmine.mk doesn't support staging, so add staging support to it and remove NO_STAGE from my port www/redmine-sidebar_hide >How-To-Repeat: >Fix: Patch attached with submission follows: Index: redmine/bsd.redmine.mk =================================================================== --- redmine/bsd.redmine.mk (revision 355816) +++ redmine/bsd.redmine.mk (working copy) @@ -74,7 +74,12 @@ .endif do-install: +.if defined(NO_STAGE) ${MKDIR} "${WWWDIR}/plugins/${REDMINE_PLUGIN_NAME}" ${TAR} -C "${WRKSRC}" -cf - --exclude '*.orig' . | ${TAR} -C "${WWWDIR}/plugins/${REDMINE_PLUGIN_NAME}" -xf - +.else + ${MKDIR} "${STAGEDIR}${WWWDIR}/plugins/${REDMINE_PLUGIN_NAME}" + ${TAR} -C "${WRKSRC}" -cf - --exclude '*.orig' . | ${TAR} -C "${STAGEDIR}${WWWDIR}/plugins/${REDMINE_PLUGIN_NAME}" -xf - +.endif .include Index: redmine-sidebar_hide/Makefile =================================================================== --- redmine-sidebar_hide/Makefile (revision 355816) +++ redmine-sidebar_hide/Makefile (working copy) @@ -16,6 +16,4 @@ REDMINE_PLUGIN_NAME= sidebar_hide -NO_STAGE= yes - .include "${.CURDIR}/../../www/redmine/bsd.redmine.mk" >Release-Note: >Audit-Trail: >Unformatted: