From owner-freebsd-stable@FreeBSD.ORG Thu Jul 23 00:27:08 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB6321065677 for ; Thu, 23 Jul 2009 00:27:08 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nskntmtas03p.mx.bigpond.com (nskntmtas03p.mx.bigpond.com [61.9.168.143]) by mx1.freebsd.org (Postfix) with ESMTP id 3D9108FC0C for ; Thu, 23 Jul 2009 00:27:07 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nskntotgx03p.mx.bigpond.com ([124.188.162.219]) by nskntmtas03p.mx.bigpond.com with ESMTP id <20090723002706.NOBZ1820.nskntmtas03p.mx.bigpond.com@nskntotgx03p.mx.bigpond.com> for ; Thu, 23 Jul 2009 00:27:06 +0000 Received: from areilly.bpa.nu ([124.188.162.219]) by nskntotgx03p.mx.bigpond.com with ESMTP id <20090723002705.FCAL21119.nskntotgx03p.mx.bigpond.com@areilly.bpa.nu> for ; Thu, 23 Jul 2009 00:27:05 +0000 Received: (qmail 12259 invoked by uid 501); 23 Jul 2009 00:26:51 -0000 Date: Thu, 23 Jul 2009 10:26:51 +1000 From: Andrew Reilly To: Vladimir Grebenschikov , Steve Kargl , freebsd-stable , "O. Hartmann" , Thomas Backman , Olivier SMEDTS , FreeBSD current , Ken Smith Message-ID: <20090723002651.GA11945@duncan.reilly.home> References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> <4A6628F0.6080802@mail.zedat.fu-berlin.de> <20090721215201.GA61999@troutmask.apl.washington.edu> <1248277420.8644.70.camel@localhost> <20090722193033.GA83848@zim.MIT.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090722193033.GA83848@zim.MIT.EDU> User-Agent: Mutt/1.4.2.3i X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150204.4A67AE59.00DB,ss=1,fgs=0 X-SIH-MSG-ID: ox46F9f+TAD0zmQv0WC2OwcnyAzlq3Mv8Z4QX81loRIGTUDBp8PfStrHK+ZRu8u6xDxPJhqFNGMnaazhTY3RstCK Cc: Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 00:27:09 -0000 On Wed, Jul 22, 2009 at 03:30:33PM -0400, David Schultz wrote: > I do the same thing. I wish the ports system kept track of which > ports were installed explicitly by me, and which were only > dependencies. Then it would be possible to garbage collect ports > that are no longer needed. Portmaster -s will cull ports that are "no longer depended on". Seems to work fairly well. You can (probably) find the list of ports that you installed deliberately by trawling through /var/db/pkg for those that don't have a +REQUIRED_BY file. (The portmaster -s trick works by finding ports that have a +REQUIRED_BY file that is empty, I believe.) Cheers, -- Andrew