Kismet: Mirror Kismet R3

master
Marc Egerton 2020-12-08 15:25:17 +00:00
parent 240de1443f
commit b978a16984
12 changed files with 80 additions and 68 deletions

View File

@ -11,7 +11,7 @@ define Package/kismet-capture-linux-bluetooth
CATEGORY:=Network
TITLE:=Kismet HCI Bluetooth Support
URL:=https://www.kismetwireless.net
DEPENDS:=+libpthread +libpcap +libnl +libcap +protobuf-lite +libprotobuf-c
DEPENDS:=+libpthread +libpcap +libnl +libcap +protobuf-lite +libprotobuf-c +libwebsockets-full
SUBMENU:=kismet
endef
@ -25,15 +25,9 @@ define Build/Configure
endef
CONFIGURE_ARGS += \
--enable-capture-tools-only \
--sysconfdir=/etc/kismet \
--bindir=/usr/bin \
--disable-python-tools \
--with-protoc=$(STAGING_DIR_HOSTPKG)/bin/protoc \
--enable-protobuflite \
--disable-element-typesafety \
$(CONFIGURE_OPTS) \
--disable-libusb \
--disable-debuglibs
--enable-capture-tools-only
# Override libs to force lpthread because we don't detect it properly on openwrt
CONFIGURE_VARS += \

View File

@ -11,7 +11,7 @@ define Package/kismet-capture-linux-wifi
CATEGORY:=Network
TITLE:=Kismet Wi-Fi Capture Support
URL:=https://www.kismetwireless.net
DEPENDS:=+libpthread +libpcap +libnl +libcap +protobuf-lite +libprotobuf-c
DEPENDS:=+libpthread +libpcap +libnl +libcap +protobuf-lite +libprotobuf-c +libwebsockets-full
SUBMENU:=kismet
endef
@ -25,15 +25,9 @@ define Build/Configure
endef
CONFIGURE_ARGS += \
--enable-capture-tools-only \
--sysconfdir=/etc/kismet \
--bindir=/usr/bin \
--disable-python-tools \
--with-protoc=$(STAGING_DIR_HOSTPKG)/bin/protoc \
--enable-protobuflite \
--disable-element-typesafety \
$(CONFIGURE_OPTS) \
--disable-libusb \
--disable-debuglibs
--enable-capture-tools-only
# Override libs to force lpthread because we don't detect it properly on openwrt
CONFIGURE_VARS += \

View File

@ -11,7 +11,7 @@ define Package/kismet-capture-nrf-51822
CATEGORY:=Network
TITLE:=Kismet NRF51822 BTLE
URL:=https://www.kismetwireless.net
DEPENDS:=+libpthread +libpcap +libnl +libcap +protobuf-lite +libprotobuf-c +libusb-1.0
DEPENDS:=+libpthread +libpcap +libnl +libcap +protobuf-lite +libprotobuf-c +libusb-1.0 +libwebsockets-full
SUBMENU:=kismet
endef
@ -25,14 +25,8 @@ define Build/Configure
endef
CONFIGURE_ARGS += \
--enable-capture-tools-only \
--sysconfdir=/etc/kismet \
--bindir=/usr/bin \
--disable-python-tools \
--with-protoc=$(STAGING_DIR_HOSTPKG)/bin/protoc \
--enable-protobuflite \
--disable-element-typesafety \
--disable-debuglibs
$(CONFIGURE_OPTS) \
--enable-capture-tools-only
# Override libs to force lpthread because we don't detect it properly on openwrt
CONFIGURE_VARS += \

View File

@ -11,7 +11,7 @@ define Package/kismet-capture-nxp-kw41z
CATEGORY:=Network
TITLE:=Kismet NXPKW41Z Capture Support
URL:=https://www.kismetwireless.net
DEPENDS:=+libpthread +libpcap +libnl +libcap +protobuf-lite +libprotobuf-c +libusb-1.0
DEPENDS:=+libpthread +libpcap +libnl +libcap +protobuf-lite +libprotobuf-c +libusb-1.0 +libwebsockets-full
SUBMENU:=kismet
endef
@ -25,14 +25,8 @@ define Build/Configure
endef
CONFIGURE_ARGS += \
--enable-capture-tools-only \
--sysconfdir=/etc/kismet \
--bindir=/usr/bin \
--disable-python-tools \
--with-protoc=$(STAGING_DIR_HOSTPKG)/bin/protoc \
--enable-protobuflite \
--disable-element-typesafety \
--disable-debuglibs
$(CONFIGURE_OPTS) \
--enable-capture-tools-only
# Override libs to force lpthread because we don't detect it properly on openwrt
CONFIGURE_VARS += \

View File

@ -23,6 +23,7 @@ define Package/kismet-capture-sdr-rtl433
+python3-cffi \
+python3-numpy \
+python3-protobuf \
+python3-websockets \
+librtlsdr \
+rtl_433
SUBMENU:=kismet

View File

@ -23,6 +23,7 @@ define Package/kismet-capture-sdr-rtladsb
+python3-cffi \
+python3-numpy \
+python3-protobuf \
+python3-websockets \
+librtlsdr
SUBMENU:=kismet
VARIANT:=python3

View File

@ -23,6 +23,7 @@ define Package/kismet-capture-sdr-rtlamr
+python3-cffi \
+python3-numpy \
+python3-protobuf \
+python3-websockets \
+librtlsdr
SUBMENU:=kismet
VARIANT:=python3

View File

