From 95be0835049d57c4f65b65a6a9789790642dd5f3 Mon Sep 17 00:00:00 2001 From: Tomáš Mráz Date: Sep 17 2007 21:33:02 +0000 Subject: - revert default window size adjustments (#286181) --- diff --git a/openssh-4.7p1-revert-wsize.patch b/openssh-4.7p1-revert-wsize.patch new file mode 100644 index 0000000..3cd3b7b --- /dev/null +++ b/openssh-4.7p1-revert-wsize.patch @@ -0,0 +1,18 @@ +Written-by: Jan Kratochvil +Reviewed-by: Tomas Mraz + +diff -up openssh-4.7p1/channels.h.revert-wsize openssh-4.7p1/channels.h +--- openssh-4.7p1/channels.h.revert-wsize 2007-06-12 15:38:54.000000000 +0200 ++++ openssh-4.7p1/channels.h 2007-09-17 23:21:32.000000000 +0200 +@@ -122,9 +122,9 @@ struct Channel { + + /* default window/packet sizes for tcp/x11-fwd-channel */ + #define CHAN_SES_PACKET_DEFAULT (32*1024) +-#define CHAN_SES_WINDOW_DEFAULT (64*CHAN_SES_PACKET_DEFAULT) ++#define CHAN_SES_WINDOW_DEFAULT (4*CHAN_SES_PACKET_DEFAULT) + #define CHAN_TCP_PACKET_DEFAULT (32*1024) +-#define CHAN_TCP_WINDOW_DEFAULT (64*CHAN_TCP_PACKET_DEFAULT) ++#define CHAN_TCP_WINDOW_DEFAULT (4*CHAN_TCP_PACKET_DEFAULT) + #define CHAN_X11_PACKET_DEFAULT (16*1024) + #define CHAN_X11_WINDOW_DEFAULT (4*CHAN_X11_PACKET_DEFAULT) + diff --git a/openssh.spec b/openssh.spec index 7367829..ad82189 100644 --- a/openssh.spec +++ b/openssh.spec @@ -63,7 +63,7 @@ Summary: The OpenSSH implementation of SSH protocol versions 1 and 2 Name: openssh Version: 4.7p1 -Release: 1%{?dist}%{?rescue_rel} +Release: 2%{?dist}%{?rescue_rel} URL: http://www.openssh.com/portable.html #Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz #Source1: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz.asc @@ -95,6 +95,7 @@ Patch44: openssh-4.3p2-allow-ip-opts.patch Patch49: openssh-4.3p2-gssapi-canohost.patch Patch51: openssh-4.7p1-nss-keys.patch Patch52: openssh-4.7p1-sftp-drain-acks.patch +Patch53: openssh-4.7p1-revert-wsize.patch License: BSD Group: Applications/Internet BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -228,6 +229,7 @@ an X11 passphrase dialog for OpenSSH. %patch49 -p1 -b .canohost %patch51 -p1 -b .nss-keys %patch52 -p1 -b .drain-acks +%patch53 -p1 -b .revert-wsize autoreconf @@ -480,6 +482,9 @@ fi %endif %changelog +* Mon Sep 17 2007 Tomas Mraz - 4.7p1-2 +- revert default window size adjustments (#286181) + * Thu Sep 6 2007 Tomas Mraz - 4.7p1-1 - upgrade to latest upstream - use libedit in sftp (#203009)