[packages/openssh] do not force 3.5 kernel on non-x32
glen
glen at pld-linux.org
Tue May 5 14:26:28 CEST 2015
commit 6a110d4664d93b044fb7e2a4577d4aef75c4b7b6
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue May 5 15:26:05 2015 +0300
do not force 3.5 kernel on non-x32
openssh.spec | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/openssh.spec b/openssh.spec
index 89d4aa0..8761f28 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -18,6 +18,11 @@
# gtk2-based gnome-askpass means no gnome1-based
%{?with_gtk:%undefine with_gnome}
+%ifnarch x32
+# libseccomp requires 3.5 kernel, avoid such requirement where possible (non-x32 arches)
+%undefine with_libseccomp
+%endif
+
%define sandbox %{?with_libseccomp:lib}seccomp_filter
%ifarch x32
@@ -41,7 +46,7 @@ Summary(ru.UTF-8): OpenSSH - свободная реализация прото
Summary(uk.UTF-8): OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
Name: openssh
Version: 6.8p1
-Release: 10
+Release: 11
Epoch: 2
License: BSD
Group: Applications/Networking
@@ -73,7 +78,6 @@ Patch8: ldap-helper-sigpipe.patch
Patch9: %{name}-5.2p1-hpn13v6.diff
Patch10: %{name}-include.patch
Patch11: %{name}-chroot.patch
-
Patch14: %{name}-bind.patch
Patch15: %{name}-disable_ldap.patch
Patch16: libseccomp-sandbox.patch
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openssh.git/commitdiff/6a110d4664d93b044fb7e2a4577d4aef75c4b7b6
More information about the pld-cvs-commit
mailing list