Date: Mon, 25 Jul 2011 16:56:52 -0400 From: Eitan Adler <lists@eitanadler.com> To: Anton Berezin <tobez@tobez.org>, freebsd-ports@freebsd.org Subject: Re: find-packages-using-libs: request for feedback Message-ID: <CAF6rxgm3AK0BYFwbO=Vb9CLskViPupDaPXRC94RsnKNyqCs_RQ@mail.gmail.com> In-Reply-To: <20110712225615.GA91283@heechee.tobez.org> References: <20110712225615.GA91283@heechee.tobez.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This looks useful - any chance you could make a port out of this? On Tue, Jul 12, 2011 at 6:56 PM, Anton Berezin <tobez@tobez.org> wrote: > Hi, > > After the recent icu and libgcrypt updates I decided to try and find a > way to avoid rebuilding everything which depends on a particular > port when its shared library version is bumped. > > Previously I was profitably using sysutils/libchk, producing in the end > the list of packages which *have* to be rebuilt. =C2=A0Its use, however, > requires some substantial massaging of the output it produces. > > So I wrote a little tool which automates such tasks. =C2=A0As a side effe= ct, > it can also be used to simply list all packages using a shared library > (or libraries). > > Fetch it at https://github.com/tobez/find-packages-using-libs . > > Usage examples: > > Finding every installed package using libgcrypt: > > =C2=A0 =C2=A0./find-packages-using-libs libgcrypt.so\* > > Finding every installed package using libgcrypt OR libicu*: > > =C2=A0 =C2=A0./find-packages-using-libs libgcrypt.so\* libicu* > > Finding every installed package which uses libraries that do > not exist (or exist in non-standard paths without any RPATH): > > =C2=A0 =C2=A0./find-packages-using-libs -b > > Finding every installed package which uses a non-existing libgcrypt: > > =C2=A0 =C2=A0./find-packages-using-libs -b libgcrypt.so\* > > There are a couple of minor options as well, > but for now, this about covers it. > > I am interested in you feedback: > > - would you use it? =C2=A0does it solve a problem for you, or do you fore= see > =C2=A0it will solve a problem for you in the future? > - does it work for you? =C2=A0any bugs? > - any wishes with regard to missing features? > > Most of the package-walking code shamelessly (for a good reason) stolen > from the perl-after-upgrade script. > > The code is in public domain. > > Cheers, > \Anton. > -- > Our society can survive even a large amount of irrational regulation. > =C2=A0-- John McCarthy > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > --=20 Eitan Adler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgm3AK0BYFwbO=Vb9CLskViPupDaPXRC94RsnKNyqCs_RQ>