pkgsrc/net/wireshark/options.mk
ryoon 10cea60f14 Update to 2.4.3
Changelog:
Bug Fixes

The following bugs have been fixed:

    wnpa-sec-2017-47

    The IWARP_MPA dissector could crash. (Bug 14236)

    wnpa-sec-2017-48

    The NetBIOS dissector could crash. (Bug 14249)

    wnpa-sec-2017-49

    The CIP Safety dissector could crash. (Bug 14250)

    "tshark -G ?" doesn't provide expected help. (Bug 13984)
    File loading is very slow with TRANSUM dissector enabled. (Bug 14094)
    packet-knxnetip.c:936: bad bitmask ?. (Bug 14115)
    packet-q931.c:1306: bad compare ?. (Bug 14116)
    SSL Dissection bug. (Bug 14117)
    Wireshark crashes when exporting various files to .csv, txt and other
      'non-capture file' formats. (Bug 14128)
    RLC reassembly doesn't work for RLC over UDP heuristic dissector.
      Bug 14129)
    HTTP Object export fails with long extension (possibly query string).
      (Bug 14130)
    3GPP Civic Address not displayed in Packet Details. (Bug 14131)
    Wireshark prefers packet.dll in System32\\Npcap over the one in
      System32. (Bug 14134)
    PEEKREMOTE dissector does not decode 11ac MCS rates properly. (Bug 14136)
    Visual Studio Community Edition 2015 lacks tools named in developer
      guide. (Bug 14147)
    TCP: Malformed data with Riverbed Probe option. (Bug 14150)
    Wireshark Crash when trying to use Preferences | Advanced. (Bug 14157)
    Right click on SMB2 Message ID and then Apply as Column causes Runtime
      Error. (Bug 14169)
    Return [Enter] should apply change (Column title - Button Label
      toolbars). (Bug 14191)
    Wireshark crashes if "rip.display_routing_domain" is set to TRUE in
      preferences file. (Bug 14197)
    Entry point inflatePrime not found for androiddump.exe and
      randpktdump.exe. (Bug 14207)
    BGP: IPv6 NLRI is received with Add-path ID, then Wire shark is not
      able to decode the packet correctly. (Bug 14241)
    Wrong SSL decryption when using EXTENDED MASTER SECRET and Client
      certificate request (mutual authentication). (Bug 14243)
    Frame direction isn't always set if it comes from the pcapng record
      header rather than the packet pseudo-header. (Bug 14245)

Updated Protocol Support

3GPP NAS, BGP, CIP Safety, DTLS, IEEE 802.11 Radio, IWARP_MPA,
KNXnet/IP, LCSAP, MQTT, NetBIOS, PEEKREMOTE, Q.931, RIP, RLC, SIP,
SSL/TLS, TCP, and TRANSUM
2018-01-03 11:09:41 +00:00

106 lines
3 KiB
Makefile

# $NetBSD: options.mk,v 1.16 2018/01/03 11:09:41 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.wireshark
PKG_SUPPORTED_OPTIONS= gtk3 lua
PKG_OPTIONS_OPTIONAL_GROUPS= qt
PKG_OPTIONS_GROUP.qt= qt4 qt5
PKG_SUGGESTED_OPTIONS= gtk3 lua
.include "../../mk/bsd.options.mk"
PLIST_VARS+= gtk3 icons lua mans qt
.if empty(PKG_OPTIONS:Mqt4) && empty(PKG_OPTIONS:Mqt5)
CONFIGURE_ARGS+= --without-qt
.else
. if !empty(PKG_OPTIONS:Mqt4)
CONFIGURE_ARGS+= --with-qt=4
. include "../../x11/qt4-tools/buildlink3.mk"
. elif !empty(PKG_OPTIONS:Mqt5)
CONFIGURE_ARGS+= --with-qt=5
. include "../../x11/qt5-qtmultimedia/buildlink3.mk"
. include "../../x11/qt5-qttools/buildlink3.mk"
. if ${OPSYS} == "Darwin"
. include "../../x11/qt5-qtmacextras/buildlink3.mk"
. else
. include "../../x11/qt5-qtx11extras/buildlink3.mk"
. endif
. endif
CONFIGURE_ENV+= LRELEASE=${QTDIR}/bin/lrelease
CONFIGURE_ENV+= MOC=${QTDIR}/bin/moc
CONFIGURE_ENV+= RCC=${QTDIR}/bin/rcc
CONFIGURE_ENV+= UIC=${QTDIR}/bin/uic
PLIST.qt= yes
.endif
.if empty(PKG_OPTIONS:Mgtk3)
CONFIGURE_ARGS+= --without-gtk
.else
CONFIGURE_ARGS+= --with-gtk=3
PLIST.gtk3= yes
POST_INSTALL_TARGETS+= install-gtk-desktop
.include "../../x11/gtk3/buildlink3.mk"
.include "../../graphics/adwaita-icon-theme/buildlink3.mk"
.PHONY: install-gtk-desktop
install-gtk-desktop:
${INSTALL_DATA} ${WRKSRC}/wireshark.desktop \
${DESTDIR}${PREFIX}/share/applications/
.endif
# We might install the qt front end one day as well,
# so have a generic icon target
.if empty(PKG_OPTIONS:Mgtk3) && empty(PKG_OPTIONS:Mqt4) && empty(PKG_OPTIONS:Mqt5)
CONFIGURE_ARGS+= --disable-wireshark
.else
CONFIGURE_ARGS+= --enable-wireshark
PLIST.mans= yes
INSTALLATION_DIRS+= share/applications
. if ${OPSYS} != "Darwin"
PLIST.icons= yes
POST_INSTALL_TARGETS+= install-icons
INSTALLATION_DIRS+= share/icons/hicolor/scalable/apps
ICON_COLORS= hi lo
ICON_SIZES= 16 32 48
MIMEICON_SIZES= 16 24 32 48 64 128 256
. for c in ${ICON_COLORS}
. for d in ${ICON_SIZES}
INSTALLATION_DIRS+= share/icons/${c}color/${d}x${d}/apps
. endfor
. endfor
. for d in ${MIMEICON_SIZES}
INSTALLATION_DIRS+= share/icons/hicolor/${d}x${d}/mimetypes
. endfor
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.PHONY: install-icons
install-icons:
${INSTALL_DATA} ${WRKSRC}/image/wsicon.svg \
${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/wireshark.svg
. for c in ${ICON_COLORS}
. for d in ${ICON_SIZES}
${INSTALL_DATA} ${WRKSRC}/image/${c}${d}-app-wireshark.png \
${DESTDIR}${PREFIX}/share/icons/${c}color/${d}x${d}/apps/wireshark.png
. endfor
. endfor
. for d in ${MIMEICON_SIZES}
${INSTALL_DATA} ${WRKSRC}/image/WiresharkDoc-${d}.png \
${DESTDIR}${PREFIX}/share/icons/hicolor/${d}x${d}/mimetypes/application-vnd.tcpdump.pcap.png
. endfor
. endif
.endif
.if empty(PKG_OPTIONS:Mlua)
CONFIGURE_ARGS+= --with-lua=no
.else
LUA_VERSIONS_INCOMPATIBLE= 53
.include "../../lang/lua/buildlink3.mk"
CONFIGURE_ARGS+= --with-lua=yes
PLIST.lua= yes
.endif