me
/
guix
Archived
1
0
Fork 0

gnu: json-c: Absorb replacement with security fix.

* gnu/packages/web.scm (json-c)[source]: Add patch.
[replacement]: Remove.
(json-c/fixed): Remove.
master
Efraim Flashner 2020-12-08 17:11:11 +02:00
parent df4feb9e8b
commit e9acbe6d81
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 11 deletions

View File

@ -894,7 +894,6 @@ data.")
(define-public json-c
(package
(replacement json-c/fixed)
(name "json-c")
(version "0.14")
(source (origin
@ -904,7 +903,8 @@ data.")
version ".tar.gz"))
(sha256
(base32
"0w381krr99q5a2rypx4g437fa7gzgl82i64sgnrs6g5jr44dwxxk"))))
"0w381krr99q5a2rypx4g437fa7gzgl82i64sgnrs6g5jr44dwxxk"))
(patches (search-patches "json-c-CVE-2020-12762.patch"))))
(build-system cmake-build-system)
(home-page "https://github.com/json-c/json-c/wiki")
(synopsis "JSON implementation in C")
@ -915,15 +915,6 @@ parse JSON-formatted strings back into the C representation of JSON objects.
It aims to conform to RFC 7159.")
(license license:x11)))
(define json-c/fixed
(package
(inherit json-c)
(name "json-c")
(version "0.14")
(source (origin
(inherit (package-source json-c))
(patches (search-patches "json-c-CVE-2020-12762.patch"))))))
;; TODO: Remove these old versions when all dependents have been updated.
(define-public json-c-0.13
(package