aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-09-18 18:32:17 -0700
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2018-09-19 09:41:28 +0100
commit7651e254d5f17ba1f3cf16065b4fa1e5f4a3a3f6 (patch)
tree229c1176e207e4363b2aaf8ed0bd0b6d5f3bfb8d /package/network/services
parentadd4871582e185c1f7a8bcfc6a4c044430b40358 (diff)
downloadupstream-7651e254d5f17ba1f3cf16065b4fa1e5f4a3a3f6.tar.gz
upstream-7651e254d5f17ba1f3cf16065b4fa1e5f4a3a3f6.tar.bz2
upstream-7651e254d5f17ba1f3cf16065b4fa1e5f4a3a3f6.zip
dropbear: Install /etc/config as 600
/etc/config/dropbear is used by the init script which only runs as root. Small whitespace change. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/network/services')
-rw-r--r--package/network/services/dropbear/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile
index 61136606ad..460c38dc2a 100644
--- a/package/network/services/dropbear/Makefile
+++ b/package/network/services/dropbear/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dropbear
PKG_VERSION:=2017.75
-PKG_RELEASE:=7
+PKG_RELEASE:=8
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:= \
@@ -61,7 +61,7 @@ endef
define Package/dropbear/conffiles
/etc/dropbear/dropbear_rsa_host_key
-/etc/config/dropbear
+/etc/config/dropbear
endef
define Package/dropbearconvert
@@ -138,7 +138,7 @@ define Package/dropbear/install
$(LN) ../sbin/dropbear $(1)/usr/bin/dbclient
$(LN) ../sbin/dropbear $(1)/usr/bin/dropbearkey
$(INSTALL_DIR) $(1)/etc/config
- $(INSTALL_DATA) ./files/dropbear.config $(1)/etc/config/dropbear
+ $(INSTALL_CONF) ./files/dropbear.config $(1)/etc/config/dropbear
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/dropbear.init $(1)/etc/init.d/dropbear
$(INSTALL_DIR) $(1)/usr/lib/opkg/info