Created attachment 154932 [details]
svn diff for security/nessus-libraries
The security/nessus-libraries doesn't properly detect OpenSSL or LibreSSL from base. This results in issues with LibreSSL as this doesn't have SSLv2 and due to the linker not getting the /usr/local bits passed building nessus-libnasl consequently fails. (I believe the existing patch removing SSLv2 is thus non-functional)
- Defines USE_OPENSSL=yes
- Passes proper --with-ssl= to configure
- Already disables SSLv3 (we should)
Created attachment 154933 [details]
Poudirere build log of security/nessus-libraries
Created attachment 154934 [details]
Poudriere build log of security/nessus-libnasl
Added as that was originally failing, not the -libraries port...
Nice one! I'd too noticed the SSL patches applied a few weeks ago were not working with the nessus ports, but hadn't got around to trying to find out why!
(In reply to Jamie Landeg-Jones from comment #3)
Be sure to check https://wiki.freebsd.org/LibreSSL, https://wiki.freebsd.org/OpenSSL and sub-pages. I'm trying to keep track of all of 'm
Great work. Thanks. I tested and approve the change. To get it working you will have to delete nessus-libraries/files/patch-libnessus__network.c from the port as this is incorporated into the new patch.
A commit references this bug:
Date: Tue Sep 15 23:59:10 UTC 2015
New revision: 397032
Fix build with LibreSSL
Submitted by: brnrd@
Approved by: maintainer
Committed. Thank you very much.