From a87851451348944d68ce494d25c2932279e1cf45 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 21 Apr 2019 15:21:36 +0200 Subject: [PATCH] baresip: amend file permissions The files in /usr/share/baresip are all read-only anyway, so INSTALL_DATA can be used. Use it as well for the included (default) modules, otherwise they'll have different permissions than the extra modules. Signed-off-by: Sebastian Kemper --- net/baresip/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/baresip/Makefile b/net/baresip/Makefile index 68ce376..af40b02 100644 --- a/net/baresip/Makefile +++ b/net/baresip/Makefile @@ -118,11 +118,11 @@ define Package/baresip/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/baresip $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/lib/baresip/modules - $(INSTALL_BIN) \ + $(INSTALL_DATA) \ $(PKG_INSTALL_DIR)/usr/lib/baresip/modules/{account,auloop,contact,ice,menu,stun,turn}.so \ $(1)/usr/lib/baresip/modules $(INSTALL_DIR) $(1)/usr/share/baresip - $(CP) $(PKG_INSTALL_DIR)/usr/share/baresip/* $(1)/usr/share/baresip + $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/baresip/* $(1)/usr/share/baresip $(INSTALL_DIR) $(1)/etc/baresip $(INSTALL_CONF) $(PKG_BUILD_DIR)/docs/examples/{accounts,config,contacts} $(1)/etc/baresip $(INSTALL_DIR) $(1)/etc/default -- 2.30.2