From bbea0e71398e19f0a8d360b7e16a5baa8d2f5c50 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 10 Jan 2024 23:01:31 +0100 Subject: [PATCH] package/kismet: bump to version 2023-07-R1 - openssl is a mandatory dependency of BR2_PACKAGE_KISMET_SERVER since https://github.com/kismetwireless/kismet/commit/d916acf8c0fa36d8d794ce3d0fb87fc180592b6c - pcre2 is an optional dependency since https://github.com/kismetwireless/kismet/commit/bb1ecb1c5688cafb1914847c2d068f820b847f2b - disable wifi-coconut (enabled by default and depends on libusb: https://github.com/kismetwireless/kismet/commit/e221b8d45c1598aac64dd4403be1bf7d7df3d0a6) https://kismetwireless.net/posts/kismet-2023-07-r1/ Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/kismet/Config.in | 1 + package/kismet/kismet.hash | 2 +- package/kismet/kismet.mk | 12 ++++++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/package/kismet/Config.in b/package/kismet/Config.in index 7bde6c92af..80e68743a5 100644 --- a/package/kismet/Config.in +++ b/package/kismet/Config.in @@ -63,6 +63,7 @@ config BR2_PACKAGE_KISMET_SERVER depends on !BR2_STATIC_LIBS # dlfcn.h depends on BR2_USE_WCHAR depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future + select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_PROTOBUF comment "server needs a toolchain w/ dynamic library, wchar" diff --git a/package/kismet/kismet.hash b/package/kismet/kismet.hash index 725d24e551..543515858e 100644 --- a/package/kismet/kismet.hash +++ b/package/kismet/kismet.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 2149cceac5526508653f4d02dcf7a694e3da3dc000a2372a1ee4bf9988279781 kismet-2022-08-R1.tar.xz +sha256 f08548e26ca65fa1e567b1debbea1ca4d0e7206bddb96a4f639c90171873e8f7 kismet-2023-07-R1.tar.xz sha256 93c7f0d7e356b0abfb6f494ff3ea37f96abc84e9a5619b25d4e43f7553a55739 LICENSE diff --git a/package/kismet/kismet.mk b/package/kismet/kismet.mk index 8def78ad2a..c448233d60 100644 --- a/package/kismet/kismet.mk +++ b/package/kismet/kismet.mk @@ -4,13 +4,14 @@ # ################################################################################ -KISMET_VERSION = 2022-08-R1 +KISMET_VERSION = 2023-07-R1 KISMET_SOURCE = kismet-$(KISMET_VERSION).tar.xz KISMET_SITE = http://www.kismetwireless.net/code KISMET_DEPENDENCIES = \ host-pkgconf \ libpcap \ $(if $(BR2_PACKAGE_LIBNL),libnl) \ + $(if $(BR2_PACKAGE_OPENSSL),openssl) \ $(if $(BR2_PACKAGE_PROTOBUF),protobuf) \ protobuf-c \ sqlite \ @@ -19,7 +20,7 @@ KISMET_LICENSE = GPL-2.0+ KISMET_LICENSE_FILES = LICENSE KISMET_SELINUX_MODULES = kismet -KISMET_CONF_OPTS = --disable-debuglibs +KISMET_CONF_OPTS = --disable-debuglibs --disable-wifi-coconut KISMET_CXXFLAGS = $(TARGET_CXXFLAGS) @@ -57,9 +58,12 @@ else KISMET_CONF_OPTS += --disable-lmsensors endif -ifeq ($(BR2_PACKAGE_PCRE),y) +ifeq ($(BR2_PACKAGE_PCRE2),y) +KISMET_DEPENDENCIES += pcre2 +KISMET_CONF_OPTS += --enable-pcre --enable-require-pcre2 +else ifeq ($(BR2_PACKAGE_PCRE),y) KISMET_DEPENDENCIES += pcre -KISMET_CONF_OPTS += --enable-pcre +KISMET_CONF_OPTS += --enable-pcre --disable-require-pcre2 else KISMET_CONF_OPTS += --disable-pcre endif