2014-10-09 02:01:34 +00:00
|
|
|
Name: mokutil
|
2016-06-14 14:14:37 +00:00
|
|
|
Version: 0.3.0
|
2018-02-08 03:05:26 +00:00
|
|
|
Release: 9%{?dist}
|
2014-10-09 02:01:34 +00:00
|
|
|
Epoch: 1
|
|
|
|
Summary: Tool to manage UEFI Secure Boot MoK Keys
|
|
|
|
License: GPLv3+
|
|
|
|
URL: https://github.com/lcp/mokutil
|
|
|
|
ExclusiveArch: %{ix86} x86_64 aarch64
|
|
|
|
BuildRequires: autoconf automake gnu-efi git openssl-devel openssl
|
2017-07-08 20:09:10 +00:00
|
|
|
BuildRequires: efivar-devel >= 31-1
|
2014-10-09 02:01:34 +00:00
|
|
|
Source0: https://github.com/lcp/mokutil/archive/%{version}.tar.gz
|
|
|
|
Conflicts: shim < 0.8-1%{?dist}
|
|
|
|
Obsoletes: mokutil < 0.2.0
|
|
|
|
|
2016-06-14 14:14:37 +00:00
|
|
|
Patch0001: 0001-Fix-the-potential-buffer-overflow.patch
|
|
|
|
Patch0002: 0002-Fix-the-32bit-signedness-comparison.patch
|
|
|
|
Patch0003: 0003-Build-with-fshort-wchar-so-toggle-passwords-work-rig.patch
|
|
|
|
Patch0004: 0004-Don-t-allow-sha1-on-the-mokutil-command-line.patch
|
|
|
|
Patch0005: 0005-Make-all-efi_guid_t-const.patch
|
|
|
|
Patch0006: 0006-mokutil-be-explicit-about-file-modes-in-all-cases.patch
|
|
|
|
Patch0007: 0007-Add-bash-completion-file.patch
|
|
|
|
|
2014-10-09 02:01:34 +00:00
|
|
|
%description
|
|
|
|
mokutil provides a tool to manage keys for Secure Boot through the MoK
|
|
|
|
("Machine's Own Keys") mechanism.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
git init
|
|
|
|
git config user.email "%{name}-owner@fedoraproject.org"
|
|
|
|
git config user.name "Fedora Ninjas"
|
|
|
|
git add .
|
|
|
|
git commit -a -q -m "%{version} baseline."
|
|
|
|
git am %{patches} </dev/null
|
|
|
|
git config --unset user.email
|
|
|
|
git config --unset user.name
|
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make PREFIX=%{_prefix} LIBDIR=%{_libdir} DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
|
|
|
%doc README
|
|
|
|
%{_bindir}/mokutil
|
|
|
|
%{_mandir}/man1/*
|
2016-06-14 15:12:30 +00:00
|
|
|
%{_datadir}/bash-completion/completions/mokutil
|
2014-10-09 02:01:34 +00:00
|
|
|
|
|
|
|
%changelog
|
2018-02-08 03:05:26 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-20 22:07:16 +00:00
|
|
|
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 1:0.3.0-8
|
|
|
|
- Rebuilt for switch to libxcrypt
|
|
|
|
|
2017-08-03 03:30:05 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 22:08:43 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-08 20:09:10 +00:00
|
|
|
* Sat Jul 08 2017 Peter Jones <pjones@redhat.com> - 0.3.0-5
|
|
|
|
- Rebuild for efivar-31-1.fc26
|
|
|
|
Related: rhbz#1468841
|
|
|
|
|
2017-02-10 21:36:54 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-08-17 13:22:40 +00:00
|
|
|
* Wed Aug 17 2016 Peter Jones <pjones@redhat.com> - 0.3.0-3
|
|
|
|
- Rebuild for newer efivar again.
|
|
|
|
|
2016-08-10 21:08:58 +00:00
|
|
|
* Wed Aug 10 2016 Peter Jones <pjones@redhat.com> - 0.3.0-2
|
|
|
|
- Update for newer efivar.
|
|
|
|
|
2016-06-14 14:14:37 +00:00
|
|
|
* Tue Jun 14 2016 Peter Jones <pjones@redhat.com> - 0.3.0-1
|
|
|
|
- Update to 0.3.0 release.
|
|
|
|
Resolves: rhbz#1334628
|
|
|
|
|
2016-02-04 08:38:04 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 20:55:46 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-02-21 21:19:57 +00:00
|
|
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1:0.2.0-2
|
|
|
|
- Rebuilt for Fedora 23 Change
|
|
|
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
|
|
2014-10-09 02:01:34 +00:00
|
|
|
* Mon Oct 06 2014 Peter Jones <pjones@redhat.com> - 0.2.0-1
|
|
|
|
- First independent package.
|