Sync from SUSE:ALP:Source:Standard:1.0 openssl-pkcs11-sign-provider revision 4404e00580bbf2f194bf1e2c8c9773ff

This commit is contained in:
Adrian Schröter 2023-12-21 13:41:22 +01:00
commit 591c944aa5
5 changed files with 128 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
openssl-pkcs11-sign-provider-1.0.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQSASRDofPAz4FGmMjeVQlsgz90b6AUCZH3zsQAKCRCVQlsgz90b
6I/vAQDcKLiz4qrGiOGYl+wtINpmcvWPRto5VP+WPgtq1s0ZGAD8Cd628OADslBP
/rbr9pyN58TBOiobOnN/QopVmITDrQw=
=BFYt
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,9 @@
-------------------------------------------------------------------
Thu Nov 16 09:48:39 UTC 2023 - Otto Hollmann <otto.hollmann@suse.com>
- Use non-default openssl-3 in SLE (jsc#PED-5440)
-------------------------------------------------------------------
Tue Sep 12 07:33:51 UTC 2023 - Otto Hollmann <otto.hollmann@suse.com>
- Initial version (jsc#PED-4403)

View File

@ -0,0 +1,86 @@
#
# spec file for package openssl-pkcs11-sign-provider
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global modulesdir %(pkg-config --variable=modulesdir libcrypto)
Name: openssl-pkcs11-sign-provider
Version: 1.0.0
Release: 0
Summary: OpenSSL Provider for asymmetric operations with private PKCS#11 keys
License: Apache-2.0
URL: https://github.com/opencryptoki/openssl-pkcs11-sign-provider
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
%if 0%{?suse_version} >= 1600
Requires: openssl >= 3.0.0
%else
Requires: openssl-3 >= 3.0.0
%endif
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: openCryptoki-devel >= 3.17.0
%if 0%{?suse_version} >= 1600
BuildRequires: openssl-devel >= 3.0.0
%else
BuildRequires: libopenssl-3-devel >= 3.0.0
%endif
# test dependencies
# BuildRequires: openssl >= 3.0.0
# BuildRequires: gnutls
# BuildRequires: sed
# BuildRequires: openCryptoki >= 3.17.0
%description
This package contains a provider module for OpenSSL 3.0, interfacing to
PKCS#11 for operations with private keys in PKCS#11 tokens.
%prep
%autosetup
%build
%configure --libdir=%{modulesdir}
%make_build
for file in openssl-*.cnf.sample; do mv $file $file.%{_arch}; done
%check
# Uncomment the following line to enable checks during package build.
# Note: for test-module ock, a working opencryptoki and p11-kit setup
# is required for testing.
# make check
%install
%make_install
%post
%postun
%files
%license COPYING
%doc README
%{modulesdir}/pkcs11sign.{so,la}
%{_mandir}/man5/pkcs11sign.cnf.5*
%{_mandir}/man7/pkcs11sign.7*
%changelog