1
0

patch-options_h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- dropbear-0.52.orig/options.h 2008-11-11 15:13:50.000000000 +0100
  3. +++ dropbear-0.52/options.h 2010-03-14 23:30:26.277667006 +0100
  4. @@ -10,6 +10,11 @@
  5. * parts are to allow for commandline -DDROPBEAR_XXX options etc.
  6. ******************************************************************/
  7. +#if !defined(DROPBEAR_CLIENT) && !defined(DROPBEAR_SERVER)
  8. +#define DROPBEAR_SERVER
  9. +#define DROPBEAR_CLIENT
  10. +#endif
  11. +
  12. #ifndef DROPBEAR_DEFPORT
  13. #define DROPBEAR_DEFPORT "22"
  14. #endif
  15. @@ -129,7 +134,7 @@ etc) slower (perhaps by 50%). Recommende
  16. /* #define DSS_PROTOK */
  17. /* Whether to do reverse DNS lookups. */
  18. -#define DO_HOST_LOOKUP
  19. +/* #define DO_HOST_LOOKUP */
  20. /* Whether to print the message of the day (MOTD). This doesn't add much code
  21. * size */
  22. @@ -220,7 +225,7 @@ etc) slower (perhaps by 50%). Recommende
  23. /* The command to invoke for xauth when using X11 forwarding.
  24. * "-q" for quiet */
  25. #ifndef XAUTH_COMMAND
  26. -#define XAUTH_COMMAND "/usr/X11R6/bin/xauth -q"
  27. +#define XAUTH_COMMAND "/usr/bin/xauth -q"
  28. #endif
  29. /* if you want to enable running an sftp server (such as the one included with