openssh: strip openssh-sftp-server dependencies, notably openssl 36/head
authorCatalin Patulea <cat@vv.carleton.ca>
Sat, 14 Jun 2014 05:13:47 +0000 (01:13 -0400)
committerCatalin Patulea <cat@vv.carleton.ca>
Tue, 17 Jun 2014 01:29:56 +0000 (21:29 -0400)
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

index 459b7d7a552bc32a867c3b886d5d88b8f569ed7d..3166ce204201e9fb39080d2b87a2c7323edab018 100644 (file)
@@ -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