openssh-7.5_p1-hpn-x509-10.1-glue.patch 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. diff -ur a/0003-Add-support-for-the-multi-threaded-AES-CTR-cipher.patch b/0003-Add-support-for-the-multi-threaded-AES-CTR-cipher.patch
  2. --- a/0003-Add-support-for-the-multi-threaded-AES-CTR-cipher.patch 2017-03-27 13:31:01.816551100 -0700
  3. +++ b/0003-Add-support-for-the-multi-threaded-AES-CTR-cipher.patch 2017-03-27 13:51:03.894805846 -0700
  4. @@ -40,7 +40,7 @@
  5. @@ -44,7 +44,7 @@ CC=@CC@
  6. LD=@LD@
  7. CFLAGS=@CFLAGS@
  8. - CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@
  9. + CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ @LDAP_CPPFLAGS@ $(PATHS) @DEFS@
  10. -LIBS=@LIBS@
  11. +LIBS=@LIBS@ -lpthread
  12. K5LIBS=@K5LIBS@
  13. @@ -1023,6 +1023,3 @@
  14. do_authenticated(authctxt);
  15. /* The connection has been terminated. */
  16. ---
  17. -2.12.0
  18. -
  19. diff -ur a/0004-support-dynamically-sized-receive-buffers.patch b/0004-support-dynamically-sized-receive-buffers.patch
  20. --- a/0004-support-dynamically-sized-receive-buffers.patch 2017-03-27 13:31:01.816551100 -0700
  21. +++ b/0004-support-dynamically-sized-receive-buffers.patch 2017-03-27 13:49:44.513498976 -0700
  22. @@ -926,9 +926,9 @@
  23. @@ -526,10 +553,10 @@ send_client_banner(int connection_out, int minor1)
  24. /* Send our own protocol version identification. */
  25. if (compat20) {
  26. - xasprintf(&client_version_string, "SSH-%d.%d-%.100s\r\n",
  27. -- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION);
  28. -+ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE);
  29. + xasprintf(&client_version_string, "SSH-%d.%d-%.100s PKIX[%s]\r\n",
  30. +- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION, PACKAGE_VERSION);
  31. ++ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE, PACKAGE_VERSION);
  32. } else {
  33. xasprintf(&client_version_string, "SSH-%d.%d-%.100s\n",
  34. - PROTOCOL_MAJOR_1, minor1, SSH_VERSION);
  35. @@ -943,11 +943,11 @@
  36. @@ -367,7 +367,7 @@ sshd_exchange_identification(struct ssh *ssh, int sock_in, int sock_out)
  37. char remote_version[256]; /* Must be at least as big as buf. */
  38. - xasprintf(&server_version_string, "SSH-%d.%d-%.100s%s%s\r\n",
  39. -- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION,
  40. -+ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE,
  41. + xasprintf(&server_version_string, "SSH-%d.%d-%.100s%s%s%s%s",
  42. +- major, minor, SSH_VERSION, comment,
  43. ++ major, minor, SSH_RELEASE, comment,
  44. *options.version_addendum == '\0' ? "" : " ",
  45. - options.version_addendum);
  46. + options.version_addendum, newline);
  47. @@ -1020,6 +1020,8 @@ server_listen(void)
  48. int ret, listen_sock, on = 1;
  49. @@ -1008,10 +1008,6 @@
  50. @@ -3,4 +3,5 @@
  51. #define SSH_VERSION "OpenSSH_7.5"
  52. - #define SSH_PORTABLE "p1"
  53. --#define SSH_RELEASE SSH_VERSION SSH_PORTABLE
  54. +-#define SSH_RELEASE PACKAGE_STRING ", " SSH_VERSION "p1"
  55. +#define SSH_HPN "-hpn14v12"
  56. +#define SSH_RELEASE SSH_VERSION SSH_PORTABLE SSH_HPN
  57. ---
  58. -2.12.0
  59. -