Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2017 13:23:12 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448035 - in head/net: . sshping
Message-ID:  <201708161323.v7GDNCQ2046729@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>

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

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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708161323.v7GDNCQ2046729>