|
@@ -4,7 +4,7 @@
|
|
#
|
|
#
|
|
################################################################################
|
|
################################################################################
|
|
|
|
|
|
-WIRESHARK_VERSION = 3.4.7
|
|
|
|
|
|
+WIRESHARK_VERSION = 3.4.10
|
|
WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.xz
|
|
WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.xz
|
|
WIRESHARK_SITE = https://www.wireshark.org/download/src/all-versions
|
|
WIRESHARK_SITE = https://www.wireshark.org/download/src/all-versions
|
|
WIRESHARK_LICENSE = wireshark license
|
|
WIRESHARK_LICENSE = wireshark license
|
|
@@ -19,29 +19,12 @@ WIRESHARK_DEPENDENCIES = \
|
|
libpcap \
|
|
libpcap \
|
|
speexdsp
|
|
speexdsp
|
|
|
|
|
|
-WIRESHARK_MAKE_ENV = \
|
|
|
|
- $(TARGET_MAKE_ENV) \
|
|
|
|
- PATH="$(@D)/bin:$(BR_PATH)"
|
|
|
|
-
|
|
|
|
WIRESHARK_CONF_OPTS = \
|
|
WIRESHARK_CONF_OPTS = \
|
|
-DDISABLE_WERROR=ON \
|
|
-DDISABLE_WERROR=ON \
|
|
-DENABLE_ILBC=OFF \
|
|
-DENABLE_ILBC=OFF \
|
|
-DENABLE_PCAP=ON \
|
|
-DENABLE_PCAP=ON \
|
|
- -DENABLE_SMI=OFF
|
|
|
|
-
|
|
|
|
-# wireshark needs the host version of lemon during compilation.
|
|
|
|
-# This binrary is provided by sqlite-src (which is different from
|
|
|
|
-# sqlite-autotools that is currently packaged in buildroot) moreover wireshark
|
|
|
|
-# adds several patches.
|
|
|
|
-# So, instead of creating a separate host package and installing lemon to
|
|
|
|
-# $(HOST_DIR), this binary is compiled on-the-fly
|
|
|
|
-define WIRESHARK_BUILD_LEMON_TOOL
|
|
|
|
- cd $(@D); \
|
|
|
|
- mkdir -p $(@D)/bin; \
|
|
|
|
- $(HOSTCC) $(HOST_CFLAGS) -o $(@D)/bin/lemon tools/lemon/lemon.c
|
|
|
|
-endef
|
|
|
|
-
|
|
|
|
-WIRESHARK_PRE_BUILD_HOOKS += WIRESHARK_BUILD_LEMON_TOOL
|
|
|
|
|
|
+ -DENABLE_SMI=OFF \
|
|
|
|
+ -DLEMON_C_COMPILER=$(HOSTCC)
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
WIRESHARK_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
|
|
WIRESHARK_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
|