Subject: Re: CVS commit: pkgsrc/doc
To: None <tech-pkg@NetBSD.org>
From: Joerg Sonnenberger <email@example.com>
Date: 08/29/2007 13:37:42
On Tue, Aug 28, 2007 at 09:33:39AM +0200, Dieter Baron wrote:
> In article <20070827231822.BCFD721507@cvs.netbsd.org> Greg wrote:
> + o Figure out a way to have "pkg_install -u", probably with a
> + flag, preserve the value of the automatic tag. We do not
> + have consensus on the right behavior.
> If the -A flag is given, preserve automatic, otherwise clear it. If
> any dependencies are updated, preserve the automatic flag. make
> replace would have to learn to pass -A when updating dependencies.
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.