disable dropbear zlib support and split off dropbearconvert to save flash space
[openwrt-10.03/.git] / package / dropbear / patches / 150-dbconvert_standalone.patch
diff --git a/package/dropbear/patches/150-dbconvert_standalone.patch b/package/dropbear/patches/150-dbconvert_standalone.patch
new file mode 100644 (file)
index 0000000..50c035a
--- /dev/null
@@ -0,0 +1,14 @@
+--- dropbear-0.47.old/options.h        2006-01-31 13:36:25.301562500 +0100
++++ dropbear-0.47.dev/options.h        2006-01-31 13:37:41.846346250 +0100
+@@ -5,6 +5,11 @@
+ #ifndef _OPTIONS_H_
+ #define _OPTIONS_H_
++#if !defined(DROPBEAR_CLIENT) && !defined(DROPBEAR_SERVER)
++#define DROPBEAR_SERVER
++#define DROPBEAR_CLIENT
++#endif
++
+ /******************************************************************
+  * Define compile-time options below - the "#ifndef DROPBEAR_XXX .... #endif"
+  * parts are to allow for commandline -DDROPBEAR_XXX options etc.