diff options
| -rw-r--r-- | gnu/packages/ssh.scm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index f5db7fa7d51..aa540c10122 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm | |||
| @@ -530,7 +530,19 @@ responsive, especially over Wi-Fi, cellular, and long-distance links.") | |||
| 530 | #:configure-flags #~(list "--disable-bundled-libtom") | 530 | #:configure-flags #~(list "--disable-bundled-libtom") |
| 531 | ;; The test suite runs an instance of dropbear, which requires a | 531 | ;; The test suite runs an instance of dropbear, which requires a |
| 532 | ;; resolver ("Error resolving: Servname not supported for ai_socktype"). | 532 | ;; resolver ("Error resolving: Servname not supported for ai_socktype"). |
| 533 | #:tests? #f)) | 533 | #:tests? #f |
| 534 | #:phases #~(modify-phases %standard-phases | ||
| 535 | (add-after 'unpack 'enable-x11-forwarding | ||
| 536 | (lambda _ | ||
| 537 | ;; The following patch was retrieved from: | ||
| 538 | ;; https://github.com/mkj/dropbear/commit/ | ||
| 539 | ;; 0292aacdf0aa57d03f2a3ab7e53cf650e6f29389. | ||
| 540 | (substitute* "svr-x11fwd.c" | ||
| 541 | (("DROPBEAR_CHANNEL_PRIO_INTERACTIVE") | ||
| 542 | "DROPBEAR_PRIO_LOWDELAY")) | ||
| 543 | (substitute* "default_options.h" | ||
| 544 | (("#define DROPBEAR_X11FWD 0") | ||
| 545 | "#define DROPBEAR_X11FWD 1"))))))) | ||
| 534 | (inputs (list libtomcrypt libtommath zlib)) | 546 | (inputs (list libtomcrypt libtommath zlib)) |
| 535 | (synopsis "Small SSH server and client") | 547 | (synopsis "Small SSH server and client") |
| 536 | (description "Dropbear is a relatively small SSH server and | 548 | (description "Dropbear is a relatively small SSH server and |
