]> code.ossystems Code Review - openembedded-core.git/commitdiff
cryptodev: update to 1.8
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Wed, 16 Dec 2015 14:02:45 +0000 (16:02 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Dec 2015 11:26:56 +0000 (11:26 +0000)
Drop 0001-ioctl.c-Fix-build-on-3.19.patch and
0002-Fix-tests-Makefile-usage-of-LDLIBS-vs.-LDFLAGS.patch, the code
has been fixed upstream.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
meta/recipes-kernel/cryptodev/cryptodev-linux_1.8.bb [moved from meta/recipes-kernel/cryptodev/cryptodev-linux_1.7.bb with 91% similarity]
meta/recipes-kernel/cryptodev/cryptodev-module_1.8.bb [moved from meta/recipes-kernel/cryptodev/cryptodev-module_1.7.bb with 83% similarity]
meta/recipes-kernel/cryptodev/cryptodev-tests_1.8.bb [moved from meta/recipes-kernel/cryptodev/cryptodev-tests_1.7.bb with 79% similarity]
meta/recipes-kernel/cryptodev/cryptodev.inc [moved from meta/recipes-kernel/cryptodev/cryptodev_1.7.inc with 66% similarity]
meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-on-3.19.patch [deleted file]
meta/recipes-kernel/cryptodev/files/0002-Fix-tests-Makefile-usage-of-LDLIBS-vs.-LDFLAGS.patch [deleted file]

similarity index 91%
rename from meta/recipes-kernel/cryptodev/cryptodev-linux_1.7.bb
rename to meta/recipes-kernel/cryptodev/cryptodev-linux_1.8.bb
index a33841d0915db88c6109455b484db286992a8711..c55577c661d11a6b27155336b38a147b1dcc026c 100644 (file)
@@ -1,4 +1,4 @@
-require cryptodev_${PV}.inc
+require cryptodev.inc
 
 SUMMARY = "A /dev/crypto device driver header file"
 
similarity index 83%
rename from meta/recipes-kernel/cryptodev/cryptodev-module_1.7.bb
rename to meta/recipes-kernel/cryptodev/cryptodev-module_1.8.bb
index 5cd52eb8717691f369e2ad26b4afe1faebc535ca..552eb6abaae52dcd4508708ecf3d0db61a46a12c 100644 (file)
@@ -1,4 +1,4 @@
-require cryptodev_${PV}.inc
+require cryptodev.inc
 
 SUMMARY = "A /dev/crypto device driver kernel module"
 
@@ -9,7 +9,6 @@ DEPENDS += "cryptodev-linux"
 
 SRC_URI += " \
 file://0001-Disable-installing-header-file-provided-by-another-p.patch \
-file://0001-ioctl.c-Fix-build-on-3.19.patch \
 "
 
 EXTRA_OEMAKE='KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"'
similarity index 79%
rename from meta/recipes-kernel/cryptodev/cryptodev-tests_1.7.bb
rename to meta/recipes-kernel/cryptodev/cryptodev-tests_1.8.bb
index f1ca36eec5e8bcb2cf7575e253826dfa38b37790..c4005242a7660b2724689254f9bd461d604bea2c 100644 (file)
@@ -1,4 +1,4 @@
-require cryptodev_${PV}.inc
+require cryptodev.inc
 
 SUMMARY = "A test suite for /dev/crypto device driver"
 
@@ -6,7 +6,6 @@ DEPENDS += "openssl"
 
 SRC_URI += " \
 file://0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch \
-file://0002-Fix-tests-Makefile-usage-of-LDLIBS-vs.-LDFLAGS.patch \
 "
 
 EXTRA_OEMAKE='KERNEL_DIR="${STAGING_EXECPREFIXDIR}" PREFIX="${D}"'
similarity index 66%
rename from meta/recipes-kernel/cryptodev/cryptodev_1.7.inc
rename to meta/recipes-kernel/cryptodev/cryptodev.inc
index cca69254cb9f98f260ef5be8912a066d280843e7..ade7ef9cea663e04b8ee37ae11bad397693966e3 100644 (file)
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = "http://download.gna.org/cryptodev-linux/cryptodev-linux-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "0b63b3481cf2c90386b35f057481d36b"
-SRC_URI[sha256sum] = "41880533b53de4d7b3f054e230f576988dafb8eed7bef5ebcf6422bb2e3a3b25"
+SRC_URI[md5sum] = "02644cc4cd02301e0b503a332eb2f0b5"
+SRC_URI[sha256sum] = "67fabde9fb67b286a96c4f45b594b0eccd0f761b495705c18f2ae9461b831376"
 
 S = "${WORKDIR}/cryptodev-linux-${PV}"
 
diff --git a/meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-on-3.19.patch b/meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-on-3.19.patch
deleted file mode 100644 (file)
index 74c8972..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-From 7d71124991030f99965e6e6aaed421115f185adb Mon Sep 17 00:00:00 2001
-From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
-Date: Mon, 9 Feb 2015 13:51:56 +0100
-Subject: [PATCH] ioctl.c: Fix build on 3.19
-
-get_unused_fd() MACRO has been removed on kernel 3.19. Replace by the
-actual output of the macro.
-
-Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
----
- ioctl.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/ioctl.c b/ioctl.c
-index f26cf93..cf8cc17 100644
---- a/ioctl.c
-+++ b/ioctl.c
-@@ -529,7 +529,7 @@ static int
- clonefd(struct file *filp)
- {
-       int ret;
--      ret = get_unused_fd();
-+      ret = get_unused_fd_flags(0);
-       if (ret >= 0) {
-                       get_file(filp);
-                       fd_install(ret, filp);
--- 
-2.1.4
-
diff --git a/meta/recipes-kernel/cryptodev/files/0002-Fix-tests-Makefile-usage-of-LDLIBS-vs.-LDFLAGS.patch b/meta/recipes-kernel/cryptodev/files/0002-Fix-tests-Makefile-usage-of-LDLIBS-vs.-LDFLAGS.patch
deleted file mode 100644 (file)
index f5ab8b4..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-From 47ff1eb9bb4f872c1d731b93d334ee5865bf3439 Mon Sep 17 00:00:00 2001
-From: Denys Dmytriyenko <denys@ti.com>
-Date: Sun, 6 Apr 2014 22:16:30 -0400
-Subject: [PATCH] Fix tests Makefile usage of LDLIBS vs. LDFLAGS
-
-Libraries must come after objects, as link order matters, especially
-when using linker flags like -Wl,--as-needed.
-
-Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-
-Upstream-Status: Pending
----
- tests/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/Makefile b/tests/Makefile
-index cd202af..67c3c83 100644
---- a/tests/Makefile
-+++ b/tests/Makefile
-@@ -39,5 +39,5 @@ testprogs: $(hostprogs)
- clean:
-       rm -f *.o *~ $(hostprogs)
--${comp_progs}: LDFLAGS += -lssl -lcrypto
-+${comp_progs}: LDLIBS += -lssl -lcrypto
- ${comp_progs}: %: %.o openssl_wrapper.o
--- 
-1.9.1
-