From a7836570f2f49a6b871c5e3925f1356f87342113 Mon Sep 17 00:00:00 2001 From: luca Date: Tue, 25 Nov 2025 03:42:48 +0100 Subject: [PATCH] gnu: httping: Update to 4.4.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/networking.scm (httping): Update to 4.4.0. [build-system]: Change to cmake-build-system. [arguments]: Add configure-flags. [native-inputs]: Add pkg-config. [license]: Correct to AGPL 3. Close: guix/guix#4468 Change-Id: Iab2dc7b6e56ba05f69ffdde475a0dfd8e9ad7d6a Signed-off-by: 宋文武 --- gnu/packages/networking.scm | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index d7cb0f268e526ac8bff2967897c0ea1566cadef5..c0fae241c77b57c0c81df7aa472e5a2479c9c760 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -2110,7 +2110,7 @@ transmission protocol (SCTP) in a Go application.") (define-public httping (package (name "httping") - (version "2.9") + (version "4.4.0") (source (origin (method git-fetch) @@ -2119,17 +2119,16 @@ transmission protocol (SCTP) in a Go application.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1gbpirzih0zr93fm71scqjji9wwkfp64q8z36857blsngdfm6k38")))) - (build-system gnu-build-system) + (base32 "0jnxwwqcy52m7nm36h82ql3bgbzsima80ks8pqy952h4gkqbxy5a")))) + (build-system cmake-build-system) (arguments - (list #:make-flags - #~(list (string-append "CC=" #$(cc-for-target)) - (string-append "PREFIX=" #$output)) - #:tests? #f)) ; no test suite - (native-inputs - (list gettext-minimal)) - (inputs - (list fftw ncurses openssl)) + (list + #:configure-flags + #~(list "-DUSE_SSL=ON" "-DUSE_TUI=ON" "-DUSE_FFTW3=ON" + "-DUSE_GETTEXT=ON") + #:tests? #f)) ;no test suite + (native-inputs (list gettext-minimal pkg-config)) + (inputs (list fftw ncurses openssl)) (home-page "https://www.vanheusden.com/httping/") (synopsis "Web server latency and throughput monitor") (description @@ -2138,7 +2137,7 @@ HTTP(S) request, and receive the reply headers. It is somewhat similar to @command{ping}, but can be used even in cases where ICMP traffic is blocked by firewalls or when you want to monitor the response time of the actual web application stack itself.") - (license license:gpl2))) ; with permission to link with OpenSSL + (license license:agpl3))) ; with permission to link with OpenSSL (define-public httpstat (package