2020-10-15 17:58:54 +00:00
|
|
|
Name: mokutil
|
2022-05-05 15:38:23 +00:00
|
|
|
Version: 0.5.0
|
2022-05-05 17:10:38 +00:00
|
|
|
Release: 2%{?dist}
|
2020-10-15 17:58:54 +00:00
|
|
|
Epoch: 2
|
|
|
|
Summary: Tool to manage UEFI Secure Boot MoK Keys
|
|
|
|
License: GPLv3+
|
|
|
|
URL: https://github.com/lcp/mokutil
|
|
|
|
Source0: https://github.com/lcp/mokutil/archive/%{version}.tar.gz
|
2022-03-28 20:16:39 +00:00
|
|
|
Source1: mokutil.patches
|
2022-05-05 15:38:23 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64 aarch64
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: efivar-devel >= 31-1
|
|
|
|
BuildRequires: gcc
|
2022-05-05 17:10:38 +00:00
|
|
|
BuildRequires: git
|
2022-05-05 15:38:23 +00:00
|
|
|
BuildRequires: gnu-efi
|
|
|
|
BuildRequires: keyutils-libs-devel
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: openssl
|
|
|
|
BuildRequires: openssl-devel
|
2020-10-15 17:58:54 +00:00
|
|
|
Conflicts: shim < 0.8-1%{?dist}
|
|
|
|
Obsoletes: mokutil < 0.2.0
|
|
|
|
|
2022-03-28 20:16:39 +00:00
|
|
|
%include %{SOURCE1}
|
2020-10-15 17:58:54 +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/*
|
|
|
|
%{_datadir}/bash-completion/completions/mokutil
|
|
|
|
|
|
|
|
%changelog
|
2022-05-05 17:10:38 +00:00
|
|
|
* Thu May 05 2022 Robbie Harwood <rharwood@redhat.com> - 2:0.5.0-2
|
|
|
|
- Add git to buildrequires
|
|
|
|
- Resolves: #2081474
|
|
|
|
|
2022-05-05 15:38:23 +00:00
|
|
|
* Thu May 05 2022 Robbie Harwood <rharwood@redhat.com> - 2:0.5.0-1
|
|
|
|
- New upstream version (0.5.0)
|
|
|
|
- Resolves: #2081474
|
|
|
|
|
2022-03-28 20:16:39 +00:00
|
|
|
* Mon Mar 28 2022 Robbie Harwood <rharwood@redhat.com> - 2:0.4.0-9
|
|
|
|
- Add ability to change fallback verbose mode
|
|
|
|
- Resolves: #2069296
|
|
|
|
|
2021-08-09 22:22:16 +00:00
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2:0.4.0-8
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
2021-06-16 03:31:35 +00:00
|
|
|
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 2:0.4.0-7
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
2021-05-25 16:31:31 +00:00
|
|
|
* Tue May 25 2021 Javier Martinez Canillas <javierm@redhat.com> - 0.4.0-6
|
|
|
|
- Port to OpenSSL 3.0
|
|
|
|
Resolves: rhbz#1958040
|
|
|
|
|
2021-04-16 02:15:57 +00:00
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2:0.4.0-5
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
2021-03-26 19:57:01 +00:00
|
|
|
* Wed Mar 17 2021 Javier Martinez Canillas <javierm@redhat.com> - 0.4.0-4
|
|
|
|
- Add SBAT and mok-variables support
|
|
|
|
|
2021-02-04 12:44:42 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.4.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-10-15 17:58:54 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.4.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jun 11 2020 Javier Martinez Canillas <javierm@redhat.com> - 0.4.0-1
|
|
|
|
- Update to 0.4.0 release
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.3.0-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Nov 12 2019 Peter Jones <pjones@redhat.com> - 0.3.0-14
|
|
|
|
- Pull one more upstream patch to keep this in sync with the f31 build.
|
|
|
|
|
|
|
|
* Thu Oct 24 2019 Leigh Scott <leigh123linux@googlemail.com> - 1:0.3.0-14
|
|
|
|
- Apply upstream commits to fix FTBFS
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.0-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.0-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 1:0.3.0-11
|
|
|
|
- Rebuilt for libcrypt.so.2 (#1666033)
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 1:0.3.0-8
|
|
|
|
- Rebuilt for switch to libxcrypt
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* Sat Jul 08 2017 Peter Jones <pjones@redhat.com> - 0.3.0-5
|
|
|
|
- Rebuild for efivar-31-1.fc26
|
|
|
|
Related: rhbz#1468841
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* Wed Aug 17 2016 Peter Jones <pjones@redhat.com> - 0.3.0-3
|
|
|
|
- Rebuild for newer efivar again.
|
|
|
|
|
|
|
|
* Wed Aug 10 2016 Peter Jones <pjones@redhat.com> - 0.3.0-2
|
|
|
|
- Update for newer efivar.
|
|
|
|
|
|
|
|
* Tue Jun 14 2016 Peter Jones <pjones@redhat.com> - 0.3.0-1
|
|
|
|
- Update to 0.3.0 release.
|
|
|
|
Resolves: rhbz#1334628
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* Mon Oct 06 2014 Peter Jones <pjones@redhat.com> - 0.2.0-1
|
|
|
|
- First independent package.
|