From owner-freebsd-ports@FreeBSD.ORG Tue May 18 11:55:40 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF1331065672; Tue, 18 May 2010 11:55:40 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.50.215]) by mx1.freebsd.org (Postfix) with ESMTP id 9A1998FC0A; Tue, 18 May 2010 11:55:40 +0000 (UTC) Received: by syn.atarininja.org (Postfix, from userid 1001) id 2C6105C37; Tue, 18 May 2010 07:56:11 -0400 (EDT) Date: Tue, 18 May 2010 07:56:11 -0400 From: Wesley Shields To: Anonymous Message-ID: <20100518115611.GA45921@atarininja.org> References: <86hbm5yjjh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86hbm5yjjh.fsf@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Doug Barton , freebsd-ports@freebsd.org Subject: Re: preferred place for system-wide config files 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: Tue, 18 May 2010 11:55:40 -0000 On Tue, May 18, 2010 at 07:29:22AM +0400, Anonymous wrote: > a little confusion arised from ports/146627. > > The Porter's Handbook defines PREFIX as the place where port should > install its files including config files. However, it doesn't say where > the port should try to read its config files that may not exist: > LOCALBASE/etc or PREFIX/etc? Until recently I assumed such files as > installed together with the port unless they belong to some other port. > > For example, many GNU_CONFIGURE ports look for config files under > SYSCONFDIR that's usually under PREFIX/etc and some of them don't > install config files nor samples. A few examples: xorg-server, > subversion, git. Should such ports be modified to use LOCALBASE/etc? PREFIX/etc is the correct place. Very few ports touch LOCALBASE at all, and when they do it's explicitly requested. I'm thinking of bind here as an example. -- WXS