|
|
089977 |
Name: dbxtool
|
|
|
089977 |
Version: 8
|
|
|
089977 |
Release: 5%{?dist}.2
|
|
|
089977 |
Summary: Secure Boot DBX updater
|
|
|
089977 |
License: GPLv2
|
|
|
089977 |
URL: https://github.com/vathpela/dbxtool
|
|
|
089977 |
ExclusiveArch: i386 x86_64 aarch64
|
|
|
089977 |
BuildRequires: popt-devel git systemd
|
|
|
089977 |
BuildRequires: efivar-devel >= 31-3
|
|
|
089977 |
Requires: efivar >= 31-3
|
|
|
089977 |
Requires(post): systemd
|
|
|
089977 |
Requires(preun):systemd
|
|
|
089977 |
Source0: https://github.com/vathpela/dbxtool/releases/download/dbxtool-%{version}/dbxtool-%{version}.tar.bz2
|
|
|
089977 |
Patch0000: %{name}-8-ccldflags.patch
|
|
|
089977 |
Patch0001: 0001-don-t-use-f-in-dbxtool.service.patch
|
|
|
089977 |
Patch0002: 0002-Make-quiet-exit-on-missing-PK-KEK-not-return-error-s.patch
|
|
|
089977 |
Patch0003: 0003-fix-relop-in-esl_iter_next.patch
|
|
|
089977 |
|
|
|
089977 |
%description
|
|
|
089977 |
This package contains DBX updates for UEFI Secure Boot.
|
|
|
089977 |
|
|
|
089977 |
%prep
|
|
|
089977 |
%setup -q -n %{name}-%{version}
|
|
|
089977 |
git init
|
|
|
089977 |
git config user.email "%{name}-owner@fedoraproject.org"
|
|
|
089977 |
git config user.name "Fedora Ninjas"
|
|
|
089977 |
git add .
|
|
|
089977 |
git commit -a -q -m "%{version} baseline."
|
|
|
089977 |
git am %{patches}
|
|
|
089977 |
git config --unset user.email
|
|
|
089977 |
git config --unset user.name
|
|
|
089977 |
|
|
|
089977 |
%build
|
|
|
089977 |
make PREFIX=%{_prefix} LIBDIR=%{_libdir} CFLAGS="$RPM_OPT_FLAGS" CCLDFLAGS="%{__global_ldflags}"
|
|
|
089977 |
|
|
|
089977 |
%install
|
|
|
089977 |
rm -rf $RPM_BUILD_ROOT
|
|
|
089977 |
mkdir -p %{buildroot}/%{_libdir}
|
|
|
089977 |
make PREFIX=%{_prefix} LIBDIR=%{_libdir} INSTALLROOT=%{buildroot} \
|
|
|
089977 |
install
|
|
|
089977 |
rm -f %{buildroot}/%{_docdir}/%{name}/COPYING
|
|
|
089977 |
|
|
|
089977 |
%post
|
|
|
089977 |
%systemd_post dbxtool.service
|
|
|
089977 |
|
|
|
089977 |
%preun
|
|
|
089977 |
%systemd_preun dbxtool.service
|
|
|
089977 |
|
|
|
089977 |
%files
|
|
|
089977 |
%{!?_licensedir:%global license %%doc}
|
|
|
089977 |
%license COPYING
|
|
|
089977 |
%{_bindir}/dbxtool
|
|
|
089977 |
%doc %{_mandir}/man1/*
|
|
|
089977 |
%dir %{_datadir}/dbxtool/
|
|
|
089977 |
%{_datadir}/dbxtool/*.bin
|
|
|
089977 |
%{_unitdir}/dbxtool.service
|
|
|
089977 |
|
|
|
089977 |
%changelog
|
|
|
089977 |
* Wed Jan 20 2021 Jan Hlavac <jhlavac@redhat.com> - 8-5.el8_3.2
|
|
|
089977 |
- Enable manual gating
|
|
|
089977 |
Related: rhbz#1681753
|
|
|
089977 |
Related: rhbz#1912474
|
|
|
089977 |
|
|
|
089977 |
* Fri Jan 15 2021 Javier Martinez Canillas <javierm@redhat.com> - 8-5.el8_3.1
|
|
|
089977 |
- Fix 'EFI Signature List is malformed' error (lersek)
|
|
|
089977 |
Resolves: rhbz#1912474
|
|
|
089977 |
|
|
|
089977 |
* Thu Apr 12 2018 Petr Šabata <contyk@redhat.com> - 8-5
|
|
|
089977 |
- Fix build flags injection (rhbz#1548123)
|
|
|
089977 |
|
|
|
089977 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8-4
|
|
|
089977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
089977 |
|
|
|
089977 |
* Mon Oct 23 2017 Peter Jones <pjones@redhat.com> - 8-3
|
|
|
089977 |
- Also don't return error if we're using --quiet and PK/KEK are absent.
|
|
|
089977 |
Resolves: rhbz#1489942
|
|
|
089977 |
|
|
|
089977 |
* Thu Oct 19 2017 Peter Jones <pjones@redhat.com> - 8-2
|
|
|
089977 |
- Don't use -f in dbxtool.service; that'll make it do the thing we're
|
|
|
089977 |
trying to avoid.
|
|
|
089977 |
Resolves: rhbz#1489942
|
|
|
089977 |
|
|
|
089977 |
* Wed Oct 18 2017 Peter Jones <pjones@redhat.com> - 8-1
|
|
|
089977 |
- Update to dbxtool 8
|
|
|
089977 |
- Make a "make coverity" rule to scan the source
|
|
|
089977 |
Results at: https://scan.coverity.com/projects/rhboot-dbxtool
|
|
|
089977 |
- Don't try to apply anything if PK and KEK aren't enrolled
|
|
|
089977 |
- Add --force and --quiet for the PK/KEK checker, and use them in the
|
|
|
089977 |
systemd service.
|
|
|
089977 |
Resolves: rhbz#1489942
|
|
|
089977 |
- Add a .syntastic_c_config for vim's Syntastic modules
|
|
|
089977 |
- Use tsearch()/tfind()/tdestroy() from libc instead of ccan htables
|
|
|
089977 |
- Don't open the dbx file with O_RDWR|O_CREAT, use O_RDONLY.
|
|
|
089977 |
- Lots of minor bug fixes gcc -Wextra and friends found.
|
|
|
089977 |
|
|
|
089977 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7-6
|
|
|
089977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
089977 |
|
|
|
089977 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7-5
|
|
|
089977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
089977 |
|
|
|
089977 |
* Sat Jul 08 2017 Peter Jones <pjones@redhat.com> - 7-4
|
|
|
089977 |
- Rebuild for efivar-31-1.fc26
|
|
|
089977 |
Related: rhbz#1468841
|
|
|
089977 |
|
|
|
089977 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7-3
|
|
|
089977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
089977 |
|
|
|
089977 |
* Wed Aug 17 2016 Peter Jones <pjones@redhat.com> - 7-2
|
|
|
089977 |
- Rebuild for newer efivar.
|
|
|
089977 |
|
|
|
089977 |
* Wed Aug 10 2016 Peter Jones <pjones@redhat.com> - 7-1
|
|
|
089977 |
- Update to version 7
|
|
|
089977 |
- Add new dbxupdate.bin for CVE-2016-3320 and
|
|
|
089977 |
https://support.microsoft.com/en-us/kb/3179577
|
|
|
089977 |
|
|
|
089977 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-6
|
|
|
089977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
089977 |
|
|
|
089977 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-5
|
|
|
089977 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
089977 |
|
|
|
089977 |
* Mon Feb 23 2015 Peter Jones <pjones@redhat.com> - 0.6-4
|
|
|
089977 |
- Zbigniew Jędrzejewski-Szmek was kind enough to audit the systemd service,
|
|
|
089977 |
and had some suggestions, as did Harald Hoyer and Lennart Poettering.
|
|
|
089977 |
Related: rhbz#1181568
|
|
|
089977 |
|
|
|
089977 |
* Tue Dec 09 2014 Peter Jones <pjones@redhat.com> - 0.6-3
|
|
|
089977 |
- Add systemd scriptlets for the service.
|
|
|
089977 |
|
|
|
089977 |
* Thu Oct 09 2014 Peter Jones <pjones@redhat.com> - 0.6-2
|
|
|
089977 |
- Require efivar >= 0.14-1 specifically.
|
|
|
089977 |
|
|
|
089977 |
* Wed Oct 08 2014 Peter Jones <pjones@redhat.com> - 0.6-1
|
|
|
089977 |
- Update to 0.6
|
|
|
089977 |
- make "dbxtool -l" correctly show not-well-known guids.
|
|
|
089977 |
|
|
|
089977 |
* Tue Oct 07 2014 Peter Jones <pjones@redhat.com> - 0.5-1
|
|
|
089977 |
- Update to 0.5:
|
|
|
089977 |
- make applying to dbx when it doesn't exist work (lersek)
|
|
|
089977 |
- make displaying KEK work right
|
|
|
089977 |
|
|
|
089977 |
* Wed Aug 20 2014 Peter Jones <pjones@redhat.com> - 0.4-1
|
|
|
089977 |
- First packaging attempt.
|