Opened 3 years ago

Closed 3 years ago

#63709 closed defect (fixed)

nmap: opportunistic use of libssh2

Reported by: i0ntempest Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: danielluke (Daniel J. Luke)
Port: nmap

Description

nmap seem to link libssh2 if it's present on the system, but the dependency is not declared in the portfile:

$ otool -L /opt/local/bin/nmap
/opt/local/bin/nmap:
	/opt/local/lib/libpcre.1.dylib (compatibility version 4.0.0, current version 4.13.0)
	/opt/local/lib/libpcap.A.dylib (compatibility version 1.0.0, current version 1.10.1)
	/opt/local/lib/libssh2.1.dylib (compatibility version 2.0.0, current version 2.1.0)
	/opt/local/libexec/openssl11/lib/libssl.1.1.dylib (compatibility version 1.1.0, current version 1.1.0)
	/opt/local/libexec/openssl11/lib/libcrypto.1.1.dylib (compatibility version 1.1.0, current version 1.1.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1200.3.0)

Should probably add a libssh2 variant.

Change History (2)

comment:1 Changed 3 years ago by danielluke (Daniel J. Luke)

I think just adding libssh2 as a dependency is the right answer here, I'll check in an update shortly.

comment:2 Changed 3 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.