[Buildroot] [PATCH 1/1] package/tinyssh: new package
Giulio Benetti
giulio.benetti at benettiengineering.com
Fri Dec 20 15:56:20 UTC 2019
Hi Vadim,
On 8/20/19 1:44 AM, Vadim Kochan wrote:
> 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 at gmail.com>
> ---
> DEVELOPERS | 1 +
> package/Config.in | 1 +
> package/tinyssh/Config.in | 8 ++++++++
> package/tinyssh/tinyssh.hash | 2 ++
> package/tinyssh/tinyssh.mk | 19 +++++++++++++++++++
> 5 files changed, 31 insertions(+)
> create mode 100644 package/tinyssh/Config.in
> create mode 100644 package/tinyssh/tinyssh.hash
> create mode 100644 package/tinyssh/tinyssh.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index e50ac78ae7..5884cea0a0 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -2307,6 +2307,7 @@ F: package/tstools/
> N: Vadim Kochan <vadim4j at gmail.com>
> F: package/brcm-patchram-plus/
> F: package/gettext-tiny/
> +F: package/tinyssh/
>
> N: Valentin Korenblit <valentinkorenblit at gmail.com>
> F: package/clang/
> diff --git a/package/Config.in b/package/Config.in
> index 710ed12be0..d6793c891b 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -2073,6 +2073,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"
> diff --git a/package/tinyssh/Config.in b/package/tinyssh/Config.in
> new file mode 100644
> index 0000000000..da19d2d454
> --- /dev/null
> +++ b/package/tinyssh/Config.in
> @@ -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
> diff --git a/package/tinyssh/tinyssh.hash b/package/tinyssh/tinyssh.hash
> new file mode 100644
> index 0000000000..0ca7c5b741
> --- /dev/null
> +++ b/package/tinyssh/tinyssh.hash
> @@ -0,0 +1,2 @@
> +# locally computed
> +sha256 7e5e080c594db9110869ecea7c9a258507a0de10a09613a584347b3d707fb609 tinyssh-acd059bcac384fcd4af35d1babc87142eca610af.tar.gz
> diff --git a/package/tinyssh/tinyssh.mk b/package/tinyssh/tinyssh.mk
> new file mode 100644
> index 0000000000..69341e13e8
> --- /dev/null
> +++ b/package/tinyssh/tinyssh.mk
> @@ -0,0 +1,19 @@
> +################################################################################
> +#
> +# tinyssh
> +#
> +################################################################################
> +
> +TINYSSH_VERSION = acd059bcac384fcd4af35d1babc87142eca610af
> +TINYSSH_SITE = $(call github,janmojzis,tinyssh,$(TINYSSH_VERSION))
> +TINYSSH_LICENSE = CC0-1.0
Here you are missing TINYSSH_LICENSE_FILES(from what I can see there is
only LICENCE as file).
Can you please submit a v2 version with license files? And can you also
check if there are other license files inside the package?
Best regards
--
Giulio Benetti
Benetti Engineering sas
> +
> +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))
>
More information about the buildroot
mailing list