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
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
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
Fedora Release Engineering
50dcd7a51f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 09:29:32 +00:00
Ondrej Mosnacek
c645f59d4c
Update to upstream version 1.1.5
2019-08-13 14:58:56 +02:00
Ondrej Mosnacek
f5e4195060
Remove no longer needed ppc64 workaround
...
The kernel bug causing failures on ppc64le is now fixed in recent/stable
kernels [1], so we can remove the workaround.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=dcf7b48212c0fab7df69e84fab22d6cb7c8c0fb9
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2019-07-27 22:12:12 +02:00
Ondrej Mosnacek
3d486e6132
Backport patch to fix test failure on aarch64
...
Another patch needed to fix failing tests...
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2019-07-27 22:10:09 +02:00
Ondrej Mosnacek
154ab8363d
Backport patch to fix tests
...
This patch fixes detection of kernel version, which should fix the
failing build-time tests on some arches.
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2019-07-27 18:50:26 +02:00
Ondrej Mosnacek
4cdceabb5d
Enable gating
...
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2019-07-25 17:19:25 +02:00
Ondrej Mosnacek
12b9ffe9da
Work around cppcheck issue
...
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2019-07-25 17:19:07 +02:00
Fedora Release Engineering
4a47da3f29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 13:35:33 +00:00
Ondrej Mosnacek
782807f493
Fix FTBFS: hardlink is now in bindir
...
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2019-05-27 13:19:29 +02:00
Ondrej Mosnacek
84c3a32d11
Update to upstream version 1.1.4
...
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2019-02-02 12:00:24 +01:00
Ondrej Mosnacek
5d51b5804e
Bump Release field
...
Forgot to add this to the previous commit...
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2019-02-01 22:03:39 +01:00
Ondrej Mosnacek
2a261ac6a0
Fix build with new GCC
...
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2019-02-01 22:02:35 +01:00
Fedora Release Engineering
459efb3df3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 07:26:40 +00:00
Ondrej Mosnacek
01f1016328
Update to upstream version 1.1.3
2018-08-23 15:38:18 +02:00
Ondrej Mosnacek
82e795531c
Update patch from upstream
2018-08-09 15:35:02 +02:00
Ondrej Mosnacek
47361f07e4
Add missing dependencies to the tests package
2018-08-09 15:34:15 +02:00