From owner-freebsd-ports@FreeBSD.ORG Wed May 19 07:53:01 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 51F1A106566B; Wed, 19 May 2010 07:53:01 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id B3A088FC0A; Wed, 19 May 2010 07:53:00 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o4J7quJc070692 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 19 May 2010 08:52:56 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BF398D7.1040801@infracaninophile.co.uk> Date: Wed, 19 May 2010 08:52:55 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Anonymous References: <86hbm5yjjh.fsf@gmail.com> <20100518115611.GA45921@atarininja.org> <4BF28470.2050903@infracaninophile.co.uk> <86hbm5vycg.fsf@gmail.com> <20100518195725.GB48168@atarininja.org> <4BF2F6AD.3020709@FreeBSD.org> <20100518203610.GA50328@atarininja.org> <86d3wsub3u.fsf@gmail.com> <4BF31322.60208@FreeBSD.org> <86632kol3e.fsf@gmail.com> In-Reply-To: <86632kol3e.fsf@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=DKIM_ADSP_ALL,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: Wesley Shields , 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: Wed, 19 May 2010 07:53:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/05/2010 24:18:13, Anonymous wrote: > This doesn't concern only portmaster. As I've mentioned previously > xorg-server, subversion and git don't install any config file (not even > in share/examples) but still look for it inside PREFIX not LOCALBASE. > In other words almost any GNU_CONFIGURE port that doesn't install config > files. I've yet to see someone modify SYSCONFDIR for such ports. Err... xorg-server looks in about half a dozen different likely places for a config file. Traditionally I've put it in /etc/X11 (which is wrong according to ports rules, but it works). You could put it in /usr/local/etc/X11 or /usr/local/lib/X11/ to be more hier(7) compliant, and it would work there too. svn is even less predictable: the config files for each repo -- and there may be many repos -- live within the directory structure of the repo itself. Repos can be put just about anywhere within the filesystem. No idea about git -- I guess it behaves much the same as svn. Sometimes you just aren't going to be able to apply a simple heuristic to find a port's config files. It's all part of life's rich tapestry. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvzmNcACgkQ8Mjk52CukIzyDgCeJFQYe0YfANn9FCR1ox11fYys oH8AnRTnubPHr6dhHVeKhp+oDHpvpYjz =onoE -----END PGP SIGNATURE-----