Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2000 10:02:48 -0700 (PDT)
From:      kosmos <kosmos@bowhill.yi.org>
To:        Neil Blakey-Milner <nbm@mithrandr.moria.org>
Cc:        Satoshi - Ports Wraith - Asami <asami@FreeBSD.ORG>, Steve Price <sprice@hiwaay.net>, Will Andrews <will@physics.purdue.edu>, FreeBSD Ports <ports@FreeBSD.ORG>
Subject:   Re: PortsNG (was Re: Ports Options Paper)
Message-ID:  <Pine.BSF.4.21.0009100939320.95810-100000@bowhill.yi.org>
In-Reply-To: <20000910161036.A79024@mithrandr.moria.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 10 Sep 2000, Neil Blakey-Milner wrote:

> On Sun 2000-09-10 (01:30), Satoshi - Ports Wraith - Asami wrote:
> > But I'm not sure if this is the right thing to do for ordinary users.
> > (I added it just for quick testing -- it's not even documented.)  The
> > problem here is that we don't know whether the user wants BAR_1 to be
> > deleted or not.  Maybe the user is using something in BAR_1 and didn't
> > realize typing "make deinstall-depends" from FOO would delete it.
> 
> When installing a port/package directly, touch
> /var/db/pkg/foo-1.0/direct, if not, don't touch it.  Well, a better name
> would be cool, but that should work fine.


Something like that would make sense if the user ordered the package to be
installed explicitly. But the problem is not to delete anything that the 
user *might* be using. There is really no way to do this automatically.

Suppose BAR_1 is a dependency of FOO, and the user decides he
wants to keep it. Later, he decides that FOO is just taking up drive 
space, so he runs deinstall-depends - and BAR_1 gets deleted too.

Also, isn't this function indirectly handled by +REQUIRED_BY?

--Allan



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009100939320.95810-100000>