From e876096fcbb42039d568a7acbc506e4099e9a443 Mon Sep 17 00:00:00 2001 From: Mei Lei Date: Wed, 7 Dec 2011 23:15:29 +0800 Subject: 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 --- .../dropbear/dropbear-2011.54/configure.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta/recipes-core/dropbear/dropbear-2011.54/configure.patch (limited to 'meta/recipes-core/dropbear/dropbear-2011.54') 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 000000000..aeb7c0a4a --- /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, -- cgit v1.2.3