diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/debian-config.patch | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/debian/patches/debian-config.patch b/debian/patches/debian-config.patch index f81d731f1..f995717fa 100644 --- a/debian/patches/debian-config.patch +++ b/debian/patches/debian-config.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 44f0937b56758f662ff388d474213107e3290863 Mon Sep 17 00:00:00 2001 | 1 | From 581424965d2d722a991c3247d4c0bb5950cb4fc5 Mon Sep 17 00:00:00 2001 |
2 | From: Colin Watson <cjwatson@debian.org> | 2 | From: Colin Watson <cjwatson@debian.org> |
3 | Date: Sun, 9 Feb 2014 16:10:18 +0000 | 3 | Date: Sun, 9 Feb 2014 16:10:18 +0000 |
4 | Subject: Various Debian-specific configuration changes | 4 | Subject: Various Debian-specific configuration changes |
@@ -22,16 +22,16 @@ debian/openssh-server.postinst. | |||
22 | 22 | ||
23 | Author: Russ Allbery <rra@debian.org> | 23 | Author: Russ Allbery <rra@debian.org> |
24 | Forwarded: not-needed | 24 | Forwarded: not-needed |
25 | Last-Update: 2014-11-06 | 25 | Last-Update: 2015-03-22 |
26 | 26 | ||
27 | Patch-Name: debian-config.patch | 27 | Patch-Name: debian-config.patch |
28 | --- | 28 | --- |
29 | readconf.c | 2 +- | 29 | readconf.c | 2 +- |
30 | ssh_config | 7 ++++++- | 30 | ssh_config | 7 ++++++- |
31 | ssh_config.5 | 23 ++++++++++++++++++++++- | 31 | ssh_config.5 | 19 ++++++++++++++++++- |
32 | sshd_config | 1 + | 32 | sshd_config | 1 + |
33 | sshd_config.5 | 29 +++++++++++++++++++++++++++++ | 33 | sshd_config.5 | 25 +++++++++++++++++++++++++ |
34 | 5 files changed, 59 insertions(+), 3 deletions(-) | 34 | 5 files changed, 51 insertions(+), 3 deletions(-) |
35 | 35 | ||
36 | diff --git a/readconf.c b/readconf.c | 36 | diff --git a/readconf.c b/readconf.c |
37 | index 0648867..29338b6 100644 | 37 | index 0648867..29338b6 100644 |
@@ -47,7 +47,7 @@ index 0648867..29338b6 100644 | |||
47 | options->forward_x11_timeout = 1200; | 47 | options->forward_x11_timeout = 1200; |
48 | if (options->exit_on_forward_failure == -1) | 48 | if (options->exit_on_forward_failure == -1) |
49 | diff --git a/ssh_config b/ssh_config | 49 | diff --git a/ssh_config b/ssh_config |
50 | index 228e5ab..91be1e7 100644 | 50 | index 228e5ab..c9386aa 100644 |
51 | --- a/ssh_config | 51 | --- a/ssh_config |
52 | +++ b/ssh_config | 52 | +++ b/ssh_config |
53 | @@ -17,9 +17,10 @@ | 53 | @@ -17,9 +17,10 @@ |
@@ -66,15 +66,15 @@ index 228e5ab..91be1e7 100644 | |||
66 | # VisualHostKey no | 66 | # VisualHostKey no |
67 | # ProxyCommand ssh -q -W %h:%p gateway.example.com | 67 | # ProxyCommand ssh -q -W %h:%p gateway.example.com |
68 | # RekeyLimit 1G 1h | 68 | # RekeyLimit 1G 1h |
69 | + SendEnv LANG LC_ADDRESS LC_COLLATE LC_CTYPE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL | 69 | + SendEnv LANG LC_* |
70 | + HashKnownHosts yes | 70 | + HashKnownHosts yes |
71 | + GSSAPIAuthentication yes | 71 | + GSSAPIAuthentication yes |
72 | + GSSAPIDelegateCredentials no | 72 | + GSSAPIDelegateCredentials no |
73 | diff --git a/ssh_config.5 b/ssh_config.5 | 73 | diff --git a/ssh_config.5 b/ssh_config.5 |
74 | index a1005ba..5985769 100644 | 74 | index a1005ba..da3c177 100644 |
75 | --- a/ssh_config.5 | 75 | --- a/ssh_config.5 |
76 | +++ b/ssh_config.5 | 76 | +++ b/ssh_config.5 |
77 | @@ -71,6 +71,26 @@ Since the first obtained value for each parameter is used, more | 77 | @@ -71,6 +71,22 @@ Since the first obtained value for each parameter is used, more |
78 | host-specific declarations should be given near the beginning of the | 78 | host-specific declarations should be given near the beginning of the |
79 | file, and general defaults at the end. | 79 | file, and general defaults at the end. |
80 | .Pp | 80 | .Pp |
@@ -87,11 +87,7 @@ index a1005ba..5985769 100644 | |||
87 | +.Pp | 87 | +.Pp |
88 | +.Bl -bullet -offset indent -compact | 88 | +.Bl -bullet -offset indent -compact |
89 | +.It | 89 | +.It |
90 | +.Cm SendEnv No LANG Xo | 90 | +.Cm SendEnv No LANG LC_* |
91 | +.No LC_ADDRESS LC_COLLATE LC_CTYPE LC_IDENTIFICATION LC_MEASUREMENT | ||
92 | +.No LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME | ||
93 | +.No LC_ALL | ||
94 | +.Xc | ||
95 | +.It | 91 | +.It |
96 | +.Cm HashKnownHosts No yes | 92 | +.Cm HashKnownHosts No yes |
97 | +.It | 93 | +.It |
@@ -101,7 +97,7 @@ index a1005ba..5985769 100644 | |||
101 | The configuration file has the following format: | 97 | The configuration file has the following format: |
102 | .Pp | 98 | .Pp |
103 | Empty lines and lines starting with | 99 | Empty lines and lines starting with |
104 | @@ -673,7 +693,8 @@ token used for the session will be set to expire after 20 minutes. | 100 | @@ -673,7 +689,8 @@ token used for the session will be set to expire after 20 minutes. |
105 | Remote clients will be refused access after this time. | 101 | Remote clients will be refused access after this time. |
106 | .Pp | 102 | .Pp |
107 | The default is | 103 | The default is |
@@ -124,10 +120,10 @@ index d9b8594..4db32f5 100644 | |||
124 | #StrictModes yes | 120 | #StrictModes yes |
125 | #MaxAuthTries 6 | 121 | #MaxAuthTries 6 |
126 | diff --git a/sshd_config.5 b/sshd_config.5 | 122 | diff --git a/sshd_config.5 b/sshd_config.5 |
127 | index 7396b23..09bb5fe 100644 | 123 | index 7396b23..7aa7b47 100644 |
128 | --- a/sshd_config.5 | 124 | --- a/sshd_config.5 |
129 | +++ b/sshd_config.5 | 125 | +++ b/sshd_config.5 |
130 | @@ -57,6 +57,35 @@ Arguments may optionally be enclosed in double quotes | 126 | @@ -57,6 +57,31 @@ Arguments may optionally be enclosed in double quotes |
131 | .Pq \&" | 127 | .Pq \&" |
132 | in order to represent arguments containing spaces. | 128 | in order to represent arguments containing spaces. |
133 | .Pp | 129 | .Pp |
@@ -149,11 +145,7 @@ index 7396b23..09bb5fe 100644 | |||
149 | +.It | 145 | +.It |
150 | +.Cm PrintMotd No no | 146 | +.Cm PrintMotd No no |
151 | +.It | 147 | +.It |
152 | +.Cm AcceptEnv No LANG Xo | 148 | +.Cm AcceptEnv No LANG LC_* |
153 | +.No LC_ADDRESS LC_COLLATE LC_CTYPE LC_IDENTIFICATION LC_MEASUREMENT | ||
154 | +.No LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME | ||
155 | +.No LC_ALL | ||
156 | +.Xc | ||
157 | +.It | 149 | +.It |
158 | +.Cm Subsystem No sftp /usr/lib/openssh/sftp-server | 150 | +.Cm Subsystem No sftp /usr/lib/openssh/sftp-server |
159 | +.It | 151 | +.It |