dropbear: Upgrade 2015.68 -> 2015.70

Tweak a pam patch to make it apply on current source.

(From OE-Core rev: 9116a9346556837328a42059bd8af02ea17d081b)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jussi Kukkonen 2015-12-02 14:11:38 +02:00 committed by Richard Purdie
parent e0162c1f8c
commit b4db53ae66
3 changed files with 22 additions and 13 deletions

View File

@ -1,28 +1,36 @@
Subject: [PATCH 5/6] dropbear enable pam
From b8cece92ba19aa77ac013ea161bfe4c7147747c9 Mon Sep 17 00:00:00 2001
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date: Wed, 2 Dec 2015 11:36:02 +0200
Subject: Enable pam
dropbear: We need modify file option.h besides enabling pam in \
We need modify file option.h besides enabling pam in
configure if we want dropbear to support pam.
Upstream-Status: Pending
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
---
options.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: dropbear-2013.62/options.h
===================================================================
--- dropbear-2013.62.orig/options.h 2014-01-14 21:53:02.803262009 +0000
+++ dropbear-2013.62/options.h 2014-01-14 21:53:56.119263462 +0000
@@ -192,9 +192,9 @@
* PAM challenge/response.
* You can't enable both PASSWORD and PAM. */
diff --git a/options.h b/options.h
index 94261f6..90bfe2f 100644
--- a/options.h
+++ b/options.h
@@ -208,10 +208,10 @@ If you test it please contact the Dropbear author */
/* This requires crypt() */
#ifdef HAVE_CRYPT
-#define ENABLE_SVR_PASSWORD_AUTH
+/*#define ENABLE_SVR_PASSWORD_AUTH*/
#endif
/* PAM requires ./configure --enable-pam */
-/*#define ENABLE_SVR_PAM_AUTH */
+#define ENABLE_SVR_PAM_AUTH
#define ENABLE_SVR_PUBKEY_AUTH
/* Whether to take public key options in
--
2.1.4

View File

@ -1,4 +0,0 @@
require dropbear.inc
SRC_URI[md5sum] = "7664ac10f7cc2301c530eb80c756fc5d"
SRC_URI[sha256sum] = "55ea7c1e904ffe4b1cdbe1addca8291a2533d7d285fd22ac33608e9502a62446"

View File

@ -0,0 +1,5 @@
require dropbear.inc
SRC_URI[md5sum] = "0b0a1d9be6a094710d884209562a626c"
SRC_URI[sha256sum] = "62a8cc3df1d0f136d46f50d4f8d92f7ab7ce1addac76b25446b3f6aaf80bf257"