mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: c-ares: Update to 1.17.1 [fixes CVE-2020-8277].
* gnu/packages/adns.scm (c-ares/fixed): New variable. (c-ares)[replacement]: Graft.
This commit is contained in:
parent
852ba914a4
commit
674474f646
1 changed files with 18 additions and 0 deletions
|
@ -74,6 +74,7 @@ scripts.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"129sm0wzij0mp8vdv68v18hnykcjb6ivi66wnqnnw598q7bql1fy"))))
|
"129sm0wzij0mp8vdv68v18hnykcjb6ivi66wnqnnw598q7bql1fy"))))
|
||||||
|
(replacement c-ares/fixed)
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
|
@ -87,6 +88,23 @@ The primary examples of such applications are servers which communicate with
|
||||||
multiple clients and programs with graphical user interfaces.")
|
multiple clients and programs with graphical user interfaces.")
|
||||||
(license (x11-style "https://c-ares.haxx.se/license.html"))))
|
(license (x11-style "https://c-ares.haxx.se/license.html"))))
|
||||||
|
|
||||||
|
(define-public c-ares/fixed
|
||||||
|
(package
|
||||||
|
(inherit c-ares)
|
||||||
|
(name "c-ares")
|
||||||
|
(version "1.17.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://c-ares.haxx.se/download/" name "-" version
|
||||||
|
".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0h7wjfnk2092glqcp9mqaax7xx0s13m501z1gi0gsjl2vvvd0gfp"))))
|
||||||
|
(arguments
|
||||||
|
`(;; FIXME: Some tests require network access
|
||||||
|
#:tests? #f))))
|
||||||
|
|
||||||
;; gRPC requires a c-ares built with CMake in order to get the .cmake modules.
|
;; gRPC requires a c-ares built with CMake in order to get the .cmake modules.
|
||||||
;; We can not build c-ares itself with CMake because that would introduce a
|
;; We can not build c-ares itself with CMake because that would introduce a
|
||||||
;; circular dependency through nghttp2.
|
;; circular dependency through nghttp2.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue