pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/xfr



Module Name:    pkgsrc
Committed By:   pin
Date:           Mon Apr 20 12:25:26 UTC 2026

Modified Files:
        pkgsrc/net/xfr: Makefile cargo-depends.mk distinfo

Log Message:
net/xfr: update to 0.9.8

[0.9.8] - 2026-04-17
Added

    Separate send/recv reporting in bidir tests (issue #56) — --bidir now reports per-direction bytes and throughput in the summary instead of just the combined total, which was useless on asymmetric 
links. Plain text shows Send: X  Recv: Y  (Total: Z); JSON adds bytes_sent, bytes_received, throughput_send_mbps, throughput_recv_mbps; CSV gets four new columns; TUI shows ↑ X / ↓ Y in the 
throughput panel. Unidirectional tests are unchanged (the existing bytes_total/throughput_mbps is already the single-direction number).

Fixed

    Fast, accurate TCP teardown (issue #54) — replaced the blocking shutdown() drain on the send path with SO_LINGER=0 on Linux, so cancel and natural end-of-test no longer wait for bufferbloated 
send buffers to ACK through rate-limited paths. Fixes the "Timed out waiting 2s for N data streams to stop" warning matttbe reported with -P 4 --mptcp -t 1sec.
    Sender-side byte-count accuracy — stats.bytes_sent is now clamped to tcpi_bytes_acked before abortive close, removing a quiet ~5-10% overcount where the send-buffer tail discarded by RST was 
being reported as transferred. Download and bidir tests are the primary beneficiaries.
    macOS preserves graceful shutdown — non-Linux platforms lack tcpi_bytes_acked, so the Linux abortive-close path is cfg-gated; other platforms still use shutdown() for accurate accounting.

[0.9.7] - 2026-04-16
Added

    Early exit summary (issue #35) — Ctrl+C now displays a test summary with accumulated stats instead of silently exiting. Works in both plain text and TUI modes. Double Ctrl+C force-exits 
immediately.
    DSCP server-side propagation — --dscp flag is now sent to the server and applied to server-side TCP/UDP sockets for download and bidirectional tests. Previously only client-side sockets were 
marked.
    Non-Unix --dscp warning — platforms without socket TOS support now show a visible warning before the test starts, instead of silently no-oping.

Fixed

    Cancel flow waits for server result — client Cancelled handler now waits for the server's Result message instead of immediately erroring, providing accurate final stats after cancel.
    Server result ordering — server sends Result before slow post-processing (push gateway, metrics hooks), preventing false cancel timeouts.
    Rust 1.95 clippy compatibility — fixed manual_checked_ops and collapsible_match_arms lints.

Changed

    Bump softprops/action-gh-release from 2 to 3 in CI release workflow.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/xfr/Makefile \
    pkgsrc/net/xfr/cargo-depends.mk pkgsrc/net/xfr/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/xfr/Makefile
diff -u pkgsrc/net/xfr/Makefile:1.7 pkgsrc/net/xfr/Makefile:1.8
--- pkgsrc/net/xfr/Makefile:1.7 Thu Mar 26 17:53:31 2026
+++ pkgsrc/net/xfr/Makefile     Mon Apr 20 12:25:25 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2026/03/26 17:53:31 pin Exp $
+# $NetBSD: Makefile,v 1.8 2026/04/20 12:25:25 pin Exp $
 
-DISTNAME=      xfr-0.9.6
+DISTNAME=      xfr-0.9.8
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=lance0/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -10,6 +10,9 @@ HOMEPAGE=     https://github.com/lance0/xfr/
 COMMENT=       Modern network bandwidth testing with TUI
 LICENSE=       apache-2.0 OR mit
 
+# See, https://github.com/briansmith/ring/issues/1999
+.include "../../mk/compiler/i386-sse2.mk"
+
 TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake
 
 .include "cargo-depends.mk"
Index: pkgsrc/net/xfr/cargo-depends.mk
diff -u pkgsrc/net/xfr/cargo-depends.mk:1.7 pkgsrc/net/xfr/cargo-depends.mk:1.8
--- pkgsrc/net/xfr/cargo-depends.mk:1.7 Thu Mar 26 17:53:31 2026
+++ pkgsrc/net/xfr/cargo-depends.mk     Mon Apr 20 12:25:25 2026
@@ -1,4 +1,4 @@
-# $NetBSD: cargo-depends.mk,v 1.7 2026/03/26 17:53:31 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.8 2026/04/20 12:25:25 pin Exp $
 
 CARGO_CRATE_DEPENDS+=  adler2-2.0.1
 CARGO_CRATE_DEPENDS+=  aho-corasick-1.1.4
@@ -259,7 +259,7 @@ CARGO_CRATE_DEPENDS+=       rustls-native-cert
 CARGO_CRATE_DEPENDS+=  rustls-pki-types-1.14.0
 CARGO_CRATE_DEPENDS+=  rustls-platform-verifier-0.6.2
 CARGO_CRATE_DEPENDS+=  rustls-platform-verifier-android-0.1.1
-CARGO_CRATE_DEPENDS+=  rustls-webpki-0.103.9
+CARGO_CRATE_DEPENDS+=  rustls-webpki-0.103.12
 CARGO_CRATE_DEPENDS+=  rustversion-1.0.22
 CARGO_CRATE_DEPENDS+=  ryu-1.0.23
 CARGO_CRATE_DEPENDS+=  same-file-1.0.6
Index: pkgsrc/net/xfr/distinfo
diff -u pkgsrc/net/xfr/distinfo:1.7 pkgsrc/net/xfr/distinfo:1.8
--- pkgsrc/net/xfr/distinfo:1.7 Thu Mar 26 17:53:31 2026
+++ pkgsrc/net/xfr/distinfo     Mon Apr 20 12:25:25 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2026/03/26 17:53:31 pin Exp $
+$NetBSD: distinfo,v 1.8 2026/04/20 12:25:25 pin Exp $
 
 BLAKE2s (adler2-2.0.1.crate) = 4d391e0fcde91c7435ee9a5503fee4a5346f549f1b45e482ce3e1e151d90f8f5
 SHA512 (adler2-2.0.1.crate) = 555b2b7ba6f8116acccd0bcd16ed34cc78162c81023cff31a8566ffcd456c03832089fca2d5b668ceaac4fe8f922d31aa9c487f226a36cace294ff4a219bd91d
@@ -777,9 +777,9 @@ Size (rustls-platform-verifier-0.6.2.cra
 BLAKE2s (rustls-platform-verifier-android-0.1.1.crate) = c8d0240ebc3809d2fbfd7805badb53674ced7d89a17a1cd06880a158d2227cb6
 SHA512 (rustls-platform-verifier-android-0.1.1.crate) = f3f21b88b448f46e08da4303d225f10765d21f2397d4fbe44d5f9cf9da5ced84fa5adc5881f1db66a324cef818537e4a79bad2260b8027894029ba7e6ec16533
 Size (rustls-platform-verifier-android-0.1.1.crate) = 13919 bytes
-BLAKE2s (rustls-webpki-0.103.9.crate) = 53c7010a221685a07485148a7979d40ec3d519a6f8cc402138a2770cec58817f
-SHA512 (rustls-webpki-0.103.9.crate) = b50e41ffe38b7fe423d4c2b3eba830f31701c1048ada46cd5b8cdb4c738b0c8590558d607fc1fa7a0d8a8296fb7f931cc9f27b2751f799cd3ed6bac3b763333c
-Size (rustls-webpki-0.103.9.crate) = 85813 bytes
+BLAKE2s (rustls-webpki-0.103.12.crate) = 513c0c97067e9e91f4c84897c02e161198a14fc5f33f7fe68b8919baaadba4ce
+SHA512 (rustls-webpki-0.103.12.crate) = 0673be70c4378356ceb6839e5c56befaa1303c854da63e29583bdfdf1049c5f9a817b070f67c4849cad4c207d504dc6d739dd013b5bb311d02b3eee748b5de73
+Size (rustls-webpki-0.103.12.crate) = 87202 bytes
 BLAKE2s (rustversion-1.0.22.crate) = 94885d422b9c942ceab679e86d0a2b8e6f322f655091475a6a475f0b796f48b9
 SHA512 (rustversion-1.0.22.crate) = 7929352df3e5279ac88cebb26ca89bb13c755f46986d2d1f514d18a3239a63638bf64f8ff153920569d173185d988d692ee676335afba0bf72d47f71babe0e15
 Size (rustversion-1.0.22.crate) = 21096 bytes
@@ -1275,9 +1275,9 @@ Size (writeable-0.6.2.crate) = 25181 byt
 BLAKE2s (x509-parser-0.18.1.crate) = a5f2838a9880a6e075ead6b25c4078314403bbd5f9d59df631663b87ee4edee4
 SHA512 (x509-parser-0.18.1.crate) = a30af92885d157b837832b7a3242fc8dbe5eacbce97ce5cb92a8c5e948324ec38150ca709734eb191a914f4f34d4d521ba313b72a57541a62cb254e8808535ef
 Size (x509-parser-0.18.1.crate) = 102625 bytes
-BLAKE2s (xfr-0.9.6.tar.gz) = 260c2c62ffa2370ad60bba17a10463d331aca7f1c90bd97f868bddb697f45a3c
-SHA512 (xfr-0.9.6.tar.gz) = 05f251784f9457180e049df6a63c236335294a0c3a9d84b37419b81787aadeb3b5fef43a37a9ddc47c9ff416f25bb767f25bc5bc972c66f222bcf19e57ec39f4
-Size (xfr-0.9.6.tar.gz) = 761984 bytes
+BLAKE2s (xfr-0.9.8.tar.gz) = 605fa150bb0db37dbd27377717d9cfa892dbdfcecd14d7f086b8583063ffebde
+SHA512 (xfr-0.9.8.tar.gz) = 82cf7cf7f69b60ba21e200e6ef9641c8243c5d808c7346663921ca32fa53a80553728567d2ace0f59111d805d0c425961e2f79a1daf575f7cea981dd8e1d17e6
+Size (xfr-0.9.8.tar.gz) = 771539 bytes
 BLAKE2s (yasna-0.5.2.crate) = 25391034f1d4c9715add3175629a012024dc2a34fa85b4dc85c4dce2c100742a
 SHA512 (yasna-0.5.2.crate) = 7532b6d06b34b0a5e2b769c5d2647f910bec481d98482bf9cea212f1bd1466336d7cb117d0c2e240e7673b2825f1d091619f79814bad836d25cf3a6ca2be63e5
 Size (yasna-0.5.2.crate) = 34859 bytes



Home | Main Index | Thread Index | Old Index