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
|
2014-11-04 09:19:57 +01:00
|
|
|
Version: 0.3.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
|
2014-11-04 09:19:57 +01:00
|
|
|
# PATCH-FIX-UPSTREAM mokutil-fix-overflow.patch glin@suse.com -- Fix the potential buffer overflow
|
|
|
|
Patch1: mokutil-fix-overflow.patch
|
|
|
|
# OPENSUSE ONLY
|
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
|
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
|
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
|
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
|