Accepting request 1112588 from home:pmonrealgonzalez:branches:Base:System
- Update to 0.25.0: * add PKCS#11 3.0 support * add support for profile objects * add ability to adjust module and config paths at run-time via system environmental exports * make terminal output nicer * p11-kit: add command to print merged configuration * p11-kit: add commands to list, add and delete profiles of a token * trust: add command to check format of .p11-kit files * virtual: fix libffi type signatures for PKCS#11 3.0 functions * server: fix umask setting when --group is specified * server: check SHELL only when neither --sh nor --csh is specified * rpc: use space string in C_InitToken * rpc: fix two off-by-one errors identified by asan * modules: make logging message more translatable * pkcs11.h: support CRYPTOKI_GNU for IBM vendor mechanisms * pkcs11.h: add IBM specific mechanism and attributes * pkcs11.h: add ChaCha20/Salsa20 and Poly1305 mechanisms * pkcs11.h: add AES-GCM mechanism parameters for message-based encryption * po: update translations from Transifex - Update upstream p11-kit.keyring file - Add missing lang files - Switch to using Meson as the build system OBS-URL: https://build.opensuse.org/request/show/1112588 OBS-URL: https://build.opensuse.org/package/show/Base:System/p11-kit?expand=0&rev=52
This commit is contained in:
parent
92cc5b55a2
commit
5b6e501d8c
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8be783efd5cd4ae534cee4132338e3f40f182c3205d23b200094ec85faaaef8
|
||||
size 838304
|
Binary file not shown.
3
p11-kit-0.25.0.tar.xz
Normal file
3
p11-kit-0.25.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d55583bcdde83d86579cabe3a8f7f2638675fef01d23cace733ff748fc354706
|
||||
size 958940
|
BIN
p11-kit-0.25.0.tar.xz.sig
Normal file
BIN
p11-kit-0.25.0.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 20 08:49:47 UTC 2023 - Pedro Monreal <pmonreal@suse.com>
|
||||
|
||||
- Update to 0.25.0:
|
||||
* add PKCS#11 3.0 support
|
||||
* add support for profile objects
|
||||
* add ability to adjust module and config paths at run-time via
|
||||
system environmental exports
|
||||
* make terminal output nicer
|
||||
* p11-kit: add command to print merged configuration
|
||||
* p11-kit: add commands to list, add and delete profiles of a token
|
||||
* trust: add command to check format of .p11-kit files
|
||||
* virtual: fix libffi type signatures for PKCS#11 3.0 functions
|
||||
* server: fix umask setting when --group is specified
|
||||
* server: check SHELL only when neither --sh nor --csh is specified
|
||||
* rpc: use space string in C_InitToken
|
||||
* rpc: fix two off-by-one errors identified by asan
|
||||
* modules: make logging message more translatable
|
||||
* pkcs11.h: support CRYPTOKI_GNU for IBM vendor mechanisms
|
||||
* pkcs11.h: add IBM specific mechanism and attributes
|
||||
* pkcs11.h: add ChaCha20/Salsa20 and Poly1305 mechanisms
|
||||
* pkcs11.h: add AES-GCM mechanism parameters for message-based encryption
|
||||
* po: update translations from Transifex
|
||||
- Update upstream p11-kit.keyring file
|
||||
- Add missing lang files
|
||||
- Switch to using Meson as the build system
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 8 16:03:57 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
BIN
p11-kit.keyring
BIN
p11-kit.keyring
Binary file not shown.
37
p11-kit.spec
37
p11-kit.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package p11-kit
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -21,17 +21,23 @@
|
||||
%define trustdir_cfg %{pkidir_cfg}/trust
|
||||
%define trustdir_static %{pkidir_static}/trust
|
||||
Name: p11-kit
|
||||
Version: 0.24.1
|
||||
Version: 0.25.0
|
||||
Release: 0
|
||||
Summary: Library to work with PKCS#11 modules
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://p11-glue.freedesktop.org/p11-kit.html
|
||||
Source0: https://github.com/p11-glue/p11-kit/releases/download/%{version}/p11-kit-%{version}.tar.xz
|
||||
Source1: https://github.com/p11-glue/p11-kit/releases/download/%{version}/p11-kit-%{version}.tar.xz.sig
|
||||
Source98: p11-kit.keyring
|
||||
Source0: https://github.com/p11-glue/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||
Source1: https://github.com/p11-glue/%{name}/releases/download/%{version}/p11-kit-%{version}.tar.xz.sig
|
||||
Source98: https://p11-glue.github.io/p11-glue/%{name}/%{name}-release-keyring.gpg#/%{name}.keyring
|
||||
Source99: baselibs.conf
|
||||
BuildRequires: gtk-doc
|
||||
%if 0%{?suse_version} >= 1600
|
||||
BuildRequires: libtasn1-tools
|
||||
%else
|
||||
BuildRequires: libtasn1
|
||||
%endif
|
||||
BuildRequires: meson >= 0.59.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(libffi) >= 3.0.0
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
@ -101,14 +107,13 @@ Unix domain socket. Note that this feature is still experimental.
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--with-trust-paths=%{trustdir_cfg}:%{trustdir_static} \
|
||||
--with-systemd \
|
||||
--enable-doc
|
||||
%make_build
|
||||
%meson -Dtrust_paths=%{trustdir_cfg}:%{trustdir_static} \
|
||||
-Dbash_completion=disabled \
|
||||
-Dgtk_doc=true -Dman=true
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%meson_install
|
||||
#
|
||||
install -d m 755 %{buildroot}%{trustdir_cfg}/{anchors,blocklist}
|
||||
install -d m 755 %{buildroot}%{trustdir_static}/{anchors,blocklist}
|
||||
@ -118,7 +123,8 @@ install -d %{buildroot}%{_sysconfdir}/pkcs11/modules
|
||||
# Remove sample config away to doc folder. Having the sample there would conflict
|
||||
# with future versions of the library on file level. As replacement, we package
|
||||
# the file as documentation file.
|
||||
rm %{buildroot}%{_sysconfdir}/pkcs11/pkcs11.conf.example
|
||||
install -d m 755 %{buildroot}%{_docdir}/libp11-kit0
|
||||
mv %{buildroot}%{_sysconfdir}/pkcs11/pkcs11.conf.example %{buildroot}%{_docdir}/libp11-kit0
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
#
|
||||
install -d -m 755 %{buildroot}%{_rpmmacrodir}
|
||||
@ -137,16 +143,17 @@ ln -s %{_libdir}/pkcs11/p11-kit-trust.so %{buildroot}%{_libdir}/libnssckbi.so
|
||||
rm %{buildroot}%{_libexecdir}/%{name}/trust-extract-compat
|
||||
ln -s ../../sbin/update-ca-certificates %{buildroot}%{_libexecdir}/%{name}/p11-kit-extract-trust
|
||||
export NO_BRP_STALE_LINK_ERROR=yes # *grr*
|
||||
%find_lang %{name}
|
||||
|
||||
%if !0%{?qemu_user_space_build}
|
||||
%check
|
||||
%make_build check
|
||||
%meson_test
|
||||
%endif
|
||||
|
||||
%post -n libp11-kit0 -p /sbin/ldconfig
|
||||
%postun -n libp11-kit0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%files -f %{name}.lang
|
||||
%dir %{_libdir}/pkcs11
|
||||
%dir %{_datadir}/%{name}
|
||||
%dir %{_datadir}/%{name}/modules
|
||||
@ -168,7 +175,7 @@ export NO_BRP_STALE_LINK_ERROR=yes # *grr*
|
||||
%license COPYING
|
||||
# Package the example conf file as documentation. Like this we're sure that we will
|
||||
# not introduce conflicts with this version of the library and future ones.
|
||||
%doc p11-kit/pkcs11.conf.example
|
||||
%doc pkcs11.conf.example
|
||||
%doc AUTHORS ChangeLog NEWS README
|
||||
%dir %{_sysconfdir}/pkcs11
|
||||
%dir %{_sysconfdir}/pkcs11/modules/
|
||||
|
Loading…
Reference in New Issue
Block a user