aboutsummaryrefslogtreecommitdiffstats
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:14:04 +0000
commite876096fcbb42039d568a7acbc506e4099e9a443 (patch)
tree7b7789a6182ddb87b0796115f15111bac2564466 /meta/recipes-core/dropbear/dropbear-2011.54/configure.patch
parentdc433b556f5b44a6d818a81df6be484ad59daebd (diff)
downloadopenembedded-core-contrib-e876096fcbb42039d568a7acbc506e4099e9a443.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. Signed-off-by: Mei Lei <lei.mei@intel.com>
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 @@
+Upstream-Status: Pending
+
+Index: dropbear-0.49/configure.in
+===================================================================
+--- dropbear-0.49.orig/configure.in
++++ dropbear-0.49/configure.in
+@@ -164,14 +164,20 @@ AC_ARG_ENABLE(openpty,
+ AC_MSG_NOTICE(Not using openpty)
+ else
+ AC_MSG_NOTICE(Using openpty if available)
+- AC_SEARCH_LIBS(openpty, util, [AC_DEFINE(HAVE_OPENPTY,,Have openpty() function)])
++ AC_SEARCH_LIBS(openpty, util, [dropbear_cv_func_have_openpty=yes])
+ fi
+ ],
+ [
+ AC_MSG_NOTICE(Using openpty if available)
+- AC_SEARCH_LIBS(openpty, util, [AC_DEFINE(HAVE_OPENPTY)])
++ AC_SEARCH_LIBS(openpty, util, [dropbear_cv_func_have_openpty=yes])
+ ]
+ )
++
++if test "x$dropbear_cv_func_have_openpty" = "xyes"; then
++ AC_DEFINE(HAVE_OPENPTY,,Have openpty() function)
++ no_ptc_check=yes
++ no_ptmx_check=yes
++fi
+
+
+ AC_ARG_ENABLE(syslog,