From patchwork Mon Aug 19 23:44:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadym Kochan X-Patchwork-Id: 1149681 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ur2a8O9w"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46C9YV31SKz9s00 for ; Tue, 20 Aug 2019 09:46:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8FFC3880C0; Mon, 19 Aug 2019 23:46:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Oqi0-7ZTzzLB; Mon, 19 Aug 2019 23:46:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A16B188084; Mon, 19 Aug 2019 23:46:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 0894D1BF2F3 for ; Mon, 19 Aug 2019 23:46:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 05F6A88081 for ; Mon, 19 Aug 2019 23:46:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fOY2x0qRML8j for ; Mon, 19 Aug 2019 23:46:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) by hemlock.osuosl.org (Postfix) with ESMTPS id BE44888084 for ; Mon, 19 Aug 2019 23:46:11 +0000 (UTC) Received: by mail-lj1-f195.google.com with SMTP id x4so3366708ljj.6 for ; Mon, 19 Aug 2019 16:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uPK55TXTqyzS7BsKVNQ4CfpveDTZlS7zUVKQ0ws3f44=; b=ur2a8O9wReut0f6aOxlEBvGMbYlTwKFSU2SM0tUg0DQZGkpJ9qAeZJMmA4C8fN0pbs AeH0t5m5GN1V3oLUa2rgnGkn2rgpa4bv84aTwol/DyOXSaDMidkST7r+kdN+YTA5ZOPB YiAfb5DNvDKQ9IV4I7DZF/hH8XICtzbMbTJWkgNMrN3PumXjS+WnHp2ZlWXX3NxcBPc3 7Dg+Sb/3TGW07zfbJHY/CPxKA+xhDRXlOd7o6II9bj7XsqWfYSk5nzkSIGe5U+KaoOGs zjRMMLlKGjcc2Sw5jydSC0NisbvlhU3HoBw2mBYP5sPgWsxFYfSlioX8txGPXiS8rt6q tN1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uPK55TXTqyzS7BsKVNQ4CfpveDTZlS7zUVKQ0ws3f44=; b=XzAWfO2n4hnmJDVSiBXOCDNwHaWq9XCGsAAA4GQPwF9k867KsKj18NVxy925+bPYGg PW8+LStolo1EvHmeQEtXVRgcHCiaj0Rmq6wqBdKtzLFJK9Tnr/BU4bbgGJqKMW3A0ufZ vvN3McKC/opQ4ehdKI4BrIWpd3AYAq479frEB/ldtvlVnhXNvgxFAfuOz0eAl6HXZ+PQ xoVj7YYzT+PlNUObB/cEv4TeZ9ZOk8obKv404KvsPYUq0Dn+IA41YVKOZWIUOVOyTaQK htbmhadGNGERZHCI2thBfGf9O7oZtoHINYPwVIJukanV4oxzQTMjGIZlew6ARok6LwDW RmZw== X-Gm-Message-State: APjAAAWE15MOoFADUZ6sR5KNqkBezryZoZJVuAtRCw+EKVmZjmcy8hvb m+5mfLE+n3FZ231wh6QYyMYw8IZY X-Google-Smtp-Source: APXvYqwcx1MsH8HJpm+z80kqnVl2/wEnREjnlagGaZ6ajIObCIQPa0dV2fbc66sT1her0Jcq8E9+LQ== X-Received: by 2002:a2e:8e92:: with SMTP id z18mr13768109ljk.73.1566258369758; Mon, 19 Aug 2019 16:46:09 -0700 (PDT) Received: from localhost.localdomain ([93.75.246.20]) by smtp.gmail.com with ESMTPSA id i9sm2561150lfl.10.2019.08.19.16.46.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2019 16:46:09 -0700 (PDT) From: Vadim Kochan To: buildroot@buildroot.org Date: Tue, 20 Aug 2019 02:44:13 +0300 Message-Id: <20190819234413.18292-1-vadim4j@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/tinyssh: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vadim Kochan Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 --- 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 F: package/brcm-patchram-plus/ F: package/gettext-tiny/ +F: package/tinyssh/ N: Valentin Korenblit 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 + +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))