2013-01-15 09:03:56 +01:00
|
|
|
#
|
|
|
|
# spec file for package mokutil
|
|
|
|
#
|
2019-01-16 04:05:25 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-01-15 09:03:56 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-11-23 10:10:42 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-01-15 09:03:56 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: mokutil
|
2019-05-28 08:42:29 +02:00
|
|
|
Version: 0.4.0
|
2013-01-16 10:28:17 +01:00
|
|
|
Release: 0
|
2013-01-15 09:03:56 +01:00
|
|
|
Summary: Tools for manipulating machine owner keys
|
2018-03-27 10:05:36 +02:00
|
|
|
License: GPL-3.0-only
|
2013-01-15 09:03:56 +01:00
|
|
|
Group: Productivity/Security
|
2013-01-16 10:28:17 +01:00
|
|
|
Url: https://github.com/lcp/mokutil
|
2019-05-28 08:42:29 +02:00
|
|
|
Source: https://github.com/lcp/%{name}/archive/%{version}.tar.gz
|
2019-05-17 11:02:19 +02:00
|
|
|
Source1: modhash
|
2019-05-28 08:42:29 +02:00
|
|
|
# PATCH-FIX-UPSTREAM mokutil-remove-shebang-from-bash-completion-file.patch glin@suse.com -- Remove shebang from bash-completion/mokutil
|
|
|
|
Patch1: mokutil-remove-shebang-from-bash-completion-file.patch
|
2014-02-24 17:32:32 +01:00
|
|
|
Patch100: mokutil-support-revoke-builtin-cert.patch
|
2013-01-30 10:56:06 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2014-11-04 09:19:57 +01:00
|
|
|
BuildRequires: efivar-devel >= 0.12
|
2013-01-15 09:03:56 +01:00
|
|
|
BuildRequires: libopenssl-devel >= 0.9.8
|
2013-01-16 10:28:17 +01:00
|
|
|
BuildRequires: pkg-config
|
2019-05-17 11:02:19 +02:00
|
|
|
Requires: openssl
|
2013-01-15 09:03:56 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2019-12-23 02:37:10 +01:00
|
|
|
ExclusiveArch: x86_64 aarch64 ppc64le ppc64
|
2013-01-15 09:03:56 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This program provides the means to enroll and erase the machine owner
|
|
|
|
keys (MOK) stored in the database of shim.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gary Lin <glin@suse.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2013-12-05 03:46:51 +01:00
|
|
|
%patch1 -p1
|
2014-02-24 17:32:32 +01:00
|
|
|
%patch100 -p1
|
2013-01-15 09:03:56 +01:00
|
|
|
|
|
|
|
%build
|
2019-05-28 08:42:29 +02:00
|
|
|
./autogen.sh
|
2013-01-15 09:03:56 +01:00
|
|
|
%configure
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2019-05-17 11:02:19 +02:00
|
|
|
install -m 755 -D %{SOURCE1} %{buildroot}/%{_bindir}/modhash
|
2013-01-15 09:03:56 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2018-03-27 10:05:36 +02:00
|
|
|
%license COPYING
|
2013-01-15 09:03:56 +01:00
|
|
|
%{_bindir}/mokutil
|
2019-05-17 11:02:19 +02:00
|
|
|
%{_bindir}/modhash
|
2013-01-15 09:03:56 +01:00
|
|
|
%{_mandir}/man?/*
|
2019-05-28 08:42:29 +02:00
|
|
|
%dir %{_datadir}/bash-completion/completions/
|
|
|
|
%{_datadir}/bash-completion/completions/mokutil
|
2013-01-15 09:03:56 +01:00
|
|
|
|
|
|
|
%changelog
|