diff options
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 @@ | |||
| 1 | SUMMARY = "Linux Kernel Crypto API User Space Interface Library" | ||
| 2 | HOMEPAGE = "http://www.chronox.de/libkcapi.html" | ||
| 3 | LICENSE = "BSD | GPL-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d0421cf231423bda10cea691b613e866" | ||
| 5 | |||
| 6 | DEPENDS = "libtool" | ||
| 7 | |||
| 8 | S = "${WORKDIR}/git" | ||
| 9 | # Use v1.1.1 with changes on top for building in OE | ||
| 10 | SRCREV = "342b50fc9225a991c224126c13c188ad9f1ef9f9" | ||
| 11 | PV = "1.1.1+git${SRCPV}" | ||
| 12 | SRC_URI = " \ | ||
| 13 | git://github.com/smuellerDD/libkcapi.git \ | ||
| 14 | file://0001-Fix-possible-buffer-overflow-with-strncpy-and-Wstrin.patch \ | ||
| 15 | file://0002-apps-Disable-Wstringop-truncation-warning-on-false-p.patch \ | ||
| 16 | file://0003-test-Be-sure-to-terminate-strncpy-copied-string-Wstr.patch \ | ||
| 17 | " | ||
| 18 | |||
| 19 | inherit autotools | ||
| 20 | |||
| 21 | PACKAGECONFIG ??= "" | ||
| 22 | PACKAGECONFIG[testapp] = "--enable-kcapi-test,,," | ||
| 23 | PACKAGECONFIG[apps] = "--enable-kcapi-speed --enable-kcapi-hasher --enable-kcapi-rngapp --enable-kcapi-encapp --enable-kcapi-dgstapp,,," | ||
| 24 | |||
| 25 | do_install_append() { | ||
| 26 | # bindir contains testapp and apps. However it is always created, even | ||
| 27 | # when no binaries are installed (empty bin_PROGRAMS in Makefile.am), | ||
| 28 | rmdir --ignore-fail-on-non-empty ${D}${bindir} | ||
| 29 | } | ||
