|
|
@ -1,14 +1,12 @@
|
|
|
|
Name: openssl-gost-engine
|
|
|
|
Name: openssl-gost-engine
|
|
|
|
Version: 3.0.3
|
|
|
|
Version: 3.0.3
|
|
|
|
Release: 1%{?dist}.inferit
|
|
|
|
Release: 2%{?dist}.inferit
|
|
|
|
|
|
|
|
|
|
|
|
URL: https://github.com/gost-engine/engine
|
|
|
|
URL: https://github.com/gost-engine/engine
|
|
|
|
License: OpenSSL
|
|
|
|
License: OpenSSL
|
|
|
|
Summary: A reference implementation of the Russian GOST crypto algorithms for OpenSSL
|
|
|
|
Summary: A reference implementation of the Russian GOST crypto algorithms for OpenSSL
|
|
|
|
|
|
|
|
|
|
|
|
Source: https://github.com/gost-engine/engine/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source: https://github.com/gost-engine/engine/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source1: openssl-switch-passhash.sh
|
|
|
|
|
|
|
|
Source2: openssl-switch-config.sh
|
|
|
|
|
|
|
|
Patch1: 01-engine-nowerror.patch
|
|
|
|
Patch1: 01-engine-nowerror.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
@ -47,9 +45,6 @@ cp "%{_vpath_builddir}"/bin/gostprov.so %buildroot%_providersdir/
|
|
|
|
cp "%{_vpath_builddir}"/bin/gost*sum %buildroot%_bindir/
|
|
|
|
cp "%{_vpath_builddir}"/bin/gost*sum %buildroot%_bindir/
|
|
|
|
cp gost*sum.1 %buildroot%_mandir/man1/
|
|
|
|
cp gost*sum.1 %buildroot%_mandir/man1/
|
|
|
|
|
|
|
|
|
|
|
|
install -m755 %{SOURCE1} %buildroot%_bindir/openssl-switch-passhash
|
|
|
|
|
|
|
|
install -m755 %{SOURCE2} %buildroot%_bindir/openssl-switch-config
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# tests currently do not work due to missing crypto-policies support
|
|
|
|
# tests currently do not work due to missing crypto-policies support
|
|
|
|
exit 0
|
|
|
|
exit 0
|
|
|
@ -61,8 +56,6 @@ OPENSSL_ENGINES="$PWD/%{_vpath_builddir}/bin" \
|
|
|
|
make -C "%{_vpath_builddir}" test ARGS="--verbose"
|
|
|
|
make -C "%{_vpath_builddir}" test ARGS="--verbose"
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%_bindir/openssl-switch-config
|
|
|
|
|
|
|
|
%_bindir/openssl-switch-passhash
|
|
|
|
|
|
|
|
%_enginesdir/gost.so
|
|
|
|
%_enginesdir/gost.so
|
|
|
|
%_providersdir/gostprov.so
|
|
|
|
%_providersdir/gostprov.so
|
|
|
|
%doc %_enginesdir/README.gost
|
|
|
|
%doc %_enginesdir/README.gost
|
|
|
@ -72,6 +65,9 @@ OPENSSL_ENGINES="$PWD/%{_vpath_builddir}/bin" \
|
|
|
|
%_mandir/man1/gost*sum*
|
|
|
|
%_mandir/man1/gost*sum*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Dec 11 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.0.3-2.inferit
|
|
|
|
|
|
|
|
- Drop scripts
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Dec 10 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.0.3-1.inferit
|
|
|
|
* Sun Dec 10 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.0.3-1.inferit
|
|
|
|
- Update to 3.0.3
|
|
|
|
- Update to 3.0.3
|
|
|
|
- Added scripts for hash changing
|
|
|
|
- Added scripts for hash changing
|
|
|
|