diff options
author | Andrej Valek <andrej.valek@siemens.com> | 2018-04-12 09:08:57 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-04 13:28:04 +0100 |
commit | 776414fcf9e5ae237f04a7ca8365415d62da5580 (patch) | |
tree | 4943805bfb5b2e61a6113afe3cd98e345603e78c /meta/recipes-core/dropbear/dropbear/fix-libtomcrypt-libtommath-ordering.patch | |
parent | 6cc503ed80850d6a3ec045da1a783ccda237e506 (diff) | |
download | poky-776414fcf9e5ae237f04a7ca8365415d62da5580.tar.gz |
dropbear: update to 2018.76
- update dropbear to version 2018.76
- refresh and drop obsolete patches
- add option to use localoptions.h header file
- do not use harden stuff, which leads to QA warning
(From OE-Core rev: ec050b666ec3684918fd9dc564d2dce9a8d6a8ef)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/dropbear/dropbear/fix-libtomcrypt-libtommath-ordering.patch')
-rw-r--r-- | meta/recipes-core/dropbear/dropbear/fix-libtomcrypt-libtommath-ordering.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/meta/recipes-core/dropbear/dropbear/fix-libtomcrypt-libtommath-ordering.patch b/meta/recipes-core/dropbear/dropbear/fix-libtomcrypt-libtommath-ordering.patch deleted file mode 100644 index 2b05e1893d..0000000000 --- a/meta/recipes-core/dropbear/dropbear/fix-libtomcrypt-libtommath-ordering.patch +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | From f37fa9a41f248fa41dd74a41c66cb41a291c03d2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andre McCurdy <armccurdy@gmail.com> | ||
3 | Date: Fri, 16 Sep 2016 12:18:23 -0700 | ||
4 | Subject: [PATCH] fix libtomcrypt/libtommath ordering | ||
5 | |||
6 | To prevent build failures when using system libtom libraries and | ||
7 | linking with --as-needed, LIBTOM_LIBS should be in the order | ||
8 | -ltomcrypt -ltommath, not the other way around, ie libs should be | ||
9 | prepended to LIBTOM_LIBS as they are found, not appended. | ||
10 | |||
11 | Note that LIBTOM_LIBS is not used when linking with the bundled | ||
12 | libtom libs. | ||
13 | |||
14 | Upstream-Status: Backport [ https://github.com/mkj/dropbear/commit/f9e6bc2aecab0f4b5b529e07a92cc63c8a66cd4b ] | ||
15 | |||
16 | Signed-off-by: Andre McCurdy <armccurdy@gmail.com> | ||
17 | Signed-off-by: Dengke Du <dengke.du@windriver.com> | ||
18 | --- | ||
19 | configure.ac | 8 ++++---- | ||
20 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
21 | |||
22 | diff --git a/configure.ac b/configure.ac | ||
23 | index 245408d..d624853 100644 | ||
24 | --- a/configure.ac | ||
25 | +++ b/configure.ac | ||
26 | @@ -393,16 +393,16 @@ AC_ARG_ENABLE(bundled-libtom, | ||
27 | AC_MSG_NOTICE(Forcing bundled libtom*) | ||
28 | else | ||
29 | BUNDLED_LIBTOM=0 | ||
30 | - AC_CHECK_LIB(tommath, mp_exptmod, LIBTOM_LIBS="$LIBTOM_LIBS -ltommath", | ||
31 | + AC_CHECK_LIB(tommath, mp_exptmod, LIBTOM_LIBS="-ltommath $LIBTOM_LIBS", | ||
32 | [AC_MSG_ERROR([Missing system libtommath and --disable-bundled-libtom was specified])] ) | ||
33 | - AC_CHECK_LIB(tomcrypt, register_cipher, LIBTOM_LIBS="$LIBTOM_LIBS -ltomcrypt", | ||
34 | + AC_CHECK_LIB(tomcrypt, register_cipher, LIBTOM_LIBS="-ltomcrypt $LIBTOM_LIBS", | ||
35 | [AC_MSG_ERROR([Missing system libtomcrypt and --disable-bundled-libtom was specified])] ) | ||
36 | fi | ||
37 | ], | ||
38 | [ | ||
39 | BUNDLED_LIBTOM=0 | ||
40 | - AC_CHECK_LIB(tommath, mp_exptmod, LIBTOM_LIBS="$LIBTOM_LIBS -ltommath", BUNDLED_LIBTOM=1) | ||
41 | - AC_CHECK_LIB(tomcrypt, register_cipher, LIBTOM_LIBS="$LIBTOM_LIBS -ltomcrypt", BUNDLED_LIBTOM=1) | ||
42 | + AC_CHECK_LIB(tommath, mp_exptmod, LIBTOM_LIBS="-ltommath $LIBTOM_LIBS", BUNDLED_LIBTOM=1) | ||
43 | + AC_CHECK_LIB(tomcrypt, register_cipher, LIBTOM_LIBS="-ltomcrypt $LIBTOM_LIBS", BUNDLED_LIBTOM=1) | ||
44 | ] | ||
45 | ) | ||
46 | |||
47 | -- | ||
48 | 2.8.1 | ||
49 | |||