summaryrefslogtreecommitdiff
path: root/Tools/scripts/resolveportsfromlibs.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - Remove a few more scripts from Tools/scripts:Alex Kozlov2015-04-101-227/+0
| | | | | | | | | | chkdepschain.py: doesn't support pkgng explicit_lib_depends.sh: doesn't support pkgng plist: obsolete; searches for /etc/mtree/BSD.local.dist, add @dirrm, doesn't know about man pages in the plist release: unused and obsolete resolveportsfromlibs.sh: doesn't support pkgng Approved by: portmgr (bapt)
* Replace two further instances of /var/db/pkg by $PKG_DBDIR.Gerald Pfeifer2007-09-161-2/+2
|
* Use PKG_DBDIR instead of hard-coding /var/db/pkg/. Do not silently revertGerald Pfeifer2007-09-081-3/+15
| | | | | | | to defaults for PORTSDIR and PKG_DBDIR if the respective directory does not exist, but bail out. Approved by: netchild
* explicit_lib_depends.sh:Alexander Leidinger2007-09-041-12/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - check if an installed libtool records dependencies recursively and print a warning if it does currently it prints the warning on every system which has libtool installed from ports (only my local version doesn't do this, the version in the ports is not correctly patched for this, a patch similar in complexity (= simple) like the ltdl.m4 one in the libtool-port-patch-directory is needed) - enhance the regex which is responsible to not print a dependency to the port we are just checking - add a work in progress (not executed) to collapse the USE_* which can have more than one value neededlibs.sh: - we also care about shared libs resolveportsfromlibs.sh: - take care about USE_OPENSSL, USE_EFL, USE_GL, USE_FAM, USE_OPENLDAP, USE_SDL - search in the "ldconfig -r" output if we can not find the lib ourself - a better way of getting the first part of the LIB_DEPENDS stuff (lib/libXYZ.so can be specified now too) - some line wrapping + whitespace - print the origin for the USE_* too (except USE_OPENSSL), so an user can make some sanity checks and the explicit_lib_depends.sh can DTRT if we check the USE_* port itself - warn if we can not determine the right component (can happen for XORG) unambiguously.
* USE_FREETYPE is for v1, not for v2. Use a perfect match in the case statement.Alexander Leidinger2007-08-301-4/+5
|
* - Add USE_FREETYPE.Alexander Leidinger2007-08-261-1/+5
| | | | | - Print the portsdir variable in front of the origin for easy copy und paste of the output.
* Teach about USE_ICONV, USE_GETTEXT, USE_GNOME and USE_XORG.Alexander Leidinger2007-08-241-1/+38
|
* Add 2 scripts which help in port maintenance to list all direct libraryAlexander Leidinger2007-08-121-0/+104
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)