From owner-freebsd-ports@FreeBSD.ORG Thu Jul 13 10:35:28 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 9DABC16A4DA for ; Thu, 13 Jul 2006 10:35:28 +0000 (UTC) (envelope-from laszlof@vonostingroup.com) Received: from ritamari.vonostingroup.com (ritamari.vonostingroup.com [216.144.193.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FC4343D4C for ; Thu, 13 Jul 2006 10:35:28 +0000 (GMT) (envelope-from laszlof@vonostingroup.com) Received: from c-71-227-92-22.hsd1.mi.comcast.net ([71.227.92.22] helo=[192.168.0.2]) by ritamari.vonostingroup.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.62 (FreeBSD)) (envelope-from ) id 1G0yXV-000LeU-KN; Thu, 13 Jul 2006 06:35:25 -0400 Message-ID: <44B621E0.5030909@vonostingroup.com> Date: Thu, 13 Jul 2006 06:35:12 -0400 From: Frank Laszlo User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Babak Farrokhi References: <000001c6a662$bce0e920$36a2bb60$@net> In-Reply-To: <000001c6a662$bce0e920$36a2bb60$@net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ritamari.vonostingroup.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - vonostingroup.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-ports@freebsd.org 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 10:35:28 -0000 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