Gentoo
Checking for Vulnerabilities
To check installed ebuilds against known vulnerabilities, first make sure app-portage/gentoolkit is installed, then use the following command:
glsa-check -l affected
Fixing Broken Dependencies
revdep-rebuild --ignore --pretend revdep-rebuild -i -p -v
Building Packages
quickpkg
Finding what ebuild a File Belongs To
equery belongs file