blob: 947aa90e2ef18806d657fc1c41b30b02f7bdd40d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
SUMMARY = "TLS handshake utilities for in-kernel TLS consumers"
DESCRIPTION = "In-kernel TLS consumers need a mechanism to perform TLS \
handshakes on a connected socket to negotiate TLS session parameters that \
can then be programmed into the kernel's TLS record protocol engine."
DEPENDS = "gnutls keyutils glib-2.0 libnl"
RDEPENDS:${PN} += " gnutls"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d568123389d9a12625cca2b089b1728b"
SRC_URI = "https://github.com/oracle/ktls-utils/releases/download/${BP}/${BP}.tar.gz \
file://0001-systemd-Fix-out-of-tree-builds.patch \
"
SRC_URI[sha256sum] = "8ee295b26b608450bc0c47ba199b34cf92f7f9ec4c81a62363e6450da76b6739"
inherit autotools pkgconfig systemd
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
PACKAGECONFIG[systemd] = "--with-systemd,,systemd"
SYSTEMD_SERVICE:${PN} = "tlshd.service"
# ../../../sources/ktls-utils-1.3.0/src/tlshd/quic.c:515:58: error: comparison of integers of different signs: 'unsigned long' and 'long' [-Werror,-Wsign-compare]
CFLAGS:append:libc-musl:toolchain-clang = " -Wno-error=sign-compare"
|