mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-05 08:50:43 +01:00
-------------------------------------------------------------------------------
* c547b76 port.c: added a check if input is valid in port status call
* cb4f134 port.c: fixed bug in port status for bridge
-------------------------------------------------------------------------------
commit c547b76a0995930ae4681c976189642ba1a248d2
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-03-06 10:28:19 +0100
port.c: added a check if input is valid in port status call
Base directory -> /
port.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
-------------------------------------------------------------------------------
commit cb4f13460c6f0c4e562ca7952aee98ed2bb4b81c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-03-06 10:27:33 +0100
port.c: fixed bug in port status for bridge
Base directory -> /
port.c | 28 +++++++++++++++++-----------
1 file changed, 17 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
60 lines
1.6 KiB
Makefile
60 lines
1.6 KiB
Makefile
#
|
|
# Copyright (C) 2013 Inteno
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=questd
|
|
PKG_VERSION:=3.1.35
|
|
|
|
PKG_SOURCE_VERSION:=c547b76a0995930ae4681c976189642ba1a248d2
|
|
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_CFLAGS:=-DIOPSYS_BROADCOM
|
|
KERNEL_DIR:=$(BUILD_DIR)/bcmkernel/bcm963xx
|
|
else ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
|
|
QUESTD_CFLAGS:=-DIOPSYS_BROADCOM
|
|
else ifeq ($(CONFIG_TARGET_iopsys_linksys),y)
|
|
QUESTD_CFLAGS:=-DIOPSYS_MARVELL
|
|
else ifeq ($(CONFIG_TARGET_lantiq_xrx500),y)
|
|
QUESTD_CFLAGS:=-DIOPSYS_LANTIQ
|
|
else
|
|
$(info (UNEXPECTED CONFIG TARGET))
|
|
endif
|
|
|
|
export KERNEL_DIR
|
|
export QUESTD_CFLAGS
|
|
|
|
define Package/questd
|
|
CATEGORY:=Utilities
|
|
DEPENDS:=+libuci +libubox +ubus +libpthread
|
|
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_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/netcheck $(1)/usr/bin/
|
|
$(INSTALL_DIR) $(1)/usr/libexec/rpcd
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/router.sh $(1)/usr/libexec/rpcd/router
|
|
#$(INSTALL_BIN) $(PKG_BUILD_DIR)/wps.sh $(1)/usr/libexec/rpcd/wps
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,questd))
|