Skip to contentSkip to conversation

package/kismet: bump to version 2021-06-R1

PATCH New Fabrice Fontaine 2 participants 2 messages Jul 17, 2021 – Jul 18, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/kismet: bump to version 2021-06-R1

- Drop patches (already in version)
- C++14 is mandatory since version 2021-05-R1 and
https://github.com/kismetwireless/kismet/commit/35fefe38054f40014aae7ade9eb80c1c7f7c6c30

https://www.kismetwireless.net/release/kismet-2021-05-R1
https://www.kismetwireless.net/release/kismet-2021-06-R1

---
 ...to-read-database-values-as-long-long.patch | 28 --------
 ...sio-Use-eventfd-function-with-uClibc.patch | 66 -------------------
 package/kismet/Config.in                      | 18 ++---
 package/kismet/kismet.hash                    |  2 +-
 package/kismet/kismet.mk                      |  5 +-
 5 files changed, 11 insertions(+), 108 deletions(-)
 delete mode 100644 package/kismet/0001-Add-getter-to-read-database-values-as-long-long.patch
 delete mode 100644 package/kismet/0002-boost-asio-Use-eventfd-function-with-uClibc.patch
package/kismet/0001-Add-getter-to-read-database-values-as-long-long.patch deleted +0 -28
deleted file mode 100644
index 564cba87bb..0000000000
@@ -1,28 +0,0 @@
-From 1d36faad18e34b43ac8ea3e7f6a44315f827a2db Mon Sep 17 00:00:00 2001
-From: George Hopkins <[email protected]>
-Date: Mon, 4 Jan 2021 13:59:41 +0100
-Subject: [PATCH] Add getter to read database values as long long
-
-[Retrieved from:
-https://github.com/kismetwireless/kismet/commit/1d36faad18e34b43ac8ea3e7f6a44315f827a2db]
-Signed-off-by: Fabrice Fontaine <[email protected]>
----
- sqlite3_cpp11.cc | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/sqlite3_cpp11.cc b/sqlite3_cpp11.cc
-index 7974bde8c..5c92dfa87 100644
---- a/sqlite3_cpp11.cc
-+++ b/sqlite3_cpp11.cc
-@@ -411,6 +411,11 @@ namespace kissqlite3 {
-         return (unsigned long) sqlite3_column_int64(stmt.get(), column);
-     }
- 
-+    template<>
-+    long long sqlite3_column_as(std::shared_ptr<sqlite3_stmt> stmt, unsigned int column) {
-+        return (long long) sqlite3_column_int64(stmt.get(), column);
-+    }
-+
-     template<>
-     unsigned long long sqlite3_column_as(std::shared_ptr<sqlite3_stmt> stmt, unsigned int column) {
-         return (unsigned long long) sqlite3_column_int64(stmt.get(), column);
package/kismet/0002-boost-asio-Use-eventfd-function-with-uClibc.patch deleted +0 -66

66 lines not on this page · raw message

package/kismet/Config.in +9 -9
index d9f8ebe03d..961d5f230e 100644
@@ -1,6 +1,8 @@
-comment "kismet needs a toolchain w/ threads, C++"
+comment "kismet needs a toolchain w/ threads, C++, gcc >= 5"
 	depends on BR2_USE_MMU
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_INSTALL_LIBSTDCPP || \
+		!BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_5
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 
 config BR2_PACKAGE_KISMET
@@ -9,6 +11,7 @@ config BR2_PACKAGE_KISMET
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14
 	select BR2_PACKAGE_LIBPCAP
 	select BR2_PACKAGE_PROTOBUF_C
 	select BR2_PACKAGE_SQLITE
@@ -32,7 +35,6 @@ config BR2_PACKAGE_KISMET_PYTHON_TOOLS
 	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # python-numpy
 	depends on BR2_PACKAGE_PYTHON3
 	depends on !BR2_STATIC_LIBS # protobuf
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf
 	depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
 	select BR2_PACKAGE_PROTOBUF
 	select BR2_PACKAGE_PYTHON_NUMPY # runtime for RTLAMR and RTLADSB
@@ -48,8 +50,8 @@ comment "python tools needs python3"
 	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
 	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
 
-comment "python tools needs a glibc or musl toolchain w/ dynamic library, gcc >= 4.8"
-	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+comment "python tools needs a glibc or musl toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
 	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
 	depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
 	depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
@@ -60,15 +62,13 @@ config BR2_PACKAGE_KISMET_SERVER
 	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
 	depends on !BR2_STATIC_LIBS # dlfcn.h
 	depends on BR2_USE_WCHAR
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
 	select BR2_PACKAGE_PROTOBUF
 
-comment "server needs a toolchain w/ dynamic library, wchar, gcc >= 4.8"
+comment "server needs a toolchain w/ dynamic library, wchar"
 	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
-	depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+	depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
 
 comment "server needs a toolchain not affected by GCC bug 64735"
 	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
package/kismet/kismet.hash +1 -1
index 2b0baa1009..4c986a159b 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  52a8eddd560688693552bcd8ff033f662a1a57b47650d6434c5e2c6d83e2bb33  kismet-2020-12-R3.tar.xz
+sha256  f85939c9d32fa72d777db35c68af84c379171b94380acad0db7924f95a81bdaa  kismet-2021-06-R1.tar.xz
 sha256  93c7f0d7e356b0abfb6f494ff3ea37f96abc84e9a5619b25d4e43f7553a55739  LICENSE
package/kismet/kismet.mk +1 -4
index 3a171af7b2..64f9501db8 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-KISMET_VERSION = 2020-12-R3
+KISMET_VERSION = 2021-06-R1
 KISMET_SOURCE = kismet-$(KISMET_VERSION).tar.xz
 KISMET_SITE = http://www.kismetwireless.net/code
 KISMET_DEPENDENCIES = \
@@ -18,9 +18,6 @@ KISMET_DEPENDENCIES = \
 KISMET_LICENSE = GPL-2.0+
 KISMET_LICENSE_FILES = LICENSE
 KISMET_SELINUX_MODULES = kismet
-# Needed because tarball configure has not been rebuilt after
-# https://github.com/kismetwireless/kismet/commit/e70968bcbca86dd448d619c40cdeaae8b7dcee98
-KISMET_AUTORECONF = YES
 
 KISMET_CONF_OPTS = --disable-debuglibs
 
Signature · 1 line
2.30.2
#1 lore raw

PATCH 1/1 package/kismet: bump to version 2021-06-R1

Quoted 8 lines · On Sat, 17 Jul 2021 17:11:59 +0200 Fabrice Fontaine…

- Drop patches (already in version)
- C++14 is mandatory since version 2021-05-R1 and
https://github.com/kismetwireless/kismet/commit/35fefe38054f40014aae7ade9eb80c1c7f7c6c30

https://www.kismetwireless.net/release/kismet-2021-05-R1
https://www.kismetwireless.net/release/kismet-2021-06-R1

Quoted 9 lines
---
 ...to-read-database-values-as-long-long.patch | 28 --------
 ...sio-Use-eventfd-function-with-uClibc.patch | 66 -------------------
 package/kismet/Config.in                      | 18 ++---
 package/kismet/kismet.hash                    |  2 +-
 package/kismet/kismet.mk                      |  5 +-
 5 files changed, 11 insertions(+), 108 deletions(-)
 delete mode 100644 package/kismet/0001-Add-getter-to-read-database-values-as-long-long.patch
 delete mode 100644 package/kismet/0002-boost-asio-Use-eventfd-function-with-uClibc.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com