Opened 4 years ago

Closed 4 years ago

#61414 closed defect (fixed)

wireshark3 @3.4.0 appears to opportunistically use libssh

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: wireshark3

Description

The configuration step ends with this summary

-- The following OPTIONAL packages have not been found:

 * LIBSSH (required version >= 0.6), Library for implementing SSH clients, <https://www.libssh.org/>
   extcap remote SSH interfaces (sshdump, ciscodump)

I do have libssh2 @1.9.0_0 (active) platform='darwin 17' archs='x86_64' date='2019-09-27T13:55:46+0200' installed, but it has /opt/local/lib/pkgconfig/libssh2.pc. Presumingly that's the reason why this is reported:

-- Found M: m
-- Could NOT find LIBSSH (missing: LIBSSH_LIBRARIES LIBSSH_INCLUDE_DIRS LIBSSH_VERSION) (Required is at least version "0.6")
-- Checking for one of the modules 'libpcap'
-- Found PCAP: /opt/local/lib/libpcap.dylib

Does it make any sense to additionally install libssh1?

Change History (6)

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Cc: opendarwin.org@… removed
Keywords: highsierra removed
Owner: set to ghosthound
Status: newassigned
Summary: wireshark3 @3.4.0 cannot find libssh on macOS High Sierra, Version 10.13.6wireshark3 @3.4.0 appears to opportunistically use libssh

Certainly it should either depend on libssh or disable that functionality.

comment:2 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)

Wireshark does not use libssh2 (and neither libssh which is not installed):

/Applications/MacPorts/Wireshark.app/Contents/MacOS/Wireshark:
	/opt/local/lib/libwireshark.14.dylib (compatibility version 14.0.0, current version 14.0.0)
	/opt/local/libexec/qt5/lib/QtMultimedia.framework/Versions/5/QtMultimedia (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtMacExtras.framework/Versions/5/QtMacExtras (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 50.0.0)
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1561.61.100)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1455.12.0)
	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration (compatibility version 1.0.0, current version 963.50.9)
	/opt/local/lib/libspeexdsp.1.dylib (compatibility version 7.0.0, current version 7.1.0)
	/opt/local/lib/libpcap.A.dylib (compatibility version 1.0.0, current version 1.9.1)
	/opt/local/lib/libwiretap.11.dylib (compatibility version 11.0.0, current version 11.0.0)
	/opt/local/lib/libwsutil.12.dylib (compatibility version 12.0.0, current version 12.0.0)
	/opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 5801.0.0, current version 5801.3.0)
	/opt/local/lib/libgcrypt.20.dylib (compatibility version 23.0.0, current version 23.8.0)
	/opt/local/lib/libgpg-error.0.dylib (compatibility version 31.0.0, current version 31.0.0)
	/opt/local/lib/libgnutls.30.dylib (compatibility version 59.0.0, current version 59.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 5801.0.0, current version 5801.3.0)
	/opt/local/libexec/qt5/lib/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtGui.framework/Versions/5/QtGui (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.14.0, current version 5.14.2)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.0)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)

To make use of libssh2 which some ports need (cargo, curl, gstreamer1-gst-plugins-bad) it would need a patch probably…

comment:3 Changed 4 years ago by ghosthound

Status: assignedaccepted

comment:4 Changed 4 years ago by ghosthound

yes, wireshark 3.4(.x) only looks for libssh, it does not look for libssh2. I'll add a dependency on libssh shortly.

comment:5 Changed 4 years ago by ghosthound

In ebea299d589fed754f897061e395f124e7f7b14e/macports-ports (master):

net/wireshark3:

add dependency on libssh
resolves #61414

comment:6 Changed 4 years ago by ghosthound

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