pkgsrc/net/wireshark/Makefile
adam 82d436ef48 wireshark: updated to 3.4.3
Wireshark 3.4.3 Release Notes

 What’s New

  The Windows installers now ship with Npcap 1.10. They previously
  shipped with Npcap 1.00.

  Bug Fixes

   The following vulnerabilities have been fixed:

     • wnpa-sec-2021-01[1] USB HID dissector memory leak. Bug 17124[2].
       CVE-2021-22173[3].

     • wnpa-sec-2021-02[4] USB HID dissector crash. Bug 17165[5].
       CVE-2021-22174[6].

   The following bugs have been fixed:

     • SIP response single-line multiple Contact-URIs decoding error Bug
       13752[7].

     • Adding filter while "Telephony→VoIP Calls→Flow Sequence" open
       causes OOB memory reads and potential crashes. Bug 16952[8].

     • QUIC packet not fully dissected Bug 17077[9].

     • SOMEIP-SD hidden entries are off Bug 17091[10].

     • Problem with calculation on UDP checksum in SRv6 Bug 17097[11].

     • Dark mode not working in Wireshark 3.4.2 on macOS Bug 17098[12].

     • Wireshark 3.4.0: build failure on older MacOS releases, due to
       'CLOCK_REALTIME' Bug 17101[13].

     • TECMP: Status Capture Module messages shows 3 instead of 2 bytes
       for HW version Bug 17133[14].

     • Documentation - editorial error - README.dissector bad reference
       Bug 17141[15].

     • Cannot save capture with comments to a format that doesn’t
       support it (no pop-up) Bug 17146[16].

     • AUTOSAR-NM: PNI TF-String wrong way around Bug 17154[17].

     • Fibre Channel parsing errors even with the fix for 17084 Bug
       17168[18].

     • f5ethtrailer: Won’t find a trailer after an FCS that begins with
       a 0x00 byte Bug 17171[19].

     • f5ethtrailer: legacy format, low noise only, no vip name trailers
       no longer detected Bug 17172[20].

     • Buildbot crash output: fuzz-2021-01-22-3387835.pcap Bug
       17174[21].

     • Dissection error on large ZVT packets Bug 17177[22].

     • TShark crashes with -T ek option Bug 17179[23].

  New and Updated Features

  New Protocol Support

   There are no new protocols in this release.

  Updated Protocol Support

   AUTOSAR-NM, DHCPv6, DoIP, FC ELS, GQUIC, IPv6, NAS 5GS, NAS EPS,
   QUIC, SIP, SOME/IP-SD, TECMP, TLS, TPNCP, USB HID, and ZVT

  New and Updated Capture File Support

   f5ethtrailer and pcapng
2021-01-31 13:04:29 +00:00

89 lines
2.9 KiB
Makefile

# $NetBSD: Makefile,v 1.246 2021/01/31 13:04:29 adam Exp $
DISTNAME= wireshark-3.4.3
CATEGORIES= net
MASTER_SITES= https://www.wireshark.org/download/src/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.wireshark.org/
COMMENT= Network protocol analyzer
LICENSE= gnu-gpl-v2
CONFLICTS+= ethereal-[0-9]*
USE_CMAKE= yes
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DENABLE_APPLICATION_BUNDLE=OFF
CMAKE_ARGS+= -DVCSVERSION_OVERRIDE=${PKGVERSION_NOREV}
CMAKE_ARG_PATH= ..
CONFIGURE_DIRS= build
USE_LANGUAGES= c c++
USE_TOOLS+= gmake perl pkg-config bison lex
PKGCONFIG_OVERRIDE+= wireshark.pc.in
CHECK_PORTABILITY_SKIP+= packaging/macosx/*/*
CHECK_PORTABILITY_SKIP+= tools/bsd-setup.sh
PTHREAD_OPTS+= require
PYTHON_VERSIONS_INCOMPATIBLE= 27 # Python 2.7 is not supported
PYTHON_FOR_BUILD_ONLY= yes
REPLACE_PYTHON+= help/faq.py
REPLACE_PYTHON+= tools/asn2deb
REPLACE_PYTHON+= tools/asn2wrs.py
REPLACE_PYTHON+= tools/html2text.py
REPLACE_PYTHON+= tools/idl2deb
REPLACE_PYTHON+= tools/indexcap.py
REPLACE_PYTHON+= tools/msnchat
REPLACE_PYTHON+= tools/ncp2222.py
REPLACE_PYTHON+= tools/netscreen2dump.py
REPLACE_PYTHON+= tools/pkt-from-core.py
REPLACE_PYTHON+= tools/rdps.py
pre-configure:
${MKDIR} ${WRKSRC}/build
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
.if !empty(MACHINE_PLATFORM:MDarwin-[567].*-*)
USE_BUILTIN.libpcap= no
.endif
# Extra post install targets are in options.mk
post-install: ${POST_INSTALL_TARGETS}
# wireshark no longer builds with NetBSD 3.x provided zlib
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.1
# wireshark uses gdk_pixbuf_new_from_inline which is deprecated, but asks
# to hide deprecated prototypes. This leads to pointer truncation.
# gui_utils.c:514:12: warning: incompatible integer to pointer conversion
# assigning to 'GdkPixbuf *' (aka 'struct _GdkPixbuf *') from 'int'
# [-Wint-conversion]
BUILDLINK_TRANSFORM+= rm:-DGDK_PIXBUF_DISABLE_DEPRECATED
.include "../../archivers/brotli/buildlink3.mk"
.include "../../archivers/lz4/buildlink3.mk"
.include "../../archivers/minizip/buildlink3.mk"
.include "../../archivers/zstd/buildlink3.mk"
.include "../../audio/libopus/buildlink3.mk"
.include "../../audio/speexdsp/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libsmi/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../devel/snappy/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../geography/libmaxminddb/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../net/libcares/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../security/libssh/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/krb5.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"