@ -11,7 +11,7 @@ define Package/kismet-capture-ti-cc2531
CATEGORY:=Network
TITLE:=Kismet TI CC2531 802.15.4 Capture Support
URL:=https://www.kismetwireless.net
DEPENDS:=+libpthread +libpcap +libnl +libcap +protobuf-lite +libprotobuf-c +libusb-1.0
DEPENDS:=+libpthread +libpcap +libnl +libcap +protobuf-lite +libprotobuf-c +libusb-1.0 +libwebsockets-full
SUBMENU:=kismet
endef
@ -25,14 +25,8 @@ define Build/Configure
endef
CONFIGURE_ARGS += \
--enable-capture-tools-only \
--sysconfdir=/etc/kismet \
--bindir=/usr/bin \
--disable-python-tools \
--with-protoc=$(STAGING_DIR_HOSTPKG)/bin/protoc \
--enable-protobuflite \
--disable-element-typesafety \
--disable-debuglibs
$(CONFIGURE_OPTS) \
--enable-capture-tools-only
# Override libs to force lpthread because we don't detect it properly on openwrt
CONFIGURE_VARS += \

View File

@ -11,7 +11,7 @@ define Package/kismet-capture-ti-cc2540
CATEGORY:=Network
TITLE:=Kismet TI CC2540 BTLE Capture Support
URL:=https://www.kismetwireless.net
DEPENDS:=+libpthread +libpcap +libnl +libcap +protobuf-lite +libprotobuf-c +libusb-1.0
DEPENDS:=+libpthread +libpcap +libnl +libcap +protobuf-lite +libprotobuf-c +libusb-1.0 +libwebsockets-full
SUBMENU:=kismet
endef
@ -25,14 +25,9 @@ define Build/Configure
endef
CONFIGURE_ARGS += \
--enable-capture-tools-only \
--sysconfdir=/etc/kismet \
--bindir=/usr/bin \
--disable-python-tools \
--with-protoc=$(STAGING_DIR_HOSTPKG)/bin/protoc \
--enable-protobuflite \
--disable-element-typesafety \
--disable-debuglibs
$(CONFIGURE_OPTS) \
--disable-libusb \
--enable-capture-tools-only
# Override libs to force lpthread because we don't detect it properly on openwrt
CONFIGURE_VARS += \

View File

@ -1,14 +1,24 @@
PKG_VERSION:=2020-09-R1
PKG_VERSION:=2020-12-R3
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/kismetwireless/kismet.git
PKG_SOURCE_VERSION:=f2b914ee3089ba5b4d18408cee1a73fe0072e78d
PKG_SOURCE_VERSION:=kismet-2020-12-R3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_USE_MIPS16:=0
HOST_BUILD_DEPENDS:=protobuf/host
PKG_BUILD_DEPENDS:=protobuf-c/host
CONFIGURE_OPTS := \
--sysconfdir=/etc/kismet \
--bindir=/usr/bin \
--disable-python-tools \
--with-protoc=$(STAGING_DIR_HOSTPKG)/bin/protoc \
--enable-protobuflite \
--disable-element-typesafety \
--disable-debuglibs \
--disable-libcap \
--disable-libwebsockets

View File

@ -3,18 +3,22 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=kismet
PKG_BUILD_PARALLEL:=1
HOST_BUILD_PARALLEL:=1
HOST_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS += protobuf/host
include ../kismet.mk
include $(INCLUDE_DIR)/package.mk
# We need libwebsockets 3.2 or higher, which apparently is nonfunctional on openwrt
define Package/kismet
SECTION:=net
CATEGORY:=Network
TITLE:=Kismet 2020
URL:=https://www.kismetwireless.net/
DEPENDS:=+libpthread +libpcap +libpcre +libmicrohttpd +libstdcpp +libncurses +libsqlite3 +zlib +protobuf-lite +libprotobuf-c
DEPENDS:=+libpthread +libpcap +libpcre +libstdcpp +libncurses +libsqlite3 +zlib +protobuf-lite +libprotobuf-c +libsensors
SUBMENU:=kismet
endef
@ -27,15 +31,8 @@ define Build/Configure
endef
CONFIGURE_ARGS += \
--sysconfdir=/etc/kismet \
--bindir=/usr/bin \
--disable-python-tools \
--with-protoc=$(STAGING_DIR_HOSTPKG)/bin/protoc \
--enable-protobuflite \
--disable-element-typesafety \
--disable-libusb \
--disable-debuglibs \
--disable-libcap
$(CONFIGURE_OPTS) \
--disable-libusb
# Override libs to force lpthread because we don't detect it properly on openwrt
CONFIGURE_VARS += \

View File

@ -0,0 +1,37 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python3-websockets
PKG_VERSION:=8.1
PKG_RELEASE:=1
PKG_SOURCE:=websockets-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/w/websockets/
PKG_HASH:=5c65d2da8c6bce0fca2528f69f44b2f977e06954c8512a952222cea50dad430f
PKG_BUILD_DIR:=$(BUILD_DIR)/websockets-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/python/python-package.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
define Package/python3-websockets
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Websockets
URL:=https://pypi.org/project/websockets/
DEPENDS:= \
+python3-light \
+python3-setuptools
VARIANT:=python3
endef
define Package/python3-websockets/description
Websockets implementation for python3
endef
$(eval $(call Py3Package,python3-websockets))
$(eval $(call BuildPackage,python3-websockets))
$(eval $(call BuildPackage,python3-websockets-src))