mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
icwmp: remove icwmp-tr098 subpackage
This commit is contained in:
parent
4ce6578aa7
commit
f431a3ddf5
2 changed files with 0 additions and 24 deletions
|
|
@ -32,14 +32,6 @@ CWMP_REVISION=$(shell svnversion ./src/ -n|cut -f2 -d:)
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/icwmp-tr098
|
|
||||||
SECTION:=utils
|
|
||||||
CATEGORY:=Utilities
|
|
||||||
SUBMENU:=TRx69
|
|
||||||
TITLE:=CWMP client for TR-098 Data Model
|
|
||||||
DEPENDS:=+PACKAGE_icwmp-tr098:libuci +PACKAGE_icwmp-tr098:libmicroxml +PACKAGE_icwmp-tr098:libubox +PACKAGE_icwmp-tr098:jshn +PACKAGE_icwmp-tr098:libubus +PACKAGE_icwmp-tr098:libblobmsg-json +PACKAGE_icwmp-tr098:libpthread +PACKAGE_icwmp-tr098:ubusd +PACKAGE_icwmp-tr098:shflags +PACKAGE_icwmp-tr098:getopt +PACKAGE_icwmp-tr098:zlib +PACKAGE_icwmp-tr098:libjson-c +PACKAGE_icwmp-tr098:libopenssl +PACKAGE_icwmp-tr098:curl +PACKAGE_icwmp-tr098:libcurl +PACKAGE_icwmp-tr098:libtr098
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/$(PKG_NAME)
|
define Package/$(PKG_NAME)
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
|
|
@ -66,11 +58,6 @@ endif
|
||||||
TARGET_CFLAGS += \
|
TARGET_CFLAGS += \
|
||||||
-D_GNU_SOURCE -D_AADJ
|
-D_GNU_SOURCE -D_AADJ
|
||||||
|
|
||||||
ifeq ($(CONFIG_PACKAGE_icwmp-tr098),y)
|
|
||||||
CONFIGURE_ARGS += \
|
|
||||||
--enable-icwmp_tr098
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(CWMP_REVISION)_,_)
|
ifneq ($(CWMP_REVISION)_,_)
|
||||||
ifneq ($(CWMP_REVISION),exported)
|
ifneq ($(CWMP_REVISION),exported)
|
||||||
ifneq ($(CWMP_REVISION),Unversioned directory)
|
ifneq ($(CWMP_REVISION),Unversioned directory)
|
||||||
|
|
@ -122,11 +109,6 @@ endif
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/icwmp-tr098/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
|
||||||
$(CP) $(PKG_BUILD_DIR)/bin/icwmp_tr098d $(1)/usr/sbin
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/postinst
|
define Package/$(PKG_NAME)/postinst
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ -z "$${IPKG_INSTROOT}" ]; then
|
if [ -z "$${IPKG_INSTROOT}" ]; then
|
||||||
|
|
@ -146,4 +128,3 @@ define Package/$(PKG_NAME)/prerm
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||||
$(eval $(call BuildPackage,icwmp-tr098))
|
|
||||||
|
|
@ -220,10 +220,5 @@ notify() {
|
||||||
|
|
||||||
service_triggers() {
|
service_triggers() {
|
||||||
procd_add_config_trigger "config.change" "cwmp" /etc/init.d/icwmpd reload
|
procd_add_config_trigger "config.change" "cwmp" /etc/init.d/icwmpd reload
|
||||||
if [ "$(uci -q get cwmp.cpe.notification)" == "1" ]; then
|
|
||||||
for conf in $(ls /etc/config/); do
|
|
||||||
procd_add_config_trigger "config.change" "$conf" /etc/init.d/icwmpd notify
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue