Replace hmaccalc by default in Fedora 28+
The aim is to allow HMAC checking the kernel without depending on userspace crypto implementations.
This commit is contained in:
parent
c667bd0117
commit
2f15384a80
@ -6,7 +6,12 @@
|
|||||||
# Do we build the replacements packages?
|
# Do we build the replacements packages?
|
||||||
%bcond_with replace_coreutils
|
%bcond_with replace_coreutils
|
||||||
%bcond_with replace_fipscheck
|
%bcond_with replace_fipscheck
|
||||||
|
# Replace hmaccalc by default in Fedora 28+:
|
||||||
|
%if 0%{?fedora} <= 27 && 0%{?rhel} <= 7
|
||||||
%bcond_with replace_hmaccalc
|
%bcond_with replace_hmaccalc
|
||||||
|
%else
|
||||||
|
%bcond_without replace_hmaccalc
|
||||||
|
%endif
|
||||||
|
|
||||||
# This package needs at least Linux Kernel v4.10.0.
|
# This package needs at least Linux Kernel v4.10.0.
|
||||||
%global min_kernel_ver 4.10.0
|
%global min_kernel_ver 4.10.0
|
||||||
@ -52,7 +57,6 @@
|
|||||||
|
|
||||||
# Do we replace hmaccalc?
|
# Do we replace hmaccalc?
|
||||||
%if %{with replace_hmaccalc}
|
%if %{with replace_hmaccalc}
|
||||||
# TODO: Adapt this when replacing hmaccalc initially.
|
|
||||||
%global hmaccalc_evr 0.9.14-10%{?dist}
|
%global hmaccalc_evr 0.9.14-10%{?dist}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -87,7 +91,7 @@ done \
|
|||||||
|
|
||||||
Name: libkcapi
|
Name: libkcapi
|
||||||
Version: %{vmajor}.%{vminor}.%{vpatch}
|
Version: %{vmajor}.%{vminor}.%{vpatch}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: User space interface to the Linux Kernel Crypto API
|
Summary: User space interface to the Linux Kernel Crypto API
|
||||||
|
|
||||||
License: BSD or GPLv2
|
License: BSD or GPLv2
|
||||||
@ -416,6 +420,9 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 16 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.0-2
|
||||||
|
- Enable hmaccalc replacements in Fedora 28+
|
||||||
|
|
||||||
* Thu Apr 12 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.0-1
|
* Thu Apr 12 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.0-1
|
||||||
- Update to upstream version 1.1.0
|
- Update to upstream version 1.1.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user