gnu: keyutils: Update to 1.6.3.

* gnu/packages/crypto.scm (keyutils): Update to 1.6.3.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
[arguments]: Don't explicitly return #t from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2021-12-18 21:29:45 +01:00
parent 2f5f658d70
commit e207412e71
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -365,21 +365,22 @@ (define-public encfs
(define-public keyutils
(package
(name "keyutils")
(version "1.6.1")
(version "1.6.3")
(source
(origin
(method url-fetch)
(uri
(string-append "https://people.redhat.com/dhowells/keyutils/keyutils-"
version ".tar.bz2"))
(method git-fetch)
(uri (git-reference
(url (string-append "https://git.kernel.org/pub/scm/linux/kernel/"
"git/dhowells/keyutils.git"))
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1kk4pmyflgplkgxn2bzpc069ph9c9jdd9ikcsyd5pnaimqi5gcf8"))
(base32 "1095g1p5038m91wf2dxnagngpvww7ilcj8fhyviid3srvxr675i7"))
(modules '((guix build utils)))
;; Create relative symbolic links instead of absolute ones to /lib/*.
(snippet '(begin
(substitute* "Makefile" (("\\$\\(LNS\\) \\$\\(LIBDIR\\)/")
"$(LNS) "))
#t))))
"$(LNS) "))))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases