wok rev 25359

updated tinyssh (20210601 -> 20220311)
author Hans-G?nter Theisgen
date Wed Jul 27 08:03:11 2022 +0100 (21 months ago)
parents 4a5dc3aa2af9
children d310bf389e06
files tinyssh/description.txt tinyssh/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tinyssh/description.txt	Wed Jul 27 08:03:11 2022 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +TinySSH is a minimalistic SSH server which implements only
     1.5 +a subset of SSHv2 features.
     1.6 +
     1.7 +Features
     1.8 +
     1.9 +* easy auditable - TinySSH has less than 100000 words of code
    1.10 +* no dynamic memory allocation - TinySSH has all memory
    1.11 +  statically allocated (less than 1MB)
    1.12 +* simple configuration - TinySSH can't be misconfigured
    1.13 +* reusing code - TinySSH is reusing libraries from CurveCP
    1.14 +  implementation
    1.15 +* reusing software - TinySSH is using tcpserver or systemd
    1.16 +  socket or inetd for TCP connection
    1.17 +* limited amount of features - TinySSH doesn't have features
    1.18 +  such: SSH1 protocol, compression, ...
    1.19 +* no older cryptographic primitives - rsa, dsa, classic
    1.20 +  diffie-hellman, hmac-md5, hmac-sha1, 3des, arcfour, ...
    1.21 +* no copyright restrictions - TinySSH is in the public domain
    1.22 +  (see the licence)
    1.23 +* no dependency on OpenSSL - TinySSH has its own crypto
    1.24 +  library compatible with NaCl, Libsodium
    1.25 +* speed - TinySSH can be also compiled using high-speed NaCl
    1.26 +  library instead of internal.
     2.1 --- a/tinyssh/receipt	Wed Jul 27 07:50:39 2022 +0100
     2.2 +++ b/tinyssh/receipt	Wed Jul 27 08:03:11 2022 +0100
     2.3 @@ -1,17 +1,18 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="tinyssh"
     2.7 -VERSION="20210601"
     2.8 +VERSION="20220311"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="A small SSH server."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="PublicDomain"
    2.13  WEB_SITE="https://tinyssh.org/"
    2.14 -SUGGESTED="tinyssh-keyconvert"
    2.15  
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17  WGET_URL="https://github.com/janmojzis/tinyssh/archive/$VERSION.tar.gz"
    2.18  
    2.19 +SUGGESTED="tinyssh-keyconvert"
    2.20 +
    2.21  SECRET_FILES="/etc/tinyssh/sshkeydir"
    2.22  
    2.23  current_version()
    2.24 @@ -24,7 +25,7 @@
    2.25  compile_rules()
    2.26  {
    2.27  	make &&
    2.28 -	make DESTDIR=$DESTDIR install
    2.29 +	make install DESTDIR=$DESTDIR
    2.30  }
    2.31  
    2.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.33 @@ -34,17 +35,19 @@
    2.34  	mkdir -p $fs/usr
    2.35  
    2.36  	cp -a $install/usr/sbin $fs/usr
    2.37 -	for i in $fs/usr/sbin/tinysshd-*; do
    2.38 +	for i in $fs/usr/sbin/tinysshd-*
    2.39 +	  do
    2.40  		#cmp $fs/usr/sbin/tinysshd $i &&
    2.41  		ln -f $fs/usr/sbin/tinysshd $i
    2.42 -	done 
    2.43 +	  done 
    2.44  }
    2.45  
    2.46  post_install()
    2.47  {
    2.48  	[ -d $1/etc/tinyssh/sshkeydir ] ||
    2.49  	chroot $1/ tinysshd-makekey /etc/tinyssh/sshkeydir
    2.50 -	grep -q ^ssh $1/etc/inetd.conf || cat >> $1/etc/inetd.conf <<EOT
    2.51 +	grep -q ^ssh $1/etc/inetd.conf ||
    2.52 +	cat >> $1/etc/inetd.conf <<EOT
    2.53  ssh stream tcp nowait root /usr/sbin/tinysshd tinysshd -s -o -l -v /etc/tinyssh/sshkeydir -x sftp=/usr/sbin/sftp-server
    2.54  EOT
    2.55  }