summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-03-07 15:46:28 +0000
committerNicolas Thill <nico@openwrt.org>2006-03-07 15:46:28 +0000
commit85261de46c606bb19c62704785fa9e4a18edb749 (patch)
treed70748fb216c7e1d901049afc7d0b345c41d85ab /openwrt/package
parent0b6d42a949e6e54e0c685066c63908b763c3f1f4 (diff)
downloadmtk-20170518-85261de46c606bb19c62704785fa9e4a18edb749.zip
mtk-20170518-85261de46c606bb19c62704785fa9e4a18edb749.tar.gz
mtk-20170518-85261de46c606bb19c62704785fa9e4a18edb749.tar.bz2
fix wrong permissions on /etc (fixes from [3327])
SVN-Revision: 3328
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/openssh/Makefile8
-rw-r--r--openwrt/package/openssl/Makefile5
2 files changed, 8 insertions, 5 deletions
diff --git a/openwrt/package/openssh/Makefile b/openwrt/package/openssh/Makefile
index 1dca669..a720de7 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/
diff --git a/openwrt/package/openssl/Makefile b/openwrt/package/openssl/Makefile
index f0b5431..0558db6 100644
--- a/openwrt/package/openssl/Makefile
+++ b/openwrt/package/openssl/Makefile
@@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openssl
PKG_VERSION:=0.9.8a
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_MD5SUM:=1d16c727c10185e4d694f87f5e424ee1
PKG_SOURCE_URL:=http://www.openssl.org/source/ \
@@ -72,7 +72,8 @@ $(IPKG_OPENSSL_UTIL):
install -d -m0755 $(IDIR_OPENSSL_UTIL)/etc/ssl
$(CP) $(PKG_INSTALL_DIR)/etc/ssl/openssl.cnf $(IDIR_OPENSSL_UTIL)/etc/ssl/
install -d -m0755 $(IDIR_OPENSSL_UTIL)/etc/ssl/certs
- install -d -m0700 $(IDIR_OPENSSL_UTIL)/etc/ssl/private
+ install -d -m0755 $(IDIR_OPENSSL_UTIL)/etc/ssl/private
+ chmod 0700 $(IDIR_OPENSSL_UTIL)/etc/ssl/private
install -d -m0755 $(IDIR_OPENSSL_UTIL)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/openssl $(IDIR_OPENSSL_UTIL)/usr/bin/
$(RSTRIP) $(IDIR_OPENSSL_UTIL)