From b13029c9e6de9dd75ab6fc2be48bd0c54ab59f84 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Mon, 9 Apr 2018 22:57:15 +0200 Subject: [PATCH] asterisk-15.x: remove underscores from package names Underscores should not be used in package base names as they're used as semantic separators by opkg. Signed-off-by: Sebastian Kemper --- net/asterisk-15.x/Makefile | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/net/asterisk-15.x/Makefile b/net/asterisk-15.x/Makefile index ed870b2..614f155 100644 --- a/net/asterisk-15.x/Makefile +++ b/net/asterisk-15.x/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=asterisk15 PKG_VERSION:=15.2.2 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/asterisk/releases @@ -53,7 +53,7 @@ MODULES_AVAILABLE:= \ app-controlplayback \ app-dahdiras \ app-dictate \ - app-directed_pickup \ + app-directed-pickup \ app-directory \ app-disa \ app-dumpchan \ @@ -316,7 +316,7 @@ AST_ENABLE:= PKG_CONFIG_DEPENDS:= \ $(patsubst %,CONFIG_PACKAGE_$(PKG_NAME)-%,$(MODULES_AVAILABLE)) \ - $(patsubst %,CONFIG_PACKAGE_$(PKG_NAME)-util-%,$(UTILS_AVAILABLE)) \ + $(patsubst %,CONFIG_PACKAGE_$(PKG_NAME)-util-%,$(subst _,-,$(UTILS_AVAILABLE))) \ CONFIG_ASTERISK15_LOW_MEMORY include $(INCLUDE_DIR)/uclibc++.mk @@ -386,29 +386,29 @@ $(foreach b,$(8),$(call Package/asterisk15/install/sbin,$$(1),$(b));) endef define BuildAsterisk15Util - define Package/asterisk15-util-$(1) + define Package/asterisk15-util-$(subst _,-,$(1)) $$(call Package/asterisk15/Default) TITLE:=$(1) utility - DEPENDS:=asterisk15 $(patsubst +%,+PACKAGE_asterisk15-util-$(1):%,$(3)) - ifneq ($$(CONFIG_PACKAGE_asterisk15-util-$(1)),) + DEPENDS:=asterisk15 $(patsubst +%,+PACKAGE_asterisk15-util-$(subst _,-,$(1)):%,$(3)) + ifneq ($$(CONFIG_PACKAGE_asterisk15-util-$(subst _,-,$(1))),) AST_ENABLE+=$(1) endif endef - define Package/asterisk15-util-$(1)/conffiles + define Package/asterisk15-util-$(subst _,-,$(1))/conffiles $(subst $(space),$(newline),$(foreach c,$(4),/etc/$(c))) endef - define Package/asterisk15-util-$(1)/description + define Package/asterisk15-util-$(subst _,-,$(1))/description $(2) endef - define Package/asterisk15-util-$(1)/install + define Package/asterisk15-util-$(subst _,-,$(1))/install $(call Package/asterisk15/install/sbin,$$(1),$(1)) $(foreach c,$(4),$(call Package/asterisk15/install/util-conffile,$$(1),$(c));) endef - $$(eval $$(call BuildPackage,asterisk15-util-$(1))) + $$(eval $$(call BuildPackage,asterisk15-util-$(subst _,-,$(1)))) endef define Package/asterisk15/Default @@ -756,7 +756,7 @@ $(eval $(call BuildAsterisk15Module,app-confbridge,ConfBridge,Software bridge fo $(eval $(call BuildAsterisk15Module,app-controlplayback,Control playback,trivial application to control playback of a sound file,,,app_controlplayback,,)) $(eval $(call BuildAsterisk15Module,app-dahdiras,Execute an ISDN RAS,support for executing an ISDN RAS using DAHDI,+asterisk15-chan-dahdi,,app_dahdiras,,)) $(eval $(call BuildAsterisk15Module,app-dictate,Virtual dictation machine,virtual dictation machine application,,,app_dictate,,)) -$(eval $(call BuildAsterisk15Module,app-directed_pickup,Directed call pickup,support for directed call pickup,,,app_directed_pickup,,)) +$(eval $(call BuildAsterisk15Module,app-directed-pickup,Directed call pickup,support for directed call pickup,,,app_directed_pickup,,)) $(eval $(call BuildAsterisk15Module,app-directory,Extension directory,provide a directory of extensions,,,app_directory,,)) $(eval $(call BuildAsterisk15Module,app-disa,Direct Inward System Access,Direct Inward System Access,,,app_disa,,)) $(eval $(call BuildAsterisk15Module,app-dumpchan,Dump info about channel,application to dump channel variables,,,app_dumpchan,,)) -- 2.30.2