diff options
Diffstat (limited to 'external/poky/meta/recipes-support/nettle')
-rw-r--r-- | external/poky/meta/recipes-support/nettle/nettle-3.5.1/Add-target-to-only-build-tests-not-run-them.patch (renamed from external/poky/meta/recipes-support/nettle/nettle-3.4/Add-target-to-only-build-tests-not-run-them.patch) | 0 | ||||
-rw-r--r-- | external/poky/meta/recipes-support/nettle/nettle-3.5.1/check-header-files-of-openssl-only-if-enable_.patch (renamed from external/poky/meta/recipes-support/nettle/nettle-3.4/check-header-files-of-openssl-only-if-enable_.patch) | 0 | ||||
-rw-r--r-- | external/poky/meta/recipes-support/nettle/nettle-3.5.1/dlopen-test.patch (renamed from external/poky/meta/recipes-support/nettle/nettle-3.4/dlopen-test.patch) | 5 | ||||
-rw-r--r-- | external/poky/meta/recipes-support/nettle/nettle-3.5.1/run-ptest (renamed from external/poky/meta/recipes-support/nettle/nettle-3.4/run-ptest) | 0 | ||||
-rw-r--r-- | external/poky/meta/recipes-support/nettle/nettle_3.5.1.bb (renamed from external/poky/meta/recipes-support/nettle/nettle_3.4.bb) | 10 |
5 files changed, 10 insertions, 5 deletions
diff --git a/external/poky/meta/recipes-support/nettle/nettle-3.4/Add-target-to-only-build-tests-not-run-them.patch b/external/poky/meta/recipes-support/nettle/nettle-3.5.1/Add-target-to-only-build-tests-not-run-them.patch index c007060e..c007060e 100644 --- a/external/poky/meta/recipes-support/nettle/nettle-3.4/Add-target-to-only-build-tests-not-run-them.patch +++ b/external/poky/meta/recipes-support/nettle/nettle-3.5.1/Add-target-to-only-build-tests-not-run-them.patch diff --git a/external/poky/meta/recipes-support/nettle/nettle-3.4/check-header-files-of-openssl-only-if-enable_.patch b/external/poky/meta/recipes-support/nettle/nettle-3.5.1/check-header-files-of-openssl-only-if-enable_.patch index d5f26668..d5f26668 100644 --- a/external/poky/meta/recipes-support/nettle/nettle-3.4/check-header-files-of-openssl-only-if-enable_.patch +++ b/external/poky/meta/recipes-support/nettle/nettle-3.5.1/check-header-files-of-openssl-only-if-enable_.patch diff --git a/external/poky/meta/recipes-support/nettle/nettle-3.4/dlopen-test.patch b/external/poky/meta/recipes-support/nettle/nettle-3.5.1/dlopen-test.patch index c4f0b7ea..fea57742 100644 --- a/external/poky/meta/recipes-support/nettle/nettle-3.4/dlopen-test.patch +++ b/external/poky/meta/recipes-support/nettle/nettle-3.5.1/dlopen-test.patch @@ -1,4 +1,4 @@ -Replace relative path of libnettle.so with absolute path so the test +Remove the relative path for libnettle.so so the test program can find it. Relative paths are not suitable, as the folder strucure for ptest is different from the one expected by the nettle testsuite. @@ -6,6 +6,7 @@ is different from the one expected by the nettle testsuite. Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> +Signed-off-by: Mingli Yu <mingli.yu@windriver.com> --- a/testsuite/dlopen-test.c 2016-10-01 00:28:38.000000000 -0700 +++ b/testsuite/dlopen-test.c 2017-10-13 11:08:57.227572860 -0700 @@ -14,7 +15,7 @@ Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> { #if HAVE_LIBDL - void *handle = dlopen ("../libnettle.so", RTLD_NOW); -+ void *handle = dlopen ("/usr/lib/libnettle.so", RTLD_NOW); ++ void *handle = dlopen ("libnettle.so", RTLD_NOW); int (*get_version)(void); if (!handle) { diff --git a/external/poky/meta/recipes-support/nettle/nettle-3.4/run-ptest b/external/poky/meta/recipes-support/nettle/nettle-3.5.1/run-ptest index b90bed66..b90bed66 100644 --- a/external/poky/meta/recipes-support/nettle/nettle-3.4/run-ptest +++ b/external/poky/meta/recipes-support/nettle/nettle-3.5.1/run-ptest diff --git a/external/poky/meta/recipes-support/nettle/nettle_3.4.bb b/external/poky/meta/recipes-support/nettle/nettle_3.5.1.bb index ca8450ea..d92db0ef 100644 --- a/external/poky/meta/recipes-support/nettle/nettle_3.4.bb +++ b/external/poky/meta/recipes-support/nettle/nettle_3.5.1.bb @@ -20,8 +20,8 @@ SRC_URI_append_class-target = "\ file://dlopen-test.patch \ " -SRC_URI[md5sum] = "dc0f13028264992f58e67b4e8915f53d" -SRC_URI[sha256sum] = "ae7a42df026550b85daca8389b6a60ba6313b0567f374392e54918588a411e94" +SRC_URI[md5sum] = "0e5707b418c3826768d41130fbe4ee86" +SRC_URI[sha256sum] = "75cca1998761b02e16f2db56da52992aef622bf55a3b45ec538bc2eedadc9419" UPSTREAM_CHECK_REGEX = "nettle-(?P<pver>\d+(\.\d+)+)\.tar" @@ -30,13 +30,14 @@ inherit autotools ptest multilib_header EXTRA_AUTORECONF += "--exclude=aclocal" EXTRA_OECONF = "--disable-openssl" +CFLAGS_append = " -std=gnu99" do_compile_ptest() { oe_runmake buildtest } do_install_append() { - oe_multilib_header nettle/nettle-stdint.h nettle/version.h + oe_multilib_header nettle/version.h } do_install_ptest() { @@ -48,4 +49,7 @@ do_install_ptest() { install ${B}/testsuite/*-test ${D}${PTEST_PATH}/testsuite/ } +RDEPENDS_${PN}-ptest += "${PN}-dev" +INSANE_SKIP_${PN}-ptest += "dev-deps" + BBCLASSEXTEND = "native nativesdk" |