diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2018-07-13 12:28:35 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-07-14 11:28:12 -0700 |
commit | d6836356c448d1c23cc71642f3daf12082f7b42e (patch) | |
tree | 90fa6f5ff4de4e12e293813a00f47061405631b1 /meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb | |
parent | 7d06612868a6d5d57f892aef1ba02e02a29de5c8 (diff) | |
download | meta-openembedded-contrib-d6836356c448d1c23cc71642f3daf12082f7b42e.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb')
-rw-r--r-- | meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb b/meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb new file mode 100644 index 0000000000..e401b70a7d --- /dev/null +++ b/meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb @@ -0,0 +1,29 @@ +SUMMARY = "Linux Kernel Crypto API User Space Interface Library" +HOMEPAGE = "http://www.chronox.de/libkcapi.html" +LICENSE = "BSD | GPL-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=d0421cf231423bda10cea691b613e866" + +DEPENDS = "libtool" + +S = "${WORKDIR}/git" +# Use v1.1.1 with changes on top for building in OE +SRCREV = "342b50fc9225a991c224126c13c188ad9f1ef9f9" +PV = "1.1.1+git${SRCPV}" +SRC_URI = " \ + git://github.com/smuellerDD/libkcapi.git \ + file://0001-Fix-possible-buffer-overflow-with-strncpy-and-Wstrin.patch \ + file://0002-apps-Disable-Wstringop-truncation-warning-on-false-p.patch \ + file://0003-test-Be-sure-to-terminate-strncpy-copied-string-Wstr.patch \ +" + +inherit autotools + +PACKAGECONFIG ??= "" +PACKAGECONFIG[testapp] = "--enable-kcapi-test,,," +PACKAGECONFIG[apps] = "--enable-kcapi-speed --enable-kcapi-hasher --enable-kcapi-rngapp --enable-kcapi-encapp --enable-kcapi-dgstapp,,," + +do_install_append() { + # bindir contains testapp and apps. However it is always created, even + # when no binaries are installed (empty bin_PROGRAMS in Makefile.am), + rmdir --ignore-fail-on-non-empty ${D}${bindir} +} |