pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

add sshping



Module Name:	pkgsrc-wip
Committed By:	KFL <kludev%gmail.com@localhost>
Pushed By:	klu
Date:		Sat May 28 09:21:14 2022 -0700
Changeset:	ad1b7923779ddf3282d6d8945c97321c201603fb

Added Files:
	sshping/DESCR
	sshping/Makefile
	sshping/PLIST
	sshping/distinfo

Log Message:
add sshping

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ad1b7923779ddf3282d6d8945c97321c201603fb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 sshping/DESCR    | 18 ++++++++++++++++++
 sshping/Makefile | 16 ++++++++++++++++
 sshping/PLIST    |  4 ++++
 sshping/distinfo |  5 +++++
 4 files changed, 43 insertions(+)

diffs:
diff --git a/sshping/DESCR b/sshping/DESCR
new file mode 100644
index 0000000000..84c78b41cc
--- /dev/null
+++ b/sshping/DESCR
@@ -0,0 +1,18 @@
+# sshping
+measure character-echo latency and bandwidth for an ssh session
+
+## Description
+
+Use this utility to test the performance of interactive ssh sessions
+or scp file transfers.  It uses ssh to log into a remote system, then
+runs two tests: the first test sends one character at a time, waiting
+for each character to be returned while it records the latency time
+for each.  The second test sends a dummy file over scp to /dev/null
+on the remote system.
+
+For the echo test, you may specify a character count limit (-c) or a test
+time limit (-t), and also the command (-e) used on the remote system that
+echoes characters back.
+
+For the speed test, you may specify the number of megabytes to send (-s)
+and the target location for the copies (-z).
diff --git a/sshping/Makefile b/sshping/Makefile
new file mode 100644
index 0000000000..6bda087581
--- /dev/null
+++ b/sshping/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	sshping-0.1.4
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=spook/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/spook/sshping/
+COMMENT=	Measure character-echo latency and bandwidth for ssh session
+LICENSE=	mit
+
+USE_CMAKE=	yes
+USE_LANGUAGES=	c c++
+
+.include "../../mk/bsd.pkg.mk"
+.include "../../security/libssh/buildlink3.mk"
diff --git a/sshping/PLIST b/sshping/PLIST
new file mode 100644
index 0000000000..66e6bf5143
--- /dev/null
+++ b/sshping/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/opt/pkg/bin/bmake package"
+@comment TODO: 2. run "/opt/pkg/bin/bmake print-PLIST"
diff --git a/sshping/distinfo b/sshping/distinfo
new file mode 100644
index 0000000000..6ff683c781
--- /dev/null
+++ b/sshping/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (sshping-0.1.4.tar.gz) = 2108dc5850f721ccde6a486689b4f8c3f6846345d019625ae1f5c8bbf0e17c6a
+SHA512 (sshping-0.1.4.tar.gz) = 16d72099b468c58d44835822a372f97863ba0b73282e8e64c20b0a0e6465e6f9efa634a85b0c7c13d03c470c547b08332820bf177f5bad59984270801ab74782
+Size (sshping-0.1.4.tar.gz) = 3536227 bytes


Home | Main Index | Thread Index | Old Index