Projects
openEuler:24.03:SP1:Everything:64G
p11-kit
_service:tar_scm:p11-kit.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:p11-kit.spec of Package p11-kit
Name: p11-kit Version: 0.25.0 Release: 2 Summary: Provides a way to load and enumerate PKCS#11 modules. License: BSD URL: http://p11-glue.freedesktop.org/p11-kit.html Source0: https://github.com/p11-glue/p11-kit/releases/download/%{version}/%{name}-%{version}.tar.xz Source1: p11-kit-client.service Patch0: backport-Fix-probing-of-C_GetInterface.patch BuildRequires: gcc libtasn1-devel >= 2.3 libffi-devel gtk-doc systemd-devel pkgconfig(glib-2.0) libxslt BuildRequires: bash-completion %description Provides a way to load and enumerate PKCS#11 modules. Provides a standard configuration setup for installing PKCS#11 modules in such a way that they're discoverable. Also solves problems with coordinating the use of PKCS#11 by different components or libraries living in the same process. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} %description devel Provides header and libraries files for applications use %{name} to develop. %package trust Summary: Trust policy module of %{name} Requires: %{name} = %{version}-%{release} Requires(post): %{_sbindir}/update-alternatives Requires(postun): %{_sbindir}/update-alternatives Conflicts: nss < 3.14.3-9 %description trust This package contains PKCS#11 trust policy module. %package server Summary: Server and client commands for %{name} Requires: %{name} = %{version}-%{release} %description server The %{name}-server package contains command line tools that enable to export PKCS#11 modules through a Unix domain socket. Note that this feature is still experimental. %package help Summary: Help infomation of %{name} Requires: %{name} = %{version}-%{release} %description help This package contains help information of p11-kit. %define multilib_arches ppc64 sparc64 x86_64 ppc64le %ifarch %{multilib_arches} %define alt_ckbi libnssckbi.so.%{_arch} %else %define alt_ckbi libnssckbi.so %endif %prep %autosetup -p1 %build %configure --enable-doc --with-trust-paths=/etc/pki/ca-trust/source:/usr/share/pki/ca-trust-source make -j 4 V=1 %install make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pkcs11/modules install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_userunitdir} find $RPM_BUILD_ROOT -type f -name "*.la" -delete -print %check make check %post -p /sbin/ldconfig %post trust %{_sbindir}/update-alternatives --install %{_libdir}/libnssckbi.so %{alt_ckbi} %{_libdir}/pkcs11/p11-kit-trust.so 30 %postun -p /sbin/ldconfig %postun trust if [ $1 -eq 0 ]; then %{_sbindir}/update-alternatives --remove %{alt_ckbi} %{_libdir}/pkcs11/p11-kit-trust.so fi %files %license COPYING %dir %{_libexecdir}/p11-kit %dir %{_sysconfdir}/pkcs11 %dir %{_sysconfdir}/pkcs11/modules %dir %{_datadir}/p11-kit %dir %{_datadir}/p11-kit/modules %{_bindir}/p11-kit %{_libdir}/libp11-kit.so.* %{_libdir}/p11-kit-proxy.so %{_libexecdir}/p11-kit/p11-kit-remote %{_datadir}/bash-completion/completions/p11-kit %files server %{_libdir}/pkcs11/p11-kit-client.so %{_userunitdir}/p11-kit-client.service %{_libexecdir}/p11-kit/p11-kit-server %{_userunitdir}/p11-kit-server.service %{_userunitdir}/p11-kit-server.socket %files help %doc AUTHORS NEWS README %doc p11-kit/pkcs11.conf.example %{_mandir}/man1/trust.1.gz %{_mandir}/man8/p11-kit.8.gz %{_mandir}/man5/pkcs11.conf.5.gz %{_sysconfdir}/pkcs11/pkcs11.conf.example %files devel %doc %{_datadir}/gtk-doc/ %{_includedir}/p11-kit-1/ %{_libdir}/libp11-kit.so %{_libdir}/pkgconfig/p11-kit-1.pc %files trust %{_bindir}/trust %dir %{_libdir}/pkcs11 %ghost %{_libdir}/libnssckbi.so %{_libdir}/pkcs11/p11-kit-trust.so %{_datadir}/p11-kit/modules/p11-kit-trust.module %{_libexecdir}/p11-kit/trust-extract-compat %{_datadir}/bash-completion/completions/trust %changelog * Tue Sep 26 2023 wangyunjia <yunjia.wang@huawei.com> - 0.25.0-2 - backport patch for glib-networking * Thu Jul 20 2023 wangyunjia <yunjia.wang@huawei.com> - 0.25.0-1 - update to 0.25.0 * Sun Jan 29 2023 zhengxiaoxiao <zhengxiaoxiao2@huawei.com> - 0.24.1-1 - update to 0.24.1 * Wed Jun 15 2022 duyiwei <duyiwei@kylinos.cn> - 0.24.0-2 - add subpackage server * Wed Dec 1 2021 panxiaohe <panxiaohe@huawei.com> - 0.24.0-1 - update to 0.24.0 * Sat Jan 23 2021 panxiaohe <panxiaohe@huawei.com> - 0.23.22-1 - update to 0.23.22 * Sat Jan 9 2021 zoulin <zoulin13@huawei.com> - 0.23.20-2 - fix CVE-2020-29361 CVE-2020-29362 CVE-2020-29363 * Mon Jul 27 2020 Liquor <lirui130@huawei.com> - 0.23.20-1 - update to 0.23.20 * Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.23.14-6 - delete unused file * Sat Dec 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.23.14-5 - fix update problem * Fri Dec 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.23.14-4 - Add missing Requires * Wed Nov 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.23.14-3 - Add Buildrequires: libxslt * Fri Sep 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.23.14-2 - Correct patch number * Sat Sep 7 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.23.14-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2