From 99c6c3d830156ce13f415c698343353c477cd9f9 Mon Sep 17 00:00:00 2001 From: Catalin Patulea Date: Sat, 14 Jun 2014 01:13:47 -0400 Subject: [PATCH] openssh: strip openssh-sftp-server dependencies, notably openssl openssh-sftp-server is actually a tiny binary that has nearly no dependencies: $ mips-openwrt-linux-objdump -x sftp-server | grep NEEDED NEEDED libgcc_s.so.1 NEEDED libc.so.0 Stripping its DEPENDS allows building a system with SFTP support, without pulling in OpenSSL. --- net/openssh/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/net/openssh/Makefile b/net/openssh/Makefile index 459b7d7a55..3166ce2042 100644 --- a/net/openssh/Makefile +++ b/net/openssh/Makefile @@ -121,6 +121,7 @@ endef define Package/openssh-sftp-server $(call Package/openssh/Default) TITLE+= SFTP server + DEPENDS:= endef define Package/openssh-sftp-server/description