gping: new package

gping is ping but with a graph. It graphically plots ping results
over time in terminal, allows multiple hosts to ping in parallel,
uses coloured output and can also plot the execution time of
arbitrary commands.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
This commit is contained in:
Jonas Jelonek 2024-03-06 14:44:40 +01:00 committed by Tianling Shen
parent b69ffe14a9
commit e8cf9d422d
1 changed files with 43 additions and 0 deletions

43
net/gping/Makefile Normal file
View File

@ -0,0 +1,43 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2024 Jonas Jelonek
include $(TOPDIR)/rules.mk
PKG_NAME:=gping
PKG_VERSION:=1.16.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/orf/gping/tar.gz/$(PKG_NAME)-v$(PKG_VERSION)?
PKG_HASH:=557dad6e54b5dd23f88224ea7914776b7636672f237d9cbbea59972235ca89a8
PKG_MAINTAINER:=Jonas Jelonek <jelonek.jonas@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_NAME)-v$(PKG_VERSION)
PKG_BUILD_DEPENDS:=rust/host
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include ../../lang/rust/rust-package.mk
define Package/gping
SECTION:=net
CATEGORY:=Network
TITLE:=Ping but with a graph
DEPENDS:=$(RUST_ARCH_DEPENDS)
URL:=https://github.com/orf/gping
endef
define Package/gping/description
gping graphically plots ping results over time in terminal, allows
multiple hosts to ping in parallel, uses coloured output and can
also plot the execution time of arbitrary commands.
endef
Build/Compile = $(call Build/Compile/Cargo,gping)
$(eval $(call RustBinPackage,gping))
$(eval $(call BuildPackage,gping))