Compare commits
No commits in common. "c8" and "c9s" have entirely different histories.
|
@ -1 +1,3 @@
|
||||||
SOURCES/libkcapi-1.4.0.tar.xz
|
/libkcapi-*.tar.xz
|
||||||
|
/libkcapi-*.tar.xz.asc
|
||||||
|
/*.src.rpm
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
526dca7d8eb8ddc29395f0716ba1233e27bf2ab5 SOURCES/libkcapi-1.4.0.tar.xz
|
526dca7d8eb8ddc29395f0716ba1233e27bf2ab5 libkcapi-1.4.0.tar.xz
|
||||||
|
3f61ab30fc49740bb90fed760f30685f9d8ef22e libkcapi-1.4.0.tar.xz.asc
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQEzBAABCAAdFiEEO8xD1NLIfReEtp7kQh7pNjJqwVsFAmISvaAACgkQQh7pNjJq
|
|
||||||
wVv6jggAh7UpchOXZ1THbDZ0PE+YGWSr3Y3qKHMls9ixNn/RDSYxPvyZqc6pIAKQ
|
|
||||||
zVA6bGtB9kqcSexmrk2EyiUYgi1lo+5HwsfAfHBQaq7vD1S8Q/FYx/XVRv2GQfkj
|
|
||||||
/E1ivlcdcInlpn+vu+7Hei+H/IXtETh8QPwGwRI1Je84pIt7K4K4VPwWpur0su6E
|
|
||||||
oF1AFT6ldlMczsoDTCi3eP3rZWKvMmX5718W9F6eKuTkKoIiipCUxdMBy4f6YpDB
|
|
||||||
1ZmQPHjSgG4URlclQnFiGXYAbMBRHYfguJRl/HjZWSQMigRzqGSdvJR8wrfMeQzr
|
|
||||||
Bk0z0nGayzHgcC7gPz8CsAMJj5C9eQ==
|
|
||||||
=OA3o
|
|
||||||
-----END PGP SIGNATURE-----
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- fedora-*
|
||||||
|
decision_context: bodhi_update_push_stable
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-9
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tedude.validation}
|
|
@ -104,7 +104,7 @@
|
||||||
%{__arch_install_post} \
|
%{__arch_install_post} \
|
||||||
%{__os_install_post} \
|
%{__os_install_post} \
|
||||||
bin_path=%{buildroot}%{_bindir} \
|
bin_path=%{buildroot}%{_bindir} \
|
||||||
lib_path=%{buildroot}/%{_lib} \
|
lib_path=%{buildroot}%{_libdir} \
|
||||||
for app in %{apps_hmaccalc}; do \
|
for app in %{apps_hmaccalc}; do \
|
||||||
test -e "$bin_path"/$app || continue \
|
test -e "$bin_path"/$app || continue \
|
||||||
{ %sha512hmac "$bin_path"/$app || exit 1; } \\\
|
{ %sha512hmac "$bin_path"/$app || exit 1; } \\\
|
||||||
|
@ -114,14 +114,13 @@ for app in %{apps_fipscheck}; do \
|
||||||
test -e "$bin_path"/$app || continue \
|
test -e "$bin_path"/$app || continue \
|
||||||
%fipshmac -d "$lib_path"/fipscheck "$bin_path"/$app || exit 1 \
|
%fipshmac -d "$lib_path"/fipscheck "$bin_path"/$app || exit 1 \
|
||||||
done \
|
done \
|
||||||
%{_sbindir}/hardlink -cfv %{buildroot}%{_bindir} \
|
%{_bindir}/hardlink -cfv %{buildroot}%{_bindir} \
|
||||||
%fipshmac -d "$lib_path"/fipscheck \\\
|
%fipshmac -d "$lib_path"/fipscheck \\\
|
||||||
"$lib_path"/libkcapi.so.%{version} || exit 1 \
|
"$lib_path"/libkcapi.so.%{version} || exit 1 \
|
||||||
%{__ln_s} libkcapi.so.%{version}.hmac \\\
|
%{__ln_s} libkcapi.so.%{version}.hmac \\\
|
||||||
"$lib_path"/fipscheck/libkcapi.so.%{vmajor}.hmac \
|
"$lib_path"/fipscheck/libkcapi.so.%{vmajor}.hmac \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
|
|
||||||
Name: libkcapi
|
Name: libkcapi
|
||||||
Version: %{vmajor}.%{vminor}.%{vpatch}
|
Version: %{vmajor}.%{vminor}.%{vpatch}
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
|
@ -193,7 +192,11 @@ Header files for applications that use %{name}.
|
||||||
%if %{with doc}
|
%if %{with doc}
|
||||||
%package doc
|
%package doc
|
||||||
Summary: User documentation for the %{name} package
|
Summary: User documentation for the %{name} package
|
||||||
Requires: %{name}%{?_isa} == %{version}-%{release}
|
BuildArch: noarch
|
||||||
|
# Depend on one of the base packages because they have the license files
|
||||||
|
# We cannot just bundle them into doc because they might conflict with an
|
||||||
|
# older or newer version of the base package.
|
||||||
|
Requires: %{name} == %{version}-%{release}
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
User documentation for %{name}.
|
User documentation for %{name}.
|
||||||
|
@ -330,7 +333,7 @@ EOF
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--libdir=/%{_lib} \
|
--libdir=%{_libdir} \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--enable-kcapi-encapp \
|
--enable-kcapi-encapp \
|
||||||
--enable-kcapi-dgstapp \
|
--enable-kcapi-dgstapp \
|
||||||
|
@ -341,7 +344,7 @@ EOF
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--enable-sum-prefix= \
|
--enable-sum-prefix= \
|
||||||
--enable-sum-dir=/%{_lib} \
|
--enable-sum-dir=%{_libdir} \
|
||||||
--with-pkgconfigdir=%{_libdir}/pkgconfig
|
--with-pkgconfigdir=%{_libdir}/pkgconfig
|
||||||
%if %{with doc}
|
%if %{with doc}
|
||||||
%make_build all doc
|
%make_build all doc
|
||||||
|
@ -409,7 +412,7 @@ EOF
|
||||||
|
|
||||||
# Possibly save some space by hardlinking.
|
# Possibly save some space by hardlinking.
|
||||||
for d in %{_mandir} %{_pkgdocdir}; do
|
for d in %{_mandir} %{_pkgdocdir}; do
|
||||||
%{_sbindir}/hardlink -cfv %{buildroot}$d
|
%{_bindir}/hardlink -cfv %{buildroot}$d
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
@ -449,10 +452,10 @@ popd
|
||||||
%doc %dir %{_pkgdocdir}
|
%doc %dir %{_pkgdocdir}
|
||||||
%doc %{_pkgdocdir}/README.md
|
%doc %{_pkgdocdir}/README.md
|
||||||
%license COPYING*
|
%license COPYING*
|
||||||
/%{_lib}/%{name}.so.%{vmajor}
|
%{_libdir}/%{name}.so.%{vmajor}
|
||||||
/%{_lib}/%{name}.so.%{version}
|
%{_libdir}/%{name}.so.%{version}
|
||||||
/%{_lib}/fipscheck/%{name}.so.%{vmajor}.hmac
|
%{_libdir}/fipscheck/%{name}.so.%{vmajor}.hmac
|
||||||
/%{_lib}/fipscheck/%{name}.so.%{version}.hmac
|
%{_libdir}/fipscheck/%{name}.so.%{version}.hmac
|
||||||
%if %{with_sysctl_tweak}
|
%if %{with_sysctl_tweak}
|
||||||
%doc %{_pkgdocdir}/README.%{distroname_ext}
|
%doc %{_pkgdocdir}/README.%{distroname_ext}
|
||||||
%{_sysctldir}/%{sysctl_prio}-%{name}-optmem_max.conf
|
%{_sysctldir}/%{sysctl_prio}-%{name}-optmem_max.conf
|
||||||
|
@ -464,7 +467,7 @@ popd
|
||||||
%doc %{_pkgdocdir}/TODO
|
%doc %{_pkgdocdir}/TODO
|
||||||
%{_includedir}/kcapi.h
|
%{_includedir}/kcapi.h
|
||||||
%{_mandir}/man3/kcapi_*.3.*
|
%{_mandir}/man3/kcapi_*.3.*
|
||||||
/%{_lib}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
|
|
||||||
|
@ -481,28 +484,28 @@ popd
|
||||||
%{_bindir}/md5sum
|
%{_bindir}/md5sum
|
||||||
%{_bindir}/sha*sum
|
%{_bindir}/sha*sum
|
||||||
%{_bindir}/sm*sum
|
%{_bindir}/sm*sum
|
||||||
/%{_lib}/fipscheck/md5sum.hmac
|
%{_libdir}/fipscheck/md5sum.hmac
|
||||||
/%{_lib}/fipscheck/sha*sum.hmac
|
%{_libdir}/fipscheck/sha*sum.hmac
|
||||||
/%{_lib}/fipscheck/sm*sum.hmac
|
%{_libdir}/fipscheck/sm*sum.hmac
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with replace_fipscheck}
|
%if %{with replace_fipscheck}
|
||||||
%files fipscheck
|
%files fipscheck
|
||||||
%{_bindir}/fips*
|
%{_bindir}/fips*
|
||||||
/%{_lib}/fipscheck/fips*.hmac
|
%{_libdir}/fipscheck/fips*.hmac
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with replace_hmaccalc}
|
%if %{with replace_hmaccalc}
|
||||||
%files hmaccalc
|
%files hmaccalc
|
||||||
%{_bindir}/sha*hmac
|
%{_bindir}/sha*hmac
|
||||||
%{_bindir}/sm*hmac
|
%{_bindir}/sm*hmac
|
||||||
/%{_lib}/hmaccalc/sha*hmac.hmac
|
%{_libdir}/hmaccalc/sha*hmac.hmac
|
||||||
/%{_lib}/hmaccalc/sm*hmac.hmac
|
%{_libdir}/hmaccalc/sm*hmac.hmac
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
/%{_lib}/%{name}.a
|
%{_libdir}/%{name}.a
|
||||||
|
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
|
@ -519,87 +522,134 @@ popd
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Dec 01 2023 Zoltan Fridrich <zfridric@redhat.com> - 1.4.0-2
|
* Fri Dec 01 2023 Zoltan Fridrich <zfridric@redhat.com> - 1.4.0-2
|
||||||
- Backport fixes for kcapi-hasher target option
|
- Backport fixes for kcapi-hasher target option
|
||||||
Related: RHEL-15300
|
Related: RHEL-15298
|
||||||
- Fix kcapi tests in FIPS mode
|
- Fix kcapi tests in FIPS mode
|
||||||
Resolves: RHEL-2406
|
Resolves: RHEL-2405
|
||||||
|
|
||||||
* Wed Nov 01 2023 Zoltan Fridrich <zfridric@redhat.com> - 1.4.0-1
|
* Wed Nov 01 2023 Zoltan Fridrich <zfridric@redhat.com> - 1.4.0-1
|
||||||
- Update to new upstream release 1.4.0
|
- Update to new upstream release 1.4.0
|
||||||
Resolves: RHEL-5366
|
Resolves: RHEL-5367
|
||||||
- Add a patch to fix auxiliary tests in FIPS mode
|
- Add a patch to fix auxiliary tests in FIPS mode
|
||||||
Resolves: RHEL-2406
|
Resolves: RHEL-2405
|
||||||
- Add a patch to zeroize kcapi-hasher for FIPS 140-3
|
- Add a patch to zeroize kcapi-hasher for FIPS 140-3
|
||||||
Resolves: RHEL-15290
|
Resolves: RHEL-15112
|
||||||
- Add a patch to allow overriding target file in kcapi-hasher
|
- Add a patch to allow overriding target file in kcapi-hasher
|
||||||
Resolves: RHEL-15300
|
Resolves: RHEL-15298
|
||||||
|
|
||||||
* Tue May 26 2020 Sahana Prasad <sahana@redhat.com> - 1.2.0-2
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.3.1-3
|
||||||
- Fix double free issue in hasher()
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
* Mon May 25 2020 Sahana Prasad <sahana@redhat.com> - 1.2.0-1
|
* Thu Jul 15 2021 Simo Sorce <simo@redhat.com> - 1.3.1-2
|
||||||
- [RHEL] Update to upstream version 1.2.0
|
- Bring back usage of %{_libdir} instead of /%{_lib}
|
||||||
|
- Resolves: rhbz#1982620
|
||||||
|
|
||||||
* Thu Apr 30 2020 Sahana Prasad <sahana@redhat.com> - 1.1.5-3
|
* Wed Jul 14 2021 Simo Sorce <simo@redhat.com> - 1.3.1-1
|
||||||
- Enables building on old kernels [sync fix in Fedora from omosnance].
|
- Update to new upstream release 1.3.1
|
||||||
- This is required for covscans as they run on RHEL7 machines.
|
- This fixes ABI issues and incorporates previous patches
|
||||||
|
|
||||||
* Wed Apr 29 2020 Sahana Prasad <sahana@redhat.com> - 1.1.5-2
|
* Mon Jul 12 2021 Simo Sorce <simo@redhat.com> - 1.3.0-1
|
||||||
- Drop the license from the doc subpackage to avoid conflicts
|
- Update to new upstream release 1.3.0
|
||||||
|
|
||||||
* Mon Apr 27 2020 Sahana Prasad <sahana@redhat.com> - 1.1.5-1
|
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.1-3
|
||||||
- [RHEL] Update to upstream version 1.1.5
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
||||||
- [RHEL] Sync with Fedora branch
|
Related: rhbz#1971065
|
||||||
|
|
||||||
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-16_1
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.1-2
|
||||||
- [RHEL] Apply 'Add missing dependencies to the tests package'
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
- [RHEL] Apply 'Update patch from upstream'
|
|
||||||
|
* Mon Mar 15 2021 Sahana Prasad <sahana@redhat.com> - 1.2.1-1
|
||||||
|
- Update to upstream version 1.2.1
|
||||||
|
- Remove patch fix MSG_MORE uasge as it is added upstream
|
||||||
|
- Remove cppcheck dependency for rhel bz#1931518
|
||||||
|
- Add a patch to fix fuzz tests
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Aug 14 2020 Ondrej Mosnáček <omosnace@redhat.com> - 1.2.0-3
|
||||||
|
- Require perl-interpreter instead of full perl
|
||||||
|
- Backport fix for 5.9 kernels
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon May 25 2020 Sahana Prasad <omosnace@redhat.com> - 1.2.0-1
|
||||||
|
- Update to upstream version 1.2.0 tracked by BZ 1839592.
|
||||||
|
- Enable kcapi-enc tests as libkcapi BZ 1826022 is fixed.
|
||||||
|
- Remove 110-fipshmac-compat.patch as the changes are merged upstream.
|
||||||
|
- Remove 100-workaround-cppcheck-bug.patch as the changes are merged upstream.
|
||||||
|
|
||||||
|
* Tue May 05 2020 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.5-5
|
||||||
|
- Fix the CI test failures
|
||||||
|
- Enable building on old kernels
|
||||||
|
- Avoid conflicts between different versions of packages
|
||||||
|
|
||||||
|
* Thu Apr 23 2020 Tomáš Mráz <tmraz@redhat.com> - 1.1.5-4
|
||||||
|
- Add . prefix to files created by fipshmac if -d option is not specified
|
||||||
|
|
||||||
|
* Wed Apr 22 2020 Sahana Prasad <sahana@redhat.com> - 1.1.5-3
|
||||||
|
- Disables kcapi-enc tests until the kernel bug bz 1826022 is fixed.
|
||||||
|
- Produce also the fipscheck replacement package
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Aug 13 2019 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.5-1
|
||||||
|
- Update to upstream version 1.1.5
|
||||||
|
|
||||||
|
* Sat Jul 27 2019 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.4-6
|
||||||
|
- Backport patch to fix test failure on aarch64
|
||||||
|
- Remove no longer needed ppc64 workaround
|
||||||
|
|
||||||
|
* Sat Jul 27 2019 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.4-5
|
||||||
|
- Backport patch to fix tests
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.4-4
|
||||||
|
- Work around cppcheck issue
|
||||||
|
- Enable gating
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon May 27 2019 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.4-2
|
||||||
|
- Fix FTBFS: hardlink is now in bindir
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.4-1
|
||||||
|
- Update to upstream version 1.1.4
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.3-3
|
||||||
|
- Fix build with new GCC
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 23 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.3-1
|
||||||
|
- Update to upstream version 1.1.3
|
||||||
|
|
||||||
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-16
|
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-16
|
||||||
- Add missing dependencies to the tests package
|
- Add missing dependencies to the tests package
|
||||||
- Update patch from upstream
|
- Update patch from upstream
|
||||||
|
|
||||||
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-15_1
|
|
||||||
- [RHEL] Apply 'Build and tests require perl'
|
|
||||||
|
|
||||||
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-15
|
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-15
|
||||||
- Build and tests require perl
|
- Build and tests require perl
|
||||||
|
|
||||||
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-14_2
|
|
||||||
- [RHEL] Re-enable AEAD tests and ignore test result
|
|
||||||
- [RHEL] Drop the ppc64 ignore-failures workaround
|
|
||||||
|
|
||||||
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-14_1
|
|
||||||
- [RHEL] Apply 'Add missing script to the 'tests' package'
|
|
||||||
|
|
||||||
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-14
|
* Thu Aug 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-14
|
||||||
- Add missing script to the 'tests' package
|
- Add missing script to the 'tests' package
|
||||||
|
|
||||||
* Wed Aug 08 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-13_1
|
|
||||||
- [RHEL] Sync with the Fedora branch
|
|
||||||
|
|
||||||
* Wed Aug 08 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-13
|
* Wed Aug 08 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-13
|
||||||
- Add missing requires to the 'tests' subpackage
|
- Add missing requires to the 'tests' subpackage
|
||||||
|
|
||||||
* Wed Aug 08 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-12_1
|
|
||||||
- [RHEL] Sync with the Fedora branch
|
|
||||||
|
|
||||||
* Tue Aug 07 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-12
|
* Tue Aug 07 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-12
|
||||||
- Produce a subpackage with test scripts
|
- Produce a subpackage with test scripts
|
||||||
- Build the 'tests' subpackage conditionally
|
- Build the 'tests' subpackage conditionally
|
||||||
|
|
||||||
* Wed Aug 01 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-11_1
|
|
||||||
- [RHEL] Sync with the Fedora branch
|
|
||||||
|
|
||||||
* Wed Aug 01 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-11
|
* Wed Aug 01 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-11
|
||||||
- Add patch to fix unwanted closing of FD 0
|
- Add patch to fix unwanted closing of FD 0
|
||||||
|
|
||||||
* Tue Jul 31 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-10
|
* Tue Jul 31 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-10
|
||||||
- Remove the kernel headers workaround
|
- Remove the kernel headers workaround
|
||||||
|
|
||||||
* Mon Jul 30 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-9_1
|
|
||||||
- [RHEL] Sync with the Fedora branch
|
|
||||||
- [RHEL] Rebase the disable-AEAD-tests patch
|
|
||||||
|
|
||||||
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.1-9
|
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.1-9
|
||||||
- Rebuild for new binutils
|
- Rebuild for new binutils
|
||||||
|
|
||||||
|
@ -608,18 +658,10 @@ popd
|
||||||
- Add patch to fix AEAD fuzz test for BE arches
|
- Add patch to fix AEAD fuzz test for BE arches
|
||||||
- Fixup specfile
|
- Fixup specfile
|
||||||
|
|
||||||
* Mon Jul 23 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-7_1
|
|
||||||
- [RHEL] Sync with the Fedora branch
|
|
||||||
- [RHEL] Fixup specfile
|
|
||||||
- [RHEL] Rebase the disable-AEAD-tests patch
|
|
||||||
|
|
||||||
* Mon Jul 23 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-7
|
* Mon Jul 23 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-7
|
||||||
- Add various fixes from upstream
|
- Add various fixes from upstream
|
||||||
- Drop the Requires on kernel package
|
- Drop the Requires on kernel package
|
||||||
|
|
||||||
* Wed Jul 18 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-3_2
|
|
||||||
- [RHEL] Temporarily disable AEAD tests
|
|
||||||
|
|
||||||
* Mon Jul 16 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-6
|
* Mon Jul 16 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-6
|
||||||
- Put .hmac files into a separate directory
|
- Put .hmac files into a separate directory
|
||||||
|
|
||||||
|
@ -629,28 +671,12 @@ popd
|
||||||
* Thu Jul 12 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-4
|
* Thu Jul 12 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-4
|
||||||
- Add patch to work around FTBFS on rawhide
|
- Add patch to work around FTBFS on rawhide
|
||||||
|
|
||||||
* Wed Jul 11 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-3_1
|
|
||||||
- [RHEL] Sync with the Fedora branch
|
|
||||||
|
|
||||||
* Wed Jul 11 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-3
|
* Wed Jul 11 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-3
|
||||||
- Fix off-by-one error in checkfile parsing
|
- Fix off-by-one error in checkfile parsing
|
||||||
|
|
||||||
* Wed Jul 11 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-2_2
|
|
||||||
- [RHEL] Disable fuzz test
|
|
||||||
|
|
||||||
* Wed Jul 11 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-2_1
|
|
||||||
- [RHEL] Sync with the Fedora branch
|
|
||||||
|
|
||||||
* Wed Jul 11 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-2
|
* Wed Jul 11 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-2
|
||||||
- Fix command-line parsing in libkcapi-hmaccalc
|
- Fix command-line parsing in libkcapi-hmaccalc
|
||||||
|
|
||||||
* Tue Jul 10 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-1_2
|
|
||||||
- [RHEL] Work around build failure with new kernel headers
|
|
||||||
|
|
||||||
* Mon Jun 18 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-1_1
|
|
||||||
- [RHEL] Skip CLang static analysis
|
|
||||||
- [RHEL] Remove the dependency on kernel package
|
|
||||||
|
|
||||||
* Mon Jun 18 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-1
|
* Mon Jun 18 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.1-1
|
||||||
- Update to upstream version 1.1.1
|
- Update to upstream version 1.1.1
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
SHA512 (libkcapi-1.4.0.tar.xz) = fa3df1fe22eba32585de5df044f907d3ad189c33f5704fe29b0fdeda92e772ef077055b80e17bc1646a8cdedaf4f195aadf0b133f493597f0f7657b04ea93a99
|
||||||
|
SHA512 (libkcapi-1.4.0.tar.xz.asc) = a41303cba88b214c82537bb5de2584a72a239670318753ba6873a2c3ebe3b56ffd381fdf7ae266aa21857e850bebdfbfdec487c98655ddbc2b9a0ba0d4f383ca
|
|
@ -0,0 +1,71 @@
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Makefile of /CoreOS/libgcrypt/smoke-test
|
||||||
|
# Description: Test calls upstream test suite.
|
||||||
|
# Author: Ondrej Moris <omoris@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2010 Red Hat, Inc. All rights reserved.
|
||||||
|
#
|
||||||
|
# This copyrighted material is made available to anyone wishing
|
||||||
|
# to use, modify, copy, or redistribute it subject to the terms
|
||||||
|
# and conditions of the GNU General Public License version 2.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public
|
||||||
|
# License along with this program; if not, write to the Free
|
||||||
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
# Boston, MA 02110-1301, USA.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
export TEST=/CoreOS/libgcrypt/smoke-test
|
||||||
|
export TESTVERSION=1.0
|
||||||
|
|
||||||
|
BUILT_FILES=
|
||||||
|
|
||||||
|
FILES=$(METADATA) runtest.sh Makefile PURPOSE
|
||||||
|
|
||||||
|
.PHONY: all install download clean
|
||||||
|
|
||||||
|
run: $(FILES) build
|
||||||
|
./runtest.sh
|
||||||
|
|
||||||
|
build: $(BUILT_FILES)
|
||||||
|
chmod a+x runtest.sh
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *~ $(BUILT_FILES)
|
||||||
|
|
||||||
|
|
||||||
|
include /usr/share/rhts/lib/rhts-make.include
|
||||||
|
|
||||||
|
$(METADATA): Makefile
|
||||||
|
@echo "Owner: Ondrej Moris <omoris@redhat.com>" > $(METADATA)
|
||||||
|
@echo "Name: $(TEST)" >> $(METADATA)
|
||||||
|
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||||
|
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||||
|
@echo "Description: Test calls upstream test suite." >> $(METADATA)
|
||||||
|
@echo "Type: Sanity" >> $(METADATA)
|
||||||
|
@echo "TestTime: 15m" >> $(METADATA)
|
||||||
|
@echo "RunFor: libgcrypt" >> $(METADATA)
|
||||||
|
@echo "Requires: libgcrypt" >> $(METADATA)
|
||||||
|
@echo "Requires: nfs-utils" >> $(METADATA)
|
||||||
|
@echo "Requires: rpm-build" >> $(METADATA)
|
||||||
|
@echo "Requires: gawk" >> $(METADATA)
|
||||||
|
@echo "Requires: gcc-c++ fipscheck" >> $(METADATA)
|
||||||
|
@echo "Requires: libgpg-error-devel wget" >> $(METADATA)
|
||||||
|
@echo "Requires: pkgconfig texinfo libselinux-utils" >> $(METADATA)
|
||||||
|
@echo "Releases: -RHEL3 -RHEL4" >> $(METADATA)
|
||||||
|
@echo "Priority: Normal" >> $(METADATA)
|
||||||
|
@echo "Architectures: i386 x86_64 s390x ia64" >> $(METADATA)
|
||||||
|
@echo "License: GPLv2" >> $(METADATA)
|
||||||
|
@echo "Confidential: no" >> $(METADATA)
|
||||||
|
@echo "Destructive: no" >> $(METADATA)
|
||||||
|
|
||||||
|
rhts-lint $(METADATA)
|
|
@ -0,0 +1,3 @@
|
||||||
|
PURPOSE of /CoreOS/libgcrypt/Sanity/smoke-test
|
||||||
|
Description: Test calls upstream test suite.
|
||||||
|
Author: Ondrej Moris <omoris@redhat.com>
|
|
@ -0,0 +1,71 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# runtest.sh of /CoreOS/libgcrypt/smoke-test
|
||||||
|
# Description: Test calls upstream test suite.
|
||||||
|
# Author: Ondrej Moris <omoris@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2010 Red Hat, Inc. All rights reserved.
|
||||||
|
#
|
||||||
|
# This copyrighted material is made available to anyone wishing
|
||||||
|
# to use, modify, copy, or redistribute it subject to the terms
|
||||||
|
# and conditions of the GNU General Public License version 2.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public
|
||||||
|
# License along with this program; if not, write to the Free
|
||||||
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
# Boston, MA 02110-1301, USA.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
# Include rhts environment
|
||||||
|
#. /usr/bin/rhts-environment.sh
|
||||||
|
. /usr/share/beakerlib/beakerlib.sh
|
||||||
|
|
||||||
|
PACKAGE="libgcrypt"
|
||||||
|
|
||||||
|
rlJournalStart
|
||||||
|
|
||||||
|
rlPhaseStartSetup
|
||||||
|
TmpDir=`mktemp -d`
|
||||||
|
rlAssertRpm $PACKAGE
|
||||||
|
rlFileBackup --clean "/etc/gcrypt/fips_enabled"
|
||||||
|
rlRun "pushd $TmpDir" 0
|
||||||
|
rlFetchSrcForInstalled $PACKAGE
|
||||||
|
rlRun "rpm -ihv `ls *.rpm`" 0
|
||||||
|
if grep '1' /proc/sys/crypto/fips_enabled; then
|
||||||
|
rlRun "echo '1' > /etc/gcrypt/fips_enabled" 0
|
||||||
|
fi
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartTest
|
||||||
|
TOPDIR=`rpm --eval %_topdir`
|
||||||
|
rlRun "pushd $TOPDIR" 0
|
||||||
|
rlRun "rm -rf BUILD/libgcrypt-*" 0-255
|
||||||
|
rlRun "rpmbuild -vv -bc SPECS/libgcrypt.spec" 0
|
||||||
|
rlRun "pushd BUILD/libgcrypt-*" 0
|
||||||
|
rlRun "fipshmac src/.libs/libgcrypt.so.??" 0
|
||||||
|
rlRun "make check > $TmpDir/make_check.out" 0
|
||||||
|
rlRun "popd" 0
|
||||||
|
rlRun "popd" 0
|
||||||
|
rlRun "grep \"All [0-9]\+ tests passed\" $TmpDir/make_check.out" 0 \
|
||||||
|
"All tests passed"
|
||||||
|
rlRun "cat $TmpDir/make_check.out" 0
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartCleanup
|
||||||
|
rlRun "popd" 0
|
||||||
|
rlRun "rm -r $TmpDir" 0
|
||||||
|
rlFileRestore
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlJournalPrintText
|
||||||
|
rlJournalEnd
|
|
@ -0,0 +1,45 @@
|
||||||
|
- hosts: localhost
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
- container
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
required_packages:
|
||||||
|
- libkcapi-tests
|
||||||
|
tests:
|
||||||
|
- upstream-basic-test:
|
||||||
|
run: /usr/libexec/libkcapi/test.sh
|
||||||
|
- upstream-enc-test:
|
||||||
|
run: /usr/libexec/libkcapi/kcapi-enc-test.sh
|
||||||
|
- upstream-enc-test-large:
|
||||||
|
run: /usr/libexec/libkcapi/kcapi-enc-test-large.sh
|
||||||
|
- upstream-dgst-test:
|
||||||
|
run: /usr/libexec/libkcapi/kcapi-dgst-test.sh
|
||||||
|
- upstream-hasher-test:
|
||||||
|
run: /usr/libexec/libkcapi/hasher-test.sh
|
||||||
|
- upstream-convenience-test:
|
||||||
|
run: /usr/libexec/libkcapi/kcapi-convenience.sh
|
||||||
|
- upstream-fuzz-test:
|
||||||
|
run: /usr/libexec/libkcapi/kcapi-fuzz-test.sh
|
||||||
|
|
||||||
|
- hosts: localhost
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
- container
|
||||||
|
roles:
|
||||||
|
- role: standard-test-beakerlib
|
||||||
|
required_packages:
|
||||||
|
- fipscheck
|
||||||
|
- gawk
|
||||||
|
- gcc-c++
|
||||||
|
- libgcrypt
|
||||||
|
- libgpg-error-devel
|
||||||
|
- libselinux-utils
|
||||||
|
- libtool
|
||||||
|
- nfs-utils
|
||||||
|
- pkgconfig
|
||||||
|
- rpm-build
|
||||||
|
- texinfo
|
||||||
|
- wget
|
||||||
|
tests:
|
||||||
|
- fipscheck-smoke-test
|
Loading…
Reference in New Issue