The package needs to have a recipe available that when built with bitbake to offer no errors and the proper configuration.
There are recipe available in the meta-security layer for the samhain client and server: http://git.yoctoproject.org/cgit/cgit.cgi/meta-security/tree/recipes-security/samhain/samhain-client_3.1.3.bb?h=master http://git.yoctoproject.org/cgit/cgit.cgi/meta-security/tree/recipes-security/samhain/samhain-server_3.1.3.bb The build process finished with no errors so the remaining step would be to integrate the package.
Verified by building with no additional errors.