Subject: Re: CVS commit: pkgsrc/doc
To: None <tech-pkg@NetBSD.org>
From: Joerg Sonnenberger <firstname.lastname@example.org>
Date: 08/29/2007 15:01:58
On Wed, Aug 29, 2007 at 02:13:48PM +0200, Alan Barrett wrote:
> On Wed, 29 Aug 2007, Joerg Sonnenberger wrote:
> > I disagree on this. There are two situations:
> > (a) The package already exists. Update it and keep the current flag is
> > IMO the desired behaviour.
> > (b) The package does not exist. If -A is given as well, install it with
> > the automatic set, otherwise don't set the bit.
> If a pkg was previously installed as an automatic dependency of
> some other package, but I later decide that I want the pkg for my
> own purposes, then I want the automatic flag to be removed when I
> deliberately update the pkg by hand. Your scenario (a) doesn't do that.
I think the transition of automatic to manual via pkg_add -u is a bit
bogus. We can decide on it one way or the other, but I prefer to keep it
simple. You can still just remove the flag or pkg_add again