mirror of
https://abf.rosa.ru/djam/rpm.git
synced 2025-02-23 18:33:04 +00:00
Added GOST R 3411-94 and 3411-12 hashing algos
Example of enabling Stribog-256 to calculate file hashes: %_build_file_digest_algo 99 %_build_source_file_digest_algo 99 98 - GOST R 3411-94 (256 bit) 99 - GOST R 3411-12, Stribog-256 100 - GOST R 3411-12, Stribog-512 To verify hashes use: rpm -qp --dump ./package.rpm Known issue: https://github.com/gost-engine/engine/issues/189
This commit is contained in:
parent
6be2ae3bc3
commit
da3f192507
1 changed files with 4 additions and 2 deletions
6
rpm.spec
6
rpm.spec
|
@ -1,4 +1,4 @@
|
||||||
%define commit e2dedc4888e0cc3a8f800085bf3f0bf954fd5f45
|
%define commit 5bf4d7c6391be2408e59680999d8a83fb279d64a
|
||||||
%define short_commit %(echo %{commit} | head -c 4)
|
%define short_commit %(echo %{commit} | head -c 4)
|
||||||
# When updating, change commit hash above to the commit in
|
# When updating, change commit hash above to the commit in
|
||||||
# https://abf.io/soft/rpm5 that you want to build from
|
# https://abf.io/soft/rpm5 that you want to build from
|
||||||
|
@ -65,7 +65,7 @@ Summary: The RPM package management system
|
||||||
Name: rpm
|
Name: rpm
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: %{libver}.%{minorver}
|
Version: %{libver}.%{minorver}
|
||||||
Release: 102.git%{short_commit}
|
Release: 104.git%{short_commit}
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Group: System/Configuration/Packaging
|
Group: System/Configuration/Packaging
|
||||||
Url: http://rpm5.org/
|
Url: http://rpm5.org/
|
||||||
|
@ -90,6 +90,7 @@ BuildRequires: automake >= 1.8
|
||||||
BuildRequires: elfutils-devel
|
BuildRequires: elfutils-devel
|
||||||
BuildRequires: sed >= 4.0.3
|
BuildRequires: sed >= 4.0.3
|
||||||
BuildRequires: beecrypt-devel >= 4.2.1-8
|
BuildRequires: beecrypt-devel >= 4.2.1-8
|
||||||
|
BuildRequires: pkgconfig(libgcrypt)
|
||||||
BuildRequires: ed
|
BuildRequires: ed
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: byacc
|
BuildRequires: byacc
|
||||||
|
@ -667,6 +668,7 @@ tar -zxf %{SOURCE3} -C cpu-os-macros
|
||||||
--with-path-magic=%{_datadir}/misc/magic.mgc \
|
--with-path-magic=%{_datadir}/misc/magic.mgc \
|
||||||
--with-beecrypt=external \
|
--with-beecrypt=external \
|
||||||
--with-usecrypto=beecrypt \
|
--with-usecrypto=beecrypt \
|
||||||
|
--with-gcrypt=external \
|
||||||
--with-keyutils=external \
|
--with-keyutils=external \
|
||||||
--with-neon=external \
|
--with-neon=external \
|
||||||
--with-acl \
|
--with-acl \
|
||||||
|
|
Loading…
Add table
Reference in a new issue