From e288e137dc7c5e53f091c4a988e72c31b5ca8ec7 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Tue, 20 Oct 2020 07:29:03 -0700 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/openssl-ibmpkcs11#d21533a53b326fc2ae3b05fc87e16e5dab9122d7 --- .gitignore | 2 ++ README.md | 3 ++ openssl-ibmpkcs11.spec | 72 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 78 insertions(+) create mode 100644 README.md create mode 100644 openssl-ibmpkcs11.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..b0e5397 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +/openssl-ibmpkcs11-1.0.1.tar.gz +/openssl-ibmpkcs11-1.0.2.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..875be89 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# openssl-ibmpkcs11 + +The openssl-ibmpkcs11 package \ No newline at end of file diff --git a/openssl-ibmpkcs11.spec b/openssl-ibmpkcs11.spec new file mode 100644 index 0000000..8881614 --- /dev/null +++ b/openssl-ibmpkcs11.spec @@ -0,0 +1,72 @@ +%global enginesdir %(pkg-config --variable=enginesdir libcrypto) + +Name: openssl-ibmpkcs11 +Version: 1.0.2 +Release: 6%{?dist} +Summary: IBM OpenSSL PKCS#11 engine + +License: OpenSSL +URL: https://github.com/opencryptoki/openssl-ibmpkcs11 +Source0: https://github.com/opencryptoki/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: automake autoconf libtool +BuildRequires: openssl-devel +Requires: opencryptoki-libs%{?_isa} + + +%description +This package contains a shared object OpenSSL dynamic engine for the use +with a PKCS#11 implementation such as openCryptoki. + +%prep +%autosetup -p1 + +./bootstrap.sh + + +%build +%configure --libdir=%{enginesdir} +%make_build + + +%install +%make_install +mv openssl.cnf.sample openssl.cnf.sample.%{_arch} +rm -f $RPM_BUILD_ROOT%{enginesdir}/*.la + + +%files +%license LICENSE +%doc README openssl.cnf.sample.%{_arch} +%{enginesdir}/ibmpkcs11.so + + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.0.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 23 2018 Dan Horák - 1.0.2-1 +- updated to 1.0.2 + +* Thu Feb 08 2018 Fedora Release Engineering - 1.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Jan 23 2018 Dan Horák - 1.0.1-2 +- apply fix for autotools +- don't hard-code %%enginesdir + +* Fri Jan 19 2018 Dan Horák - 1.0.1-1 +- initial Fedora version diff --git a/sources b/sources new file mode 100644 index 0000000..a244541 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (openssl-ibmpkcs11-1.0.2.tar.gz) = 446c400532ede481c30590161d9949cc08dbc80244e487cabd23131a2abd2027f082152a541e77d174f9eb268d13e932ff96c0b38ec537c5624055e0b6a8ad7f