Update to 0.17.5 upstream, and distribute a custom p11-kit-extract-trust

This commit is contained in:
Stef Walter 2013-03-26 16:36:03 +01:00
parent c55116af1b
commit b440f24285
3 changed files with 24 additions and 4 deletions

11
p11-kit-extract-trust Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/bash
set -e
if test "$UID" != "0"; then
echo "p11-kit: the 'extract-trust' command must be run as root" >&2
exit 2
fi
exec /usr/bin/update-ca-trust

View File

@ -1,11 +1,12 @@
Name: p11-kit
Version: 0.17.4
Version: 0.17.5
Release: 1%{?dist}
Summary: Library for loading and sharing PKCS#11 modules
License: BSD
URL: http://p11-glue.freedesktop.org/p11-kit.html
Source0: http://p11-glue.freedesktop.org/releases/p11-kit-%{version}.tar.gz
Source1: p11-kit-extract-trust
BuildRequires: libtasn1-devel >= 2.14
%description
@ -47,7 +48,6 @@ contains certificate anchors and black lists.
%prep
%setup -q
%build
# These paths are the source paths that come from the plan here:
# https://fedoraproject.org/wiki/Features/SharedSystemCertificates:SubTasks
@ -60,6 +60,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pkcs11/modules
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/pkcs11/*.la
install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/p11-kit/
# Install the example conf with %%doc instead
rm $RPM_BUILD_ROOT%{_sysconfdir}/pkcs11/pkcs11.conf.example
@ -107,7 +108,15 @@ fi
%changelog
* Wed Mar 20 2013 Stef Walter <stefw@redhat.com> - 0.17.3-1
* Thu Mar 28 2013 Stef Walter <stefw@redhat.com> - 0.17.5-1
- Make 'p11-kit extract-trust' call update-ca-trust
- Work around 32-bit oveflow of certificate dates
- Build fixes
* Tue Mar 26 2013 Stef Walter <stefw@redhat.com> - 0.17.4-2
- Pull in patch from upstream to fix build on ppc (#927394)
* Wed Mar 20 2013 Stef Walter <stefw@redhat.com> - 0.17.4-1
- Update to upstream version 0.17.4
* Mon Mar 18 2013 Stef Walter <stefw@redhat.com> - 0.17.3-1

View File

@ -1 +1 @@
ea2a997b1c7259816f986deca26ab528 p11-kit-0.17.4.tar.gz
5a32570fb37070435e66cd62028aa47d p11-kit-0.17.5.tar.gz