|
|
921eb5 |
Name: p11-kit
|
|
|
921eb5 |
Version: 0.18.7
|
|
|
3aee86 |
Release: 4%{?dist}
|
|
|
921eb5 |
Summary: Library for loading and sharing PKCS#11 modules
|
|
|
921eb5 |
|
|
|
921eb5 |
License: BSD
|
|
|
921eb5 |
URL: http://p11-glue.freedesktop.org/p11-kit.html
|
|
|
921eb5 |
Source0: http://p11-glue.freedesktop.org/releases/p11-kit-%{version}.tar.gz
|
|
|
921eb5 |
Source1: p11-kit-extract-trust
|
|
|
921eb5 |
BuildRequires: libtasn1-devel >= 2.3
|
|
|
921eb5 |
BuildRequires: nss-softokn-freebl
|
|
|
921eb5 |
BuildRequires: gtk-doc
|
|
|
921eb5 |
|
|
|
921eb5 |
%description
|
|
|
921eb5 |
p11-kit provides a way to load and enumerate PKCS#11 modules, as well
|
|
|
921eb5 |
as a standard configuration setup for installing PKCS#11 modules in
|
|
|
921eb5 |
such a way that they're discoverable.
|
|
|
921eb5 |
|
|
|
921eb5 |
%package devel
|
|
|
921eb5 |
Summary: Development files for %{name}
|
|
|
921eb5 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
921eb5 |
|
|
|
921eb5 |
%description devel
|
|
|
921eb5 |
The %{name}-devel package contains libraries and header files for
|
|
|
921eb5 |
developing applications that use %{name}.
|
|
|
921eb5 |
|
|
|
921eb5 |
%package doc
|
|
|
921eb5 |
Summary: Documentation files for %{name}
|
|
|
921eb5 |
BuildArch: noarch
|
|
|
921eb5 |
|
|
|
921eb5 |
%description doc
|
|
|
921eb5 |
The %{name}-doc package contains additional documentation for p11-kit
|
|
|
921eb5 |
and developing applications to take advantage of it.
|
|
|
921eb5 |
|
|
|
921eb5 |
%package trust
|
|
|
921eb5 |
Summary: System trust module from %{name}
|
|
|
921eb5 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
921eb5 |
Requires(post): %{_sbindir}/update-alternatives
|
|
|
921eb5 |
Requires(postun): %{_sbindir}/update-alternatives
|
|
|
921eb5 |
Conflicts: nss < 3.14.3-9
|
|
|
921eb5 |
|
|
|
921eb5 |
%description trust
|
|
|
921eb5 |
The %{name}-trust package contains a system trust PKCS#11 module which
|
|
|
921eb5 |
contains certificate anchors and black lists.
|
|
|
921eb5 |
|
|
|
921eb5 |
|
|
|
921eb5 |
# solution taken from icedtea-web.spec
|
|
|
921eb5 |
%define multilib_arches ppc64 sparc64 x86_64
|
|
|
921eb5 |
%ifarch %{multilib_arches}
|
|
|
921eb5 |
%define alt_ckbi libnssckbi.so.%{_arch}
|
|
|
921eb5 |
%else
|
|
|
921eb5 |
%define alt_ckbi libnssckbi.so
|
|
|
921eb5 |
%endif
|
|
|
921eb5 |
|
|
|
921eb5 |
|
|
|
921eb5 |
%prep
|
|
|
921eb5 |
%setup -q
|
|
|
921eb5 |
|
|
|
921eb5 |
%build
|
|
|
921eb5 |
# These paths are the source paths that come from the plan here:
|
|
|
921eb5 |
# https://fedoraproject.org/wiki/Features/SharedSystemCertificates:SubTasks
|
|
|
921eb5 |
%configure --disable-static --enable-doc --with-trust-paths=%{_sysconfdir}/pki/ca-trust/source:%{_datadir}/pki/ca-trust-source --with-hash-impl=freebl
|
|
|
921eb5 |
make %{?_smp_mflags} V=1
|
|
|
921eb5 |
|
|
|
921eb5 |
%install
|
|
|
921eb5 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
921eb5 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pkcs11/modules
|
|
|
921eb5 |
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
921eb5 |
rm -f $RPM_BUILD_ROOT%{_libdir}/pkcs11/*.la
|
|
|
921eb5 |
install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/p11-kit/
|
|
|
921eb5 |
# Install the example conf with %%doc instead
|
|
|
921eb5 |
rm $RPM_BUILD_ROOT%{_sysconfdir}/pkcs11/pkcs11.conf.example
|
|
|
921eb5 |
|
|
|
921eb5 |
%check
|
|
|
921eb5 |
make check
|
|
|
921eb5 |
|
|
|
921eb5 |
|
|
|
921eb5 |
%post -p /sbin/ldconfig
|
|
|
921eb5 |
|
|
|
921eb5 |
%post trust
|
|
|
921eb5 |
%{_sbindir}/update-alternatives --install %{_libdir}/libnssckbi.so \
|
|
|
921eb5 |
%{alt_ckbi} %{_libdir}/pkcs11/p11-kit-trust.so 30
|
|
|
921eb5 |
|
|
|
921eb5 |
%postun -p /sbin/ldconfig
|
|
|
921eb5 |
|
|
|
921eb5 |
%postun trust
|
|
|
921eb5 |
if [ $1 -eq 0 ] ; then
|
|
|
921eb5 |
# package removal
|
|
|
921eb5 |
%{_sbindir}/update-alternatives --remove %{alt_ckbi} %{_libdir}/pkcs11/p11-kit-trust.so
|
|
|
921eb5 |
fi
|
|
|
921eb5 |
|
|
|
921eb5 |
|
|
|
921eb5 |
%files
|
|
|
921eb5 |
%doc AUTHORS COPYING NEWS README
|
|
|
921eb5 |
%doc p11-kit/pkcs11.conf.example
|
|
|
921eb5 |
%dir %{_sysconfdir}/pkcs11
|
|
|
921eb5 |
%dir %{_sysconfdir}/pkcs11/modules
|
|
|
921eb5 |
%dir %{_datadir}/p11-kit
|
|
|
921eb5 |
%dir %{_datadir}/p11-kit/modules
|
|
|
921eb5 |
%dir %{_libdir}/p11-kit
|
|
|
921eb5 |
%{_bindir}/p11-kit
|
|
|
921eb5 |
%{_libdir}/libp11-kit.so.*
|
|
|
921eb5 |
%{_libdir}/p11-kit-proxy.so
|
|
|
921eb5 |
%{_mandir}/man8/p11-kit.8.gz
|
|
|
921eb5 |
%{_mandir}/man5/pkcs11.conf.5.gz
|
|
|
921eb5 |
|
|
|
921eb5 |
%files devel
|
|
|
921eb5 |
%{_includedir}/p11-kit-1/
|
|
|
921eb5 |
%{_libdir}/libp11-kit.so
|
|
|
921eb5 |
%{_libdir}/pkgconfig/p11-kit-1.pc
|
|
|
921eb5 |
|
|
|
921eb5 |
%files doc
|
|
|
921eb5 |
%doc %{_datadir}/gtk-doc/
|
|
|
921eb5 |
|
|
|
921eb5 |
%files trust
|
|
|
921eb5 |
%{_libdir}/pkcs11/p11-kit-trust.so
|
|
|
921eb5 |
%{_datadir}/p11-kit/modules/p11-kit-trust.module
|
|
|
921eb5 |
%{_libdir}/p11-kit/p11-kit-extract-trust
|
|
|
921eb5 |
|
|
|
921eb5 |
|
|
|
921eb5 |
%changelog
|
|
|
3aee86 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.18.7-4
|
|
|
3aee86 |
- Mass rebuild 2014-01-24
|
|
|
3aee86 |
|
|
|
3aee86 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.18.7-3
|
|
|
3aee86 |
- Mass rebuild 2013-12-27
|
|
|
3aee86 |
|
|
|
921eb5 |
* Mon Nov 04 2013 Stef Walter <stefw@redhat.com> - 0.18.7-2
|
|
|
921eb5 |
- Move devel docs into subpackage due to gtk-doc multilib incompatibility (#983176)
|
|
|
921eb5 |
|
|
|
921eb5 |
* Tue Oct 10 2013 Stef Walter <stefw@redhat.com> - 0.18.7-1
|
|
|
921eb5 |
- Update to new upstream point release for RHEL bug fixes
|
|
|
921eb5 |
|
|
|
921eb5 |
* Thu Jul 18 2013 Stef Walter <stefw@redhat.com> - 0.18.5-1
|
|
|
921eb5 |
- Update to new upstream point release
|
|
|
921eb5 |
- Use freebl for hash algorithms
|
|
|
921eb5 |
- Don't load configs in home dir when setuid or setgid
|
|
|
921eb5 |
- Use $TMPDIR instead of $TEMP while testing
|
|
|
921eb5 |
- Open files and fds with O_CLOEXEC
|
|
|
921eb5 |
- Abort initialization if critical module fails to load
|
|
|
921eb5 |
- Don't use thread-unsafe: strerror, getpwuid
|
|
|
921eb5 |
- Fix p11_kit_space_strlen() result when empty string
|
|
|
921eb5 |
|
|
|
921eb5 |
* Tue Jun 25 2013 Stef Walter <stefw@redhat.com> - 0.18.4-1
|
|
|
921eb5 |
- Fix running the extract-trust external command
|
|
|
921eb5 |
|
|
|
921eb5 |
* Wed Jun 05 2013 Stef Walter <stefw@redhat.com> - 0.18.3-1
|
|
|
921eb5 |
- Update to new upstream stable release
|
|
|
921eb5 |
- Fix intermittent firefox cert validation issues (#960230)
|
|
|
921eb5 |
- Include the manual pages in the package
|
|
|
921eb5 |
|
|
|
921eb5 |
* Tue May 14 2013 Stef Walter <stefw@redhat.com> - 0.18.2-1
|
|
|
921eb5 |
- Update to new upstream stable release
|
|
|
921eb5 |
- Reduce the libtasn1 dependency minimum version
|
|
|
921eb5 |
|
|
|
921eb5 |
* Thu May 02 2013 Stef Walter <stefw@redhat.com> - 0.18.1-1
|
|
|
921eb5 |
- Update to new upstream stable release
|
|
|
921eb5 |
- 'p11-kit extract-trust' lives in libdir
|
|
|
921eb5 |
|
|
|
921eb5 |
* Thu Apr 04 2013 Stef Walter <stefw@redhat.com> - 0.18.0-1
|
|
|
921eb5 |
- Update to new upstream stable release
|
|
|
921eb5 |
- Various logging tweaks (#928914, #928750)
|
|
|
921eb5 |
- Make the 'p11-kit extract-trust' explicitly reject
|
|
|
921eb5 |
additional arguments
|
|
|
921eb5 |
|
|
|
921eb5 |
* Fri Mar 29 2013 Stef Walter <stefw@redhat.com> - 0.17.5-2
|
|
|
921eb5 |
- Fix problem with empathy connecting to Google Talk (#928913)
|
|
|
921eb5 |
|
|
|
921eb5 |
* Thu Mar 28 2013 Stef Walter <stefw@redhat.com> - 0.17.5-1
|
|
|
921eb5 |
- Make 'p11-kit extract-trust' call update-ca-trust
|
|
|
921eb5 |
- Work around 32-bit oveflow of certificate dates
|
|
|
921eb5 |
- Build fixes
|
|
|
921eb5 |
|
|
|
921eb5 |
* Tue Mar 26 2013 Stef Walter <stefw@redhat.com> - 0.17.4-2
|
|
|
921eb5 |
- Pull in patch from upstream to fix build on ppc (#927394)
|
|
|
921eb5 |
|
|
|
921eb5 |
* Wed Mar 20 2013 Stef Walter <stefw@redhat.com> - 0.17.4-1
|
|
|
921eb5 |
- Update to upstream version 0.17.4
|
|
|
921eb5 |
|
|
|
921eb5 |
* Mon Mar 18 2013 Stef Walter <stefw@redhat.com> - 0.17.3-1
|
|
|
921eb5 |
- Update to upstream version 0.17.3
|
|
|
921eb5 |
- Put the trust input paths in the right order
|
|
|
921eb5 |
|
|
|
921eb5 |
* Tue Mar 12 2013 Stef Walter <stefw@redhat.com> - 0.16.4-1
|
|
|
921eb5 |
- Update to upstream version 0.16.4
|
|
|
921eb5 |
|
|
|
921eb5 |
* Fri Mar 08 2013 Stef Walter <stefw@redhat.com> - 0.16.3-1
|
|
|
921eb5 |
- Update to upstream version 0.16.3
|
|
|
921eb5 |
- Split out system trust module into its own package.
|
|
|
921eb5 |
- p11-kit-trust provides an alternative to an nss module
|
|
|
921eb5 |
|
|
|
921eb5 |
* Tue Mar 05 2013 Stef Walter <stefw@redhat.com> - 0.16.1-1
|
|
|
921eb5 |
- Update to upstream version 0.16.1
|
|
|
921eb5 |
- Setup source directories as appropriate for Shared System Certificates feature
|
|
|
921eb5 |
|
|
|
921eb5 |
* Tue Mar 05 2013 Stef Walter <stefw@redhat.com> - 0.16.0-1
|
|
|
921eb5 |
- Update to upstream version 0.16.0
|
|
|
921eb5 |
|
|
|
921eb5 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-2
|
|
|
921eb5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
921eb5 |
|
|
|
921eb5 |
* Mon Sep 17 2012 Kalev Lember <kalevlember@gmail.com> - 0.14-1
|
|
|
921eb5 |
- Update to 0.14
|
|
|
921eb5 |
|
|
|
921eb5 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
|
|
|
921eb5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
921eb5 |
|
|
|
921eb5 |
* Mon Jul 16 2012 Kalev Lember <kalevlember@gmail.com> - 0.13-1
|
|
|
921eb5 |
- Update to 0.13
|
|
|
921eb5 |
|
|
|
921eb5 |
* Tue Mar 27 2012 Kalev Lember <kalevlember@gmail.com> - 0.12-1
|
|
|
921eb5 |
- Update to 0.12
|
|
|
921eb5 |
- Run self tests in %%check
|
|
|
921eb5 |
|
|
|
921eb5 |
* Sat Feb 11 2012 Kalev Lember <kalevlember@gmail.com> - 0.11-1
|
|
|
921eb5 |
- Update to 0.11
|
|
|
921eb5 |
|
|
|
921eb5 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
|
|
|
921eb5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
921eb5 |
|
|
|
921eb5 |
* Tue Dec 20 2011 Matthias Clasen <mclasen@redhat.com> - 0.9-1
|
|
|
921eb5 |
- Update to 0.9
|
|
|
921eb5 |
|
|
|
921eb5 |
* Wed Oct 26 2011 Kalev Lember <kalevlember@gmail.com> - 0.8-1
|
|
|
921eb5 |
- Update to 0.8
|
|
|
921eb5 |
|
|
|
921eb5 |
* Mon Sep 19 2011 Matthias Clasen <mclasen@redhat.com> - 0.6-1
|
|
|
921eb5 |
- Update to 0.6
|
|
|
921eb5 |
|
|
|
921eb5 |
* Sun Sep 04 2011 Kalev Lember <kalevlember@gmail.com> - 0.5-1
|
|
|
921eb5 |
- Update to 0.5
|
|
|
921eb5 |
|
|
|
921eb5 |
* Sun Aug 21 2011 Kalev Lember <kalevlember@gmail.com> - 0.4-1
|
|
|
921eb5 |
- Update to 0.4
|
|
|
921eb5 |
- Install the example config file to documentation directory
|
|
|
921eb5 |
|
|
|
921eb5 |
* Wed Aug 17 2011 Kalev Lember <kalevlember@gmail.com> - 0.3-2
|
|
|
921eb5 |
- Tighten -devel subpackage deps (#725905)
|
|
|
921eb5 |
|
|
|
921eb5 |
* Fri Jul 29 2011 Kalev Lember <kalevlember@gmail.com> - 0.3-1
|
|
|
921eb5 |
- Update to 0.3
|
|
|
921eb5 |
- Upstream rewrote the ASL 2.0 bits, which makes the whole package
|
|
|
921eb5 |
BSD-licensed
|
|
|
921eb5 |
|
|
|
921eb5 |
* Tue Jul 12 2011 Kalev Lember <kalevlember@gmail.com> - 0.2-1
|
|
|
921eb5 |
- Initial RPM release
|