Archived
1
0
Fork 0

gnu: cryfs: Update to 0.11.2.

* gnu/packages/crypto.scm (cryfs): Update to 0.11.2.
[arguments]: Fix build with boost 1.77

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Brendan Tildesley 2022-03-10 20:49:44 +11:00 committed by Ludovic Courtès
parent 00dfff84c6
commit 5d4af22ef2
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1461,7 +1461,7 @@ non-encrypted files.")
(define-public cryfs (define-public cryfs
(package (package
(name "cryfs") (name "cryfs")
(version "0.11.0") (version "0.11.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -1469,7 +1469,7 @@ non-encrypted files.")
"https://github.com/cryfs/cryfs/releases/download/" "https://github.com/cryfs/cryfs/releases/download/"
version "/cryfs-" version ".tar.xz")) version "/cryfs-" version ".tar.xz"))
(sha256 (sha256
(base32 "0dxphbj5sssm82rkkdb71algrcki16qlpzlvrjyvvm6b7x7zi0sm")))) (base32 "1ggizlacm4fccsw9syy2763ihxnby6cdh3mhhraxy8bmsdjza7lm"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:modules ((guix build cmake-build-system) '(#:modules ((guix build cmake-build-system)
@ -1485,7 +1485,7 @@ non-encrypted files.")
"/cmake-utils/DependenciesFromLocalSystem.cmake")) "/cmake-utils/DependenciesFromLocalSystem.cmake"))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'fix-configure (add-before 'configure 'fix-up
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
;; Remove junk directory that breaks the build ;; Remove junk directory that breaks the build
(chdir "..") (delete-file-recursively ".circleci") (chdir "..") (delete-file-recursively ".circleci")
@ -1496,7 +1496,14 @@ non-encrypted files.")
(when tests? (when tests?
(substitute* "CMakeLists.txt" (substitute* "CMakeLists.txt"
(("option.BUILD_TESTING .build test cases. OFF.") (("option.BUILD_TESTING .build test cases. OFF.")
"option(BUILD_TESTING \"build test cases\" ON)"))))) "option(BUILD_TESTING \"build test cases\" ON)")))
;; work around a missing import fixed upstream in boost 1.78
;; See https://github.com/boostorg/process/issues/213
(substitute* (find-files "." "subprocess.cpp$")
(("#include <boost/process.hpp>.*" line)
(string-append
"#include <algorithm>\n"
line)))))
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?