From owner-freebsd-ports@FreeBSD.ORG Thu Jun 14 07:54:37 2007 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2124816A468 for ; Thu, 14 Jun 2007 07:54:37 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id DF52A13C43E for ; Thu, 14 Jun 2007 07:54:36 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id EDEA844999; Thu, 14 Jun 2007 09:54:33 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id DC8429B497; Thu, 14 Jun 2007 07:54:18 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id C8775405B; Thu, 14 Jun 2007 09:54:18 +0200 (CEST) Date: Thu, 14 Jun 2007 09:54:18 +0200 From: Jeremie Le Hen To: Nikola Lecic Message-ID: <20070614075418.GA8093@obiwan.tataz.chchile.org> References: <20070614070602.GD39533@obiwan.tataz.chchile.org> <200706140714.l5E7EK0U023767@smtpclu-1.eunet.yu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200706140714.l5E7EK0U023767@smtpclu-1.eunet.yu> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Jeremie Le Hen , freebsd-ports@FreeBSD.org Subject: Re: Keeping track of automatically installed dependency-only ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 07:54:37 -0000 Nikola, Thanks for your reply. On Thu, Jun 14, 2007 at 09:14:33AM +0200, Nikola Lecic wrote: > On Thu, 14 Jun 2007 09:06:02 +0200 > Jeremie Le Hen wrote: > > Is there a way to track dependency-only ports, so that if I install > > port0 which requires port1 which in turn requires port2 and so on, > > deinstalling port0 will deinstall portN up to the first one required > > by another port or one I explicitely installed. > > Aren't you speaking about 'pkg_deinstall --upward-recursive port0'? My request ismore subtle, I think. Consider the following fake port tree: port1 port2 port3* port4 \ / \ | / \ / \ | / port12* \ | / \ | / port234* A trailing * marks a port manually installed. If I run "pkg_deinstall --upward-recursive port234", this will remove port234, port3 and port4 (at least I suppose, the manual page doesn't give the details). But since I've installed port3 manually it's likely because I need it for some reason, therefore I don't want it to be deinstalled. Best regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >