|
|
d6e5c96 |
Summary: Signing utility for UEFI binaries
|
|
|
d6e5c96 |
Name: pesign
|
|
|
aaf8993 |
Version: 0.10
|
|
|
cc70e86 |
Release: 3%{?dist}
|
|
|
d6e5c96 |
Group: Development/System
|
|
|
d6e5c96 |
License: GPLv2
|
|
|
d6e5c96 |
URL: https://github.com/vathpela/pesign
|
|
|
b252c93 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
b252c93 |
BuildRequires: git gnu-efi nspr nspr-devel nss nss-devel nss-util popt-devel
|
|
|
aaf8993 |
Requires: nspr nss nss-util popt rpm
|
|
|
0f6fcf3 |
ExclusiveArch: i686 x86_64 ia64
|
|
|
b252c93 |
|
|
|
d6e5c96 |
# there is no tarball at github, of course. To get this version do:
|
|
|
d6e5c96 |
# git clone https://github.com/vathpela/pesign.git
|
|
|
d6e5c96 |
# git checkout %%{version}
|
|
|
ca4b435 |
Source0: pesign-%{version}.tar.bz2
|
|
|
ca4b435 |
Source1: rh-test-certs.tar.bz2
|
|
|
d6e5c96 |
|
|
|
a28df7d |
Patch0: pesign-0.10-better-macros.patch
|
|
|
cc70e86 |
Patch1: pesign-0.10-only-sign-on-x86-64.patch
|
|
|
a28df7d |
|
|
|
d6e5c96 |
%description
|
|
|
d6e5c96 |
This package contains the pesign utility for signing UEFI binaries as
|
|
|
d6e5c96 |
well as other associated tools.
|
|
|
d6e5c96 |
|
|
|
d6e5c96 |
%prep
|
|
|
ca4b435 |
%setup -q -a 1
|
|
|
d6e5c96 |
git init
|
|
|
d6e5c96 |
git config user.email "pesign-owner@fedoraproject.org"
|
|
|
d6e5c96 |
git config user.name "Fedora Ninjas"
|
|
|
d6e5c96 |
git add .
|
|
|
d6e5c96 |
git commit -a -q -m "%{version} baseline."
|
|
|
d6e5c96 |
git am %{patches}
|
|
|
d6e5c96 |
|
|
|
d6e5c96 |
%build
|
|
|
7640155 |
make PREFIX=%{_prefix} LIBDIR=%{_libdir}
|
|
|
d6e5c96 |
|
|
|
d6e5c96 |
%install
|
|
|
d6e5c96 |
rm -rf %{buildroot}
|
|
|
d6e5c96 |
mkdir -p %{buildroot}/%{_libdir}
|
|
|
d6e5c96 |
make PREFIX=%{_prefix} LIBDIR=%{_libdir} INSTALLROOT=%{buildroot} install
|
|
|
d6e5c96 |
|
|
|
d6e5c96 |
# there's some stuff that's not really meant to be shipped yet
|
|
|
ed349fc |
rm -rf %{buildroot}/boot %{buildroot}/usr/include %{buildroot}%{_libdir}
|
|
|
ca4b435 |
mv rh-test-certs/etc/pki/pesign/* %{buildroot}/etc/pki/pesign/
|
|
|
d6e5c96 |
|
|
|
d6e5c96 |
%clean
|
|
|
d6e5c96 |
rm -rf %{buildroot}
|
|
|
d6e5c96 |
|
|
|
d6e5c96 |
%files
|
|
|
d6e5c96 |
%defattr(-,root,root,-)
|
|
|
d6e5c96 |
%doc README TODO COPYING
|
|
|
d6e5c96 |
%{_bindir}/pesign
|
|
|
d6e5c96 |
%{_sysconfdir}/popt.d/pesign.popt
|
|
|
aaf8993 |
%{_sysconfdir}/rpm/macros.pesign
|
|
|
b252c93 |
%{_mandir}/man*/*
|
|
|
aaf8993 |
%attr(0755,root,root) /etc/pki/pesign
|
|
|
97454ce |
%attr(0644,root,root) /etc/pki/pesign/*
|
|
|
d6e5c96 |
|
|
|
d6e5c96 |
%changelog
|
|
|
cc70e86 |
* Tue Aug 14 2012 Peter Jones <pjones@redhat.com> - 0.10-3
|
|
|
cc70e86 |
- Only sign things on x86_64; all else ignore gracefully.
|
|
|
cc70e86 |
|
|
|
a28df7d |
* Tue Aug 14 2012 Peter Jones <pjones@redhat.com> - 0.10-2
|
|
|
a28df7d |
- Make macros.pesign more reliable
|
|
|
a28df7d |
|
|
|
aaf8993 |
* Mon Aug 13 2012 Peter Jones <pjones@redhat.com> - 0.10-1
|
|
|
aaf8993 |
- Update to 0.10
|
|
|
aaf8993 |
- Include rpm macros to support easy custom signing of signed packages.
|
|
|
aaf8993 |
|
|
|
c813a03 |
* Fri Aug 10 2012 Peter Jones <pjones@redhat.com> - 0.9-1
|
|
|
c813a03 |
- Update to 0.9
|
|
|
c813a03 |
- Bug fix from Gary Ching-Pang Lin
|
|
|
c813a03 |
- Support NSS Token selection for use with smart cards.
|
|
|
c813a03 |
|
|
|
97454ce |
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 0.8-1
|
|
|
97454ce |
- Update to 0.8
|
|
|
97454ce |
- Don't open the db read-write
|
|
|
97454ce |
- Fix permissions on keystore (everybody can sign with test keys)
|
|
|
97454ce |
|
|
|
ca4b435 |
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 0.7-2
|
|
|
ca4b435 |
- Include test keys.
|
|
|
ca4b435 |
|
|
|
23bf592 |
* Mon Jul 30 2012 Peter Jones <pjones@redhat.com> - 0.7-1
|
|
|
23bf592 |
- Update to 0.7
|
|
|
23bf592 |
- Better fix for MS compatibility.
|
|
|
23bf592 |
|
|
|
6ee859b |
* Mon Jul 30 2012 Peter Jones <pjones@redhat.com> - 0.6-1
|
|
|
6ee859b |
- Update to 0.6
|
|
|
6ee859b |
- Bug-for-bug compatibility with signtool.exe .
|
|
|
6ee859b |
|
|
|
636910c |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-2
|
|
|
636910c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
636910c |
|
|
|
74121f1 |
* Wed Jul 11 2012 Peter Jones <pjones@redhat.com> - 0.5-1
|
|
|
74121f1 |
- Rebase to 0.5
|
|
|
74121f1 |
- Do more rigorous bounds checking when hashing a new binary.
|
|
|
74121f1 |
|
|
|
a056b55 |
* Tue Jul 10 2012 Peter Jones <pjones@redhat.com> - 0.3-2
|
|
|
a056b55 |
- Rebase to 0.4
|
|
|
a056b55 |
|
|
|
b252c93 |
* Fri Jun 22 2012 Peter Jones <pjones@redhat.com> - 0.3-2
|
|
|
b252c93 |
- Move man page to a more reasonable place.
|
|
|
b252c93 |
|
|
|
7640155 |
* Fri Jun 22 2012 Peter Jones <pjones@redhat.com> - 0.3-1
|
|
|
7640155 |
- Update to upstream's 0.3 .
|
|
|
7640155 |
|
|
|
92dbf7e |
* Thu Jun 21 2012 Peter Jones <pjones@redhat.com> - 0.2-4
|
|
|
92dbf7e |
- Do not build with smp flags.
|
|
|
92dbf7e |
|
|
|
ed349fc |
* Thu Jun 21 2012 Peter Jones <pjones@redhat.com> - 0.2-3
|
|
|
ed349fc |
- Make it build on i686, though it's unclear it'll ever be necessary.
|
|
|
ed349fc |
|
|
|
dccc1c9 |
* Thu Jun 21 2012 Peter Jones <pjones@redhat.com> - 0.2-2
|
|
|
dccc1c9 |
- Fix compile problem with f18's compiler.
|
|
|
dccc1c9 |
|
|
|
d6e5c96 |
* Thu Jun 21 2012 Peter Jones <pjones@redhat.com> - 0.2-1
|
|
|
d6e5c96 |
- Fix some rpmlint complaints nirik pointed out
|
|
|
d6e5c96 |
- Add popt-devel build dep
|
|
|
d6e5c96 |
|
|
|
d6e5c96 |
* Fri Jun 15 2012 Peter Jones <pjones@redhat.com> - 0.1-1
|
|
|
d6e5c96 |
- First version of SRPM.
|