diff options
| author | Sebastian Kemper | 2019-04-21 13:21:36 +0000 |
|---|---|---|
| committer | Sebastian Kemper | 2019-04-21 13:21:39 +0000 |
| commit | a87851451348944d68ce494d25c2932279e1cf45 (patch) | |
| tree | af9723d2dfd603627c6c31ae4e5e8c99dc0ccd25 | |
| parent | c6509afd2bb31df156394c50ac3ba4e4c9604564 (diff) | |
| download | telephony-a87851451348944d68ce494d25c2932279e1cf45.tar.gz | |
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 <sebastian_ml@gmx.net>
| -rw-r--r-- | net/baresip/Makefile | 4 |
1 files 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 |