emerging these package with the USE-Flags: "crypt -debug login-watch mounts-check mysql -netclient -netserver postgres prelude -static suidcheck userfiles -xml" results in not compiling the database backend, because both are enabled, disabling one of them fixes this and the backend will be recognized during ./configure. it seems the confugre script has problems with option specified more than ones.
also it would be nice to have a use flag for the kernel module "--with-kcheck="
Thanks for spotting the database conflict problem! I now added a check to app-forensics/samhain-2.1.1a so that, if you have both postgres and mysql enabled, it dies, warning you that you need to choose between one of them for it to work correctly. I won't add a flag/support for the kernel relative parts of Samhain to the Samhain ebuild, since they are Linux/FreeBSD specific (there are other ports for Gentoo), work on x86 only (Gentoo has many architectures), are relatively troublesome to configure, and require a System.map (not all machines have this around). If you want protection for such kernel problems, GRSecurity takes a better, proactive approach, and I'd recommend that. Best regards, CHTEKK.