summaryrefslogtreecommitdiffstats
path: root/openwrt/package/openssh/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-07 15:46:28 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-07 15:46:28 +0000
commitabb5d01e009347b3a3eb73039ec64da890081856 (patch)
tree4636b59ae5cdee1b00aefb1aa11ece8ac6030448 /openwrt/package/openssh/Makefile
parentfac72bfbb0b5d10b4906b0ebdddc0389d309c3b8 (diff)
fix wrong permissions on /etc (fixes from [3327])
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3328 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/openssh/Makefile')
-rw-r--r--openwrt/package/openssh/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/openwrt/package/openssh/Makefile b/openwrt/package/openssh/Makefile
index 1dca669fe..a720de7b8 100644
--- a/openwrt/package/openssh/Makefile
+++ b/openwrt/package/openssh/Makefile
@@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openssh
PKG_VERSION:=4.2p1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_MD5SUM:=df899194a340c933944b193477c628fa
PKG_SOURCE_URL:=ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \
@@ -80,7 +80,8 @@ $(PKG_BUILD_DIR)/.built:
touch $@
$(IPKG_OPENSSH_CLIENT):
- install -m0700 -d $(IDIR_OPENSSH_CLIENT)/etc/ssh
+ install -m0755 -d $(IDIR_OPENSSH_CLIENT)/etc/ssh
+ chmod 0700 $(IDIR_OPENSSH_CLIENT)/etc/ssh
$(CP) $(PKG_INSTALL_DIR)/etc/ssh/ssh_config $(IDIR_OPENSSH_CLIENT)/etc/ssh/
install -m0755 -d $(IDIR_OPENSSH_CLIENT)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ssh $(IDIR_OPENSSH_CLIENT)/usr/bin/
@@ -97,7 +98,8 @@ $(IPKG_OPENSSH_CLIENT_UTILS):
$(IPKG_BUILD) $(IDIR_OPENSSH_CLIENT_UTILS) $(PACKAGE_DIR)
$(IPKG_OPENSSH_SERVER):
- install -m0700 -d $(IDIR_OPENSSH_SERVER)/etc/ssh
+ install -m0755 -d $(IDIR_OPENSSH_SERVER)/etc/ssh
+ chmod 0700 $(IDIR_OPENSSH_SERVER)/etc/ssh
$(CP) $(PKG_INSTALL_DIR)/etc/ssh/sshd_config $(IDIR_OPENSSH_SERVER)/etc/ssh/
install -m0755 -d $(IDIR_OPENSSH_SERVER)/etc/init.d
install -m0755 ./files/S50sshd $(IDIR_OPENSSH_SERVER)/etc/init.d/