Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2014 22:07:47 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190127: [patch] Add staging support to www/groupoffice
Message-ID:  <201405222207.s4MM7ljW036803@cgiserv.freebsd.org>
Resent-Message-ID: <201405222210.s4MMA0o6086830@freefall.freebsd.org>

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

>Number:         190127
>Category:       ports
>Synopsis:       [patch] Add staging support to www/groupoffice
>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:   Thu May 22 22:10: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/groupoffice.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/groupoffice/Makefile b/www/groupoffice/Makefile
index c5a5f7c..1d201e7 100644
--- a/www/groupoffice/Makefile
+++ b/www/groupoffice/Makefile
@@ -27,7 +27,6 @@ IMAP_DESC=	IMAP support
 GD_DESC=	Gallery support (GD)
 WBXML_DESC=	Synchronization Support
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MIMAP}
@@ -47,10 +46,10 @@ LIB_DEPENDS=	wbxml2:${PORTSDIR}/textproc/wbxml2
 .endif
 
 do-install:
-	@${MKDIR} ${WWWDIR}
-	${CP} -R ${WRKSRC}/ ${WWWDIR}
-	@${TOUCH} ${WWWDIR}/config.php
-	@${CHOWN} ${WWWOWN} ${WWWDIR}/config.php
+	@${MKDIR} ${STAGEDIR}${WWWDIR}
+	${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
+	@${TOUCH} ${STAGEDIR}${WWWDIR}/config.php
+	@${CHOWN} ${WWWOWN} ${STAGEDIR}${WWWDIR}/config.php
 	@${CAT} ${PKGMESSAGE}
 
 create-plist:
diff --git a/www/groupoffice/pkg-plist b/www/groupoffice/pkg-plist
index e7bbad2..9ac28c6 100644
--- a/www/groupoffice/pkg-plist
+++ b/www/groupoffice/pkg-plist
@@ -1,3 +1,5 @@
+@owner www
+@group www
 %%WWWDIR%%/CHANGELOG.TXT
 %%WWWDIR%%/FAQ.TXT
 %%WWWDIR%%/Group-Office.php


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



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