From 5c29fde85ca70ff53e3bf4051762b9bbcc8beefe Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 21 Apr 2019 15:24:09 +0200 Subject: [PATCH] baresip: update default config This adds two (three, really) sed scripts to update the default configuration. All example accounts are getting disabled/commented. And the module_path is set to the actual path. Signed-off-by: Sebastian Kemper --- net/baresip/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/baresip/Makefile b/net/baresip/Makefile index af40b02..888fea9 100644 --- a/net/baresip/Makefile +++ b/net/baresip/Makefile @@ -124,6 +124,8 @@ define Package/baresip/install $(INSTALL_DIR) $(1)/usr/share/baresip $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/baresip/* $(1)/usr/share/baresip $(INSTALL_DIR) $(1)/etc/baresip + $(SED) '/^#/!s/^/#/' $(PKG_BUILD_DIR)/docs/examples/accounts + $(SED) '/^#module_path/s|^#||;s|/local||' $(PKG_BUILD_DIR)/docs/examples/config $(INSTALL_CONF) $(PKG_BUILD_DIR)/docs/examples/{accounts,config,contacts} $(1)/etc/baresip $(INSTALL_DIR) $(1)/etc/default $(INSTALL_CONF) ./files/baresip.default $(1)/etc/default/baresip -- 2.30.2