Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2005 11:58:50 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: mpeg4ip requires IPv6?
Message-ID:  <20050106195850.GA96381@xor.obsecurity.org>
In-Reply-To: <20050106194808.GA24896@odin.ac.hmc.edu>
References:  <20050106183900.1966.qmail@web53607.mail.yahoo.com> <20050106194808.GA24896@odin.ac.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050106195850.GA96381>