From owner-freebsd-current@FreeBSD.ORG Thu Jul 23 02:52:23 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58EE1106564A for ; Thu, 23 Jul 2009 02:52:23 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nskntqsrv02p.mx.bigpond.com (nskntqsrv02p.mx.bigpond.com [61.9.168.234]) by mx1.freebsd.org (Postfix) with ESMTP id D18368FC16 for ; Thu, 23 Jul 2009 02:52:22 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nskntotgx02p.mx.bigpond.com ([124.188.162.219]) by nskntmtas04p.mx.bigpond.com with ESMTP id <20090723002729.TAXO1821.nskntmtas04p.mx.bigpond.com@nskntotgx02p.mx.bigpond.com> for ; Thu, 23 Jul 2009 00:27:29 +0000 Received: from areilly.bpa.nu ([124.188.162.219]) by nskntotgx02p.mx.bigpond.com with ESMTP id <20090723002728.HVCZ4023.nskntotgx02p.mx.bigpond.com@areilly.bpa.nu> for ; Thu, 23 Jul 2009 00:27:28 +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.0A150201.4A67AE70.0093,ss=1,fgs=0 Cc: Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 02:52:23 -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