summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dropbear/dropbear-2011.54/configure.patch
diff options
context:
space:
mode:
authorMei Lei <lei.mei@intel.com>2011-12-07 23:15:29 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-08 15:24:27 +0000
commit006e5925f22d08a8acd6bf57f343c1e2b0242f24 (patch)
treefea10ea2e4ef210d1f7534fb2a6988f2e803f8d8 /meta/recipes-core/dropbear/dropbear-2011.54/configure.patch
parent87377c2b5788b86c6aecaf47f9cef511c23edc12 (diff)
downloadpoky-006e5925f22d08a8acd6bf57f343c1e2b0242f24.tar.gz
dropbear: Upgrade from 0.53.1 to 2011.54
This new version added ALLOW_BLANK_PASSWORD option. So change the allow-nopw.patch content to enable this function. (From OE-Core rev: e876096fcbb42039d568a7acbc506e4099e9a443) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/dropbear/dropbear-2011.54/configure.patch')
-rw-r--r--meta/recipes-core/dropbear/dropbear-2011.54/configure.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-core/dropbear/dropbear-2011.54/configure.patch b/meta/recipes-core/dropbear/dropbear-2011.54/configure.patch
new file mode 100644
index 0000000000..aeb7c0a4ac
--- /dev/null
+++ b/meta/recipes-core/dropbear/dropbear-2011.54/configure.patch
@@ -0,0 +1,29 @@
1Upstream-Status: Pending
2
3Index: dropbear-0.49/configure.in
4===================================================================
5--- dropbear-0.49.orig/configure.in
6+++ dropbear-0.49/configure.in
7@@ -164,14 +164,20 @@ AC_ARG_ENABLE(openpty,
8 AC_MSG_NOTICE(Not using openpty)
9 else
10 AC_MSG_NOTICE(Using openpty if available)
11- AC_SEARCH_LIBS(openpty, util, [AC_DEFINE(HAVE_OPENPTY,,Have openpty() function)])
12+ AC_SEARCH_LIBS(openpty, util, [dropbear_cv_func_have_openpty=yes])
13 fi
14 ],
15 [
16 AC_MSG_NOTICE(Using openpty if available)
17- AC_SEARCH_LIBS(openpty, util, [AC_DEFINE(HAVE_OPENPTY)])
18+ AC_SEARCH_LIBS(openpty, util, [dropbear_cv_func_have_openpty=yes])
19 ]
20 )
21+
22+if test "x$dropbear_cv_func_have_openpty" = "xyes"; then
23+ AC_DEFINE(HAVE_OPENPTY,,Have openpty() function)
24+ no_ptc_check=yes
25+ no_ptmx_check=yes
26+fi
27
28
29 AC_ARG_ENABLE(syslog,