From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 16:05:20 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C24BA16A4CE for ; Mon, 7 Feb 2005 16:05:20 +0000 (GMT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4CD143D1F for ; Mon, 7 Feb 2005 16:05:19 +0000 (GMT) (envelope-from laplante@cat.rpi.edu) Received: from CYBERDOGT42 (vpnwl-228-194.net.rpi.edu [128.113.228.194]) by smtp2.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j17G5Hcp025283; Mon, 7 Feb 2005 11:05:17 -0500 Message-Id: <200502071605.j17G5Hcp025283@smtp2.server.rpi.edu> From: "Matt LaPlante" To: "'Loren M. Lang'" , "'Michael C. Shultz'" Date: Mon, 7 Feb 2005 11:05:15 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcUIVCkdDynV1UFTQ+yRd+oMGD3kyQE2oFsw In-Reply-To: <20050201114957.GJ8619@alzatex.com> X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-questions@freebsd.org Subject: RE: Cleaning Out Ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2005 16:05:20 -0000 That's correct; this type of functionality is exactly what I was searching for. > -----Original Message----- > From: Loren M. Lang [mailto:lorenl@alzatex.com] > Sent: Tuesday, February 01, 2005 6:50 AM > To: Michael C. Shultz > Cc: freebsd-questions@freebsd.org; Matt LaPlante > Subject: Re: Cleaning Out Ports? > > > There's still one missing part to it that gentoo's portage has. In > addition to the standard database of installed packages, emerge keeps > track > of every single package that you explicitly installed in a file called > world. Upgrades read this file and update all the packages listed, > including there dependencies first. Now if a package that was installed > to satisfy a dependency, but not explicitly installed is now longer > needed, it will stay on the system until the next time emerge --depclean > is run. --depclean tells emerge to remove any packages that are not in > the world file and are not needed to satify dependencies for packages in > the world file, either directly or indirectly. I think this is the > behavior that the original poster was asking for. AFAIK, this is not > yet possible in FreeBSD, but it should be a trivial matter to add > something like a world file to portupgrade. Maybe, if I have time this > week I could work on a patch... >