Subject: Re: PKG_SYSCONFDIR=/etc ?
To: Louis Guillaume <lguillaume@berklee.edu>
From: Juan RP <juan@xtraeme.nopcode.org>
List: tech-pkg
Date: 10/27/2004 01:43:37
--Signature=_Wed__27_Oct_2004_01_43_37_+0200_42KW.kQqfg_.t6x7
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Tue, 26 Oct 2004 19:02:29 -0400
Louis Guillaume <lguillaume@berklee.edu> wrote:

> Hello,
> 
> Is there any reason not to set PKG_SYSCONFDIR=/etc? It just seems to 
> make sense, for example, to have config files in /etc rather than in 
> /usr/pkg. This way we can still blow away /usr/pkg if necessary and 
> still retain our config files.

Yes, there is one... because /etc is only for the base system, not
for third party packages (all them installed by pkgsrc).

If you modify any configuration file, the file will not be removed when
the package has been removed, that's CONF_FILES used for and
bsd.pkg.install.mk.


--Signature=_Wed__27_Oct_2004_01_43_37_+0200_42KW.kQqfg_.t6x7
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFBfuEsypkLYVDran0RAmCiAJwNi1DYx2AFX25nkCP0iYLDQ/pskQCfaO6M
TEHo8iNvAkOSZFVDyX3RIXo=
=zYKD
-----END PGP SIGNATURE-----

--Signature=_Wed__27_Oct_2004_01_43_37_+0200_42KW.kQqfg_.t6x7--