gnu: libyang: Update to 3.4.2. [security fixes]

This fixes CVE-2021-28902, CVE-2021-28903, CVE-2021-28904,
CVE-2021-28905 and CVE-2021-28906.

* gnu/packages/networking.scm (libyang): Update to 3.4.2.
This commit is contained in:
Nicolas Graves 2024-11-03 17:01:56 +01:00 committed by Zheng Junjie
parent b6e6960bd9
commit 85d00a60b5
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -4241,7 +4241,7 @@ and signal strength.")
(define-public libyang (define-public libyang
(package (package
(name "libyang") (name "libyang")
(version "1.0.215") (version "3.4.2")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -4250,12 +4250,12 @@ and signal strength.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0mrs2ppmq77z8sbqgm2w0rl9bfgybd6bcxanakfww4chih6cy0dw")))) "07skjr3r4na12kadca2dyk45clpcpnp4zkkwfaa8sqyslx7vhj56"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list "-DENABLE_BUILD_TESTS=ON" "-DENABLE_LYD_PRIV=ON"))) (list "-DENABLE_BUILD_TESTS=ON" "-DENABLE_LYD_PRIV=ON")))
(propagated-inputs (list pcre)) (propagated-inputs (list pcre2))
(native-inputs (list cmocka pkg-config)) (native-inputs (list cmocka pkg-config))
(home-page "https://github.com/CESNET/libyang") (home-page "https://github.com/CESNET/libyang")
(synopsis "YANG data modelling language library") (synopsis "YANG data modelling language library")