package/tinyssh: new package

TinySSH is a minimalistic SSH server which implements only a subset of
SSHv2 features.

Might be useful for small systems.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
[yann.morin.1998@free.fr:
  - add missing licence file, as noticed by Giulio
  - update the version to bring two fixes
  - update hash file accordingly (version and licence file)
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Vadim Kochan 2019-08-20 02:44:13 +03:00 committed by Yann E. MORIN
parent 16e0120936
commit a7b3de8a3b
5 changed files with 33 additions and 0 deletions

View File

@ -2462,6 +2462,7 @@ F: package/tstools/
N: Vadim Kochan <vadim4j@gmail.com>
F: package/brcm-patchram-plus/
F: package/gettext-tiny/
F: package/tinyssh/
N: Valentin Korenblit <valentinkorenblit@gmail.com>
F: package/clang/

View File

@ -2149,6 +2149,7 @@ endif
source "package/thttpd/Config.in"
source "package/tinc/Config.in"
source "package/tinyhttpd/Config.in"
source "package/tinyssh/Config.in"
source "package/tor/Config.in"
source "package/traceroute/Config.in"
source "package/transmission/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_TINYSSH
bool "tinyssh"
depends on BR2_USE_MMU # fork()
help
TinySSH is a minimalistic SSH server which implements only
a subset of SSHv2 features.
https://tinyssh.org

View File

@ -0,0 +1,3 @@
# locally computed
sha256 65a7dc785861a09399419a1e7c42cddf66f32dc233a33277327b11f1bd8a772c tinyssh-7e2b4025bf3a2dae4c6617e3eb39df4bcde37454.tar.gz
sha256 b5dc19477e29f4111e1c16cd89ec0782f5a07b1a30e3bdb7c155425b81b12c46 LICENCE

View File

@ -0,0 +1,20 @@
################################################################################
#
# tinyssh
#
################################################################################
TINYSSH_VERSION = 7e2b4025bf3a2dae4c6617e3eb39df4bcde37454
TINYSSH_SITE = $(call github,janmojzis,tinyssh,$(TINYSSH_VERSION))
TINYSSH_LICENSE = Public Domain, CC0-1.0
TINYSSH_LICENSE_FILES = LICENCE
define TINYSSH_BUILD_CMDS
$(TARGET_MAKE_ENV) CC="$(TARGET_CC)" $(MAKE) -C $(@D) cross-compile
endef
define TINYSSH_INSTALL_TARGET_CMDS
$(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install
endef
$(eval $(generic-package))