forked from Lainports/freebsd-ports
`stage-qa` already warns about missing dependencies. However, it does not warn about possibly unneeded ones. This change tries to address this, by simply walking the list of linked against shared libraries and then matching the entries of LIB_DEPENDS against them. Note: this may lead to false positives -- as always, user your brain, and don't rely on output of static tools alone. Possible output might look like: [...] ====> Running Q/A tests (stage-qa) Warning: you might not need LIB_DEPENDS on libqgpgme.so Warning: you might not need LIB_DEPENDS on libintl.so Warning: you might not need LIB_DEPENDS on libKF5IconThemes.so Warning: you might not need LIB_DEPENDS on libqca-qt5.so Warning: you might not need LIB_DEPENDS on libQt5Test.so [...] Note, that in this case all are false positives. Differential Revision: https://reviews.freebsd.org/D27304 |
||
|---|---|---|
| .. | ||
| actual-package-depends.sh | ||
| cargo-crates-git-common.awk | ||
| cargo-crates-git-configure.awk | ||
| cargo-crates-git-fetch.awk | ||
| cargo-crates.awk | ||
| check-desktop-entries.sh | ||
| check-stagedir.sh | ||
| check-vulnerable.sh | ||
| check_leftovers.sh | ||
| checksum.sh | ||
| create-manifest.sh | ||
| depends-list.sh | ||
| desktop-categories.sh | ||
| dialog4ports.sh | ||
| do-depends.sh | ||
| do-fetch.sh | ||
| do-patch.sh | ||
| do-users-groups.sh | ||
| find-lib.sh | ||
| functions.sh | ||
| generate-symbols.sh | ||
| install-desktop-entries.sh | ||
| makesum.sh | ||
| plist_sub_sed_sort.sh | ||
| ports_env.sh | ||
| qa.sh | ||
| rust-compat11-canary.sh | ||
| security-check.awk | ||
| sed_checked.sh | ||
| smart_makepatch.sh | ||
| split-url.awk | ||
| strip_RECORD.py | ||