net-analyzer/sshping - 0.1.4 (gentoo)

Search

Install

Install this version:

emerge -a =net-analyzer/sshping-0.1.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-analyzer/sshping-0.1.4

Or alternatively:

emerge --autounmask-write -a =net-analyzer/sshping-0.1.4

Package Information

Description:
ssh-based ping: measure character echo latency and bandwidth
Homepage:
https://github.com/spook/sshping
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.1.4 8 ~amd64 0
View Raw Ebuild
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="ssh-based ping: measure character echo latency and bandwidth"
HOMEPAGE="https://github.com/spook/sshping"
SRC_URI="https://github.com/spook/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="dev-lang/perl"
DEPEND="net-libs/libssh:="
RDEPEND="${DEPEND}"

PATCHES=(
	"${FILESDIR}/${P}-fix-man-dir.patch"
	"${FILESDIR}/${P}-respect-cxxflags.patch"
	"${FILESDIR}/${P}-cmake-minimum-version.patch"
)

src_configure() {
	local mycmakeargs=(
		-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
		-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
	)

	cmake_src_configure
}

Inherited Eclasses

Dependencies

DEPEND

net-libs/libssh:=

RDEPEND

net-libs/libssh:=

BDEPEND

dev-lang/perl

Manifest for 0.1.4

Type File Size Source URLs
DIST sshping-0.1.4.tar.gz 3536227 bytes https://github.com/spook/sshping/archive/v0.1.4.tar.gz