Subject: Re: Config files and packages
To: Frederick Bruckman <fredb@immanent.net>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 10/05/2001 14:01:41
On Fri, 5 Oct 2001, Frederick Bruckman wrote:
> On Fri, 5 Oct 2001, David Brownlee wrote:
>
> > What do people think of PLISTs including something like :
> > @config <example_config> <live_config>
> > eg:
> > @config share/examples/analog/analog.cfg etc/analog.cfg
> >
> > <example_config> would be assumed to be installed in the standard
> > pkg fashion. On install, <example_config> would be copied to
> > <live_config> if not already present. On deletion, <live_config>
> > would be removed if it was identical to <example_config>.
>
> OK, just don't hardcode "${PREFIX}/etc" into the pkg_tools. There are
> already packages, like netatalk-*, that correctly use "/etc", and it
> would be a step backwards to standardize on ${PREFIX}/etc just for the
> sake of standardizing.
Definitely - I'm sure there will be at least one package somewhere
that could use the functionality for a file in /var or PREFIX/lib.
If anyone can think of a more generic name than '@config'...
--
David/absolute -- www.netbsd.org: No hype required --