25 Commits

Author SHA1 Message Date
Khem Raj
b620c1f7a6 libkcapi: disable C23 support to fix configure check
Set ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23
compiler support, avoiding potential build failures as the package
is not yet fully ported to support C23 standard.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-18 00:11:35 -07:00
Alexander Kanavin
fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Alexander Stein
e569af1ff4 libkcapi: Update HOMEPAGE url
The library's homepage url has changed.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-28 08:01:19 -08:00
alperak
6f7ee19d66 libkcapi: upgrade 1.4.0 -> 1.5.0
License-Update: Copyright years change

Changelog:

    move all sha* applications to the libexec directory to allow them to coexist with other packages sha* applications - the caller is expected to make a symlink to them
    add sha3sum
    add kcapi_md_sha3_* wrapper APIs
    various small fixes

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-19 09:51:07 -08:00
Khem Raj
a0aaf7a23a libkcapi: Upgrade to 1.4.0
Drop upstreamed patch
Disable new warnings seen with gcc 12

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-13 19:21:41 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Khem Raj
b6eb9036eb libkcapi: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
2021-12-21 18:49:37 -08:00
Oleksandr Kravchuk
e95b6af4c8 libkcapi: update to 1.3.1
Dropped upstreamed patch.

License-Update: copyright years updated.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-15 19:11:18 -08:00
Ross Burton
c8384c874f libkcapi: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-18 11:07:10 -08:00
Ross Burton
95eec99419 libkcapi: remove DEPENDS on target libtool
There is no need to build depend on the target libtool.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-18 11:07:10 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Sinan Kaya
479d0d7f3b libkcapi: allow an option to build natively
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-25 08:17:04 -07:00
Sinan Kaya
989ca68136 libkcapi: add a hash only packageconfig
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-25 08:17:04 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj
7888dcefc6 libkcapi: Fix build on riscv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-16 12:34:51 -08:00
Zang Ruochen
c801ca3af0 libkcapi: upgrade 1.2.0 -> 1.2.1
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-02 09:00:52 -08:00
Oleksandr Kravchuk
4fd8133bdb libkcapi: update to 1.2.0
Removed patches were upstreamed.

License checksum changed due to modified copyright years
(see @8397f0f7c45264a).

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:23:16 -07:00
Khem Raj
63a724ce40 libkcapi: Update patch to upstream submitted one
Use builtin_bswap32 with clang if available

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-20 22:17:28 -08:00
Khem Raj
bd4e75ac21 libkcapi: Move static inline functions where used
Clang warns about unused functions on some arches e.g. mips
unused function '_bswap32' [-Werror,-Wunused-function]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-18 16:49:57 -08:00
Zang Ruochen
80e0113f7a libkcapi: upgrade 1.1.4 -> 1.1.5
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-05 20:22:51 -07:00
Krzysztof Kozlowski
7cf2f4996f libkcapi: Bump to v1.1.4
License file was updated with new dates ("2016" -> "2016 - 2019").

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-26 11:00:07 -08:00
Krzysztof Kozlowski
7c52d8ab71 libkcapi: Fix missing bash (for apps) and unneeded checksums (for testapp) when building
Fix build failures:
1. with "apps" PACKAGECONFIG:

    ERROR: libkcapi-1.1.3+gitAUTOINC+1c736c43eb-r0 do_package:
    QA Issue: libkcapi: Files/directories were installed but not shipped in any package:
      /usr/bin/.sha1hmac.hmac
      /usr/lib/.libkcapi.so.1.1.3.hmac

2. with "testapp" PACKAGECONFIG:

    ERROR: libkcapi-1.1.3+gitAUTOINC+1c736c43eb-r0 do_package_qa:
    QA Issue: /usr/libexec/libkcapi/test.sh contained in package libkcapi requires /bin/bash,
    but no providers found in RDEPENDS_libkcapi? [file-rdeps]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-26 11:00:07 -08:00
Khem Raj
7b6c088b87 libkcapi: Disable Wsign-compare warning with clang/musl
clang 7.0 is grumpy and complains about cmsg structures and macros from
sys/socket.h

kcapi-kernel-if.c:25:11: error: comparison of integers of different signs: 'unsigned long' and 'long' [-Werror,-Wsign-compare] header = CMSG_NXTHDR(&msg, header);

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 12:08:46 -07:00
Khem Raj
58062ba654 libkcapi: Upgrade to 1.1.3
Drop upstream patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
2018-08-30 23:54:38 -07:00
Krzysztof Kozlowski
d6836356c4 libkcapi: Add new recipe for v1.1.1
Add new recipe with libkcapi v1.1.1, Linux Kernel Crypto API User Space
Interface Library.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-14 11:28:12 -07:00