aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dropbear
diff options
context:
space:
mode:
authorJan Lübbe <jluebbe@debian.org>2008-06-22 01:19:42 +0000
committerJan Lübbe <jluebbe@debian.org>2008-06-22 01:19:42 +0000
commitc7baddea712140960a6cf15e61ffadb2846a3c77 (patch)
treee32436603be1bea1b8485e9301773a65d1a63a4b /packages/dropbear
parentccbb1d82c6328d73e410fc8133f494077a5c58dc (diff)
downloadopenembedded-c7baddea712140960a6cf15e61ffadb2846a3c77.tar.gz
dropbear: disable reverse host lookups
This gets rid of the delay when logging in via ssh.
Diffstat (limited to 'packages/dropbear')
-rw-r--r--packages/dropbear/dropbear-0.51/no-host-lookup.patch12
-rw-r--r--packages/dropbear/dropbear_0.51.bb4
2 files changed, 15 insertions, 1 deletions
diff --git a/packages/dropbear/dropbear-0.51/no-host-lookup.patch b/packages/dropbear/dropbear-0.51/no-host-lookup.patch
new file mode 100644
index 0000000000..d7c2ccdc62
--- /dev/null
+++ b/packages/dropbear/dropbear-0.51/no-host-lookup.patch
@@ -0,0 +1,12 @@
+diff -urN dropbear-0.51/options.h dropbear-0.51.new/options.h
+--- dropbear-0.51/options.h 2008-03-27 14:34:39.000000000 +0100
++++ dropbear-0.51.new/options.h 2008-06-22 00:22:09.000000000 +0200
+@@ -112,7 +112,7 @@
+ /* #define DSS_PROTOK */
+
+ /* Whether to do reverse DNS lookups. */
+-#define DO_HOST_LOOKUP
++/* #define DO_HOST_LOOKUP */
+
+ /* Whether to print the message of the day (MOTD). This doesn't add much code
+ * size */
diff --git a/packages/dropbear/dropbear_0.51.bb b/packages/dropbear/dropbear_0.51.bb
index ead3eca7db..888819c0e5 100644
--- a/packages/dropbear/dropbear_0.51.bb
+++ b/packages/dropbear/dropbear_0.51.bb
@@ -1,2 +1,4 @@
require dropbear.inc
-PR = "r0"
+PR = "r1"
+
+SRC_URI += "file://no-host-lookup.patch;patch=1" \ No newline at end of file