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 wireshark24
version 2.4.6
revision 1
categories net
license {GPL-2 GPL-3}
maintainers darkart.com:opendarwin.org
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 8e965fd282bc0c09e7c4eba5f08a555d0ccf40a7d1544b939e01b90bc893d5fe \
rmd160 4d58798dfbb5a6567a731e0d6308e1dca3c859ee \
sha1 25ba24628acfc12d7541298255f50e8034e694b7 \
size 28851192
conflicts wireshark-devel wireshark wireshark2 wireshark22
depends_build-append \
port:pkgconfig
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
path:lib/libssl.dylib:openssl \
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=OFF \
-DENABLE_GEOIP=OFF \
-DENABLE_GNUTLS=OFF \
-DENABLE_KERBEROS=OFF \
-DENABLE_LIBXML2=OFF \
-DENABLE_LUA=OFF \
-DENABLE_LZ4=ON \
-DENABLE_NETLINK=OFF \
-DENABLE_PORTAUDIO=OFF \
-DENABLE_SMI=OFF \
-DENABLE_SNAPPY=OFF \
-DENABLE_ZLIB=OFF \
-DBUILD_wireshark=OFF