From 911339603261fb475e2bd126766626474b001697 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 11 Feb 2018 22:30:16 +0100 Subject: [PATCH] kamailio-5.x: add kambdb_recover utility The recently added mod-db-berkeley comes with a companion utility. Package kambdb_recover so it becomes available. Signed-off-by: Sebastian Kemper --- net/kamailio-5.x/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/net/kamailio-5.x/Makefile b/net/kamailio-5.x/Makefile index 79ff311..5abdb6d 100644 --- a/net/kamailio-5.x/Makefile +++ b/net/kamailio-5.x/Makefile @@ -91,6 +91,20 @@ define Package/kamailio5/install/module $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/kamailio/modules/$(2).so* $(1)/usr/lib/kamailio/modules/ endef +define Package/kamailio5-kambdb_recover +$(call Package/kamailio5/Default) + SECTION:=utils + CATEGORY:=Utilities + TITLE:=kamailio5 kambdb_recover + DEPENDS:=kamailio5 +PACKAGE_kamailio5-kambdb_recover:kamailio5-mod-db-berkeley +endef + +define Package/kamailio5-kambdb_recover/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/kambdb_recover \ + $(1)/usr/sbin/kambdb_recover +endef + define Package/kamailio5-libkamailio-ims $(call Package/kamailio5/Default) SECTION:=lib @@ -194,6 +208,7 @@ define Build/Compile endef $(eval $(call BuildPackage,kamailio5)) +$(eval $(call BuildPackage,kamailio5-kambdb_recover)) $(eval $(call BuildPackage,kamailio5-libkamailio-ims)) $(eval $(call BuildPackage,kamailio5-libtrie))