Bug 190127 - [patch] Add staging support to www/groupoffice
Summary: [patch] Add staging support to www/groupoffice
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-22 23:10 UTC by joe
Modified: 2014-05-25 06:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.03 KB, patch)
2014-05-22 23:10 UTC, joe
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description joe 2014-05-22 23:10:00 UTC
Adds staging support to www/groupoffice.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2014-05-22 23:10:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer 2014-05-25 06:23:59 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer 2014-05-25 06:24:04 UTC
Author: miwi
Date: Sun May 25 05:23:59 2014
New Revision: 355122
URL: http://svnweb.freebsd.org/changeset/ports/355122
QAT: https://qat.redports.org/buildarchive/r355122/

Log:
  - Stage support
  
  PR:		190127

Modified:
  head/www/groupoffice/Makefile
  head/www/groupoffice/pkg-plist

Modified: head/www/groupoffice/Makefile
==============================================================================
--- head/www/groupoffice/Makefile	Sun May 25 05:23:11 2014	(r355121)
+++ head/www/groupoffice/Makefile	Sun May 25 05:23:59 2014	(r355122)
@@ -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
 .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:

Modified: head/www/groupoffice/pkg-plist
==============================================================================
--- head/www/groupoffice/pkg-plist	Sun May 25 05:23:11 2014	(r355121)
+++ head/www/groupoffice/pkg-plist	Sun May 25 05:23:59 2014	(r355122)
@@ -1,3 +1,5 @@
+@owner www
+@group www
 %%WWWDIR%%/CHANGELOG.TXT
 %%WWWDIR%%/FAQ.TXT
 %%WWWDIR%%/Group-Office.php
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"