non port: Tools/scripts/resolveportsfromlibs.sh |
Number of commits found: 8 |
Friday, 10 Apr 2015
|
07:05 ak
- Remove a few more scripts from Tools/scripts:
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)
|
Sunday, 16 Sep 2007
|
22:24 gerald
Replace two further instances of /var/db/pkg by $PKG_DBDIR.
|
Saturday, 8 Sep 2007
|
16:23 gerald
Use PKG_DBDIR instead of hard-coding /var/db/pkg/. Do not silently revert
to defaults for PORTSDIR and PKG_DBDIR if the respective directory does
not exist, but bail out.
Approved by: netchild
|
Tuesday, 4 Sep 2007
|
19:32 netchild
explicit_lib_depends.sh:
- 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.
|
Thursday, 30 Aug 2007
|
16:47 netchild
USE_FREETYPE is for v1, not for v2. Use a perfect match in the case statement.
|
Sunday, 26 Aug 2007
|
14:43 netchild
- Add USE_FREETYPE.
- Print the portsdir variable in front of the origin for easy copy und paste
of the output.
|
Friday, 24 Aug 2007
|
14:29 netchild
Teach about USE_ICONV, USE_GETTEXT, USE_GNOME and USE_XORG.
|
Sunday, 12 Aug 2007
|
12:49 netchild
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)
|
Number of commits found: 8 |