From 020d26ead111f8ca09c47208a010ce44ee8b3ca7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 10 Jun 2017 22:32:55 +0200 Subject: cryptodev-linux: update to latest git --- package/cryptodev-linux/Makefile | 2 +- package/cryptodev-linux/patches/patch-tests_Makefile | 12 ++++++------ .../patches/patch-tests_asynchelper_h | 20 ++++++++++++++++++++ 3 files changed, 27 insertions(+), 7 deletions(-) create mode 100644 package/cryptodev-linux/patches/patch-tests_asynchelper_h (limited to 'package/cryptodev-linux') diff --git a/package/cryptodev-linux/Makefile b/package/cryptodev-linux/Makefile index 639299b56..dea7f2217 100644 --- a/package/cryptodev-linux/Makefile +++ b/package/cryptodev-linux/Makefile @@ -4,7 +4,7 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= cryptodev-linux -PKG_VERSION:= 6818263667ca488f9b1c86e36ea624c4ea1c309f +PKG_VERSION:= a705360197260d28535746ae98c461ba2cfb7a9e PKG_GIT:= hash PKG_RELEASE:= 1 PKG_DESCR:= device that allows access to kernel cryptographic drivers diff --git a/package/cryptodev-linux/patches/patch-tests_Makefile b/package/cryptodev-linux/patches/patch-tests_Makefile index ac966c450..e5c8b1030 100644 --- a/package/cryptodev-linux/patches/patch-tests_Makefile +++ b/package/cryptodev-linux/patches/patch-tests_Makefile @@ -1,7 +1,7 @@ ---- cryptodev-linux-1.7.orig/tests/Makefile 2015-02-07 15:31:23.000000000 -0600 -+++ cryptodev-linux-1.7/tests/Makefile 2015-02-19 14:40:46.523775781 -0600 -@@ -20,13 +20,6 @@ example-async-speed-objs := async_speed. - example-hashcrypt-speed-objs := hashcrypt_speed.c +--- cryptodev-linux-a705360197260d28535746ae98c461ba2cfb7a9e.orig/tests/Makefile 2017-06-06 23:28:39.000000000 +0200 ++++ cryptodev-linux-a705360197260d28535746ae98c461ba2cfb7a9e/tests/Makefile 2017-06-06 23:28:40.421154377 +0200 +@@ -24,13 +24,6 @@ bindir = $(execprefix)/bin + all: $(hostprogs) check: $(hostprogs) - ./cipher @@ -12,5 +12,5 @@ - ./cipher-gcm - ./cipher-aead - clean: - rm -f *.o *~ $(hostprogs) + install: + install -d $(DESTDIR)/$(bindir) diff --git a/package/cryptodev-linux/patches/patch-tests_asynchelper_h b/package/cryptodev-linux/patches/patch-tests_asynchelper_h new file mode 100644 index 000000000..04adc2b41 --- /dev/null +++ b/package/cryptodev-linux/patches/patch-tests_asynchelper_h @@ -0,0 +1,20 @@ +--- cryptodev-linux-a705360197260d28535746ae98c461ba2cfb7a9e.orig/tests/asynchelper.h 2017-06-06 23:28:39.000000000 +0200 ++++ cryptodev-linux-a705360197260d28535746ae98c461ba2cfb7a9e/tests/asynchelper.h 2017-06-06 23:34:38.200115116 +0200 +@@ -2,7 +2,7 @@ + #define __ASYNCHELPER_H + + /* poll until POLLOUT, then call CIOCASYNCCRYPT */ +-inline int do_async_crypt(int cfd, struct crypt_op *cryp) ++static inline int do_async_crypt(int cfd, struct crypt_op *cryp) + { + struct pollfd pfd; + +@@ -22,7 +22,7 @@ inline int do_async_crypt(int cfd, struc + } + + /* poll until POLLIN, then call CIOCASYNCFETCH */ +-inline int do_async_fetch(int cfd, struct crypt_op *cryp) ++static inline int do_async_fetch(int cfd, struct crypt_op *cryp) + { + struct pollfd pfd; + -- cgit v1.2.3