cvs commit: ports/Tools/scripts README neededlibs.sh
resolveportsfromlibs.sh
Alexander Leidinger
netchild at FreeBSD.org
Sun Aug 12 05:49:24 PDT 2007
netchild 2007-08-12 12:49:23 UTC
FreeBSD ports repository
Modified files:
Tools/scripts README
Added files:
Tools/scripts neededlibs.sh resolveportsfromlibs.sh
Log:
Add 2 scripts which help in port maintenance to list all direct library
dependencies of a port:
neededlibs.sh
Extract direct library dependencies (filenames) from binaries.
resolveportsfromlibs.sh
Prints the name(s) of ports(s) given a library filename,
suitable for direct use (copy&paste) in LIB_DEPENDS.
Example usage is included in the scripts. The following combined usage may
be helpful for further porting/testing automation:
resolveportsfromlibs.sh -b /usr/local $(neededlibs.sh /test/bin/*)
Requested by: kris, lofi (sort of)
Revision Changes Path
1.18 +4 -1 ports/Tools/scripts/README
1.1 +63 -0 ports/Tools/scripts/neededlibs.sh (new)
1.1 +104 -0 ports/Tools/scripts/resolveportsfromlibs.sh (new)
More information about the cvs-all
mailing list