summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dropbear/dropbear/0005-dropbear-enable-pam.patch
diff options
context:
space:
mode:
authorAndrej Valek <andrej.valek@siemens.com>2018-04-12 09:08:57 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-04 13:28:04 +0100
commit776414fcf9e5ae237f04a7ca8365415d62da5580 (patch)
tree4943805bfb5b2e61a6113afe3cd98e345603e78c /meta/recipes-core/dropbear/dropbear/0005-dropbear-enable-pam.patch
parent6cc503ed80850d6a3ec045da1a783ccda237e506 (diff)
downloadpoky-776414fcf9e5ae237f04a7ca8365415d62da5580.tar.gz
dropbear: update to 2018.76
- update dropbear to version 2018.76 - refresh and drop obsolete patches - add option to use localoptions.h header file - do not use harden stuff, which leads to QA warning (From OE-Core rev: ec050b666ec3684918fd9dc564d2dce9a8d6a8ef) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/dropbear/dropbear/0005-dropbear-enable-pam.patch')
-rw-r--r--meta/recipes-core/dropbear/dropbear/0005-dropbear-enable-pam.patch40
1 files changed, 23 insertions, 17 deletions
diff --git a/meta/recipes-core/dropbear/dropbear/0005-dropbear-enable-pam.patch b/meta/recipes-core/dropbear/dropbear/0005-dropbear-enable-pam.patch
index 539cb12e91..857681520c 100644
--- a/meta/recipes-core/dropbear/dropbear/0005-dropbear-enable-pam.patch
+++ b/meta/recipes-core/dropbear/dropbear/0005-dropbear-enable-pam.patch
@@ -3,7 +3,7 @@ From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Wed, 2 Dec 2015 11:36:02 +0200 3Date: Wed, 2 Dec 2015 11:36:02 +0200
4Subject: Enable pam 4Subject: Enable pam
5 5
6We need modify file option.h besides enabling pam in 6We need modify file default_options.h besides enabling pam in
7configure if we want dropbear to support pam. 7configure if we want dropbear to support pam.
8 8
9Upstream-Status: Pending 9Upstream-Status: Pending
@@ -11,26 +11,32 @@ Upstream-Status: Pending
11Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> 11Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
12Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> 12Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
13--- 13---
14 options.h | 4 ++-- 14 default_options.h | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-) 15 1 file changed, 2 insertions(+), 2 deletions(-)
16 16
17diff --git a/options.h b/options.h 17diff --git a/default_options.h b/default_options.h
18index 94261f6..90bfe2f 100644 18index 3b75eb8..8617cd0 100644
19--- a/options.h 19--- a/default_options.h
20+++ b/options.h 20+++ b/default_options.h
21@@ -208,10 +208,10 @@ If you test it please contact the Dropbear author */ 21@@ -179,7 +179,7 @@ group1 in Dropbear server too */
22 22
23 /* This requires crypt() */ 23 /* Authentication Types - at least one required.
24 #ifdef HAVE_CRYPT 24 RFC Draft requires pubkey auth, and recommends password */
25-#define ENABLE_SVR_PASSWORD_AUTH 25-#define DROPBEAR_SVR_PASSWORD_AUTH 1
26+/*#define ENABLE_SVR_PASSWORD_AUTH*/ 26+#define DROPBEAR_SVR_PASSWORD_AUTH 0
27 #endif 27
28 /* PAM requires ./configure --enable-pam */ 28 /* Note: PAM auth is quite simple and only works for PAM modules which just do
29-/*#define ENABLE_SVR_PAM_AUTH */ 29 * a simple "Login: " "Password: " (you can edit the strings in svr-authpam.c).
30+#define ENABLE_SVR_PAM_AUTH 30@@ -187,7 +187,7 @@ group1 in Dropbear server too */
31 #define ENABLE_SVR_PUBKEY_AUTH 31 * but there's an interface via a PAM module. It won't work for more complex
32 * PAM challenge/response.
33 * You can't enable both PASSWORD and PAM. */
34-#define DROPBEAR_SVR_PAM_AUTH 0
35+#define DROPBEAR_SVR_PAM_AUTH 1
36
37 /* ~/.ssh/authorized_keys authentication */
38 #define DROPBEAR_SVR_PUBKEY_AUTH 1
32 39
33 /* Whether to take public key options in
34-- 40--
352.1.4 412.1.4
36 42