Commit Graph

115 Commits

Author SHA1 Message Date
Ondrej Moris
9724829fa5 Enable RHEL-10 CI and gating 2024-07-09 14:08:42 +00:00
Troy Dawson
ce9c02aacc Bump release for June 2024 mass rebuild 2024-06-24 12:25:53 -07:00
Zoltan Fridrich
190cc5ce74 Bring back usage of /usr/lib64 instead of /lib64
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
2024-05-28 13:14:49 +02:00
Zoltan Fridrich
d727b736e7 Remove tests from repo
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
2024-05-28 11:06:27 +02:00
Zoltan Fridrich
d708585184 Backport fixes from c9s
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
2024-05-28 11:04:05 +02:00
Fedora Release Engineering
b5d3571bcb Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 02:37:46 +00:00
Fedora Release Engineering
e12f61b6c3 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 04:26:50 +00:00
Zoltan Fridrich
8ccb764622 Migrate to SPDX license
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
2023-08-30 16:51:19 +02:00
Yaakov Selkowitz
358a5759e8 Fix build with cppcheck-2.11
String literal concatenation raises syntaxError with cppcheck-2.11,
which is a regression: https://trac.cppcheck.net/ticket/11830
2023-07-28 15:09:48 -04:00
Fedora Release Engineering
e0f0f65d78 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 11:15:09 +00:00
Fedora Release Engineering
04ba39d474 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 16:40:28 +00:00
Ondrej Mosnacek
205a7d5c3f
Convert tests to TMT
Ditch the legacy STR format in favor of TMT/FMF.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2022-08-25 20:25:07 +02:00
Ondrej Mosnacek
c3c3d074ac
Add a patch to fix tests with kernels 6.0+
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2022-08-25 20:25:07 +02:00
Ondrej Mosnacek
3c0d9c58cc
Switch to rpmautospec 2022-08-13 23:37:42 +02:00
Ondrej Mosnacek
e965b0fc5c
Update to upstream version 1.4.0
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2022-08-13 22:41:57 +02:00
Fedora Release Engineering
9506ff8947 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 18:10:03 +00:00
Ondrej Mosnacek
44c3299dec Re-enable cppcheck scanning on Fedora
It has been updated to version 2.5 in Fedora, which no longer produces
false positives on libkcapi code.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2022-01-25 20:38:51 +01:00
Fedora Release Engineering
ea5231da38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 16:31:54 +00:00
Fedora Release Engineering
7353c32d47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 11:40:47 +00:00
Simo Sorce
38549627e1 Remove LTO build suppression by using better symver machinery
Signed-off-by: Simo Sorce <simo@redhat.com>
2021-07-14 11:10:20 -04:00
Simo Sorce
dbc39a8ccf Disable LTO for now, it breaks the build
This is the error I get building locally if LTO is not disabled:
  Error: invalid attempt to declare external version name as default
  in symbol `kcapi_memset_secure@@LIBKCAPI_1.3.1'

Signed-off-by: Simo Sorce <simo@redhat.com>
2021-07-14 06:05:26 -04:00
Simo Sorce
381e5d6b93 Update to upstream version 1.3.1 which fixes ABI issues
Signed-off-by: Simo Sorce <simo@redhat.com>
2021-07-14 05:39:55 -04:00
Simo Sorce
75152a308a Additional upstream fixes for 32bit types
Replace custom patch with upstream one.
Add patch to fix issues with s390x
2021-07-12 09:00:24 -04:00
Simo Sorce
3461a3d164 Fix build due to -Werror 2021-07-12 08:15:57 -04:00
Simo Sorce
a5c9c9e34b Update to upstream version 1.3.0 2021-07-12 07:50:26 -04:00
Ondrej Mosnacek
5db30d35f3 Fix rpmlint error (usage of %{_sourcedir})
Fixes the following reported by rpmlint:

    libkcapi.src:97: E: use-of-RPM_SOURCE_DIR

Fixed by using the appropriate %{SOURCE<n>} macros as documented in:
https://fedoraproject.org/wiki/Packaging:RPM_Source_Dir

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2021-03-27 15:59:15 +01:00
Ondrej Mosnacek
8d3f288df5 Add a patch to fix fuzz tests
Add a pending patch to fix fuzz tests hanging infinitely:
https://github.com/smuellerDD/libkcapi/pull/110

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2021-03-27 14:49:56 +01:00
Ondrej Mosnacek
f95b05caae Add a few more convenience conditionals
Allow optionally building without `make test`, fuzz tests, `make scan`,
or without the -doc subpackage.

You can now e.g. quickly build locally without tests as follows:

    fedpkg mockbuild --without test

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2021-03-27 14:25:08 +01:00
Ondrej Mosnacek
eee399ccc3 Clean up cppcheck conditional
Move it up near the other conditional macro defs and utilize it for the
temporary cppcheck disablement.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2021-03-26 16:25:38 +01:00
Sahana Prasad
f0029bf72c Update to upstream version 1.2.1
Remove cppcheck dependency for rhel bz#1931518 and Fedora (temporarily) #bz1923600

Signed-off-by: Sahana Prasad <sahana@redhat.com>
2021-03-15 20:29:19 +01:00
Fedora Release Engineering
dbcdc9af40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 17:21:13 +00:00
Robert Scheck
70628a02c9 Minor spec file optimizations 2021-01-13 01:47:40 +00:00
Tom Stellard
e34cfed412 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-05 02:05:31 +00:00
Ondrej Mosnacek
7a34808f0c Depend on git-core instead of full git
See:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/GS7GOUITUEASRELL7SKGLVJLGS3ZVJ45/

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-11-03 16:51:47 +01:00
Ondrej Mosnacek
ba6b846bc3 Bump release and update changelog for 1.2.0-3
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-08-14 11:27:26 +02:00
Ondrej Mosnacek
afdaa1cd48 Backport fix for 5.9 kernels
Kernel 5.9 will become more strict about the usage of MSG_MORE so this
upstream patch is needed to keep libkcapi working with the new kernel.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-08-14 11:24:32 +02:00
Ondrej Mosnacek
fb857c42d0 Require perl-interpreter instead of full perl
perl-interpreter pulls in less packages and as it turns out is actually
sufficient to build the package and run the tests so swtich to it.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-08-14 11:08:30 +02:00
Fedora Release Engineering
225db776e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 04:56:25 +00:00
Sahana Prasad
d7a1af30f2 Update to upstream version 1.2.0 tracked by BZ 1839592
Signed-off-by: Sahana Prasad <sahana@redhat.com>
2020-05-25 12:13:40 +02:00
Aleksandra Fedorova
bc1c80da03 Update gating test name
Messaging scheme has changed and old centos-related test names are now deprecated.

See https://pagure.io/fedora-ci/general/issue/110
2020-05-20 22:04:57 +02:00
Ondrej Mosnacek
294dffd21f Bump release and update changelog for 1.1.5-5
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-05-05 10:23:27 +02:00
Ondrej Mosnacek
c57ecf7441 Avoid conflicts between different versions of packages
Remove duplicate files from the -doc subpackage and make it depend on
the base package (intentionally without %{_isa} since any base package
of the same version ships the same license files).

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-04-30 13:35:02 +02:00
Ondrej Mosnacek
7393454a2f Enable building on old kernels
This adds scripts that mock sha512hmac and fipshmac using openssl. These
are used instead of the built hashers to hash libkcapi binaries on
kernels that don't suport the userspace Crypto API interface properly
(e.g. RHEL-7 kernels).

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-04-30 08:35:22 +02:00
Ondrej Mosnacek
538d7604c9 Fix the CI test failures
Disable the enc-test (failing due to kernel bug) also in the YAML tests
and add a missing dependency to the fipscheck smoke test.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-04-29 13:47:57 +02:00
Sahana Prasad
bb0939a388 Merge #10 Add . prefix to files created by fipshmac if -d option is not specified 2020-04-23 13:44:44 +00:00
Ondrej Mosnacek
302b990936 Add the fipscheck smoke test
Since we are now replacing fipscheck, add its existing dist-git test to
libkcapi.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-04-23 15:04:40 +02:00
Tomas Mraz
c19476ae79 Add . prefix to files created by fipshmac if -d option is not specified 2020-04-23 14:41:44 +02:00
Tomáš Mráz
87985ec6fd Produce fipscheck replacement on Fedora 33+ 2020-04-22 10:53:38 +00:00
Ondrej Mosnacek
65b6380cc1 Cleanup previous commit
Remove backticks added by mistake and add a comment explaining the reson
for the workaround.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-04-22 12:42:49 +02:00
Sahana Prasad
d1117b07e6 libkcapi.spec: Disables kcapi-enc tests until the kernel bug bz 1826022 is fixed.
Signed-off-by: Sahana Prasad <sahana@redhat.com>
2020-04-22 11:45:41 +02:00