svn commit: r448035 - in head/net: . sshping
Emanuel Haupt
ehaupt at FreeBSD.org
Wed Aug 16 13:23:13 UTC 2017
Author: ehaupt
Date: Wed Aug 16 13:23:12 2017
New Revision: 448035
URL: https://svnweb.freebsd.org/changeset/ports/448035
Log:
Add sshping 0.0.2017081601, SSH-based ping to measure character echo
latency and bandwidth.
Added:
head/net/sshping/
head/net/sshping/Makefile (contents, props changed)
head/net/sshping/Makefile.2017081601 (contents, props changed)
head/net/sshping/distinfo (contents, props changed)
head/net/sshping/pkg-descr (contents, props changed)
Modified:
head/net/Makefile
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Wed Aug 16 12:50:10 2017 (r448034)
+++ head/net/Makefile Wed Aug 16 13:23:12 2017 (r448035)
@@ -1312,6 +1312,7 @@
SUBDIR += sqtop
SUBDIR += srelay
SUBDIR += ss5
+ SUBDIR += sshping
SUBDIR += ssldump
SUBDIR += sslh
SUBDIR += ssltunnel-client
Added: head/net/sshping/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/sshping/Makefile Wed Aug 16 13:23:12 2017 (r448035)
@@ -0,0 +1,33 @@
+# Created by: Emanuel Haupt <ehaupt at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= sshping
+PORTVERSION= 0.0.2017081601
+CATEGORIES= net
+
+MAINTAINER= ehaupt at FreeBSD.org
+COMMENT= SSH-based ping to measure character echo latency and bandwidth
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libssh.so:security/libssh
+
+USES= compiler:c++14-lang localbase:ldflags
+USE_GITHUB= yes
+
+GH_ACCOUNT= spook
+GH_TAGNAME= 0856aa5
+
+LDFLAGS+= -lssh
+
+PLIST_FILES= bin/sshping
+
+do-build:
+ ${CXX} ${CXXFLAGS} ${LDFLAGS} -I ${WRKSRC}/ext \
+ ${WRKSRC}/src/sshping.cxx -o ${WRKSRC}/bin/sshping
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
Added: head/net/sshping/Makefile.2017081601
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/sshping/Makefile.2017081601 Wed Aug 16 13:23:12 2017 (r448035)
@@ -0,0 +1,31 @@
+# Created by: Emanuel Haupt <ehaupt at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= sshping
+PORTVERSION= 0.0.2017081601
+CATEGORIES= net
+
+MAINTAINER= ehaupt at FreeBSD.org
+COMMENT= SSH-based ping to measure character echo latency and bandwidth
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libssh.so:security/libssh
+
+USES= localbase:ldflags
+USE_GITHUB= yes
+
+GH_ACCOUNT= spook
+GH_TAGNAME= 0856aa5
+
+PLIST_FILES= bin/sshping
+
+do-build:
+ ${CXX} ${CXXFLAGS} ${LDFLAGS} -I ${WRKSRC}/ext ${WRKSRC}/src/sshping.cxx -lssh \
+ -o ${WRKSRC}/bin/sshping
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
Added: head/net/sshping/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/sshping/distinfo Wed Aug 16 13:23:12 2017 (r448035)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1502887230
+SHA256 (spook-sshping-0.0.2017081601-0856aa5_GH0.tar.gz) = 41979f8a742048a875b2454900d49527e2e8e2156d32806301c3aab006edcfb4
+SIZE (spook-sshping-0.0.2017081601-0856aa5_GH0.tar.gz) = 3531961
Added: head/net/sshping/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/sshping/pkg-descr Wed Aug 16 13:23:12 2017 (r448035)
@@ -0,0 +1,7 @@
+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.
+
+WWW: https://github.com/spook/sshping/
More information about the svn-ports-all
mailing list