Date: 10 Sep 2000 01:30:24 -0700 From: asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami) To: kosmos <kosmos@bowhill.yi.org> Cc: 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: <vqclmx0tzrz.fsf@silvia.hip.berkeley.edu> In-Reply-To: kosmos's message of "Sat, 9 Sep 2000 20:01:40 -0700 (PDT)" References: <Pine.BSF.4.21.0009091947520.95810-100000@bowhill.yi.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* From: kosmos <kosmos@bowhill.yi.org> * How about an extended deinstall target (like: deinstall tree) that * deletes orphaned dependencies of a port? * * Suppose FOO has dependencies BAR_1, BAR_2 and BAR_3. Another installed * package, FOO_2 depends on BAR_2 and BAR_4. * * If I run this extended deinstall target on FOO, BAR_1 and BAR_3 get * deinstalled too, becuase nothing else depends on them. BAR_2 gets * left alone. Actually I added a "deinstall-depends" target that can be converted to do exactly this if we take out the -f flag of pkg_delete. 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. Or something like that. Satoshi 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?vqclmx0tzrz.fsf>