Message ID | 20250408054724.173577-1-alistair.francis@wdc.com |
---|---|
State | Accepted |
Headers | show |
Series | [meta-oe,v2] ktls-utils: Initial commit | expand |
fails to build on musl | config.c:145:25: error: use of undeclared identifier 'ALLPERMS' | 145 | if ((statbuf.st_mode & ALLPERMS) != mode) | | ^ | 1 error generated. | make[3]: *** [Makefile:481: tlshd-config.o] Error 1 On Mon, Apr 7, 2025 at 10:47 PM Alistair Francis via lists.openembedded.org <alistair23=gmail.com@lists.openembedded.org> wrote: > > Package ktls-utils which includes tlsd. > > This is used when 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. > > Signed-off-by: Alistair Francis <alistair.francis@wdc.com> > --- > .../ktls-utils/ktls-utils_0.11.bb | 21 +++++++++++++++++++ > 1 file changed, 21 insertions(+) > create mode 100644 meta-oe/recipes-kernel/ktls-utils/ktls-utils_0.11.bb > > diff --git a/meta-oe/recipes-kernel/ktls-utils/ktls-utils_0.11.bb b/meta-oe/recipes-kernel/ktls-utils/ktls-utils_0.11.bb > new file mode 100644 > index 0000000000..b4905db640 > --- /dev/null > +++ b/meta-oe/recipes-kernel/ktls-utils/ktls-utils_0.11.bb > @@ -0,0 +1,21 @@ > +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" > + > +SRCREV = "5c3314b5728b272cbaf0d98f4d521cca9610b6bf" > +SRC_URI = "git://github.com/oracle/ktls-utils.git;nobranch=1;protocol=https" > + > +S = "${WORKDIR}/git" > + > +inherit autotools-brokensep pkgconfig systemd > + > +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" > + > +PACKAGECONFIG[systemd] = "--with-systemd,,systemd" > + > +SYSTEMD_SERVICE:${PN} = "tlshd.service" > -- > 2.49.0 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#116690): https://lists.openembedded.org/g/openembedded-devel/message/116690 > Mute This Topic: https://lists.openembedded.org/mt/112148345/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta-oe/recipes-kernel/ktls-utils/ktls-utils_0.11.bb b/meta-oe/recipes-kernel/ktls-utils/ktls-utils_0.11.bb new file mode 100644 index 0000000000..b4905db640 --- /dev/null +++ b/meta-oe/recipes-kernel/ktls-utils/ktls-utils_0.11.bb @@ -0,0 +1,21 @@ +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" + +SRCREV = "5c3314b5728b272cbaf0d98f4d521cca9610b6bf" +SRC_URI = "git://github.com/oracle/ktls-utils.git;nobranch=1;protocol=https" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep pkgconfig systemd + +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" + +PACKAGECONFIG[systemd] = "--with-systemd,,systemd" + +SYSTEMD_SERVICE:${PN} = "tlshd.service"
Package ktls-utils which includes tlsd. This is used when 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. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> --- .../ktls-utils/ktls-utils_0.11.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-oe/recipes-kernel/ktls-utils/ktls-utils_0.11.bb