diff --git a/DEVELOPERS b/DEVELOPERS index 0665e5a638..746a54713a 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1003,6 +1003,9 @@ F: package/easydbus/ F: package/rs485conf/ F: package/turbolua/ +N: Marcin Nowakowski +F: package/libkcapi/ + N: Marek Belisko F: package/libatasmart/ F: package/polkit/ diff --git a/package/Config.in b/package/Config.in index 7308378619..ab76a77c56 100644 --- a/package/Config.in +++ b/package/Config.in @@ -933,6 +933,7 @@ menu "Crypto" source "package/libgcrypt/Config.in" source "package/libgpg-error/Config.in" source "package/libgpgme/Config.in" + source "package/libkcapi/Config.in" source "package/libksba/Config.in" source "package/libmcrypt/Config.in" source "package/libmhash/Config.in" diff --git a/package/libkcapi/Config.in b/package/libkcapi/Config.in new file mode 100644 index 0000000000..453dc69d4f --- /dev/null +++ b/package/libkcapi/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_LIBKCAPI + bool "libkcapi" + help + Linux Kernel Crypto API userspace interface library + + http://www.chronox.de/libkcapi.html + +if BR2_PACKAGE_LIBKCAPI + +config BR2_PACKAGE_LIBKCAPI_APPS + bool "build test applications" + help + Build additional test applications that can provide + performance or algorithm tests. + +endif diff --git a/package/libkcapi/libkcapi.hash b/package/libkcapi/libkcapi.hash new file mode 100644 index 0000000000..e191970671 --- /dev/null +++ b/package/libkcapi/libkcapi.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 1ed007a35d9fe31383d1131e9f8e14af4df8d55e6c48828b5075324b2876364a libkcapi-a039f8a5adca57dc69a19d7361600c2f410e0c26.tar.gz diff --git a/package/libkcapi/libkcapi.mk b/package/libkcapi/libkcapi.mk new file mode 100644 index 0000000000..948809835a --- /dev/null +++ b/package/libkcapi/libkcapi.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# libkcapi +# +################################################################################ + +LIBKCAPI_VERSION = a039f8a5adca57dc69a19d7361600c2f410e0c26 +LIBKCAPI_SITE = $(call github,smuellerDD,libkcapi,$(LIBKCAPI_VERSION)) +LIBKCAPI_AUTORECONF = YES +LIBKCAPI_INSTALL_STAGING = YES +LIBKCAPI_LICENSE = BSD-3c (library), BSD-3c or GPLv2 (programs) +LIBKCAPI_LICENSE_FILES = COPYING COPYING.gplv2 COPYING.bsd + +ifeq ($(BR2_PACKAGE_LIBKCAPI_APPS),y) +LIBKCAPI_CONF_OPTS += --enable-kcapi-speed --enable-kcapi-test --enable-apps +else +LIBKCAPI_CONF_OPTS += --disable-kcapi-speed --disable-kcapi-test --disable-apps +endif + +$(eval $(autotools-package))