Blame SPECS/libkcapi.spec

fe8dd0
# Shared object version of libkcapi.
fe8dd0
%global vmajor            1
820ee6
%global vminor            2
820ee6
%global vpatch            0
fe8dd0
fe8dd0
# Do we build the replacements packages?
fe8dd0
%bcond_with replace_coreutils
820ee6
# Replace fipscheck by default in Fedora 33+:
820ee6
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
820ee6
%bcond_without replace_fipscheck
820ee6
%else
fe8dd0
%bcond_with replace_fipscheck
820ee6
%endif
fe8dd0
# Replace hmaccalc by default in Fedora 28+:
fe8dd0
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
fe8dd0
%bcond_without replace_hmaccalc
fe8dd0
%else
fe8dd0
%bcond_with replace_hmaccalc
fe8dd0
%endif
fe8dd0
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
fe8dd0
%bcond_without test_package
fe8dd0
%else
fe8dd0
%bcond_with test_package
fe8dd0
%endif
fe8dd0
fe8dd0
# This package needs at least Linux Kernel v4.10.0.
fe8dd0
%global min_kernel_ver    4.10.0
fe8dd0
fe8dd0
# Do we need to tweak sysctl.d? In newer versions of the Linux
fe8dd0
# Kernel the default ancillary buffer size is set high enough.
fe8dd0
# TODO: Adapt this when the patch for net/core/sock.c is merged.
fe8dd0
%if %{lua:print(rpm.vercmp('99.0.0', posix.uname('%r')));} >= 0
fe8dd0
%global with_sysctl_tweak 1
fe8dd0
%else
fe8dd0
%global with_sysctl_tweak 0
fe8dd0
%endif
fe8dd0
fe8dd0
%if %{with_sysctl_tweak}
fe8dd0
# Priority for the sysctl.d preset.
fe8dd0
%global sysctl_prio       50
fe8dd0
fe8dd0
# Value used for the sysctl.d preset.
fe8dd0
%global sysctl_optmem_max 81920
fe8dd0
fe8dd0
# Extension for the README.distro file.
fe8dd0
%global distroname_ext    %{?fedora:fedora}%{?rhel:redhat}
fe8dd0
%endif
fe8dd0
fe8dd0
# Lowest limit to run the testsuite.  If we cannot obtain this
fe8dd0
# value, we asume the testsuite cannot be run.
fe8dd0
%global test_optmem_max   %(%{__cat} /proc/sys/net/core/optmem_max || echo 0)
fe8dd0
fe8dd0
# For picking patches from upstream commits or pull requests.
fe8dd0
%global giturl            https://github.com/smuellerDD/%{name}
fe8dd0
fe8dd0
# Do we replace some coreutils?
fe8dd0
%if %{with replace_coreutils}
fe8dd0
# TODO: Adapt this when replacing some coreutils initially.
fe8dd0
%global coreutils_evr     8.29-1%{?dist}
fe8dd0
%endif
fe8dd0
fe8dd0
# Do we replace fipscheck?
fe8dd0
%if %{with replace_fipscheck}
820ee6
%global fipscheck_evr     1.5.0-9
fe8dd0
%endif
fe8dd0
fe8dd0
# Do we replace hmaccalc?
fe8dd0
%if %{with replace_hmaccalc}
fe8dd0
%global hmaccalc_evr      0.9.14-10%{?dist}
fe8dd0
%endif
fe8dd0
fe8dd0
%global apps_hmaccalc sha1hmac sha224hmac sha256hmac sha384hmac sha512hmac
fe8dd0
%global apps_fipscheck sha1sum sha224sum sha256sum sha384sum sha512sum md5sum fipscheck fipshmac
fe8dd0
820ee6
# On old kernels use mock hashers implemented via openssl
820ee6
%if %{lua:print(rpm.vercmp(posix.uname('%r'), '3.19'));} >= 0
820ee6
%global sha512hmac bin/kcapi-hasher -n sha512hmac
820ee6
%global fipshmac   bin/kcapi-hasher -n fipshmac
820ee6
%else
820ee6
%global sha512hmac bash %{_sourcedir}/sha512hmac-openssl.sh
820ee6
%global fipshmac   bash %{_sourcedir}/fipshmac-openssl.sh
820ee6
%endif
820ee6
fe8dd0
# Add generation of HMAC checksums of the final stripped
fe8dd0
# binaries.  %%define with lazy globbing is used here
fe8dd0
# intentionally, because using %%global does not work.
fe8dd0
%define __spec_install_post                                      \
fe8dd0
%{?__debug_package:%{__debug_install_post}}                      \
fe8dd0
%{__arch_install_post}                                           \
fe8dd0
%{__os_install_post}                                             \
fe8dd0
bin_path=%{buildroot}%{_bindir}                                  \
fe8dd0
lib_path=%{buildroot}/%{_lib}                                    \
fe8dd0
for app in %{apps_hmaccalc}; do                                  \
fe8dd0
  test -e "$bin_path"/$app || continue                           \
