mirror of
https://abf.rosa.ru/djam/openssl.git
synced 2025-02-23 08:12:50 +00:00
Migrate libgost.so to openssl-gost-engines
This commit is contained in:
parent
c950a1728e
commit
e3ec224807
2 changed files with 10 additions and 8205 deletions
File diff suppressed because it is too large
Load diff
16
openssl.spec
16
openssl.spec
|
@ -1,3 +1,4 @@
|
|||
%define openssl_ver 1.0.2
|
||||
%define major 1.0.0
|
||||
%define engines_name %mklibname openssl-engines %{major}
|
||||
%define libcrypto %mklibname crypto %{major}
|
||||
|
@ -26,8 +27,8 @@
|
|||
|
||||
Summary: Secure Sockets Layer communications libs & utils
|
||||
Name: openssl
|
||||
Version: 1.0.2t
|
||||
Release: 1
|
||||
Version: %{openssl_ver}t
|
||||
Release: 2
|
||||
License: BSD-like
|
||||
Group: System/Libraries
|
||||
Url: https://www.openssl.org
|
||||
|
@ -41,9 +42,6 @@ Source6: openssl.macros
|
|||
# Based on https://github.com/gost-engine/engine
|
||||
# Never remove gost-engine patches
|
||||
Patch0: openssl-1.0.2l-gost-engine.patch
|
||||
# Copy https://github.com/gost-engine/engine/tree/openssl_1_0_2
|
||||
# over engines/ccgost/ and make diff
|
||||
Patch1: openssl-1.0.2j-gost-engine-2.patch
|
||||
# Handle RPM_OPT_FLAGS in Configure
|
||||
Patch2: openssl-1.0.2e-optflags.patch
|
||||
Patch3: openssl-1.0.1c-fix-perlpath.pl
|
||||
|
@ -100,6 +98,10 @@ RSA and SSL.
|
|||
Summary: Engines for openssl
|
||||
Group: System/Libraries
|
||||
Provides: openssl-engines = %{EVRD}
|
||||
# libgost.so was moved to openssl-gost-engine
|
||||
# An atrificial provide in openssl-gost-engine
|
||||
# ! dependency loop with Conflicts in openssl-gost-engine
|
||||
Requires: openssl-gost-engine-openssl-api = %{openssl_ver}
|
||||
|
||||
%description -n %{engines_name}
|
||||
This package provides engines for openssl.
|
||||
|
@ -227,7 +229,6 @@ and protocols, including DES, RC4, RSA and SSL.
|
|||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .gost
|
||||
%patch1 -p1 -b .gost2
|
||||
%patch2 -p1 -b .optflags
|
||||
%patch3 -p1 -b .perl
|
||||
%patch6 -p1 -b .icpbrasil
|
||||
|
@ -410,3 +411,6 @@ cat %{SOURCE6} | sed -e "s#@OPENSSLDIR@#%{_openssldir}#g" > %{buildroot}/%{_sys_
|
|||
chmod 0644 %{buildroot}/%{_sys_macros_dir}/openssl.macros
|
||||
# verify openssl.macros
|
||||
grep -q '%{_openssldir}' %{buildroot}%{_sys_macros_dir}/openssl.macros
|
||||
|
||||
# is now built in openssl-gost-engines
|
||||
rm -fv %{buildroot}%{_libdir}/openssl-%{major}/engines/libgost.so
|
||||
|
|
Loading…
Add table
Reference in a new issue