mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
wfadatad: 7.0.1
This commit is contained in:
parent
8c867fc829
commit
42db3eaf5d
2 changed files with 8 additions and 30 deletions
|
|
@ -1,9 +1,4 @@
|
|||
if PACKAGE_wfadatad || PACKAGE_wfadatad-collector
|
||||
menu "configurations"
|
||||
|
||||
config WFA_DELM_STANDALONE
|
||||
bool "Build as standalone daemon instead of a plugin"
|
||||
default y
|
||||
menu "Configuration"
|
||||
|
||||
config WFA_DELM_MULTIAP_MODE
|
||||
bool "Enable Multi-AP mode"
|
||||
|
|
@ -13,4 +8,3 @@ config WIFI_DELM_DEBUG
|
|||
bool "Enable debug logs"
|
||||
default n
|
||||
endmenu
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=wfadatad
|
||||
PKG_VERSION:=6.12.2
|
||||
PKG_VERSION:=7.0.1
|
||||
|
||||
LOCAL_DEV=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=090f5e7c3a379cc46b3473d997a7aaee6b255000
|
||||
PKG_SOURCE_VERSION:=6e4055202952311774680793a1b46224e44c997f
|
||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/wfadatad.git
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
PKG_MIRROR_HASH:=skip
|
||||
|
|
@ -25,9 +25,9 @@ include $(INCLUDE_DIR)/package.mk
|
|||
define Package/wfadatad
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=WiFi DataElements Agent
|
||||
TITLE:=WiFi DataElements Agent (standalone) daemon
|
||||
DEPENDS:=+libwifi +libuci +libubox +ubus +libpthread +libnl-genl \
|
||||
+!WFA_DELM_STANDALONE:map-agent +libieee1905 +map-plugin
|
||||
@(!PACKAGE_map-agent) +libieee1905 +map-plugin
|
||||
endef
|
||||
|
||||
define Package/wfadatad/description
|
||||
|
|
@ -37,24 +37,20 @@ endef
|
|||
define Package/wfadatad-collector
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=WiFi DataElements Collector
|
||||
TITLE:=WiFi DataElements Collector Proxy
|
||||
DEPENDS:=+libuci +libubox +ubus +libpthread +libnl-genl \
|
||||
+libieee1905 +map-plugin
|
||||
endef
|
||||
|
||||
define Package/wfadatad-collector/description
|
||||
It implements WiFi DataElement Collector.
|
||||
It implements the WiFi DataElements Collector Proxy component.
|
||||
endef
|
||||
|
||||
|
||||
define Package/wfadatad/config
|
||||
define Package/wfadatad-collector/config
|
||||
source "$(SOURCE)/Config.in"
|
||||
endef
|
||||
|
||||
ifeq ($(CONFIG_WFA_DELM_STANDALONE),y)
|
||||
MAKE_FLAGS += CONFIG_WFA_DELM_STANDALONE=y
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring ALPHA,$(CONFIG_VERSION_CODE)))
|
||||
MAKE_FLAGS += DEBUG=1
|
||||
endif
|
||||
|
|
@ -85,29 +81,17 @@ MAKE_FLAGS += EXECS="$(EXECS)"
|
|||
|
||||
|
||||
define Package/wfadatad/install
|
||||
|
||||
ifeq ($(CONFIG_WFA_DELM_STANDALONE),y)
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) ./files/deagent.init $(1)/etc/init.d/deagent
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/agent/deagent $(1)/usr/sbin/
|
||||
else
|
||||
$(INSTALL_DIR) $(1)/usr/lib/map-plugins
|
||||
$(CP) $(PKG_BUILD_DIR)/src/agent/deagent.so $(1)/usr/lib/map-plugins
|
||||
endif
|
||||
endef
|
||||
|
||||
define Package/wfadatad-collector/install
|
||||
|
||||
ifeq ($(CONFIG_WFA_DELM_STANDALONE),y)
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) ./files/decollector.init $(1)/etc/init.d/decollector
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/collector/decollector $(1)/usr/sbin/
|
||||
else
|
||||
$(INSTALL_DIR) $(1)/usr/lib/map-plugins
|
||||
$(CP) $(PKG_BUILD_DIR)/src/collector/decollector.so $(1)/usr/lib/map-plugins
|
||||
endif
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,wfadatad))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue