Subject: Re: Default for PKG_SYSCONFBASE
To: Julio M. Merino Vidal <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 06/04/2007 15:12:27
Content-Type: text/plain; charset=US-ASCII
At Sun, 3 Jun 2007 17:20:28 +0200, Julio M. Merino Vidal wrote:
Subject: Default for PKG_SYSCONFBASE
> I've found it weird for a very long time already that the default =20
> PKG_SYSCONFBASE points to PREFIX/etc.
Indeed. That default is completely bogus.
> So I propose we change the default PKG_SYSCONFBASE from PREFIX/etc to =20
> point to /etc/pkg. What would you think of such change?
I would think it is slightly wrong.
The best, and correct, setting for PKG_SYSCONFBASE is simply "/etc", and
nothing more. (i.e. in the same way VARBASE=3D/var)
There is no need, and indeed it is counter-productive in so many ways,
to artificially isolate the configuration files for packages in any way.
This is especially important for any package which might update or
replace any built-in component on the base OS which already keeps its
local configuration files in /etc.
Keep in mind too that pkgsrc is intended to be portable. Any platform
it works on may have any (or many) package(s) included in their base and
so packages should, by default, always simply use PKG_SYSCONFBASE=3D/etc.
Greg A. Woods
H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <email@example.com>
Planix, Inc. <firstname.lastname@example.org> Secrets of the Weird <email@example.com>
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
-----END PGP SIGNATURE-----