]> git.pld-linux.org Git - packages/openssh.git/commitdiff
- rel 5; fix x32 (seccomp was killing it) auto/th/openssh-8.4p1-5
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Mar 2021 23:09:19 +0000 (00:09 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Mar 2021 23:09:19 +0000 (00:09 +0100)
openssh.spec
x32.patch [new file with mode: 0644]

index 9914d268366aa4e2e84bc3b804f1a914f065600f..77674c51aed99fc670d46fe97dfaeb4dcced0128 100644 (file)
@@ -37,7 +37,7 @@ Summary(ru.UTF-8):    OpenSSH - свободная реализация прото
 Summary(uk.UTF-8):     OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
 Name:          openssh
 Version:       8.4p1
-Release:       4
+Release:       5
 Epoch:         2
 License:       BSD
 Group:         Applications/Networking
@@ -68,7 +68,7 @@ Patch8:               ldap-helper-sigpipe.patch
 # High Performance SSH/SCP - HPN-SSH - http://www.psc.edu/networking/projects/hpn-ssh/
 # http://www.psc.edu/networking/projects/hpn-ssh/openssh-5.2p1-hpn13v6.diff.gz
 Patch9:                %{name}-5.2p1-hpn13v6.diff
-
+Patch10:       x32.patch
 Patch11:       %{name}-chroot.patch
 Patch12:       openssh-bug-2905.patch
 Patch13:       %{name}-skip-interop-tests.patch
@@ -552,6 +552,7 @@ openldap-a.
 
 %{?with_hpn:%patch9 -p1}
 
+%patch10 -p1
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
diff --git a/x32.patch b/x32.patch
new file mode 100644 (file)
index 0000000..534596a
--- /dev/null
+++ b/x32.patch
@@ -0,0 +1,34 @@
+commit e3f27006f15abacb7e89fda3f5e9a0bd420b7e38
+Author: Damien Miller <djm@mindrot.org>
+Date:   Fri Nov 13 14:20:43 2020 +1100
+
+    Revert "detect Linux/X32 systems"
+    
+    This reverts commit 5b56bd0affea7b02b540bdbc4d1d271b0e4fc885.
+    
+    The approach used was incorrect; discussion in bz#3085
+
+diff --git a/configure.ac b/configure.ac
+index d3f4f570..842c255e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -532,8 +532,6 @@ SPP_MSG="no"
+ # the --with-solaris-privs option and --with-sandbox=solaris).
+ SOLARIS_PRIVS="no"
+-AC_CHECK_SIZEOF([size_t])
+-
+ # Check for some target-specific stuff
+ case "$host" in
+ *-*-aix*)
+@@ -878,10 +876,6 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
+       case "$host" in
+       x86_64-*)
+               seccomp_audit_arch=AUDIT_ARCH_X86_64
+-              # X32: AMD64 instructions in 32bit address space.
+-              if test "x$ac_cv_sizeof_size_t" = "x4" ; then
+-                      seccomp_audit_arch=AUDIT_ARCH_I386
+-              fi
+               ;;
+       i*86-*)
+               seccomp_audit_arch=AUDIT_ARCH_I386
This page took 0.043271 seconds and 4 git commands to generate.