From owner-freebsd-ports@FreeBSD.ORG Fri May 18 14:47:31 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 2118716A500 for ; Fri, 18 May 2007 14:47:31 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id ECF0513C457 for ; Fri, 18 May 2007 14:47:30 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id C18315193B for ; Fri, 18 May 2007 10:47:29 -0400 (EDT) Date: Fri, 18 May 2007 15:47:27 +0100 From: RW To: freebsd-ports@freebsd.org Message-ID: <20070518154727.019d3c31@gumby.homeunix.com.> In-Reply-To: <17997.40528.630013.491475@jerusalem.litteratus.org> References: <20070507184231.GA50639@xor.obsecurity.org> <1179437517.8912.5.camel@ikaros.oook.cz> <20070518075058.GB1164@turion.vk2pj.dyndns.org> <200705181409.15561.mail@maxlor.com> <17997.40528.630013.491475@jerusalem.litteratus.org> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Specs for saving old shared libs 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, 18 May 2007 14:47:31 -0000 On Fri, 18 May 2007 08:38:40 -0400 Robert Huff wrote: > Benjamin Lutz writes: > > > The last part seems to be the catch here. How about providing a > > tool that scans all binaries in the standard locations for what > > libs they depend on, and also allows the user/admin to specify > > the paths to binaries that he installed on his own, then outputs > > a list of unused libraries? > > Are you aware of "libchk" and "portsclean"? > I have dozens of these libraries in my compat/pkg directory and I doubt that any should be needed, since I'm fully up-to-date, and mostly use portmanager. And yet portsclean never touches them, so I'm guessing that it only actually removes obsolete libraries that are shadowed by installed libraries. One thing that does worry me a bit, is the possibility that a new port install might find these one of these orphaned libraries, and fail to install a LIB_DEPENDS port.