mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-18 10:11:20 +01:00
------------------------------------------------------------------------------- * 3f6f5e5 Merge branch 'processes' into devel refs #14911 * 577c1cc remove unused variables * 4671b7e fix variable types * 8197d37 proper error check for asprintf and fscanf * da1eac1 remove unused variable fstat * 113c20c use a single place for adding the values to the blobmsg * b8816fe fix coding style according to checkpatch.pl * 7ffd38e Add priority and cputime to ubus router.system processes ------------------------------------------------------------------------------- commit 3f6f5e56ebd11862c0255a05e733f7fe08e1ceb0 Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com> Date: 2018-06-13 16:18:51 +0200 Merge branch 'processes' into devel refs #14911 Base directory -> / system.c | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) ------------------------------------------------------------------------------- commit 577c1cc78d3eeb062b4374e5b9837e34b1c0cfcd Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com> Date: 2018-06-13 16:11:38 +0200 remove unused variables Base directory -> / system.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ------------------------------------------------------------------------------- commit 4671b7e0fefc30040163e24dc93ef7431fc4fc11 Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com> Date: 2018-06-13 16:01:56 +0200 fix variable types Base directory -> / system.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit 8197d375cf4fc6fc16aaf0b098acfbfe2847f550 Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com> Date: 2018-06-13 14:57:22 +0200 proper error check for asprintf and fscanf Base directory -> / system.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) ------------------------------------------------------------------------------- commit da1eac1b23f7837c9d9ac7b0afe0feb7ec583bdb Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com> Date: 2018-06-13 14:42:46 +0200 remove unused variable fstat Base directory -> / system.c | 1 - 1 file changed, 1 deletion(-) ------------------------------------------------------------------------------- commit 113c20cba53c9272538e4d883ce759b0e0a01c2e Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com> Date: 2018-06-13 14:41:12 +0200 use a single place for adding the values to the blobmsg Base directory -> / system.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) ------------------------------------------------------------------------------- commit b8816fee3bf0f0ed2db3fd5147049345887b8e01 Author: Ionuț-Alex Oprea <ionutalexoprea@gmail.com> Date: 2018-06-13 14:27:03 +0200 fix coding style according to checkpatch.pl Base directory -> / system.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) ------------------------------------------------------------------------------- commit 7ffd38eec42ece3e8f4c86105930e304f5ed7f72 Author: Omar Kallel <omar.kallel@pivasoftware.com> Date: 2018-06-13 12:02:32 +0100 Add priority and cputime to ubus router.system processes Base directory -> / system.c | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 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:=3f6f5e56ebd11862c0255a05e733f7fe08e1ceb0
|
|
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),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:swconfig +TARGET_iopsys_ramips: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))
|