package/wireshark: bump to version 4.0.2

- pcre2 is mandatory since version 3.7.0 and
  b9f2e4b7fa
- Set HAVE_C99_VSNPRINTF to avoid a build failure due to
  check_c_source_runs
- DISABLE_WERROR was renamed to ENABLE_WERROR

4.x series is the new stable release

https://www.wireshark.org/news/20221207.html
https://www.wireshark.org/docs/relnotes/wireshark-4.0.2.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2022-12-29 11:58:18 +01:00 committed by Peter Korsgaard
parent f70149c80c
commit 4aca99f51c
3 changed files with 8 additions and 5 deletions

View File

@ -10,6 +10,7 @@ config BR2_PACKAGE_WIRESHARK
select BR2_PACKAGE_LIBPCAP
select BR2_PACKAGE_LIBGCRYPT
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_PCRE2
select BR2_PACKAGE_SPEEXDSP
help
Network traffic sniffer and protocol decoder.

View File

@ -1,6 +1,6 @@
# From https://www.wireshark.org/download/src/all-versions/SIGNATURES-3.4.16.txt
sha1 b0e64d5fdd6701106d94bdc8f59dd40a34c7c807 wireshark-3.4.16.tar.xz
sha256 6acb3155b89b65bcdbcdac7a9e6a59013a6e21d8ae6a8249a9af4fe9ce3d91ba wireshark-3.4.16.tar.xz
# From https://www.wireshark.org/download/src/all-versions/SIGNATURES-4.0.2.txt
sha1 0127180ff18515b086fe5603f767f53ddaa64c1a wireshark-4.0.2.tar.xz
sha256 f35915699f2f9b28ddb211202d40ec8984e5834d3c911483144a4984ba44411d wireshark-4.0.2.tar.xz
# Locally calculated
sha256 7cdbed2b697efaa45576a033f1ac0e73cd045644a91c79bbf41d4a7d81dac7bf COPYING

View File

@ -4,7 +4,7 @@
#
################################################################################
WIRESHARK_VERSION = 3.4.16
WIRESHARK_VERSION = 4.0.2
WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.xz
WIRESHARK_SITE = https://www.wireshark.org/download/src/all-versions
WIRESHARK_LICENSE = wireshark license
@ -18,13 +18,15 @@ WIRESHARK_DEPENDENCIES = \
libgcrypt \
libglib2 \
libpcap \
pcre2 \
speexdsp
WIRESHARK_CONF_OPTS = \
-DDISABLE_WERROR=ON \
-DENABLE_ILBC=OFF \
-DENABLE_PCAP=ON \
-DENABLE_SMI=OFF \
-DENABLE_WERROR=OFF \
-DHAVE_C99_VSNPRINTF=ON \
-DLEMON_C_COMPILER=$(HOSTCC_NOCCACHE)
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)