From owner-freebsd-ports@FreeBSD.ORG Thu Jan 6 19:58:13 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A96016A4CE for ; Thu, 6 Jan 2005 19:58:13 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65F4E43D49 for ; Thu, 6 Jan 2005 19:58:13 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A70DB540D0; Thu, 6 Jan 2005 11:58:50 -0800 (PST) Date: Thu, 6 Jan 2005 11:58:50 -0800 From: Kris Kennaway To: Brooks Davis Message-ID: <20050106195850.GA96381@xor.obsecurity.org> References: <20050106183900.1966.qmail@web53607.mail.yahoo.com> <20050106194808.GA24896@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <20050106194808.GA24896@odin.ac.hmc.edu> User-Agent: Mutt/1.4.2.1i cc: "Scott I. Remick" cc: ringworm@inbox.lv cc: freebsd-ports@freebsd.org Subject: Re: mpeg4ip requires IPv6? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2005 19:58:13 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 06, 2005 at 11:48:08AM -0800, Brooks Davis wrote: > On Thu, Jan 06, 2005 at 10:38:59AM -0800, Scott I. Remick wrote: > > Ah, the useful information starts pouring in! > >=20 > > On Thu, 6 Jan 2005 08:51:49 -0800, Michael C. Shultz wrote: > >=20 > > > Just a suggestion here, two ways you can go about this > > > so here is the hard way first: > > >=20 > > > Rename /usr/src/lib/compat to /usr/src/lib/compat-HOLD or something l= ike=20 > > > that, then what ever programs are linked against them will fail and= =20 > > > these need to be rebuilt.=20 > >=20 > > I'd be willing to do this... but... is it possible to cheat a little and > > determine proactively what ports are linked against them? See the outpu= t in > > the other post I made earlier today (the huge one). >=20 > ldd will tell you what libraries a program or dynamic library is linked > against. It's a fairly simple matter to write a script that runs it on > all programs and dynamic libraries and looks for one or more libraries. > pkg_which can then be used to generate a list of ports. I write a > one-off a while back, but I can't see to find it. A general tool would > be quite handly if someone wanted to hack it together. portupgrade includes libchk which does most of this. Kris --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB3Zh4Wry0BWjoQKURAmyTAKCxMJ4FYLI+ZbieyHkxWlUPh7y0igCgz3LA Qs9xbitJ/Rfa83lz6ZIiHDU= =mZFN -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy--