ports/190127: [patch] Add staging support to www/groupoffice
Joseph Benden
joe at thrallingpenguin.com
Thu May 22 22:10:00 UTC 2014
>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 at 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 @@
+ at owner www
+ at group www
%%WWWDIR%%/CHANGELOG.TXT
%%WWWDIR%%/FAQ.TXT
%%WWWDIR%%/Group-Office.php
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list