diff mbox series

package/nettest: new package

Message ID 20260828113241.3531968-1-bogdan@nimblex.net
State New
Headers show
Series package/nettest: new package | expand

Commit Message

Bogdan Radulescu Aug. 28, 2026, 11:32 a.m. UTC
nettest measures download and upload throughput, latency, jitter and
packet loss using the RMBT protocol. The same binary runs as either the
client or the measurement server it tests against.

Written in Rust with no native library dependencies: the target binary
links only libc, libm and libgcc_s, and is fully static when built
against musl.

Signed-off-by: Bogdan Radulescu <bogdan@nimblex.net>
---
 DEVELOPERS                   |  1 +
 package/Config.in            |  1 +
 package/nettest/Config.in    | 11 +++++++++++
 package/nettest/nettest.hash |  3 +++
 package/nettest/nettest.mk   | 12 ++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/nettest/Config.in
 create mode 100644 package/nettest/nettest.hash
 create mode 100644 package/nettest/nettest.mk
diff mbox series

Patch

diff --git a/DEVELOPERS b/DEVELOPERS
index 98c9ee55..1116f677 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -564,6 +564,7 @@  F:	package/libgpiod2/
 N:	Bogdan Radulescu <bogdan@nimblex.net>
 F:	package/iftop/
 F:	package/ncdu/
+F:	package/nettest/
 
 N:	Brandon Maier <brandon.maier@collins.com>
 F:	board/freescale/ls1046a-frwy/
diff --git a/package/Config.in b/package/Config.in
index 60588006..913daff7 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2558,6 +2558,7 @@  endif
 	source "package/nethogs/Config.in"
 	source "package/netplug/Config.in"
 	source "package/netsnmp/Config.in"
+	source "package/nettest/Config.in"
 	source "package/network-manager/Config.in"
 	source "package/network-manager-openvpn/Config.in"
 	source "package/networkd-dispatcher/Config.in"
diff --git a/package/nettest/Config.in b/package/nettest/Config.in
new file mode 100644
index 00000000..0ec4dcdc
--- /dev/null
+++ b/package/nettest/Config.in
@@ -0,0 +1,11 @@ 
+config BR2_PACKAGE_NETTEST
+	bool "nettest"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	select BR2_PACKAGE_HOST_RUSTC
+	help
+	  nettest measures download and upload throughput, latency,
+	  jitter and packet loss using the RMBT protocol. The same
+	  binary runs as either the client or the measurement server
+	  it tests against.
+
+	  https://github.com/specure/nettest
diff --git a/package/nettest/nettest.hash b/package/nettest/nettest.hash
new file mode 100644
index 00000000..eaafe15e
--- /dev/null
+++ b/package/nettest/nettest.hash
@@ -0,0 +1,3 @@ 
+# Locally computed
+sha256  13dd03c8853f7eb9a4dd20b9deedbfa7cd7efbc59a175bd3bb1f0c4d1126e238  nettest-2.1.3-cargo6.tar.gz
+sha256  6523fc0e74e4774f105b0ee86a8187952337db6231f1a1817316174e241344ff  LICENSE.txt
diff --git a/package/nettest/nettest.mk b/package/nettest/nettest.mk
new file mode 100644
index 00000000..d7ca9864
--- /dev/null
+++ b/package/nettest/nettest.mk
@@ -0,0 +1,12 @@ 
+################################################################################
+#
+# nettest
+#
+################################################################################
+
+NETTEST_VERSION = 2.1.3
+NETTEST_SITE = $(call github,specure,nettest,v$(NETTEST_VERSION))
+NETTEST_LICENSE = Apache-2.0
+NETTEST_LICENSE_FILES = LICENSE.txt
+
+$(eval $(cargo-package))