820ee6
  { %sha512hmac "$bin_path"/$app || exit 1; }                    \\\
fe8dd0
    | cut -f 1 -d ' ' >"$lib_path"/hmaccalc/$app.hmac            \
fe8dd0
done                                                             \
fe8dd0
for app in %{apps_fipscheck}; do                                 \
fe8dd0
  test -e "$bin_path"/$app || continue                           \
820ee6
  %fipshmac -d "$lib_path"/fipscheck "$bin_path"/$app || exit 1  \
fe8dd0
done                                                             \
fe8dd0
%{_sbindir}/hardlink -cfv %{buildroot}%{_bindir}                 \
820ee6
%fipshmac -d "$lib_path"/fipscheck                               \\\
fe8dd0
  "$lib_path"/libkcapi.so.%{version} || exit 1                   \
fe8dd0
%{__ln_s} libkcapi.so.%{version}.hmac                            \\\
fe8dd0
  "$lib_path"/fipscheck/libkcapi.so.%{vmajor}.hmac               \
fe8dd0
%{nil}
fe8dd0
fe8dd0
fe8dd0
Name:           libkcapi
fe8dd0
Version:        %{vmajor}.%{vminor}.%{vpatch}
820ee6
Release:        2%{?dist}
fe8dd0
Summary:        User space interface to the Linux Kernel Crypto API
fe8dd0
fe8dd0
License:        BSD or GPLv2
fe8dd0
URL:            http://www.chronox.de/%{name}.html
fe8dd0
Source0:        http://www.chronox.de/%{name}/%{name}-%{version}.tar.xz
fe8dd0
Source1:        http://www.chronox.de/%{name}/%{name}-%{version}.tar.xz.asc
820ee6
Source2:        sha512hmac-openssl.sh
820ee6
Source3:        fipshmac-openssl.sh
fe8dd0
820ee6
Patch100:       100-fix-double-free-hasher.patch
fe8dd0
820ee6
BuildRequires:  bash
fe8dd0
BuildRequires:  clang
fe8dd0
BuildRequires:  coreutils
fe8dd0
BuildRequires:  cppcheck
fe8dd0
BuildRequires:  docbook-utils-pdf
fe8dd0
BuildRequires:  gcc
fe8dd0
BuildRequires:  git
fe8dd0
BuildRequires:  hardlink
fe8dd0
BuildRequires:  kernel-headers >= %{min_kernel_ver}
fe8dd0
BuildRequires:  libtool
fe8dd0
BuildRequires:  openssl
fe8dd0
BuildRequires:  perl
fe8dd0
BuildRequires:  systemd
fe8dd0
BuildRequires:  xmlto
fe8dd0
fe8dd0
# For ownership of %%{_sysctldir}.
fe8dd0
Requires:       systemd
fe8dd0
fe8dd0
Obsoletes:      %{name}-replacements <= %{version}-%{release}
fe8dd0
fe8dd0
%description
fe8dd0
libkcapi allows user-space to access the Linux kernel crypto API.
fe8dd0
fe8dd0
This library uses the netlink interface and exports easy to use APIs
fe8dd0
so that a developer does not need to consider the low-level netlink
fe8dd0
interface handling.
fe8dd0
fe8dd0
The library does not implement any cipher algorithms.  All consumer
fe8dd0
requests are sent to the kernel for processing.  Results from the
fe8dd0
kernel crypto API are returned to the consumer via the library API.
fe8dd0
fe8dd0
The kernel interface and therefore this library can be used by
fe8dd0
unprivileged processes.
fe8dd0
fe8dd0
fe8dd0
%package        devel
fe8dd0
Summary:        Development files for the %{name} package
fe8dd0
Requires:       %{name}%{?_isa} == %{version}-%{release}
fe8dd0
fe8dd0
%description    devel
fe8dd0
Header files for applications that use %{name}.
fe8dd0
fe8dd0
fe8dd0
%package        doc
fe8dd0
Summary:        User documentation for the %{name} package
820ee6
Requires:       %{name}%{?_isa} == %{version}-%{release}
fe8dd0
fe8dd0
%description    doc
fe8dd0
User documentation for %{name}.
fe8dd0
fe8dd0
fe8dd0
%if %{with replace_coreutils}
fe8dd0
%package        checksum
fe8dd0
Summary:        Drop-in replacement for *sum utils provided by the %{name} package
fe8dd0
Requires:       %{name}%{?_isa}    == %{version}-%{release}
fe8dd0
fe8dd0
Requires:       coreutils%{?_isa}  >= %{coreutils_evr}
fe8dd0
fe8dd0
Conflicts:      coreutils          < %{coreutils_evr}
fe8dd0
Conflicts:      coreutils-single
fe8dd0
fe8dd0
%description    checksum
fe8dd0
Provides drop-in replacements for sha*sum tools (from package
fe8dd0
coreutils) using %{name}.
fe8dd0
%endif
fe8dd0
fe8dd0
fe8dd0
%if %{with replace_fipscheck}
fe8dd0
%package        fipscheck
fe8dd0
Summary:        Drop-in replacements for fipscheck/fipshmac provided by the %{name} package
fe8dd0
Requires:       %{name}%{?_isa}   == %{version}-%{release}
fe8dd0
fe8dd0
Obsoletes:      fipscheck         <= %{fipscheck_evr}
fe8dd0
fe8dd0
Provides:       fipscheck         == %{fipscheck_evr}.1
fe8dd0
Provides:       fipscheck%{?_isa} == %{fipscheck_evr}.1
fe8dd0
fe8dd0
%description    fipscheck
fe8dd0
Provides drop-in replacements for fipscheck and fipshmac tools (from
fe8dd0
package fipscheck) using %{name}.
fe8dd0
%endif
fe8dd0
fe8dd0
fe8dd0
%if %{with replace_hmaccalc}
fe8dd0
%package        hmaccalc
fe8dd0
Summary:        Drop-in replacements for hmaccalc provided by the %{name} package
fe8dd0
Requires:       %{name}%{?_isa}   == %{version}-%{release}
fe8dd0
fe8dd0
Obsoletes:      hmaccalc          <= %{hmaccalc_evr}
fe8dd0
fe8dd0
Provides:       hmaccalc          == %{hmaccalc_evr}.1
fe8dd0
Provides:       hmaccalc%{?_isa}  == %{hmaccalc_evr}.1
fe8dd0
fe8dd0
%description    hmaccalc
fe8dd0
Provides drop-in replacements for sha*hmac tools (from package
fe8dd0
hmaccalc) using %{name}.
fe8dd0
%endif
fe8dd0
fe8dd0
fe8dd0
%package        static
fe8dd0
Summary:        Static library for -static linking with %{name}
fe8dd0
Requires:       %{name}-devel%{?_isa} == %{version}-%{release}
fe8dd0
fe8dd0
%description    static
fe8dd0
This package contains the %{name} static libraries for -static
fe8dd0
linking.  You don't need this, unless you link statically, which
fe8dd0
is highly discouraged.
fe8dd0
fe8dd0
fe8dd0
%package        tools
fe8dd0
Summary:        Utility applications for the %{name} package
fe8dd0
Requires:       %{name}%{?_isa} == %{version}-%{release}
fe8dd0
fe8dd0
%description    tools
fe8dd0
Utility applications that are provided with %{name}.  This includes
fe8dd0
tools to use message digests, symmetric ciphers and random number
fe8dd0
generators implemented in the Linux kernel from command line.
fe8dd0
fe8dd0
fe8dd0
%if %{with test_package}
fe8dd0
%package        tests
fe8dd0
Summary:        Testing scripts for the %{name} package
fe8dd0
Requires:       %{name}%{?_isa}       == %{version}-%{release}
fe8dd0
Requires:       %{name}-tools%{?_isa} == %{version}-%{release}
fe8dd0
%if %{with replace_hmaccalc}
fe8dd0
Requires:       %{name}-hmaccalc%{?_isa} == %{version}-%{release}
fe8dd0
%endif
fe8dd0
%if %{with replace_coreutils}
fe8dd0
Requires:       %{name}-checksum%{?_isa} == %{version}-%{release}
fe8dd0
%endif
fe8dd0
Requires:       coreutils
fe8dd0
Requires:       openssl
fe8dd0
Requires:       perl
fe8dd0
fe8dd0
%description    tests
fe8dd0
Auxiliary scripts for testing %{name}.
fe8dd0
%endif
fe8dd0
fe8dd0
fe8dd0
%prep
fe8dd0
%autosetup -p 1 -S git
fe8dd0
fe8dd0
%if %{with_sysctl_tweak}
fe8dd0
%{__cat} << EOF > README.%{distroname_ext}
fe8dd0
This package increases the default limit of the ancillary buffer size
fe8dd0
per kernel socket defined in \`net.core.optmem_max\` to %{sysctl_optmem_max} bytes.
fe8dd0
fe8dd0
For this preset to become active it requires a reboot after the
fe8dd0
installation of this package.  You can also manually increase this
fe8dd0
limit by invocing \`sysctl net.core.optmem_max=%{sysctl_optmem_max}\` as the
fe8dd0
super-user, e.g. using \`su\` or \`sudo\` on the terminal.
fe8dd0
fe8dd0
This is done to provide consumers of the new Linux Kernel Crypto API
fe8dd0
User Space Interface a well sufficient and reasonable maximum limit
fe8dd0
by default, especially when using AIO with a larger amount of IOVECs.
fe8dd0
fe8dd0
For further information about the AF_ALG kernel socket and AIO, see
fe8dd0
the discussion at the kernel-crypto mailing-list:
fe8dd0
https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg30417.html
fe8dd0
fe8dd0
See the instructions given in '%{_sysctldir}/50-default.conf',
fe8dd0
if you need or want to override the preset made by this package.
fe8dd0
EOF
fe8dd0
fe8dd0
%{__cat} << EOF > %{sysctl_prio}-%{name}-optmem_max.conf
fe8dd0
# See the 'README.%{distroname_ext}' file shipped in %%doc
fe8dd0
# with the %{name} package.
fe8dd0
#
fe8dd0
# See '%{_sysctldir}/50-default.conf',
fe8dd0
# if you need or want to override this preset.
fe8dd0
fe8dd0
# Increase the ancillary buffer size per socket.
fe8dd0
net.core.optmem_max = %{sysctl_optmem_max}
fe8dd0
EOF
fe8dd0
%endif
fe8dd0
fe8dd0
%{_bindir}/autoreconf -fiv
fe8dd0
fe8dd0
fe8dd0
%build
fe8dd0
%configure               \
fe8dd0
  --libdir=/%{_lib}      \
fe8dd0
  --disable-silent-rules \
fe8dd0
  --enable-kcapi-encapp  \
fe8dd0
  --enable-kcapi-dgstapp \
fe8dd0
  --enable-kcapi-hasher  \
fe8dd0
  --enable-kcapi-rngapp  \
fe8dd0
  --enable-kcapi-speed   \
fe8dd0
  --enable-kcapi-test    \
fe8dd0
  --enable-shared        \
fe8dd0
  --enable-static        \
820ee6
  --enable-sum-prefix=   \
fe8dd0
  --enable-sum-dir=/%{_lib} \
fe8dd0
  --with-pkgconfigdir=%{_libdir}/pkgconfig
fe8dd0
%make_build all doc
fe8dd0
fe8dd0
fe8dd0
%install
fe8dd0
%make_install
fe8dd0
fe8dd0
# Install sysctl.d preset.
fe8dd0
%{__mkdir_p} %{buildroot}%{_sysctldir}
fe8dd0
%{__install} -Dpm 0644 -t %{buildroot}%{_sysctldir} \
fe8dd0
  %{sysctl_prio}-%{name}-optmem_max.conf
fe8dd0
fe8dd0
# Install into proper location for inclusion by %%doc.
fe8dd0
%{__mkdir_p} %{buildroot}%{_pkgdocdir}
fe8dd0
%{__install} -Dpm 0644 -t %{buildroot}%{_pkgdocdir} \
fe8dd0
%if %{with_sysctl_tweak}
fe8dd0
  README.%{distroname_ext}                          \
fe8dd0
%endif
820ee6
  README.md CHANGES.md TODO doc/%{name}.p{df,s}
fe8dd0
%{__cp} -pr lib/doc/html %{buildroot}%{_pkgdocdir}
fe8dd0
fe8dd0
# Install replacement tools, if enabled.
fe8dd0
%if !%{with replace_coreutils}
fe8dd0
%{__rm} -f                            \
fe8dd0
  %{buildroot}%{_bindir}/md5sum       \
fe8dd0
  %{buildroot}%{_bindir}/sha*sum
fe8dd0
%endif
fe8dd0
fe8dd0
%if !%{with replace_fipscheck}
fe8dd0
%{__rm} -f %{buildroot}%{_bindir}/fips*
fe8dd0
%endif
fe8dd0
fe8dd0
%if !%{with replace_hmaccalc}
fe8dd0
%{__rm} -f %{buildroot}%{_bindir}/sha*hmac
fe8dd0
%endif
fe8dd0
fe8dd0
# We don't ship autocrap dumplings.
fe8dd0
%{_bindir}/find %{buildroot} -type f -name '*.la' -print -delete
fe8dd0
fe8dd0
# HMAC checksums are generated during __spec_install_post.
fe8dd0
%{_bindir}/find %{buildroot} -type f -name '*.hmac' -print -delete
fe8dd0
fe8dd0
# Remove 0-size files.
fe8dd0
%{_bindir}/find %{buildroot} -type f -size 0 -print -delete
fe8dd0
fe8dd0
# Make sure all docs have non-exec permissions, except for the dirs.
fe8dd0
%{_bindir}/find %{buildroot}%{_pkgdocdir} -type f -print | \
fe8dd0
  %{_bindir}/xargs %{__chmod} -c 0644
fe8dd0
%{_bindir}/find %{buildroot}%{_pkgdocdir} -type d -print | \
fe8dd0
  %{_bindir}/xargs %{__chmod} -c 0755
fe8dd0
fe8dd0
# Possibly save some space by hardlinking.
fe8dd0
for d in %{_mandir} %{_pkgdocdir}; do
fe8dd0
  %{_sbindir}/hardlink -cfv %{buildroot}$d
fe8dd0
done
fe8dd0
fe8dd0
fe8dd0
%check
fe8dd0
# Some basic sanity checks.
820ee6
for t in cppcheck scan; do
820ee6
  %make_build $t
820ee6
done
fe8dd0
fe8dd0
# On some arches `/proc/sys/net/core/optmem_max` is lower than 20480,
fe8dd0
# which is the lowest limit needed to run the testsuite.  If that limit
fe8dd0
# is not met, we do not run it.
fe8dd0
%if %{test_optmem_max} >= 20480
820ee6
# Skip the testsuite on old kernels.
820ee6
%if %{lua:print(rpm.vercmp(posix.uname('%r'), '5.1'));} >= 0
fe8dd0
# Real testsuite.
fe8dd0
pushd test
fe8dd0
# Ignore test result since the CI will do better testing anyway
fe8dd0
NO_32BIT_TEST=1    \
fe8dd0
  ./test-invocation.sh || true
fe8dd0
popd
fe8dd0
%endif
820ee6
%endif
fe8dd0
fe8dd0
fe8dd0
%ldconfig_scriptlets
fe8dd0
fe8dd0
fe8dd0
%files
820ee6
%license COPYING*
fe8dd0
%doc %dir %{_pkgdocdir}
fe8dd0
%doc %{_pkgdocdir}/README.md
fe8dd0
/%{_lib}/%{name}.so.%{vmajor}
fe8dd0
/%{_lib}/%{name}.so.%{version}
fe8dd0
/%{_lib}/fipscheck/%{name}.so.%{vmajor}.hmac
fe8dd0
/%{_lib}/fipscheck/%{name}.so.%{version}.hmac
fe8dd0
%if %{with_sysctl_tweak}
fe8dd0
%doc %{_pkgdocdir}/README.%{distroname_ext}
fe8dd0
%{_sysctldir}/%{sysctl_prio}-%{name}-optmem_max.conf
fe8dd0
%endif
fe8dd0
fe8dd0
fe8dd0
%files          devel
820ee6
%doc %{_pkgdocdir}/CHANGES.md
fe8dd0
%doc %{_pkgdocdir}/TODO
fe8dd0
%{_includedir}/kcapi.h
fe8dd0
%{_mandir}/man3/kcapi_*.3.*
fe8dd0
/%{_lib}/%{name}.so
fe8dd0
%{_libdir}/pkgconfig/%{name}.pc
fe8dd0
fe8dd0
fe8dd0
%files          doc
fe8dd0
%doc %{_pkgdocdir}
fe8dd0
fe8dd0
fe8dd0
%if %{with replace_coreutils}
fe8dd0
%files          checksum
fe8dd0
%{_bindir}/md5sum
fe8dd0
%{_bindir}/sha*sum
fe8dd0
/%{_lib}/fipscheck/md5sum.hmac
fe8dd0
/%{_lib}/fipscheck/sha*sum.hmac
fe8dd0
%endif
fe8dd0
fe8dd0
%if %{with replace_fipscheck}
fe8dd0
%files          fipscheck
fe8dd0
%{_bindir}/fips*
fe8dd0
/%{_lib}/fipscheck/fips*.hmac
fe8dd0
%endif
fe8dd0
fe8dd0
%if %{with replace_hmaccalc}
fe8dd0
%files          hmaccalc
fe8dd0
%{_bindir}/sha*hmac
fe8dd0
/%{_lib}/hmaccalc/sha*hmac.hmac
fe8dd0
%endif
fe8dd0
fe8dd0
fe8dd0
%files          static
fe8dd0
/%{_lib}/%{name}.a
fe8dd0
fe8dd0
fe8dd0
%files          tools
fe8dd0
%{_bindir}/kcapi*
fe8dd0
%{_mandir}/man1/kcapi*.1.*
fe8dd0
fe8dd0
fe8dd0
%if %{with test_package}
fe8dd0
%files          tests
fe8dd0
%{_libexecdir}/%{name}/*
fe8dd0
%endif
fe8dd0
fe8dd0
fe8dd0
%changelog
820ee6
* Tue May 26 2020 Sahana Prasad <sahana@redhat.com> - 1.2.0-2
820ee6
- Fix double free issue in hasher()
820ee6
820ee6
* Mon May 25 2020 Sahana Prasad <sahana@redhat.com> - 1.2.0-1
820ee6
- [RHEL] Update to upstream version 1.2.0
820ee6
820ee6
* Thu Apr 30 2020 Sahana Prasad <sahana@redhat.com> - 1.1.5-3
820ee6
- Enables building on old kernels [sync fix in Fedora from omosnance].
820ee6
- This is required for covscans as they run on RHEL7 machines.
820ee6
820ee6
* Wed Apr 29 2020 Sahana Prasad <sahana@redhat.com> - 1.1.5-2
820ee6
- Drop the license from the doc subpackage to avoid conflicts
820ee6
820ee6
* Mon Apr 27 2020 Sahana Prasad <sahana@redhat.com> - 1.1.5-1
820ee6
- [RHEL] Update to upstream version 1.1.5
820ee6
- [RHEL] Sync with Fedora branch
820ee6
fe8dd0
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-16_1
fe8dd0
- [RHEL] Apply 'Add missing dependencies to the tests package'
fe8dd0
- [RHEL] Apply 'Update patch from upstream'
fe8dd0
fe8dd0
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-16
fe8dd0
- Add missing dependencies to the tests package
fe8dd0
- Update patch from upstream
fe8dd0
fe8dd0
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-15_1
fe8dd0
- [RHEL] Apply 'Build and tests require perl'
fe8dd0
fe8dd0
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-15
fe8dd0
- Build and tests require perl
fe8dd0
fe8dd0
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-14_2
fe8dd0
- [RHEL] Re-enable AEAD tests and ignore test result
fe8dd0
- [RHEL] Drop the ppc64 ignore-failures workaround
fe8dd0
fe8dd0
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-14_1
fe8dd0
- [RHEL] Apply 'Add missing script to the 'tests' package'
fe8dd0
fe8dd0
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-14
fe8dd0
- Add missing script to the 'tests' package
fe8dd0
fe8dd0
* Wed Aug 08 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-13_1
fe8dd0
- [RHEL] Sync with the Fedora branch
fe8dd0
fe8dd0
* Wed Aug 08 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-13
fe8dd0
- Add missing requires to the 'tests' subpackage
fe8dd0
fe8dd0
* Wed Aug 08 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-12_1
fe8dd0
- [RHEL] Sync with the Fedora branch
fe8dd0
fe8dd0
* Tue Aug 07 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-12
fe8dd0
- Produce a subpackage with test scripts
fe8dd0
- Build the 'tests' subpackage conditionally
fe8dd0
fe8dd0
* Wed Aug 01 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-11_1
fe8dd0
- [RHEL] Sync with the Fedora branch
fe8dd0
fe8dd0
* Wed Aug 01 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-11
fe8dd0
- Add patch to fix unwanted closing of FD 0
fe8dd0
fe8dd0
* Tue Jul 31 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-10
fe8dd0
- Remove the kernel headers workaround
fe8dd0
fe8dd0
* Mon Jul 30 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-9_1
fe8dd0
- [RHEL] Sync with the Fedora branch
fe8dd0
- [RHEL] Rebase the disable-AEAD-tests patch
fe8dd0
fe8dd0
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.1-9
fe8dd0
- Rebuild for new binutils
fe8dd0
fe8dd0
* Fri Jul 27 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-8
fe8dd0
- Add more Coverity fixes from upstream
fe8dd0
- Add patch to fix AEAD fuzz test for BE arches
fe8dd0
- Fixup specfile
fe8dd0
fe8dd0
* Mon Jul 23 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-7_1
fe8dd0
- [RHEL] Sync with the Fedora branch
fe8dd0
- [RHEL] Fixup specfile
fe8dd0
- [RHEL] Rebase the disable-AEAD-tests patch
fe8dd0
fe8dd0
* Mon Jul 23 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-7
fe8dd0
- Add various fixes from upstream
fe8dd0
- Drop the Requires on kernel package
fe8dd0
fe8dd0
* Wed Jul 18 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-3_2
fe8dd0
- [RHEL] Temporarily disable AEAD tests
fe8dd0
fe8dd0
* Mon Jul 16 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-6
fe8dd0
- Put .hmac files into a separate directory
fe8dd0
fe8dd0
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-5
fe8dd0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
fe8dd0
fe8dd0
* Thu Jul 12 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-4
fe8dd0
- Add patch to work around FTBFS on rawhide
fe8dd0
fe8dd0
* Wed Jul 11 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-3_1
fe8dd0
- [RHEL] Sync with the Fedora branch
fe8dd0
fe8dd0
* Wed Jul 11 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-3
fe8dd0
- Fix off-by-one error in checkfile parsing
fe8dd0
fe8dd0
* Wed Jul 11 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-2_2
fe8dd0
- [RHEL] Disable fuzz test
fe8dd0
fe8dd0
* Wed Jul 11 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-2_1
fe8dd0
- [RHEL] Sync with the Fedora branch
fe8dd0
fe8dd0
* Wed Jul 11 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-2
fe8dd0
- Fix command-line parsing in libkcapi-hmaccalc
fe8dd0
fe8dd0
* Tue Jul 10 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-1_2
fe8dd0
- [RHEL] Work around build failure with new kernel headers
fe8dd0
fe8dd0
* Mon Jun 18 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-1_1
fe8dd0
- [RHEL] Skip CLang static analysis
fe8dd0
- [RHEL] Remove the dependency on kernel package
fe8dd0
fe8dd0
* Mon Jun 18 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-1
fe8dd0
- Update to upstream version 1.1.1
fe8dd0
fe8dd0
* Wed May 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.0-5
fe8dd0
- Skip CLang static analysis in RHEL
fe8dd0
- Revert "Skip CLang static analysis in RHEL"
fe8dd0
- Use own sha512hmac and fipscheck
fe8dd0
fe8dd0
* Wed May 02 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.0-4
fe8dd0
- Fix description lines being too long
fe8dd0
fe8dd0
* Fri Apr 27 2018 Björn Esser <besser82@fedoraproject.org> - 1.1.0-3
fe8dd0
- Fix conditional for hmaccalc replacement
fe8dd0
fe8dd0
* Mon Apr 16 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.0-2
fe8dd0
- Enable hmaccalc replacements in Fedora 28+
fe8dd0
fe8dd0
* Thu Apr 12 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.0-1
fe8dd0
- Update to upstream version 1.1.0
fe8dd0
fe8dd0
* Sat Mar 31 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-10
fe8dd0
- Replace single patches with a monolitic one from upstream
fe8dd0
- Obsolete replacements subpackage
fe8dd0
- Ignore failing tests on %%{power64} temporarily
fe8dd0
fe8dd0
* Thu Mar 08 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.0.3-9
fe8dd0
- Split up the replacements subpackage
fe8dd0
fe8dd0
* Mon Feb 26 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-8
fe8dd0
- Increase optmem_max preset to 81920
fe8dd0
fe8dd0
* Mon Feb 26 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-7
fe8dd0
- Obsoletes work by package name, not by provides (rhbz#1537225)
fe8dd0
fe8dd0
* Sun Feb 25 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-6
fe8dd0
- Add patch to fix a copy-paste typo
fe8dd0
fe8dd0
* Sat Feb 17 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-5
fe8dd0
- Add patch to fix build with -Werror
fe8dd0
fe8dd0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org>
fe8dd0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fe8dd0
fe8dd0
* Sun Feb 04 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-3
fe8dd0
- Switch to %%ldconfig_scriptlets
fe8dd0
fe8dd0
* Wed Jan 17 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-2
fe8dd0
- Decrease optmem_max preset to 40960
fe8dd0
- Let the build fail, if the minimum kernel version cannot be met
fe8dd0
- Conditionalize the sysctl.d tweak on version of the kernel
fe8dd0
- Conditionalize the name of README.distro on the distro
fe8dd0
fe8dd0
* Tue Jan 16 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-1
fe8dd0
- Initial import (rhbz#1533929)
fe8dd0
fe8dd0
* Tue Jan 16 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-0.13
fe8dd0
- Increase optmem_max preset to 81920
fe8dd0
fe8dd0
* Tue Jan 16 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-0.12
fe8dd0
- Add sysctl.d preset and README.fedora
fe8dd0
fe8dd0
* Mon Jan 15 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-0.11
fe8dd0
- Make the contents of the -replacements package configurable
fe8dd0
fe8dd0
* Mon Jan 15 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-0.10
fe8dd0
- Fix Obsoletes of the -replacements package
fe8dd0
fe8dd0
* Sun Jan 14 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-0.9
fe8dd0
- Disable the -replacements package until we have a plan for it
fe8dd0
fe8dd0
* Sun Jan 14 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-0.8
fe8dd0
- Move the kcapi-hasher binary to -replacements package, since it is
fe8dd0
  not of much use without the linked invocation names and saves the
fe8dd0
  extra Requires on the -tools package
fe8dd0
fe8dd0
* Sun Jan 14 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-0.7
fe8dd0
- Fix internal Requires of sub-packages
fe8dd0
- Hardlink files in %%{_bindir}
fe8dd0
fe8dd0
* Sun Jan 14 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-0.6
fe8dd0
- Add patches from upstream
fe8dd0
fe8dd0
* Sat Jan 13 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-0.5
fe8dd0
- Add patches from upstream
fe8dd0
fe8dd0
* Sat Jan 13 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-0.4
fe8dd0
- Asume the testsuite cannot be run, if the value of optmem_max cannot
fe8dd0
  be obtained
fe8dd0
fe8dd0
* Sat Jan 13 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-0.3
fe8dd0
- Move libraries to /%%{_lib} instead of %%{_libdir}, which is useful
fe8dd0
  during boot when the library might be needed before a potentially
fe8dd0
  seperate /usr partition is mounted
fe8dd0
fe8dd0
* Sat Jan 13 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-0.2
fe8dd0
- Asume optmem_max is at least 20480, if the real value cannot be obtained
fe8dd0
fe8dd0
* Fri Jan 12 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.3-0.1
fe8dd0
- New upstream release
fe8dd0
fe8dd0
* Wed Jan 10 2018 Björn Esser <besser82@fedoraproject.org> - 1.0.2-0.1
fe8dd0
- Initial rpm release (rhbz#1533929)