summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2017-04-02 13:15:42 +0100
committerColin Watson <cjwatson@debian.org>2017-04-02 13:16:38 +0100
commitb8fb08fe0c6ea8a3e75882ed80e95c882383940a (patch)
treeec20e58588892234c875faa28010394400e0b200
parentfc1e884e1960930d31bf3a92c5d83a4b7630a4af (diff)
parent326d5114682d8ddbb64dead273d7738aea10e30a (diff)
Add missing header on Linux/s390
-rw-r--r--debian/.git-dpm4
-rw-r--r--debian/changelog6
-rw-r--r--debian/patches/s390-missing-header.patch29
-rw-r--r--debian/patches/series1
-rw-r--r--sandbox-seccomp-filter.c3
5 files changed, 41 insertions, 2 deletions
diff --git a/debian/.git-dpm b/debian/.git-dpm
index 81a664a6f..f27785e11 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -1,6 +1,6 @@
1# see git-dpm(1) from git-dpm package 1# see git-dpm(1) from git-dpm package
2ec338656a3d6b21bb87f3b6367b232d297f601e5 2326d5114682d8ddbb64dead273d7738aea10e30a
3ec338656a3d6b21bb87f3b6367b232d297f601e5 3326d5114682d8ddbb64dead273d7738aea10e30a
46fabaf6fd9b07cc8bc6a17c9c4a5b76849cfc874 46fabaf6fd9b07cc8bc6a17c9c4a5b76849cfc874
56fabaf6fd9b07cc8bc6a17c9c4a5b76849cfc874 56fabaf6fd9b07cc8bc6a17c9c4a5b76849cfc874
6openssh_7.5p1.orig.tar.gz 6openssh_7.5p1.orig.tar.gz
diff --git a/debian/changelog b/debian/changelog
index 75faa362f..08f586ab1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
1openssh (1:7.5p1-2) UNRELEASED; urgency=medium
2
3 * Add missing header on Linux/s390.
4
5 -- Colin Watson <cjwatson@debian.org> Sun, 02 Apr 2017 13:15:56 +0100
6
1openssh (1:7.5p1-1) experimental; urgency=medium 7openssh (1:7.5p1-1) experimental; urgency=medium
2 8
3 * New upstream release (https://www.openssh.com/txt/release-7.5): 9 * New upstream release (https://www.openssh.com/txt/release-7.5):
diff --git a/debian/patches/s390-missing-header.patch b/debian/patches/s390-missing-header.patch
new file mode 100644
index 000000000..d83ad3075
--- /dev/null
+++ b/debian/patches/s390-missing-header.patch
@@ -0,0 +1,29 @@
1From 326d5114682d8ddbb64dead273d7738aea10e30a Mon Sep 17 00:00:00 2001
2From: Damien Miller <djm@mindrot.org>
3Date: Wed, 22 Mar 2017 12:43:02 +1100
4Subject: Missing header on Linux/s390
5
6Patch from Jakub Jelen
7
8Origin: https://anongit.mindrot.org/openssh.git/commit/?id=58b8cfa2a062b72139d7229ae8de567f55776f24
9Last-Update: 2017-04-02
10
11Patch-Name: s390-missing-header.patch
12---
13 sandbox-seccomp-filter.c | 3 +++
14 1 file changed, 3 insertions(+)
15
16diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
17index 3a1aedce..08dc3a8b 100644
18--- a/sandbox-seccomp-filter.c
19+++ b/sandbox-seccomp-filter.c
20@@ -50,6 +50,9 @@
21 #include <elf.h>
22
23 #include <asm/unistd.h>
24+#ifdef __s390__
25+#include <asm/zcrypt.h>
26+#endif
27
28 #include <errno.h>
29 #include <signal.h>
diff --git a/debian/patches/series b/debian/patches/series
index 52a8f50b1..16d970527 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -27,3 +27,4 @@ debian-config.patch
27regress-integrity-robust.patch 27regress-integrity-robust.patch
28no-dsa-host-key-by-default.patch 28no-dsa-host-key-by-default.patch
29restore-authorized_keys2.patch 29restore-authorized_keys2.patch
30s390-missing-header.patch
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index 3a1aedce7..08dc3a8b2 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -50,6 +50,9 @@
50#include <elf.h> 50#include <elf.h>
51 51
52#include <asm/unistd.h> 52#include <asm/unistd.h>
53#ifdef __s390__
54#include <asm/zcrypt.h>
55#endif
53 56
54#include <errno.h> 57#include <errno.h>
55#include <signal.h> 58#include <signal.h>