mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
-------------------------------------------------------------------------------
* d554541 added Idle support for processs state
* 5ef2891 Questd network module tests
* 435c348 network: increment max client to 256
-------------------------------------------------------------------------------
commit d554541ac6fb8ef14431fcec9a31dbcb52181279
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date: 2020-12-23 15:17:00 +0100
added Idle support for processs state
Base directory -> /
system/system.c | 2 ++
1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 5ef2891e3ab55e42a5f84af4f678ec5b8e2d6a17
Author: Ozan Tanfener <ozan.tanfener@iopsys.eu>
Date: 2020-09-18 15:11:56 +0200
Questd network module tests
Base directory -> /
.gitignore | 3 +-
.gitlab-ci.yml | 40 +-
CMakeLists.txt | 2 +-
cmake/modules/FindJSON-EDITOR.cmake | 35 ++
docs/api/router.network.md | 492 +++++++++++++++
docs/api/router.system.md | 823 ++++++++++++++++++++++++++
docs/functionspec.md | 99 ++++
docs/testspec.md | 210 +++++++
docs/ubus.splash.md | 5 +
gitlab-ci/functional-api-test.sh | 23 +
gitlab-ci/functional-test.sh | 19 +
gitlab-ci/install-dependencies.sh | 40 ++
gitlab-ci/iopsys-supervisord.conf | 8 +
gitlab-ci/setup.sh | 45 ++
network/network.c | 274 ++++-----
schemas/router.network.json | 138 +++++
schemas/router.system.json | 22 +-
supervisord.conf | 11 -
test/CMakeLists.txt | 47 --
test/api/json/router.network.validation.json | 9 +
test/cmocka/CMakeLists.txt | 44 ++
test/{ => cmocka}/db-setup.sh | 0
test/cmocka/files/etc/config/dhcp | 48 ++
test/cmocka/files/etc/config/network | 46 ++
test/cmocka/files/etc/config/wireless | 55 ++
test/cmocka/files/etc/wifi.json | 13 +
test/cmocka/files/odhcpd | 4 +
test/cmocka/files/var/dhcp.client.options | 3 +
test/cmocka/files/var/dhcp.leases | 3 +
test/cmocka/network_tests.c | 231 ++++++++
test/cmocka/network_tests.h | 16 +
test/{system-test.c => cmocka/system_tests.c} | 0
tools.c | 2 +-
33 files changed, 2594 insertions(+), 216 deletions(-)
-------------------------------------------------------------------------------
commit 435c34859a36ff09813b19f9f7220db3f08c19af
Author: Sukru Senli <sukru.senli@iopsys.eu>
Date: 2020-09-08 16:28:28 +0200
network: increment max client to 256
Base directory -> /
network/network.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
44 lines
1,009 B
Makefile
44 lines
1,009 B
Makefile
#
|
|
# Copyright (C) 2013-2020 iopsys
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=questd
|
|
PKG_VERSION:=5.2.1
|
|
|
|
PKG_SOURCE_VERSION:=d554541ac6fb8ef14431fcec9a31dbcb52181279
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/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)
|
|
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
PKG_INSTALL:=
|
|
|
|
define Package/questd
|
|
CATEGORY:=Utilities
|
|
DEPENDS:=+libuci +libubox +ubus +libpthread
|
|
TITLE:=Router information 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/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,questd))
|