Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 23:49:02 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190042: [patch] Add staging support to www/e107
Message-ID:  <201405202349.s4KNn2Ol012178@cgiserv.freebsd.org>
Resent-Message-ID: <201405202350.s4KNo0bG019490@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         190042
>Category:       ports
>Synopsis:       [patch] Add staging support to www/e107
>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:   Tue May 20 23: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/e107.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/e107/Makefile b/www/e107/Makefile
index 155a609..8efd438 100644
--- a/www/e107/Makefile
+++ b/www/e107/Makefile
@@ -13,7 +13,6 @@ COMMENT=	A content management system written in PHP
 USE_PHP=	mysql xml
 WRKSRC=		${WRKDIR}/e107
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 NO_BUILD=	yes
@@ -35,9 +34,9 @@ pre-install:
 	@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dirrm ${E107DIR}#g" >> ${PLIST}
 
 do-install:
-	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
-	@${CHMOD} -R 755 ${WWWDIR}
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
+	@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
 
 	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
 		>> ${TMPPLIST}


>Release-Note:
>Audit-Trail:
>Unformatted:



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