Source
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup cmake 1.0
name wireshark3
version 3.0.7
revision 0
categories net
license {GPL-2 GPL-3}
maintainers {darkart.com:opendarwin.org @ghosthound}
description Graphical network analyzer and capture tool
homepage https://www.wireshark.org/
platforms darwin
long_description A network analyzer that lets you capture and \
interactively browse Ethernet frames. \
Packet data can be read from a file, or live from a local \
network interface.
master_sites https://www.wireshark.org/download/src/ \
https://www.wireshark.org/download/src/all-versions/
use_xz yes
distfiles wireshark-${version}${extract.suffix}
worksrcdir wireshark-${version}
checksums sha256 3b2b279017753398b8d5deb440db5f98a205eea35f9417e5fa2893947e7992f2 \
rmd160 7168f7bf9f724e9ec3236c998c54368d85820718 \
sha1 c870ef818952a741773fc1143fba2834c76a1dd0 \
size 30851928
conflicts wireshark-devel wireshark wireshark2 wireshark22 wireshark24
depends_build-append \
port:pkgconfig
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
path:lib/libssl.dylib:openssl \
port:libgcrypt \
port:libpcap \
port:lz4
configure.args-append \
-DCMAKE_INSTALL_RPATH:STRING="${prefix}/lib" \
-DCMAKE_INSTALL_NAME_DIR:STRING="${prefix}/lib" \
-DENABLE_APPLICATION_BUNDLE=OFF \
-DENABLE_ADNS=OFF \
-DENABLE_CARES=OFF \
-DENABLE_GCRYPT=ON \
-DENABLE_GEOIP=OFF \
-DENABLE_GNUTLS=OFF \
-DENABLE_KERBEROS=OFF \
-DENABLE_LIBXML2=OFF \
-DENABLE_LUA=OFF \
-DENABLE_LZ4=ON \
-DENABLE_NETLINK=OFF \
-DENABLE_SMI=OFF \
-DENABLE_SNAPPY=OFF \
-DENABLE_ZLIB=OFF \
-DBUILD_wireshark=OFF