forked from mirrors/nixpkgs
sbsigntool: 0.9.1 -> 0.9.4
This commit is contained in:
parent
55cadbcfa3
commit
aa8115c447
|
@ -1,9 +1,11 @@
|
|||
--- sbsigntools/configure.ac 2018-09-25 10:30:00.878766256 -0500
|
||||
+++ configure.ac.new 2018-09-25 10:34:56.231277375 -0500
|
||||
@@ -71,15 +71,16 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 4ffb68f..d8a8265 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -71,15 +71,16 @@ AM_CONDITIONAL(TEST_BINARY_FORMAT, [ test "$EFI_ARCH" = "arm" -o "$EFI_ARCH" = "
|
||||
# no consistent view of where gnu-efi should dump the efi stuff, so find it
|
||||
##
|
||||
for path in /lib /lib64 /usr/lib /usr/lib64 /usr/lib32 /lib/efi /lib64/efi /usr/lib/efi /usr/lib64/efi; do
|
||||
for path in /lib /lib64 /usr/lib /usr/lib64 /usr/lib32 /lib/efi /lib64/efi /usr/lib/efi /usr/lib64/efi /usr/lib/gnuefi /usr/lib64/gnuefi ; do
|
||||
- if test -e $path/crt0-efi-$EFI_ARCH.o; then
|
||||
- CRTPATH=$path
|
||||
+ if test -e @@NIX_GNUEFI@@/$path/crt0-efi-$EFI_ARCH.o; then
|
||||
|
@ -20,7 +22,7 @@
|
|||
-DEFI_FUNCTION_WRAPPER"
|
||||
CPPFLAGS_save="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $EFI_CPPFLAGS"
|
||||
@@ -90,5 +91,5 @@
|
||||
@@ -90,5 +91,5 @@ AC_SUBST(EFI_ARCH, $EFI_ARCH)
|
||||
AC_SUBST(CRTPATH, $CRTPATH)
|
||||
|
||||
AC_CONFIG_FILES([Makefile src/Makefile lib/ccan/Makefile]
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
, openssl, libuuid, gnu-efi, libbfd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sbsigntool";
|
||||
version = "0.9.1";
|
||||
version = "0.9.4";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git";
|
||||
rev = "v0.9.1";
|
||||
sha256 = "098gxmhjn8acxjw5bq59wq4xhgkpx1xn8kjvxwdzpqkwq9ivrsbp";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-dbjdA+hjII/k7wABTTJV5RBdy4KlNkFlBWEaX4zn5vg=";
|
||||
};
|
||||
|
||||
patches = [ ./autoconf.patch ];
|
||||
|
|
Loading…
Reference in a new issue