From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 7 02:40:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9398AE40 for ; Wed, 7 May 2014 02:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7419A1C9 for ; Wed, 7 May 2014 02:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s472e0dh064823 for ; Wed, 7 May 2014 02:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s472e0lr064822; Wed, 7 May 2014 02:40:00 GMT (envelope-from gnats) Resent-Date: Wed, 7 May 2014 02:40:00 GMT Resent-Message-Id: <201405070240.s472e0lr064822@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Adam Weinberger Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF47DCAA for ; Wed, 7 May 2014 02:33:18 +0000 (UTC) Received: from apnoea.adamw.org (apnoea.adamw.org [204.109.59.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BF57319F for ; Wed, 7 May 2014 02:33:18 +0000 (UTC) Received: by apnoea.adamw.org (Postfix, from userid 0) id 0170411F905; Tue, 6 May 2014 22:33:10 -0400 (EDT) Message-Id: <20140507023311.0170411F905@apnoea.adamw.org> Date: Tue, 6 May 2014 22:33:10 -0400 (EDT) From: Adam Weinberger Reply-To: Adam Weinberger To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/189406: [patch] fix permissions for www/dokuwiki X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2014 02:40:00 -0000 >Number: 189406 >Category: ports >Synopsis: [patch] fix permissions for www/dokuwiki >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 07 02:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Adam Weinberger >Release: FreeBSD 10.0-STABLE i386 >Organization: >Environment: System: FreeBSD apnoea.adamw.org 10.0-STABLE FreeBSD 10.0-STABLE #6: Wed Apr 30 16:48:25 EDT 2014 root@apnoea.adamw.org:/usr/obj/usr/src/sys/PEEP i386 >Description: www/dokuwiki just gives error messages after install or upgrade, due to incorrect ownership of some data directories. It then requires manually setting ownership on the command-line. >How-To-Repeat: >Fix: The following patch specifies the required ownership for the problematic data directories. --- dokuwiki.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 353138) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= dokuwiki PORTVERSION= ${DIST_VER:S/${PORTNAME}//:S/-//g} +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://download.dokuwiki.org/src/dokuwiki/ DISTNAME= ${DIST_VER} @@ -25,6 +26,7 @@ SUB_LIST+= PORTNAME=${PORTNAME} SHAREOWN= ${WWWOWN} SHAREGRP= ${WWWGRP} +PLIST_SUB+= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" REINPLACE_ARGS= -i '' Index: pkg-plist =================================================================== --- pkg-plist (revision 353138) +++ pkg-plist (working copy) @@ -4209,20 +4209,24 @@ @dirrm %%WWWDIR%%/inc/lang @dirrm %%WWWDIR%%/inc/geshi @dirrm %%WWWDIR%%/inc -@dirrm %%WWWDIR%%/data/tmp @dirrm %%WWWDIR%%/data/pages/wiki @dirrm %%WWWDIR%%/data/pages/playground +@dirrm %%WWWDIR%%/data/media/wiki +@dirrm %%WWWDIR%%/data +@dirrm %%WWWDIR%%/conf +@dirrm %%WWWDIR%%/bin +@owner %%WWWOWN%% +@group %%WWWGRP%% +@dirrm %%WWWDIR%%/data/tmp @dirrm %%WWWDIR%%/data/pages @dirrm %%WWWDIR%%/data/meta @dirrm %%WWWDIR%%/data/media_meta @dirrm %%WWWDIR%%/data/media_attic -@dirrm %%WWWDIR%%/data/media/wiki @dirrm %%WWWDIR%%/data/media @dirrm %%WWWDIR%%/data/locks @dirrm %%WWWDIR%%/data/index @dirrm %%WWWDIR%%/data/cache @dirrm %%WWWDIR%%/data/attic -@dirrm %%WWWDIR%%/data -@dirrm %%WWWDIR%%/conf -@dirrm %%WWWDIR%%/bin +@group +@owner @dirrmtry %%WWWDIR%% --- dokuwiki.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: