aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/samba36
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-09-19 12:03:29 -0700
committerJohn Crispin <john@phrozen.org>2018-10-11 08:06:18 +0200
commitf5ddbd695bcfb8ae8f8c681767beb6ee9770695d (patch)
treef62fa2dc6a37389153d8f9c1a9103dd9d6b4977e /package/network/services/samba36
parent745c3acd6476a89995b812c319abea9f3af08eb0 (diff)
downloadupstream-f5ddbd695bcfb8ae8f8c681767beb6ee9770695d.tar.gz
upstream-f5ddbd695bcfb8ae8f8c681767beb6ee9770695d.tar.bz2
upstream-f5ddbd695bcfb8ae8f8c681767beb6ee9770695d.zip
samba36: Install several config files as 600
Hotplug is managed by procd, which runs as root. The other files are used by root as well. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/network/services/samba36')
-rw-r--r--package/network/services/samba36/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/network/services/samba36/Makefile b/package/network/services/samba36/Makefile
index b4322f04f4..d38e942074 100644
--- a/package/network/services/samba36/Makefile
+++ b/package/network/services/samba36/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=samba
PKG_VERSION:=3.6.25
-PKG_RELEASE:=12
+PKG_RELEASE:=13
PKG_SOURCE_URL:=https://download.samba.org/pub/samba \
https://download.samba.org/pub/samba/stable
@@ -154,7 +154,7 @@ define Package/samba36-server/install
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/samba.config $(1)/etc/config/samba
$(INSTALL_DIR) $(1)/etc/samba
- $(INSTALL_DATA) ./files/smb.conf.template $(1)/etc/samba
+ $(INSTALL_CONF) ./files/smb.conf.template $(1)/etc/samba
$(INSTALL_DATA) $(PKG_BUILD_DIR)/codepages/lowcase.dat $(1)/etc/samba
$(INSTALL_DATA) $(PKG_BUILD_DIR)/codepages/upcase.dat $(1)/etc/samba
$(INSTALL_DATA) $(PKG_BUILD_DIR)/codepages/valid.dat $(1)/etc/samba
@@ -169,9 +169,9 @@ endef
define Package/samba36-hotplug/install
$(INSTALL_DIR) $(1)/lib/samba
- $(INSTALL_DATA) ./files/lib/samba.sh $(1)/lib/samba/samba.sh
+ $(INSTALL_CONF) ./files/lib/samba.sh $(1)/lib/samba/samba.sh
$(INSTALL_DIR) $(1)/etc/hotplug.d/block
- $(INSTALL_DATA) ./files/samba.hotplug $(1)/etc/hotplug.d/block/60-samba
+ $(INSTALL_CONF) ./files/samba.hotplug $(1)/etc/hotplug.d/block/60-samba
endef
define Package/samba36-client/install