gnu: wireshark: Update to 4.0.4.

* gnu/packages/networking.scm (wireshark): Update to 4.0.4.
[arguments]<#:phases>: Re-introduce a now succeeding test and enable parallel
tests.  Update comment.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Nicolas Goaziou 2023-03-17 10:27:23 +01:00 committed by Maxim Cournoyer
parent 735b83994f
commit d22cf3a3f2
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1758,29 +1758,29 @@ (define-public whois
(define-public wireshark
(package
(name "wireshark")
(version "4.0.3")
(version "4.0.4")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.wireshark.org/download/src/wireshark-"
version ".tar.xz"))
(sha256
(base32 "04cmgvmkyvxdpfy08adxf3smklgzakrvyvb89rrr7yqaridy2lbc"))))
(base32 "0jz76ra86gy7r4wwb174lggnl5y29nn68l7ydw1kj1phcijrz854"))))
(build-system cmake-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
;; Skip test suite failing with "Program reassemble_test is not
;; available" and alike errors. Also skip test suite failing
;; with "AssertionError: Program extcap/sdjournal is not
;; available" error.'
(lambda* (#:key parallel-tests? tests? #:allow-other-keys)
(when tests?
(invoke "ctest"
"-E"
(string-join (list "suite_unittests" "suite_extcaps")
"|"))))))
(invoke "ctest" "-VV"
"-j" (if parallel-tests?
(number->string (parallel-job-count))
"1")
;; Skip the suite_extcaps.case_extcaps.test_sdjournal
;; test as it requires sdjournal (from systemd) and
;; fails.
"-E" "suite_extcaps")))))
;; Build process chokes during `validate-runpath' phase.
;;
;; Errors are like the following: