Search which package(s) owns a file in #gentoo
Equery is a wonderfull tool part of the gentoolkit ebuild able to discover which ebuild(s) installed a certain file
# The command equery belongs /usr/bin/vim # The output [ Searching for file(s) /usr/bin/vim in *... ] app-editors/vim-7.2 (/usr/bin/vim)