From owner-freebsd-ports@FreeBSD.ORG Fri Jun 15 15:28:00 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 D010E16A468 for ; Fri, 15 Jun 2007 15:28:00 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from smtpclu-7.EUnet.yu (smtpclu-7.eunet.yu [194.247.192.232]) by mx1.freebsd.org (Postfix) with ESMTP id 5F2DC13C44B for ; Fri, 15 Jun 2007 15:28:00 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-220-201.eunet.yu [213.198.220.201]) by smtpclu-7.EUnet.yu (8.13.6/8.13.6) with ESMTP id l5FEKq6c002859; Fri, 15 Jun 2007 16:20:53 +0200 Message-Id: <200706151420.l5FEKq6c002859@smtpclu-7.EUnet.yu> Date: Fri, 15 Jun 2007 17:28:01 +0200 From: Nikola Lecic To: Peter Jeremy In-Reply-To: <20070615121125.GH1173@turion.vk2pj.dyndns.org> References: <20070614070602.GD39533@obiwan.tataz.chchile.org> <200706140714.l5E7EK0U023767@smtpclu-1.eunet.yu> <20070614075418.GA8093@obiwan.tataz.chchile.org> <200706142322.l5ENMbZt009741@smtpclu-6.eunet.yu> <20070615121125.GH1173@turion.vk2pj.dyndns.org> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 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: Fri, 15 Jun 2007 15:28:00 -0000 On Fri, 15 Jun 2007 22:11:25 +1000 Peter Jeremy wrote: > [...] > On 2007-Jun-15 01:22:38 +0200, Nikola Lecic wrote: > > >At the first place, I think such a situation occurs extremly rare.=20 >=20 > For an opposing PoV: I often see ports that looks interesting or look > like a possible solution to a problem and will install the port to > have a play. If it turns out that it's not suitable, I would like to > be able to easily unistall the port and any dependencies it pulled in > that I didn't already have. Currently, this is a fairly delicate > operation and I usually base it on timestamps within /var/db/pkg. Hmm, are you sure that's the _opposing_ issue? I think that's exactly what Jeremie Le Hen asked starting this thread. He wants to do upward-recursive deinstall without accidentally removing ports he needs. (And yes, your idea to look at the installation time to distinguish such ports sounds very fine!) So, would you find useful the idea of adding +NEVERDEINSTALL as I proposed down the thread? You installed an experimental port A; pkg_deinstall -R A deinstalls it and all dependencies it introduced, except: * dependencies needed by some other ports (you want them, of course), * ports marked with +NEVERDEINSTALL (by including them to the -x list), since you want them for some special reason (they were -- optionally, of course -- marked so when you listed them with portinstall on the command line). Please take a look. Nikola Le=C4=8Di=C4=87=20