From owner-freebsd-ports@FreeBSD.ORG Thu Jul 13 14:11:46 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE91516A4DA for ; Thu, 13 Jul 2006 14:11:46 +0000 (UTC) (envelope-from heli@mikestammer.com) Received: from smtp113.sbc.mail.re2.yahoo.com (smtp113.sbc.mail.re2.yahoo.com [68.142.229.92]) by mx1.FreeBSD.org (Postfix) with SMTP id 4BA1A43D45 for ; Thu, 13 Jul 2006 14:11:46 +0000 (GMT) (envelope-from heli@mikestammer.com) Received: (qmail 22775 invoked from network); 13 Jul 2006 14:11:45 -0000 Received: from unknown (HELO gondolin.mikestammer.com) (mikestammer@sbcglobal.net@68.251.71.132 with login) by smtp113.sbc.mail.re2.yahoo.com with SMTP; 13 Jul 2006 14:11:45 -0000 Received: from localhost (localhost [127.0.0.1]) by gondolin.mikestammer.com (Postfix) with ESMTP id 097E2235 for ; Thu, 13 Jul 2006 09:11:45 -0500 (CDT) X-Virus-Scanned: amavisd-new at mikestammer.com Received: from gondolin.mikestammer.com ([127.0.0.1]) by localhost (gondolin.middleearth.mikestammer.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JiM45nf+ujNo for ; Thu, 13 Jul 2006 09:11:42 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eric) by gondolin.mikestammer.com (Postfix) with ESMTP id 8255C1AF for ; Thu, 13 Jul 2006 09:11:42 -0500 (CDT) Message-ID: <44B6549D.8050204@mikestammer.com> Date: Thu, 13 Jul 2006 09:11:41 -0500 From: Eric User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <000001c6a662$bce0e920$36a2bb60$@net> <44B621E0.5030909@vonostingroup.com> In-Reply-To: <44B621E0.5030909@vonostingroup.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Installation directory best practices X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 14:11:47 -0000 Frank Laszlo wrote: > Babak Farrokhi wrote: >> Hi, >> >> I wonder if there is any particular guideline for installation of web >> based >> application (the ports which install web pages, like www/wordpress, >> www/serendipity or databases/phpmyadmin). >> >> Some ports install web pages into "www/${PORTNAME}" while others install >> into "www/data-dist/${PORTNAME}" or even into "share/${PORTNAME}". >> However most of these ports let you override the installation path by >> defining particular variables, but user should review Makefile before >> installation to find out which variable should be set. >> > > I believe that installing into www/data-dist/${PORTNAME} is a security > risk, installing unconfigured applications into a web readable directory > is bad. > > -Frank I believe i have seem port comments (or maybe it was UPDATING) mentioning moving things out of the data-dist directory to a subdirectory of www, so this seems to be the preferred way to do things and then add an alias to apache. some ports, like gallery2, still dump to data-dist, but most seem to place themselves into www by default