gnu: sbsigntools: Update to 0.9.5.
This fixes a build failure with openssl-3. * gnu/packages/efi.scm (sbsigntools): Update to 0.9.5. [arguments]: Remove trailing #t's. Use Gexps. Use "this-package-input". Simplify lambdas. [inputs]: Remove labels. Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
This commit is contained in:
parent
b741218e91
commit
f72f3a909a
@ -30,6 +30,7 @@
|
|||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
@ -99,7 +100,7 @@ information.")
|
|||||||
(define-public sbsigntools
|
(define-public sbsigntools
|
||||||
(package
|
(package
|
||||||
(name "sbsigntools")
|
(name "sbsigntools")
|
||||||
(version "0.9.4")
|
(version "0.9.5")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
@ -110,34 +111,32 @@ information.")
|
|||||||
(recursive? #t)))
|
(recursive? #t)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1y76wy65y6k10mjl2dm5hb5ms475alr4s080xzj8y833x01xvf3m"))))
|
(base32 "060n6w0dx1mrilhdv482ncckanqz6pdv53piimiki0bm15d2fcp4"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'patch-more-shebangs
|
#~(modify-phases %standard-phases
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(add-after 'unpack 'patch-more-shebangs
|
||||||
(substitute* "lib/ccan.git/tools/create-ccan-tree"
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
||||||
(("#!/bin/bash")
|
(substitute* "lib/ccan.git/tools/create-ccan-tree"
|
||||||
(string-append "#!"
|
(("#!/bin/bash")
|
||||||
(assoc-ref inputs "bash")
|
(string-append "#!"
|
||||||
"/bin/bash")))
|
(search-input-file (or native-inputs inputs)
|
||||||
#t))
|
"/bin/bash"))))))
|
||||||
(add-after 'unpack 'patch
|
(add-after 'unpack 'patch
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda _
|
||||||
(substitute* '("configure.ac"
|
(substitute* '("configure.ac"
|
||||||
"tests/Makefile.am")
|
"tests/Makefile.am")
|
||||||
(("/usr/include/efi")
|
(("/usr/include/efi")
|
||||||
(string-append (assoc-ref inputs "gnu-efi")
|
(string-append #$(this-package-input "gnu-efi")
|
||||||
"/include/efi"))
|
"/include/efi"))
|
||||||
(("/usr/lib/gnuefi")
|
(("/usr/lib/gnuefi")
|
||||||
(string-append (assoc-ref inputs "gnu-efi")
|
(string-append #$(this-package-input "gnu-efi")
|
||||||
"/lib")))
|
"/lib")))))
|
||||||
#t))
|
(add-after 'unpack 'setenv
|
||||||
(add-after 'unpack 'setenv
|
(lambda _
|
||||||
(lambda _
|
(setenv "CC" #$(cc-for-target)))))))
|
||||||
(setenv "CC" "gcc")
|
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list autoconf
|
(list autoconf
|
||||||
automake
|
automake
|
||||||
@ -146,9 +145,9 @@ information.")
|
|||||||
pkg-config
|
pkg-config
|
||||||
util-linux)) ; getopt
|
util-linux)) ; getopt
|
||||||
(inputs
|
(inputs
|
||||||
`(("gnu-efi" ,gnu-efi)
|
(list gnu-efi
|
||||||
("libuuid" ,util-linux "lib")
|
`(,util-linux "lib") ; libuuid
|
||||||
("openssl" ,openssl)))
|
openssl))
|
||||||
(synopsis "EFI signing tools")
|
(synopsis "EFI signing tools")
|
||||||
(description "This package provides tools for signing EFI binaries.")
|
(description "This package provides tools for signing EFI binaries.")
|
||||||
(home-page "https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git/")
|
(home-page "https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git/")
|
||||||
|
Loading…
Reference in New Issue
Block a user