diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-07-23 02:00:00 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-07-30 02:00:00 +0200 |
commit | b4e790988e6c44d0116d2a8e59c8658bc2d168fc (patch) | |
tree | 9bf7432823b4e4aaf5c0dae8931d34cb9fbb2f19 /gnu | |
parent | 75b95af9d64563f316992af141cde4f5f4f36441 (diff) | |
download | guix-b4e790988e6c44d0116d2a8e59c8658bc2d168fc.tar.gz guix-b4e790988e6c44d0116d2a8e59c8658bc2d168fc.zip |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/serialization.scm | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 38e75bda98..9c114aaf39 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -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 |