package/openssh: allow separate selection of client, server, keyutils
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Mon, 4 May 2020 10:55:52 +0000 (12:55 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 9 May 2020 20:05:46 +0000 (22:05 +0200)
commitf37a5438affc0207cd44d93708cf2f424eee7eac
tree7098d4190ff39c108b5b87ab69f36807e5a5f135
parent3832536115d9d48fe393202f5758a1eb1a26a4e6
package/openssh: allow separate selection of client, server, keyutils

The openssh package comprises three separate entities: the SSH client, SSH
server, and some SSH key utilities. One may want the client but not the
server, the server but not the client, or maybe only the key utilities.

Add separate options for each entity and update the files installed on
target accordingly.

On an ARM Cortex-A53 configuration, size of stripped binaries are:

Client programs: 2213118 bytes (2161 KB)
usr/bin/ssh,657180
usr/bin/scp,99836
usr/bin/ssh-add,312800
usr/bin/ssh-agent,296428
usr/libexec/ssh-keysign,398908
usr/libexec/ssh-pkcs11-helper,292316
usr/bin/sftp,144992
usr/bin/ssh-copy-id,10658

Server programs: 806840 bytes (787 KB)
usr/libexec/sftp-server,112140
usr/sbin/sshd,694168
etc/init.d/S50sshd,532

Key utilities: 789648 bytes (771 KB)
usr/bin/ssh-keygen,398924
usr/bin/ssh-keyscan,390724

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/openssh/Config.in
package/openssh/openssh.mk