]> git.pld-linux.org Git - packages/openssh.git/commitdiff
- added tests-reuseport (fixes regression tests failure due to missing SO_REUSEPORT...
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 3 Jul 2015 17:30:16 +0000 (19:30 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 3 Jul 2015 17:30:16 +0000 (19:30 +0200)
openssh-tests-reuseport.patch [new file with mode: 0644]
openssh.spec

diff --git a/openssh-tests-reuseport.patch b/openssh-tests-reuseport.patch
new file mode 100644 (file)
index 0000000..4b9c856
--- /dev/null
@@ -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);
index 6c093e529359d95befe7aebad275a3df63eb6870..f7d4455ecc1ebd833fe5e58e4b80fe06e0d5bae3 100644 (file)
@@ -65,6 +65,7 @@ Source10:     sshd-keygen
 Source11:      sshd.socket
 Source12:      sshd@.service
 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
This page took 0.295652 seconds and 4 git commands to generate.