[pacman-dev] [arch-general] "pkgdyn" a set of scripts for analysis of ELF deps in pkgs.

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Sat Apr 25 00:04:38 EDT 2009

Aaron Griffin wrote:
> On Thu, Apr 23, 2009 at 10:45 PM, Gerardo Exequiel Pozzi
> <vmlinuz386 at yahoo.com.ar> wrote:
>> Hi,
>> This is a set of draft scripts that I use to find/extract some data of
>> ELF files from packages.
>> http://archlinux.djgera.com.ar/pkgdyn/
>> Cheers,
> Just replying so I can send this over to the pacman-dev list. This looks great
Thanks, Aaron.

I updated the that "dyndeps.bash" (fixed a regexp) now list the correct
(Uploaded new output files)

Also added a bash/awk "dyndeps-sort.bash" this sort the output generated
by dyndeps.bash and do this

* remove the self package from deps list
* put the numbers of depends (and sort by this in reverse)
* list all depends.

2821 core/glibc-2.9-4 core/acl-2.2.47-2 ...
866 core/zlib- core/binutils-2.19.1-1 ...
98 core/readline-5.2.013-2 core/bash-3.2.048-3 ...
6 core/libelf-0.8.10-3 extra/bug-buddy-2.26.0-1 ...

etc etc

Excepcion in "extra", ignore deps from packages that have libs with same
that other in the repo
For example nxserver have a libX11, then in nxserver list all packages
that depends on libX11,
(the similar concept is apply to nvidia-*utils [libGL] and

Maybe a git repo will be much more apropiate for put the scripts...

Gerardo Exequiel Pozzi ( djgera )
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219  76ED 39AB 221B 1B8C 330D

More information about the pacman-dev mailing list