diff options
author | Armin Kuster <akuster808@gmail.com> | 2018-07-01 15:53:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-04 00:02:17 +0100 |
commit | c026c365eb66dc85e6eee3fa477222c4da3a0ca8 (patch) | |
tree | 0e1d9f423482c2d9e11616f107582fe4ad3a6b8e /meta/recipes-connectivity/dhcp/dhcp/0013-fixup_use_libbind.patch | |
parent | 396e269c5c0e285be9d5ab40b521dda21bd72e19 (diff) | |
download | poky-c026c365eb66dc85e6eee3fa477222c4da3a0ca8.tar.gz |
dhcp: update 4.4.1
include several CVE fixes.
CVE: CVE-2018-5733
CVE: CVE-2018-5732
LIC_CHKSUM_FILE updated to SPFX format
https://kb.isc.org/article/AA-01571
remove several patches now included in update.
Shared libarary support is now enabled in configure+lt, use it
and revert to autotools-brokensep
Refresh patches
Aligns support with bind 9.11.x
Add libxml2 support to configure.ac+lt
(From OE-Core rev: 7cb42ae87ef929bf7e08c559f09dc224c6e3d314)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp/0013-fixup_use_libbind.patch')
-rw-r--r-- | meta/recipes-connectivity/dhcp/dhcp/0013-fixup_use_libbind.patch | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp/0013-fixup_use_libbind.patch b/meta/recipes-connectivity/dhcp/dhcp/0013-fixup_use_libbind.patch new file mode 100644 index 0000000000..fcec010bd0 --- /dev/null +++ b/meta/recipes-connectivity/dhcp/dhcp/0013-fixup_use_libbind.patch | |||
@@ -0,0 +1,64 @@ | |||
1 | lib and include path is hardcoded for use_libbind | ||
2 | |||
3 | use libdir and includedir vars | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
7 | |||
8 | Index: dhcp-4.4.1/configure.ac+lt | ||
9 | =================================================================== | ||
10 | --- dhcp-4.4.1.orig/configure.ac+lt | ||
11 | +++ dhcp-4.4.1/configure.ac+lt | ||
12 | @@ -801,22 +801,22 @@ no) | ||
13 | if test ! -d "$use_libbind"; then | ||
14 | AC_MSG_ERROR([Cannot find bind directory at $use_libbind]) | ||
15 | fi | ||
16 | - if test ! -d "$use_libbind/include" -o \ | ||
17 | - ! -f "$use_libbind/include/isc/buffer.h" | ||
18 | + if test ! -d "$use_libbind/$includedir" -o \ | ||
19 | + ! -f "$use_libbind/$includedir/isc/buffer.h" | ||
20 | then | ||
21 | - AC_MSG_ERROR([Cannot find bind includes at $use_libbind/include]) | ||
22 | + AC_MSG_ERROR([Cannot find bind includes at $use_libbind/$includedir]) | ||
23 | fi | ||
24 | - if test ! -d "$use_libbind/lib" -o \ | ||
25 | - \( ! -f "$use_libbind/lib/libisc.a" -a \ | ||
26 | - ! -f "$use_libbind/lib/libisc.la" \) | ||
27 | + if test ! -d "$use_libbind/$libdir" -o \ | ||
28 | + \( ! -f "$use_libbind/$libdir/libisc.a" -a \ | ||
29 | + ! -f "$use_libbind/$libdir/libisc.la" \) | ||
30 | then | ||
31 | - AC_MSG_ERROR([Cannot find bind libraries at $use_libbind/lib]) | ||
32 | + AC_MSG_ERROR([Cannot find bind libraries at $use_libbind/$libdir]) | ||
33 | fi | ||
34 | BINDDIR="$use_libbind" | ||
35 | - BINDLIBIRSDIR="$BINDDIR/lib" | ||
36 | - BINDLIBDNSDIR="$BINDDIR/lib" | ||
37 | - BINDLIBISCCFGDIR="$BINDDIR/lib" | ||
38 | - BINDLIBISCDIR="$BINDDIR/lib" | ||
39 | + BINDLIBIRSDIR="$BINDDIR/$libdir" | ||
40 | + BINDLIBDNSDIR="$BINDDIR/$libdir" | ||
41 | + BINDLIBISCCFGDIR="$BINDDIR/$libdir" | ||
42 | + BINDLIBISCDIR="$BINDDIR/$libdir" | ||
43 | DISTCHECK_LIBBIND_CONFIGURE_FLAG="--with-libbind=$use_libbind" | ||
44 | ;; | ||
45 | esac | ||
46 | @@ -856,14 +856,14 @@ AC_ARG_ENABLE(libtool, | ||
47 | |||
48 | if test "$use_libbind" != "no"; then | ||
49 | if test "$want_libtool" = "yes" -a \ | ||
50 | - ! -f "$use_libbind/lib/libisc.la" | ||
51 | + ! -f "$use_libbind/$libdir/libisc.la" | ||
52 | then | ||
53 | - AC_MSG_ERROR([Cannot find dynamic libraries at $use_libbind/lib]) | ||
54 | + AC_MSG_ERROR([Cannot find dynamic libraries at $use_libbind/$libdir]) | ||
55 | fi | ||
56 | if test "$want_libtool" = "no" -a \ | ||
57 | - ! -f "$use_libbind/lib/libisc.a" | ||
58 | + ! -f "$use_libbind/$libdir/libisc.a" | ||
59 | then | ||
60 | - AC_MSG_ERROR([Cannot find static libraries at $use_libbind/lib]) | ||
61 | + AC_MSG_ERROR([Cannot find static libraries at $use_libbind/$libdir]) | ||
62 | fi | ||
63 | fi | ||
64 | |||