]> git.pld-linux.org Git - packages/openssh.git/commitdiff
- rel 7; when ipv6 sockets are allowed to be created (AF_INET6 is supported) sshd... auto/ti/openssh-5_9p1-7
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 12 Nov 2011 10:43:14 +0000 (10:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    openssh-bind.patch -> 1.1
    openssh.spec -> 1.379

openssh-bind.patch [new file with mode: 0644]
openssh.spec

diff --git a/openssh-bind.patch b/openssh-bind.patch
new file mode 100644 (file)
index 0000000..718caa6
--- /dev/null
@@ -0,0 +1,11 @@
+--- openssh-5.9p1/channels.c~  2011-06-23 00:31:57.000000000 +0200
++++ openssh-5.9p1/channels.c   2011-11-12 11:37:15.242015675 +0100
+@@ -3301,6 +3301,8 @@
+                       if (bind(sock, ai->ai_addr, ai->ai_addrlen) < 0) {
+                               debug2("bind port %d: %.100s", port, strerror(errno));
+                               close(sock);
++                              if (errno == EADDRNOTAVAIL)
++                                      continue;
+                               for (n = 0; n < num_socks; n++) {
+                                       close(socks[n]);
index f9427967be0127d3f18c2060db2a45531a7e3139..624a2cd3ee44174adf48964c057641ba62f12689 100644 (file)
@@ -30,7 +30,7 @@ Summary(ru.UTF-8):    OpenSSH - свободная реализация прото
 Summary(uk.UTF-8):     OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
 Name:          openssh
 Version:       5.9p1
-Release:       6
+Release:       7
 Epoch:         2
 License:       BSD
 Group:         Applications/Networking
@@ -64,6 +64,7 @@ Patch11:      %{name}-chroot.patch
 # http://people.debian.org/~cjwatson/%{name}-blacklist.diff
 Patch12:       %{name}-blacklist.diff
 Patch13:       %{name}-kuserok.patch
+Patch14:       %{name}-bind.patch
 URL:           http://www.openssh.com/portable.html
 BuildRequires: %{__perl}
 %{?with_audit:BuildRequires:   audit-libs-devel}
@@ -524,6 +525,7 @@ openldap-a.
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
 
 cp -p %{SOURCE3} sshd.pam
 install -p %{SOURCE2} sshd.init
This page took 0.14127 seconds and 4 git commands to generate.