4 Commits
Author SHA1 Message Date
Josef Schlehofer 4206464bc0 librespeed: fix the kconfig recursion between common and the clients
Two packages provide librespeed-cli, and for a dependency written with a
leading plus, package-metadata.pl re-emits the chosen provider's
architecture gate under a condition that names the consuming package.
Kconfig reads that as a self-dependency, once for librespeed-common and
again for luci-app-librespeed. Naming the client without the plus emits
a plain either-or instead, and the user picks.

The provide also crosses package boundaries, where package-pack.mk asks
for an unversioned one: with a version the higher one wins, so a release
on either side would decide which client apk installs. Unversioned, the
package called librespeed-cli keeps the name, and a default variant
gives the Rust client the provider priority so it is still chosen where
the Go client is not built.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-09-24 08:34:20 +02:00
Josef Schlehofer 018c3f3886 librespeed-cli-rust: update to version 1.2.0
Corrects the transfer accounting, the redirect and TLS handling, the
command line and the reports, sanitizes text a server supplies, and
holds the output to the Go client's with differential tests.

The upstream repository moved to the librespeed organisation, and the
version banner follows it, so the test greps for the new address.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-09-22 08:31:59 +02:00
Josef Schlehofer 95875218de librespeed-cli-rust: update to 0.1.1
Brings the client in line with the fixes merged into the Go client: --json and
--csv end with a newline, --debug names the address each ICMP ping reached and
the spread of the samples, and the User-Agent carries the operating system and
architecture. Also tolerates a backend that answers getIP.php with an empty
rawIspInfo, which previously discarded the whole response.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-08-12 15:03:42 +02:00
Josef Schlehofer 2605657953 librespeed-cli-rust: add new package
Rust port of librespeed-cli for 32-bit PowerPC targets not supported by
the Go implementation, such as CZ.NIC Turris 1.x.

The CLI output of --list and --csv-header matches the Go client, so it
can be used as a drop-in replacement. Both implementations install
/usr/bin/librespeed-cli and therefore PROVIDES/CONFLICTS are set
accordingly.

Use libopenssl instead of rustls' ring backend, which has significantly
better AES-GCM performance on big-endian PowerPC.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-08-10 10:34:46 +02:00