Blame SPECS/libkcapi.spec

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