mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
endptmngr: remove package
replaced by voicemngr
This commit is contained in:
parent
cc94b288d7
commit
de6c9598ba
3 changed files with 0 additions and 99 deletions
|
|
@ -1,4 +0,0 @@
|
||||||
|
|
||||||
config ENDPT_OPEN
|
|
||||||
bool "Use pre-compiled version for Open SDK"
|
|
||||||
default n
|
|
||||||
|
|
@ -1,68 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (C) 2018 IOPSYS Software Solutions AB
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
include $(TOPDIR)/rules.mk
|
|
||||||
|
|
||||||
PKG_NAME:=endptmngr
|
|
||||||
PKG_VERSION:=0.6
|
|
||||||
|
|
||||||
LOCAL_DEV=0
|
|
||||||
ifneq ($(LOCAL_DEV),1)
|
|
||||||
PKG_SOURCE_PROTO:=git
|
|
||||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/endptmngr.git
|
|
||||||
PKG_SOURCE_VERSION:=fb85081443c19b5062bede49c80b1802c0f05d34
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
||||||
PKG_MIRROR_HASH:=skip
|
|
||||||
endif
|
|
||||||
|
|
||||||
PKG_LICENSE:=PROPRIETARY
|
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
|
||||||
|
|
||||||
export BUILD_DIR
|
|
||||||
|
|
||||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
|
||||||
|
|
||||||
# All config variable that are passed to the make invocation, directly or
|
|
||||||
# indirectly. This ensures that the package is rebuilt on config-changes.
|
|
||||||
PKG_CONFIG_DEPENDS:=CONFIG_TARGET_BOARD
|
|
||||||
|
|
||||||
export CONFIG_BCM_CHIP_ID
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
|
||||||
|
|
||||||
define Package/endptmngr/config
|
|
||||||
source "$(SOURCE)/Config.in"
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/endptmngr
|
|
||||||
CATEGORY:=Utilities
|
|
||||||
TITLE:=Broadcom Voice Endpoint Manager
|
|
||||||
URL:=
|
|
||||||
DEPENDS:= +libubox +ubus +libpicoevent +uci +bcmkernel @TARGET_HAS_VOICE @BCM_VOICE
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/endptmngr/description
|
|
||||||
endptmngr
|
|
||||||
endef
|
|
||||||
|
|
||||||
ifeq ($(LOCAL_DEV),1)
|
|
||||||
define Build/Prepare
|
|
||||||
rsync -av --exclude=.* ~/git/endptmngr/* $(PKG_BUILD_DIR)/
|
|
||||||
endef
|
|
||||||
endif
|
|
||||||
|
|
||||||
TARGET_CFLAGS += \
|
|
||||||
-Wall \
|
|
||||||
-Werror
|
|
||||||
|
|
||||||
define Package/endptmngr/install
|
|
||||||
$(CP) ./files/* $(1)/
|
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/endptmngr $(1)/usr/sbin/
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,endptmngr))
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
#!/bin/sh /etc/rc.common
|
|
||||||
|
|
||||||
START=68
|
|
||||||
STOP=12
|
|
||||||
|
|
||||||
USE_PROCD=1
|
|
||||||
NAME=endptmngr
|
|
||||||
|
|
||||||
start_service() {
|
|
||||||
[ "$(db -q get hw.board.hasVoice)" = "1" ] || return
|
|
||||||
|
|
||||||
procd_open_instance
|
|
||||||
procd_set_param env hw_board_hasDect=$(db get hw.board.hasDect)
|
|
||||||
procd_set_param command $NAME
|
|
||||||
procd_set_param respawn "5" "0" "3"
|
|
||||||
procd_set_param nice -12
|
|
||||||
procd_close_instance
|
|
||||||
}
|
|
||||||
|
|
||||||
reload_service() {
|
|
||||||
stop
|
|
||||||
start
|
|
||||||
}
|
|
||||||
|
|
||||||
service_triggers() {
|
|
||||||
procd_add_reload_trigger asterisk
|
|
||||||
}
|
|
||||||
Loading…
Add table
Reference in a new issue