Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2011 10:49:25 +1000 (EST)
From:      Terry Sposato <tabmow@freenode.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/159856: port update: mail/roundcube
Message-ID:  <20110818004925.1D1F41CCE3@mail.sucked-in.com>
Resent-Message-ID: <201108180050.p7I0oBL9007427@freefall.freebsd.org>

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

>Number:         159856
>Category:       ports
>Synopsis:       port update: mail/roundcube
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 18 00:50:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Terry Sposato
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
freenode
>Environment:
System: FreeBSD got.sucked-in.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


>Description:
After an upgrade of roundcube it renders your install unusable until you chown the db config file to your www user.

>How-To-Repeat:

>Fix:
Simple update to fix the issue.

--- port-roundcube.diff begins here ---
diff -Nru roundcube.old/Makefile roundcube/Makefile
--- roundcube.old/Makefile	2011-08-18 10:02:52.000000000 +1000
+++ roundcube/Makefile	2011-08-18 10:44:16.000000000 +1000
@@ -148,6 +148,9 @@
 	@${ECHO_CMD} '@dirrm ${WWWDIR_REL}' >> ${TMPPLIST}
 
 post-install:
+	@if [ -f ${WWWDIR}/config/db.inc.php ]; then \
+		${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/config/db.inc.php ; \
+	fi
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
--- port-roundcube.diff ends here ---


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



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