Skip to contentSkip to conversation

package/tinyssh: new package

PATCH New Vadim Kochan 3 participants 3 messages Aug 19, 2019 – Jan 1, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/tinyssh: new package

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

Might be useful for small systems.

---
 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
DEVELOPERS +1 -0
index e50ac78ae7..5884cea0a0 100644
@@ -2307,6 +2307,7 @@ F:	package/tstools/
 N:	Vadim Kochan <[email protected]>
 F:	package/brcm-patchram-plus/
 F:	package/gettext-tiny/
+F:	package/tinyssh/
 
 N:	Valentin Korenblit <[email protected]>
 F:	package/clang/
package/Config.in +1 -0
index 710ed12be0..d6793c891b 100644
@@ -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"
package/tinyssh/Config.in new file +8 -0
new file mode 100644
index 0000000000..da19d2d454
@@ -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
package/tinyssh/tinyssh.hash new file +2 -0
new file mode 100644
index 0000000000..0ca7c5b741
@@ -0,0 +1,2 @@
+# locally computed
+sha256  7e5e080c594db9110869ecea7c9a258507a0de10a09613a584347b3d707fb609  tinyssh-acd059bcac384fcd4af35d1babc87142eca610af.tar.gz
package/tinyssh/tinyssh.mk new file +19 -0
new file mode 100644
index 0000000000..69341e13e8
@@ -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))
Signature · 1 line
2.22.0
#1 lore raw

PATCH 1/1 package/tinyssh: new package

Hi Vadim,

Quoted 69 lines · Vadim Kochan

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

Might be useful for small systems.

---
  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

DEVELOPERS +1 -0
index e50ac78ae7..5884cea0a0 100644
@@ -2307,6 +2307,7 @@ F:	package/tstools/
  N:	Vadim Kochan <[email protected]>
  F:	package/brcm-patchram-plus/
  F:	package/gettext-tiny/
+F:	package/tinyssh/
 
  N:	Valentin Korenblit <[email protected]>
  F:	package/clang/
package/Config.in +1 -0
index 710ed12be0..d6793c891b 100644
@@ -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"
package/tinyssh/Config.in new file +8 -0
new file mode 100644
index 0000000000..da19d2d454
@@ -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
package/tinyssh/tinyssh.hash new file +2 -0
new file mode 100644
index 0000000000..0ca7c5b741
@@ -0,0 +1,2 @@
+# locally computed
+sha256  7e5e080c594db9110869ecea7c9a258507a0de10a09613a584347b3d707fb609  tinyssh-acd059bcac384fcd4af35d1babc87142eca610af.tar.gz
package/tinyssh/tinyssh.mk new file +0 -0
new file mode 100644
index 0000000000..69341e13e8

package/tinyssh/tinyssh.mk line 9

Quoted 9 lines
package/tinyssh/tinyssh.mk new file +9 -0
@@ -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

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
Quoted 11 lines
package/tinyssh/tinyssh.mk new file +10 -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))
#2 lore raw

PATCH 1/1 package/tinyssh: new package

In reply to Vadim Kochan

Vadim, All,

On 2019-08-20 02:44 +0300, Vadim Kochan spake thusly:

Quoted 6 lines

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

Might be useful for small systems.

Applied to master with the following changes:
- add missing licence file, as noticed by Giulio
- update the version to bring two fixes
- update hash file accordingly (version and licence file)

Regards,
Yann E. MORIN.

Quoted 89 lines
---
 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
DEVELOPERS +1 -0
index e50ac78ae7..5884cea0a0 100644
@@ -2307,6 +2307,7 @@ F:	package/tstools/
 N:	Vadim Kochan <[email protected]>
 F:	package/brcm-patchram-plus/
 F:	package/gettext-tiny/
+F:	package/tinyssh/
 
 N:	Valentin Korenblit <[email protected]>
 F:	package/clang/
package/Config.in +1 -0
index 710ed12be0..d6793c891b 100644
@@ -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"
package/tinyssh/Config.in new file +8 -0
new file mode 100644
index 0000000000..da19d2d454
@@ -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
package/tinyssh/tinyssh.hash new file +2 -0
new file mode 100644
index 0000000000..0ca7c5b741
@@ -0,0 +1,2 @@
+# locally computed
+sha256  7e5e080c594db9110869ecea7c9a258507a0de10a09613a584347b3d707fb609  tinyssh-acd059bcac384fcd4af35d1babc87142eca610af.tar.gz
package/tinyssh/tinyssh.mk new file +19 -0
new file mode 100644
index 0000000000..69341e13e8
@@ -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))
Signature · 6 lines
2.22.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'