Accepting request 670006 from home:sbrabec:branches:security:chipcard

- Update to version 0.4.9:
  * Fix EVP_PKEY ENGINE reference count with the EC
    EVP_PKEY_METHOD.
  * Fix a leak of RSA object in pkcs11_store_key()
  * Add atfork checks for RSA and EC_KEY method
  * RSA key generation on the token
  * PSS signature support
  * RSA-OAEP and RSA-PKCS encryption support
  * Engine no longer set as default for all methods
  * Add PKCS11_remove_key and PKCS11_remove_certificate
  * Add PKCS11_find_next_token interface
  * Add support for OpenSSL 1.1.1 beta
  * Remove support for OpenSSL 0.9.8
  * Case insensitive PKCS#11 URI scheme
  * Testing framework improvements
  * Coverity scanning and defect fixes
  * Backward compatibility for new error handling introduced
    in libp11 0.4.7
  * Memory leak fixes
  * Add an integer overflow protection
  * Several bugfixes

OBS-URL: https://build.opensuse.org/request/show/670006
OBS-URL: https://build.opensuse.org/package/show/security:chipcard/libp11?expand=0&rev=26
This commit is contained in:
2019-01-30 22:18:06 +00:00
committed by Git OBS Bridge
parent edc0bba79e
commit 1de992ee52
6 changed files with 52 additions and 24 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package libp11
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -25,16 +25,19 @@
%define libname libp11-3
%endif
Name: libp11
Version: 0.4.7
Version: 0.4.9
Release: 0
Summary: Library Implementing a Small Layer on Top of PKCS#11 API
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: Productivity/Security
Url: https://github.com/OpenSC/libp11
Source0: https://github.com/OpenSC/libp11/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/OpenSC/libp11/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring
Source3: %{name}-rpmlintrc
# The engine_pkcs11 library has been merged into version 0.4.0 and later.
# (It existed only in security:chipcard OBS repository.
Obsoletes: engine_pkcs11 <= 0.2.2
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: pkgconfig(openssl)
@@ -101,7 +104,7 @@ Token Interface (Cryptoki)".
%prep
%setup -q
# Since the library name changes based on used openssl, we have to create baselibs.conf dynamically
echo %{libname} > %{_sourcedir}/baselibs.conf
echo %{libname} > %{_sourcedir}/baselibs.conf
%build
%configure \