From b4e790988e6c44d0116d2a8e59c8658bc2d168fc Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 23 Jul 2023 02:00:00 +0200 Subject: 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. --- gnu/packages/serialization.scm | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'gnu') 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 -- cgit 1.4.1