Browse Source

shairport-sync: Install /etc/config as 600

/etc/config should not be readable by non-root.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 6 years ago
committed by GitHub
parent
commit
8547ce444d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      sound/shairport-sync/Makefile

+ 2
- 2
sound/shairport-sync/Makefile View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=shairport-sync PKG_NAME:=shairport-sync
PKG_VERSION:=3.2.1 PKG_VERSION:=3.2.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/mikebrady/shairport-sync.git PKG_SOURCE_URL:=https://github.com/mikebrady/shairport-sync.git
@ -113,7 +113,7 @@ define Package/shairport-sync/default/install
$(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/shairport-sync.init $(1)/etc/init.d/shairport-sync $(INSTALL_BIN) ./files/shairport-sync.init $(1)/etc/init.d/shairport-sync
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DATA) ./files/shairport-sync.config $(1)/etc/config/shairport-sync
$(INSTALL_CONF) ./files/shairport-sync.config $(1)/etc/config/shairport-sync
endef endef
Package/shairport-sync-openssl/install = $(Package/shairport-sync/default/install) Package/shairport-sync-openssl/install = $(Package/shairport-sync/default/install)


Loading…
Cancel
Save