Date: Tue, 18 May 2010 07:56:11 -0400 From: Wesley Shields <wxs@FreeBSD.org> To: Anonymous <swell.k@gmail.com> Cc: Doug Barton <dougb@FreeBSD.org>, freebsd-ports@freebsd.org Subject: Re: preferred place for system-wide config files Message-ID: <20100518115611.GA45921@atarininja.org> In-Reply-To: <86hbm5yjjh.fsf@gmail.com> References: <86hbm5yjjh.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100518115611.GA45921>