Nessus released a new version, 2.0.7, on July 2nd. I have been able to get this to compile using the ebuilds for 2.0.6a. After renaming the ebuilds for nessus, nessus-libraries, libnasl, nessus-core, and nessus-plugins, and generating the digests (ebuild nessus-xxx.ebuild digest), there are a few quirks to work through. One needs to copy the /usr/portage/net-analyzer/libnasl/files/libnasl-2.0.6a-gentoo.patch to libnasl-2.0.7-gentoo.patch. Also, in the nessus-core ebuild, there is a change needed for TCP wrappers. First of all, this code will cause wrapper code to be compiled even if tcpd is not a USE flag: use tcpd && myconf="${myconf} --enable-tcpwrappers" || myconf="${myconf} --disable-tcpwrappers" To prevent this, simply take out the second line. The reason I noticed this is I was getting this error when trying to emerge nessus-core: nessusd.c: In function `main_loop': nessusd.c:803: warning: implicit declaration of function `hg_get_name_from_ip' nessusd.c:803: `addr' undeclared (first use in this function) nessusd.c:803: (Each undeclared identifier is reported only once nessusd.c:803: for each function it appears in.) nessusd.c:804: warning: implicit declaration of function `hosts_ctl' This was in a section for TCP wrapper support and the error persisted even if I turned off tcpd as a USE flag or tried manually compiling the source with --disable-tcpwrappers. The problem is in this part of the code for nessusd.c: #ifdef USE_LIBWRAP { char host_name[1024]; hg_get_name_from_ip(addr.sin_addr, host_name, sizeof(host_name)); if(!(hosts_ctl("nessusd", host_name, asciiaddr, STRING_UNKNOWN))) { shutdown(soc, 2); close(soc); log_write("Connection from %s rejected by libwrap", asciiaddr); continue; } } #endif Above, addr is undefined. There is a variable, address, however that is used above this block of code. Substituting that variable in will lead to a successful compilation. Not sure if that's the right way to fix it though. I emailed the author about the bug and I will post back if he responds. Thanks.
Good work! About the "address" thing - have a look at http://bugs.nessus.org/show_bug.cgi?id=464 You were right.
Thanks again, version is in portage.
Great, thanks!