me
/
guix
Archived
1
0
Fork 0

gnu: capnproto: Update to 1.0 [fixes CVE-2022-46149].

* gnu/packages/serialization.scm (capnproto): Update to 1.0.
[arguments]: Remove obsolete 'do-not-require-/etc/services phase.
Don't explicitly return #t from phases.
master
Tobias Geerinckx-Rice 2023-07-23 02:00:00 +02:00
parent 75b95af9d6
commit b4e790988e
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 2 additions and 9 deletions

View File

@ -584,7 +584,7 @@ object, without whitespace.")
(define-public capnproto
(package
(name "capnproto")
(version "0.8.0")
(version "1.0")
(source (origin
(method url-fetch)
(uri (string-append
@ -597,20 +597,13 @@ object, without whitespace.")
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'do-not-require-/etc/services
(lambda _
;; Workaround for test that tries to resolve port name from
;; /etc/services, which is not present in build environment.
(substitute* "src/kj/async-io-test.c++" ((":http") ":80"))
#t))
(add-before 'check 'use-tmp-for-temporary-files
(lambda _
;; Use /tmp for temporary files, as the default /var/tmp directory
;; doesn't exist.
(substitute* "src/kj/filesystem-disk-test.c++"
(("VAR\\_TMP \"/var/tmp\"")
"VAR_TMP \"/tmp\""))
#t)))))
"VAR_TMP \"/tmp\"")))))))
(home-page "https://capnproto.org")
(synopsis "Capability-based RPC and serialization system")
(description