2013-01-15 09:03:56 +01:00
|
|
|
#
|
|
|
|
# spec file for package mokutil
|
|
|
|
#
|
2014-01-22 07:52:14 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products 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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: mokutil
|
2013-07-25 12:27:41 +02:00
|
|
|
Version: 0.2.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
|
2013-01-16 10:28:17 +01:00
|
|
|
License: GPL-3.0
|
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
|
2013-01-15 09:03:56 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2013-12-05 03:46:51 +01:00
|
|
|
# PATCH-FIX-UPSTREAM mokutil-upstream-fixes.patch glin@suse.com -- Include upstream fixes for db signature check, gcc warnings, error handling
|
|
|
|
Patch1: mokutil-upstream-fixes.patch
|
|
|
|
# PATCH-FIX-UPSTREAM mokutil-mokx-support.patch glin@suse.com -- Support the MOK blacklist
|
|
|
|
Patch2: mokutil-mokx-support.patch
|
2014-02-13 02:56:54 +01:00
|
|
|
# PATCH-FIX-UPSTREAM mokutil-fix-hash-list-size.patch glin@suse.com -- Update the list size after merging or deleting a hash
|
|
|
|
Patch3: mokutil-fix-hash-list-size.patch
|
|
|
|
# PATCH-FIX-UPSTREAM mokutil-clean-request.patch glin@suse.com -- Clear the request if all keys are removed
|
|
|
|
Patch4: mokutil-clean-request.patch
|
2014-02-24 17:32:32 +01:00
|
|
|
# PATCH-FIX-OPENSUSE mokutil-support-revoke-builtin-cert.patch glin@suse.com -- Add an option to revoke the built-in certificate
|
|
|
|
Patch100: mokutil-support-revoke-builtin-cert.patch
|
2013-01-30 10:56:06 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
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
|
2013-01-15 09:03:56 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
ExclusiveArch: x86_64
|
|
|
|
|
|
|
|
%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
|
|
|
|
%patch2 -p1
|
2014-02-13 02:56:54 +01:00
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
2014-02-24 17:32:32 +01:00
|
|
|
%patch100 -p1
|
2013-01-15 09:03:56 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2013-01-16 10:28:17 +01:00
|
|
|
%doc COPYING
|
2013-01-15 09:03:56 +01:00
|
|
|
%{_bindir}/mokutil
|
|
|
|
%{_mandir}/man?/*
|
|
|
|
|
|
|
|
%changelog
|