preferred place for system-wide config files
Matthew Seaman
m.seaman at infracaninophile.co.uk
Wed May 19 07:53:01 UTC 2010
-----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-----
More information about the freebsd-ports
mailing list