1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Add sshping 0.0.2017081601, SSH-based ping to measure character echo

latency and bandwidth.
This commit is contained in:
Emanuel Haupt 2017-08-16 13:23:12 +00:00
parent e2d324b258
commit cd19da2f42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448035
5 changed files with 75 additions and 0 deletions

View File

@ -1312,6 +1312,7 @@
SUBDIR += sqtop
SUBDIR += srelay
SUBDIR += ss5
SUBDIR += sshping
SUBDIR += ssldump
SUBDIR += sslh
SUBDIR += ssltunnel-client

33
net/sshping/Makefile Normal file
View File

@ -0,0 +1,33 @@
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= sshping
PORTVERSION= 0.0.2017081601
CATEGORIES= net
MAINTAINER= ehaupt@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>

View File

@ -0,0 +1,31 @@
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= sshping
PORTVERSION= 0.0.2017081601
CATEGORIES= net
MAINTAINER= ehaupt@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>

3
net/sshping/distinfo Normal file
View File

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

7
net/sshping/pkg-descr Normal file
View File

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