commit f5fe75c73cae0feab212e0461bd0d7dacfc44cd0
Author: Jakub Bogusz <[email protected]>
Date:   Fri Jul 3 19:30:16 2015 +0200

    - added tests-reuseport (fixes regression tests failure due to missing 
SO_REUSEPORT feature in pre-3.9 Linux)

 openssh-tests-reuseport.patch | 11 +++++++++++
 openssh.spec                  |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/openssh.spec b/openssh.spec
index 6c093e5..f7d4455 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -65,6 +65,7 @@ Source10:     sshd-keygen
 Source11:      sshd.socket
 Source12:      [email protected]
 Patch0:                %{name}-no_libnsl.patch
+Patch1:                %{name}-tests-reuseport.patch
 Patch2:                %{name}-pam_misc.patch
 Patch3:                %{name}-sigpipe.patch
 # http://pkgs.fedoraproject.org/gitweb/?p=openssh.git;a=tree
@@ -530,6 +531,7 @@ openldap-a.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
diff --git a/openssh-tests-reuseport.patch b/openssh-tests-reuseport.patch
new file mode 100644
index 0000000..4b9c856
--- /dev/null
+++ b/openssh-tests-reuseport.patch
@@ -0,0 +1,11 @@
+--- openssh-6.9p1/regress/netcat.c.orig        2015-07-01 04:35:31.000000000 
+0200
++++ openssh-6.9p1/regress/netcat.c     2015-07-03 17:23:33.544777525 +0200
+@@ -775,7 +775,7 @@
+ #ifdef SO_REUSEPORT
+               ret = setsockopt(s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof(x));
+               if (ret == -1)
+-                      err(1, "setsockopt");
++                      warn("setsockopt SO_REUSEPORT");
+ #endif
+               set_common_sockopts(s);
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openssh.git/commitdiff/f5fe75c73cae0feab212e0461bd0d7dacfc44cd0

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to