pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add tinyssh, a minimalistic SSHv2 server.
Module Name: pkgsrc-wip
Committed By: Amitai Schleier <schmonz-web-git%schmonz.com@localhost>
Pushed By: schmonz
Date: Mon Jan 1 14:32:26 2024 -0500
Changeset: 4ddd38b3214c65548f9927af8d131740c30a43a4
Added Files:
tinyssh/DESCR
tinyssh/Makefile
tinyssh/PLIST
tinyssh/TODO
tinyssh/distinfo
Log Message:
Add tinyssh, a minimalistic SSHv2 server.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4ddd38b3214c65548f9927af8d131740c30a43a4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
tinyssh/DESCR | 10 ++++++++++
tinyssh/Makefile | 22 ++++++++++++++++++++++
tinyssh/PLIST | 8 ++++++++
tinyssh/TODO | 6 ++++++
tinyssh/distinfo | 5 +++++
5 files changed, 51 insertions(+)
diffs:
diff --git a/tinyssh/DESCR b/tinyssh/DESCR
new file mode 100644
index 0000000000..0f25b37091
--- /dev/null
+++ b/tinyssh/DESCR
@@ -0,0 +1,10 @@
+tinysshd is a minimalistic SSH server which implements only a subset of
+SSHv2 features.
+
+* tinysshd supports only secure cryptography
+* tinysshd doesn't implement older crypto
+* tinysshd doesn't implement unsafe features
+* tinysshd doesn't have features such as: SSH1 protocol, compression,
+ port forwarding, agent forwarding, X11 forwarding...
+* tinysshd doesn't use dynamic memory allocation (no allocation
+ failures, etc.)
diff --git a/tinyssh/Makefile b/tinyssh/Makefile
new file mode 100644
index 0000000000..dbb85b50a2
--- /dev/null
+++ b/tinyssh/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME= ${GITHUB_PROJECT}
+PKGNAME= ${GITHUB_PROJECT}-${GITHUB_TAG}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=janmojzis/}
+GITHUB_PROJECT= tinyssh
+GITHUB_TAG= 20240101
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://tinyssh.org
+COMMENT= Minimalistic SSHv2 server
+LICENSE= cc0-1.0-universal
+
+DJB_MAKE_TARGETS= no
+BUILD_TARGET= compile
+
+do-install:
+ cd ${WRKSRC} && ${SH} -e make-install.sh ${DESTDIR}
+
+.include "../../mk/djbware.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/tinyssh/PLIST b/tinyssh/PLIST
new file mode 100644
index 0000000000..2db58dadbb
--- /dev/null
+++ b/tinyssh/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+bin/tinysshd
+bin/tinysshd-makekey
+bin/tinysshd-printkey
+man/man8/tinysshd-makekey.8
+man/man8/tinysshd-printkey.8
+man/man8/tinysshd.8
+man/man8/tinysshnoneauthd.8
diff --git a/tinyssh/TODO b/tinyssh/TODO
new file mode 100644
index 0000000000..c4c8032ab7
--- /dev/null
+++ b/tinyssh/TODO
@@ -0,0 +1,6 @@
+- Don't run regression tests in the pkgsrc build target (but do build them)
+- Do run regression tests in the pkgsrc test target
+- Add option to link with libsodium, making sure that disabling the option works
+- Decide whether to enable the libsodium option by default (probably yes)
+- Actually try running it
+- Add an rc.d script
diff --git a/tinyssh/distinfo b/tinyssh/distinfo
new file mode 100644
index 0000000000..bb8b342dbb
--- /dev/null
+++ b/tinyssh/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (tinyssh-20240101.tar.gz) = 15c162225a74688f4df4bff931d6069b94d87dd7662a721af14ab94e4ab9e884
+SHA512 (tinyssh-20240101.tar.gz) = b48561cfc11bb6d2e9b1c805c9dfc36be5f1bbbf04a455b8db3f02b5b8df15e420fcd93d58fb23526baaf0fd70e9969deca261152a656015f12a433a61092e90
+Size (tinyssh-20240101.tar.gz) = 249848 bytes
Home |
Main Index |
Thread Index |
Old Index