mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-19 02:31:30 +01:00
-------------------------------------------------------------------------------
* 8a07e7a graphd: some cleanup + move blob_buf to local variables
* 5834e24 graphd: fixed broken client_traffic call
* 065369f graphd: refactoring background thread to use dynamic lists
-------------------------------------------------------------------------------
commit 8a07e7aa03410880e0efebe5efe9b70f30dd8141
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-17 15:18:02 +0100
graphd: some cleanup + move blob_buf to local variables
Base directory -> /
graphd.c | 127 ++++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 62 deletions(-)
-------------------------------------------------------------------------------
commit 5834e24c02025ac8891156abbc9a17369ae2ce74
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-17 15:15:51 +0100
graphd: fixed broken client_traffic call
Base directory -> /
graphd.c | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 065369fbc985b5d983ca5ad0ddf28b73c47d57f3
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2018-01-17 13:26:42 +0100
graphd: refactoring background thread to use dynamic lists
Base directory -> /
graphd.c | 383 ++++++++++++++++++++++++++++++++++++++++-----------------------
1 file changed, 242 insertions(+), 141 deletions(-)
-------------------------------------------------------------------------------
66 lines
1.9 KiB
Makefile
66 lines
1.9 KiB
Makefile
#
|
|
# Copyright (C) 2013 Inteno
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=questd
|
|
PKG_VERSION:=3.1.40
|
|
|
|
PKG_SOURCE_VERSION:=8a07e7aa03410880e0efebe5efe9b70f30dd8141
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=http://public.inteno.se:/questd
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_mips),y)
|
|
QUESTD_TARGET:=-DIOPSYS_BROADCOM
|
|
KERNEL_DIR:=$(BUILD_DIR)/bcmkernel/bcm963xx
|
|
else ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
|
|
QUESTD_TARGET:=-DIOPSYS_BROADCOM
|
|
else ifeq ($(CONFIG_TARGET_iopsys_linksys),y)
|
|
QUESTD_TARGET:=-DIOPSYS_MARVELL
|
|
else ifeq ($(CONFIG_TARGET_lantiq_xrx500),y)
|
|
QUESTD_TARGET:=-DIOPSYS_LANTIQ
|
|
else ifeq ($(CONFIG_TARGET_iopsys_ramips_ex400),y)
|
|
QUESTD_TARGET:=-DIOPSYS_MEDIATEK
|
|
QUESTD_CFLAGS:=\
|
|
-I$(STAGING_DIR)/usr/include \
|
|
-I$(STAGING_DIR)/usr/include/libnl-tiny
|
|
else
|
|
$(info (UNEXPECTED CONFIG TARGET))
|
|
endif
|
|
QUESTD_CFLAGS:=$(QUESTD_CFLAGS) $(QUESTD_TARGET)
|
|
|
|
export QUESTD_TARGET
|
|
export KERNEL_DIR
|
|
export QUESTD_CFLAGS
|
|
|
|
define Package/questd
|
|
CATEGORY:=Utilities
|
|
DEPENDS:=+libuci +libubox +ubus +libpthread +(TARGET_iopsys_ramips_ex400):swconfig +(TARGET_iopsys_ramips_ex400):libnl-tiny +libopenssl
|
|
TITLE:=router info daemon
|
|
endef
|
|
|
|
define Package/questd/description
|
|
questd collects system and network information and presents
|
|
this information via ubus
|
|
endef
|
|
|
|
define Package/questd/install
|
|
$(CP) ./files/* $(1)/
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/questd $(1)/sbin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wificontrol $(1)/sbin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/graphd $(1)/sbin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uproxyd $(1)/sbin/
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/netcheck $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,questd))
|