Subject: Re: Support for marking packages as installed automatically as dependencies
To: Greg Troxel <>
From: Thomas Klausner <>
List: tech-pkg
Date: 10/24/2005 12:31:50
On Sun, Oct 23, 2005 at 09:15:22PM -0400, Greg Troxel wrote:
> I'd like there to be support for a number of variables/properties of
> packages, or rather specifically a variable that indicates a (direct)
> dependency has been 'make replace'd (and hence the package is "dirty"
> and needs rebuilding).  I think that the the 'foo property is true'
> feature should be abstracted.  We shouldn't add these with abandon,
> but among the standard CS choices of 0, 1, and many it seems the
> answer is many.
> So perhaps the use of -A as a flag is not the best choice, compared to
> something like -Dautomatic=yes (don't care about the syntax, realize
> -D is probably taken, but using the name rather than a magic token, to
> stay similar to pkg_info and pkg_admin usage).

I'm not sure why pkg_add would need support for the feature you
propose, and in the patch pkg_admin already has an extensible
interface (pkg_admin set) with which support for this could be added