if there is no OpenSSL is installed in the base-system but in /usr/local which is a valid configuration (disable it during make world, install the port) then nmap compilation will fail because of not respecting the OPENSSLLIB / OPENSSLINC cc -c -O2 -fno-strict-aliasing -pipe -march=pentium3 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap filespace.c -o filespace.o In file included from nsock_internal.h:78, from filespace.c:59: nsock_ssl.h:69:25: openssl/ssl.h: No such file or directory nsock_ssl.h:70:25: openssl/err.h: No such file or directory nsock_ssl.h:71:26: openssl/rand.h: No such file or directory In file included from nsock_internal.h:78, from filespace.c:59: nsock_ssl.h:83: error: syntax error before "SSL_CTX" In file included from filespace.c:59: nsock_internal.h:224: error: syntax error before "SSL" nsock_internal.h:349: error: syntax error before "SSL_SESSION" gmake[1]: *** [filespace.o] Error 1 gmake[1]: Leaving directory `/usr/obj/usr/ports/security/nmap/work/nmap-4.68/nsock/src' gmake: *** [nsock_build] Error 2 *** Error code 2 Stop in /usr/ports/security/nmap. Exit 1 Fix: do some magic nmap Makefile patching How-To-Repeat: remove openssl from base install openssl as port
Maintainer of security/nmap, Please note that PR ports/126913 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126913 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
To help me do something about it, please provide: . a valid e-mail address . version of nmap / the nmap port . which openssl port was used . actual error message / logs Thanks. -- Daniel Roethlisberger http://daniel.roe.ch/
State Changed From-To: feedback->closed was fixed by oliver few hours ago.