Subject: Re: Default for PKG_SYSCONFBASE
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: Greg A. Woods <woods@planix.com>
List: tech-pkg
Date: 06/04/2007 15:12:27
--pgp-sign-Multipart_Mon_Jun__4_15:12:27_2007-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

At Sun, 3 Jun 2007 17:20:28 +0200, Julio M. Merino Vidal wrote:
Subject: Default for PKG_SYSCONFBASE
>=20
> 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.

--=20
						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>       Secrets of the Weird <woods@weird.com>

--pgp-sign-Multipart_Mon_Jun__4_15:12:27_2007-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: DsE3uXSXrP71I+GqbbLfQ9O6p9JlGHmR

iQA/AwUBRmRkG2Z9cbd4v/R/EQLPXwCfQH6DELN+R5rtXRVtnvMy9KXKvGoAn1vB
o+MFNCogyYGdqKu7cSiuDsP9
=cDRE
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Mon_Jun__4_15:12:27_2007-1--