45 lines
1.3 KiB
Diff
45 lines
1.3 KiB
Diff
From 87eb098c85dcae328924e91bb84e8e68ea15fd15 Mon Sep 17 00:00:00 2001
|
|
From: Gary Lin <glin@suse.com>
|
|
Date: Wed, 16 Sep 2020 17:02:56 +0800
|
|
Subject: [PATCH] Remove libkeyutils pkgconfig check
|
|
|
|
keyutils didn't provide pkgconfig in 1.5.*
|
|
|
|
Signed-off-by: Gary Lin <glin@suse.com>
|
|
---
|
|
configure.ac | 1 -
|
|
src/Makefile.am | 3 +--
|
|
2 files changed, 1 insertion(+), 3 deletions(-)
|
|
|
|
Index: mokutil-0.6.0/configure.ac
|
|
===================================================================
|
|
--- mokutil-0.6.0.orig/configure.ac
|
|
+++ mokutil-0.6.0/configure.ac
|
|
@@ -85,7 +85,6 @@ AC_CHECK_FUNCS([memset])
|
|
|
|
PKG_CHECK_MODULES(OPENSSL, [openssl >= 0.9.8])
|
|
PKG_CHECK_MODULES(EFIVAR, [efivar >= 0.12])
|
|
-PKG_CHECK_MODULES(LIBKEYUTILS, [libkeyutils >= 1.5])
|
|
|
|
AC_ARG_WITH([bash-completion-dir],
|
|
AS_HELP_STRING([--with-bash-completion-dir[=PATH]],
|
|
Index: mokutil-0.6.0/src/Makefile.am
|
|
===================================================================
|
|
--- mokutil-0.6.0.orig/src/Makefile.am
|
|
+++ mokutil-0.6.0/src/Makefile.am
|
|
@@ -2,13 +2,12 @@ bin_PROGRAMS = mokutil
|
|
|
|
mokutil_CFLAGS = $(OPENSSL_CFLAGS) \
|
|
$(EFIVAR_CFLAGS) \
|
|
- $(LIBKEYUTILS_CFLAGS) \
|
|
$(WARNINGFLAGS_C) \
|
|
-DVERSION="\"$(VERSION)\""
|
|
|
|
mokutil_LDADD = $(OPENSSL_LIBS) \
|
|
$(EFIVAR_LIBS) \
|
|
- $(LIBKEYUTILS_LIBS) \
|
|
+ -lkeyutils \
|
|
-lcrypt
|
|
|
|
mokutil_SOURCES = signature.h \
|